main.links summary,
.around-sendai summary {
  /* display: list-item;以外を指定してデフォルトの三角形アイコンを消します */
  display: block;
}

main.links summary::-webkit-details-marker,
.around-sendai summary::-webkit-details-marker {
  /* Safariで表示されるデフォルトの三角形アイコンを消します */
  display: none;
}

main.links .lead {
  font-size: 2.8rem;
  line-height: 1.5;
  font-weight: 700;
}

.js-details {
  border: 3px solid #222;
  border-radius: 20px;
  background: #fcfbf9;
  overflow: hidden;
  box-shadow: 10px 10px 0 #eeeeee;
  position: relative;
}

.summary_inner {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  padding: 30px 35px 50px 40px;
  font-weight: bold;
  color: #222;
  gap: 45px;
}
/* MARK:都道府県イラスト */
.aomori .summary_inner {
  background-image: url(../images/links/ac_aomori.png);
  background-repeat: no-repeat;
  background-position: 20px 50%;
  background-size: 15%;
}
.akita .summary_inner {
  background-image: url(../images/links/ac_akita.png);
  background-repeat: no-repeat;
  background-position: 30px 50%;
  background-size: 13%;
}
.iwate .summary_inner {
  background-image: url(../images/links/ac_iwate.png);
  background-repeat: no-repeat;
  background-position: 25px 50%;
  background-size: 14%;
}
.miyagi .summary_inner {
  background-image: url(../images/links/ac_miyagi.png);
  background-repeat: no-repeat;
  background-position: 20px 50%;
  background-size: 16%;
}
.yamagata .summary_inner {
  background-image: url(../images/links/ac_yamagata.png);
  background-repeat: no-repeat;
  background-position: 30px 50%;
  background-size: 13%;
}
.fukushima .summary_inner {
  background-image: url(../images/links/ac_fukushima.png);
  background-repeat: no-repeat;
  background-position: 30px 50%;
  background-size: 13%;
}

.prefecture {
  flex-shrink: 0;
  text-align: center;
  padding-left: 17%;
}
.prefecture h3 {
  font-size: 4.2rem;
  font-weight: 700;
  border-bottom: 1px solid #458f8d;
  line-height: 1.6;
}
.prefecture span {
  display: inline-block;
}

.lead-txt p {
  font-weight: 500;
  letter-spacing: normal;
}

.icon {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 75px;
  height: 1.2rem;
  background-image: url(../images/links/ac_check.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* is-openedクラスが付与されたときのスタイル */
details.is-opened .icon {
  background-image: url(../images/links/ac_close.svg);
}

/* --------「その他」のスタイル-------- */
.other .summary_inner {
  justify-content: center;
  align-items: center;
  padding: 20px 35px 50px 40px;
}

.other .summary_inner {
  background-image: url(../images/links/ac_other01.png),
    url(../images/links/ac_other02.png);
  background-repeat: no-repeat;
  background-position: 15% 55%, 82% 55%;
  background-size: 20%, 19%;
}

.other .prefecture {
  padding: 0;
}

/* --------アコーディオンの中身のスタイル-------- */
.content {
  overflow: hidden;
  /* details直下のタグにpaddingを設定すると挙動がおかしくなるので、ここには指定しない */
}

.content_inner {
  border-top: 1px solid #222;
  margin-inline: 30px;
  padding: 30px 0 60px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.government-item {
  border-radius: 10px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.government-item dt {
  font-size: 2rem;
  border-bottom: 2px solid #eeeeee;
  margin-bottom: 20px;
  padding-bottom: 12px;
  line-height: 1;
}
.government-item dt::before {
  content: "";
  display: inline-block;
  margin-right: 8px;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: #458f8d;
}

.government-img_wrap {
  align-items: stretch;
  gap: 20px;
}

.government-item .photo {
  flex-basis: 64%;
  border-radius: 10px;
  overflow: hidden;
}
.government-item .photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.government-item .map {
  border-radius: 10px;
  position: relative;
  flex-basis: 36%;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbf6ea;
}

.government-item .map::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  position: absolute;
  top: 50%;
  left: -11px;
  transform-origin: center;
  transform: rotate(45deg) translateY(-50%);
  background: #fbf6ea;
}

.government-detail {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #3f8db7;
}

.government-detail p {
  font-weight: 500;
  letter-spacing: normal;
}

.government-information {
  margin-top: 20px;
}

.government-information > div {
  line-height: 1;
  margin-top: 20px;
}

.government-information .info-label {
  display: inline-block;
  background: #458f8d;
  border-radius: 50em;
  font-weight: 500;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: normal;
  text-align: center;
  width: 145px;
  line-height: 1;
  padding-block: 7px;
  margin-right: 10px;
}

.government-information .info-item,
.government-information .info-item a {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: normal;
}

/* --------レイアウト用のスタイル-------- */
.wrapper {
  padding-inline: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  row-gap: 50px;
}

.wrapper details:last-child {
  margin-bottom: 20px;
}

/* MARK:aroundSENDAIスタイル */
/* TOPページ */
.to_around_sendai .inner {
  max-width: 680px;
  margin: 30px auto 0;
  position: relative;
}

.btn_wrap.text-center {
  margin-top: -2em;
}

.to_around_sendai .btn01 {
  background: #fdc435;
  border-bottom: none;
}

/* 扉ページ */
.page-id-6348,
.page-id-6348 .all_wrap {
  background: #fff;
}

.around-sendai .page-heading {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.around-sendai .page-wrap {
  background: #fff;
}

.around-sendai .about {
  margin-top: 136px;
  background: #fafaf7;
  border-radius: 35px 35px 0 0;
}

.around-sendai .about_ttl {
  margin-bottom: -3.5em;
  transform: translateY(-5em);
}

.around-sendai .about_ttl img {
  width: clamp(232px, 37vw, 650px);
}

.around-sendai .about .container {
  max-width: 1150px;
  padding-inline: 35px;
}

.around-sendai .bnr-area {
  padding-block: 40px;
}

.around-sendai .bnr-area .bnr-ttl {
  position: relative;
  width: fit-content;
  padding: 12px 16px;
  border: 2px solid #333333;
  margin: 0 auto 30px;
}

.around-sendai .bnr-area .bnr-ttl span {
  font-weight: 500;
  font-size: clamp(
    18px,
    calc(14.129032258064516px + 0.967741935483871vw),
    24px
  );
}

.around-sendai .bnr-area .bnr-ttl::after {
  content: "";
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  width: 30px;
  height: 2px;
  box-sizing: border-box;
  background-color: #333333;
  box-shadow: 0 2px 0 #fafaf7, 0 -2px 0 #fafaf7; /* 背景色と同じ色を指定 */
  rotate: 90deg;
}

.around-sendai .map_area {
  position: relative;
  background: #fff;
  border-radius: 20px;
  margin-top: 80px;
}

.around-sendai .period {
  margin-top: 10px;
  font-weight: 500;
}

.around-sendai .map_area h4 {
  position: absolute;
  top: -2em;
  left: 50%;
  transform: translateX(-50%);
}

.around-sendai .map_area picture img {
  border-radius: 20px;
}

.around-sendai .wrapper {
  padding-inline: 0;
  margin: 0 auto;
  display: block;
}

.around-sendai .ac_cities {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.around-sendai .js-details {
  border: none;
  border-radius: 20px;
  background: #fdc738;
  overflow: hidden;
  box-shadow: none;
  position: relative;
}

.around-sendai summary {
  position: relative;
}

.around-sendai summary::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  background: url(../images/around-sendai/arrow_bk.svg) no-repeat;
  background-size: contain;
  position: absolute;
  top: 45%;
  right: 30px;
  transition: all 0.3s;
}

.around-sendai .js-details.is-opened summary::after {
  transform: rotate(180deg);
  transform-origin: center;
}

.around-sendai .summary_inner {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  color: #222;
  gap: 0;
}

.around-sendai .prefecture {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding: 0;
}

.around-sendai .prefecture h3 {
  font-size: 3.2rem;
  font-weight: 700;
  border-bottom: none;
}

.around-sendai .ac-copy {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 70%;
}

.around-sendai .ac-copy span {
  position: relative;
  z-index: 1;
  flex: 1;
  display: block;
  color: #fdc738;
  font-weight: 700;
  font-size: 2.2rem;
  background: #fff;
  border-radius: 5px;
  text-align: center;
}

.around-sendai .ac-copy .emblem {
  max-width: 49px;
  position: relative;
  z-index: 1;
}

.around-sendai .ac-copy .emblem img {
  display: block;
}

.around-sendai .ac-copy::after {
  content: "";
  display: block;
  width: 50%;
  height: 5px;
  background: #fff;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.around-sendai .content_inner {
  border-top: none;
  padding: 10px 0 30px 0;
}

.around-sendai .government-item dt::before {
  background: #fdc738;
}

.around-sendai .government-information .info-label {
  background: #fdc738;
}

.around-sendai .as_trip {
  padding-top: 80px;
  background: #fafaf7;
}

.around-sendai .pickUp-container {
  padding-inline: 20px;
}

.as_trip .model-corse01 {
  background: #fff;
  border-radius: 35px 35px 0 0;
  padding-block: 70px 50px;
}

.as_trip .model-corse01 h3 {
  margin-bottom: 3rem;
}

.around-sendai .btn01 {
  background: #fdc435;
  border-bottom: 5px solid #f09b37;
}

.as_pickup {
  padding-top: 30px;
  background: #fff;
}

.as_pickup .inner {
  background: #e9f3f5;
  border-radius: 35px 35px 0 0;
  padding-block: 70px 50px;
}

.as_pickup .d_flex {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
}

.as_pickup .as_link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 10px;
  position: relative;
  color: #000;
  max-width: 320px;
  padding-top: 32px;
}

.as_link .badge {
  position: absolute;
  top: -2.5em;
  right: -1em;
  width: 99px;
}

.as_link .link_heading {
  padding-inline: 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.as_link .link_heading p {
  color: #363636;
  font-weight: 600;
  margin-top: 13px;
}

.illust img {
  width: 80%;
  margin-block: 10px 15px;
}

.as_link .bottom {
  position: relative;
  background: #fdc738;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  padding: 8px;
}

.as_link .bottom::after {
  content: "";
  display: block;
  height: 1.2rem;
  width: 0.7rem;
  background: url(../images/around-sendai/arrow_wh.svg) no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}

.as_more {
  padding-block: 50px;
}

.as_more .slide-ttl {
  margin-top: 30px;
}

.as_more .pickUp-container .slide-ttl h4 {
  font-size: 2.4rem;
  font-weight: 700;
}

/* EVENT */
.post-type-archive-event,
.archive.tax-spot-around-sendai,
.post-type-archive-event .all_wrap,
.archive.tax-spot-around-sendai .all_wrap,
.event-archive .archive-wrap,
.event-archive .page-ttl {
  background: #fcfbf9;
}

.archive.tax-spot-around-sendai .map_area,
.post-type-archive-event .map_area {
  position: relative;
  border-radius: 30px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 800px;
  margin-inline: auto;
}

.archive.tax-spot-around-sendai .map_area picture img,
.post-type-archive-event .map_area picture img {
  display: inline-block;
  border-radius: 30px;
  background: #fafaf7;
}

.event-archive .postform {
  border: 2px solid #fdc335;
  color: #fdc335;
}

.event-archive .select::after {
  background: url(../images/around-sendai/arrow_org.svg) no-repeat;
  background-position: center;
}

.event-archive .keyword label {
  color: #fdc335;
}

.event-archive .submit-area button.view_all {
  background: #fdc335;
}

.event-archive .submit-area button.view_all::after {
  background: url(../images/around-sendai/arrow_wh.svg) no-repeat;
  height: 1.2rem;
  width: 0.7rem;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.back_around_sendai {
  margin: 0 2rem;
  margin-top: 10px;
}

.back_around_sendai .btn {
  position: relative;
  display: inline-block;
  border-radius: 50em;
  background: #fdc335;
  color: #fff;
  font-weight: 600;
  padding-inline: 2em 1.5em;
}

.back_around_sendai .btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 1em;
  background: url(../images/around-sendai/arrow_wh.svg) no-repeat;
  height: 1.2rem;
  width: 0.7rem;
  top: 50%;
  left: 15px;
  transform: translateY(-50%) rotate(180deg);
}

.event-archive .archive-wrap-inner {
  border: none;
  background: no-repeat;
}

.event-archive .archive-wrap-inner .pickUp-ttl span {
  display: block;
}

.event-archive .spot_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.event-archive .spot_list li {
  border: 1px solid #707070;
  background: #fafaf7;
  width: 48%;
  padding: 10px;
  border-radius: 20px;
}

.spot_thumb.event_thumb {
  position: relative;
  border: none;
}

.event-archive .spot_list_item .spot_ttl {
  border: none;
  padding-bottom: 0;
}

.around_sendai_tags .tag_pref {
  position: relative;
  top: 0;
  left: 0;
}

.tags.around_sendai_tags {
  margin-top: 15px;
  margin-bottom: -55px;
}

.spot-table a {
  word-break: break-word;
}

/* スポット情報検索結果 */

/* 
MARK: SP
 */
@media (max-width: 768px) {
  .wrapper {
    padding-inline: 0;
    row-gap: 40px;
  }

  main.links .lead {
    font-size: 2.1rem;
    line-height: 1.8;
    letter-spacing: normal;
  }

  .summary_inner {
    flex-direction: column;
    padding: 40px 15px 50px 15px;
    align-items: end;
  }

  .prefecture {
    padding-left: 0;
    padding-right: 20px;
  }

  .prefecture h3 {
    font-size: 3.2rem;
  }

  /* MARK:SP都道府県イラスト */
  .aomori .summary_inner {
    background-position: 15px 12%;
    background-size: 43%;
  }
  .akita .summary_inner {
    background-position: 19px 9%;
    background-size: 40%;
  }
  .iwate .summary_inner {
    background-position: 15px 13%;
    background-size: 42%;
  }
  .miyagi .summary_inner {
    background-position: 15px 12%;
    background-size: 43%;
  }
  .yamagata .summary_inner {
    background-position: 25px 10%;
    background-size: 35%;
  }
  .fukushima .summary_inner {
    background-position: 20px 12%;
    background-size: 37%;
  }

  .other .summary_inner {
    background-position: 4% 55%, 96% 55%;
    background-size: 28%, 25%;
  }

  .content_inner {
    margin-inline: 15px;
  }

  .government-img_wrap {
    flex-direction: column;
  }

  .government-item {
    padding: 15px 10px;
  }

  .government-item .map img {
    max-width: 190px;
    max-height: 160px;
  }

  .government-item .map::before {
    top: -2px;
    left: 50%;
    transform: rotate(45deg) translateX(-50%);
  }

  .government-detail {
    font-size: 1.4rem;
  }

  .government-information .info-label {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1em;
  }

  .government-information .info-item,
  .government-information .info-item a {
    font-size: 1.2rem;
    display: block;
  }

  /* MARK:aroundSENDAIスタイル */

  /* 扉ページ */
  .around-sendai .about {
    margin-top: 76px;
  }

  .around-sendai .about_ttl {
    margin-bottom: -1.5em;
    transform: translateY(-2em);
  }

  .around-sendai .lead {
    font-size: 100%;
  }

  .around-sendai .map_area h4 {
    width: 85%;
    top: -1.5em;
  }

  .around-sendai .ac_cities {
    margin-top: 40px;
    row-gap: 10px;
  }

  .around-sendai .prefecture h3 {
    font-size: 1.4rem;
  }

  .around-sendai .ac-copy span {
    font-size: 0.9rem;
    letter-spacing: normal;
  }

  .around-sendai .ac-copy .emblem {
    max-width: 20px;
  }

  .around-sendai .ac-copy::after {
    height: 2px;
  }

  .around-sendai .js-details {
    border-radius: 10px;
  }

  .around-sendai .summary_inner {
    padding: 8px;
  }

  .around-sendai summary::after {
    width: 1.3rem;
    height: 1.3rem;
    right: 10px;
  }

  .around-sendai .prefecture {
    gap: 12px;
  }

  .around-sendai .ac-copy {
    gap: 20px;
    width: 65%;
  }

  .around-sendai .as_trip {
    padding-top: 40px;
  }

  .as_pickup .d_flex {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .as_more .pickUp-container .slide-ttl h4 {
    font-size: 1.6rem;
  }

  /* EVENT */
  .archive.tax-spot-around-sendai .spot_list,
  .post-type-archive-event .spot_list {
    flex-direction: column;
  }

  .archive.tax-spot-around-sendai .spot_list li,
  .post-type-archive-event .spot_list li {
    border-radius: 10px;
    padding: 12px 13px;
    width: 100%;
  }
  .archive.tax-spot-around-sendai .spot_list_item .spot_txt,
  .post-type-archive-event .spot_list_item .spot_txt {
    width: 100%;
  }

  .archive.tax-spot-around-sendai .tag_pref,
  .post-type-archive-event .tag_pref {
    top: 1rem;
    left: 1rem;
  }
}
