section#page_vi {
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  background-size: cover;
  background-position: center center;
}
section#page_vi .title_box_wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column-reverse;
  width: calc(100% - 50px);
  margin: 0 auto 25px;
}
section#page_vi .title_box {
  display: inline;
  padding-bottom: 15px;
}
section#page_vi .title_box h1 {
  margin-bottom: 1.2em;
  margin-top: 30px;
  color: #27726e;
}
section#page_vi .title_box h1 span{
  display: inline;
  background-color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-size:clamp(30px, 4.5vw, 48px);
  font-weight: 600;
  line-height:1.3;
  border-radius: 3px;
}
section#page_vi .title_box p.sub_jp {
  font-size:clamp(12px, 3vw, 16px);
  font-weight: 400;
}
section#page_vi .title_box p {
  margin-bottom: .8em;
}
section#page_vi .title_box p span{
  display: inline;
  background-color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-size:clamp(16px, 3.5vw, 20px);
  font-weight: 600;
  line-height:1.2;
  border-radius: 3px;
}

/* num photo */
.article_photo .article_p_wrap {
    width: 100%;
    margin-top: 30px;
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
}
.photo_credit {
  font-size:12px;
  color: #fff;
  text-shadow: 0 0 3px rgba(0,0,0,.5);
  position: absolute;
  bottom:8px;
  right:10px;
  line-height: 1.1;
}
.article_photo .article_p_wrap .p_main {
    width: 599px;
    height: 600px;
    border-right: 1px solid #fff;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.article_photo .article_p_wrap .p_left{
  flex-shrink: 0;
  width: 600px;
}

.article_photo .p_main_two {
    margin: 30px auto 0;
    line-height: 1;
    max-width: 1200px;
    position: relative;
}

.article_photo .p_main_two img {
    width: 100%;
    max-height: 700px;
    object-fit: cover;
    object-position: center center;
}

.article_photo .article_p_wrap .p_main img {
    width: 599px;
    height: 600px;
    object-fit: cover;
}

.article_photo .article_p_wrap .p_main_right {
    width: 100%;
    max-width: 600px;
    background-size: cover;
    background-position: center center;
    position: relative;
    line-height: 0;
}

.article_photo .article_p_wrap .p_main_right img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    background-position: center center;
}

.article_photo .article_p_wrap .p_sub_up {
    width: 600px;
    height: 299px;
    border-bottom: 1px solid #fff;
    float: right;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.article_photo .article_p_wrap .p_sub_up img {
    width: 600px;
    height: 299px;
    object-fit: cover;
}

.article_photo .article_p_wrap .p_sub_dn {
    width: 600px;
    height: 300px;
    float: right;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.article_photo .article_p_wrap .p_sub_dn img {
    width: 600px;
    height: 300px;
    object-fit: cover;
}

.article_photo div.full_future_p,
.article_photo div.full_future_p2 {
    width: 1200px;
    margin-left: -290px;
    padding: 30px 0 40px;
}

.article_photo div.full_future_p img {
    width: 100%;
    height: auto;
}

.article_photo div.full_future_p2 img {
    width: 600px;
    height: 600px;
    object-fit: cover;
}

@media (max-width: 1200px)  {
  .article_photo .article_p_wrap .p_main,
  .article_photo .article_p_wrap .p_left,
  .article_photo .article_p_wrap .p_sub_up,
  .article_photo .article_p_wrap .p_sub_dn,
  .article_photo .article_p_wrap .p_sub_up img,
  .article_photo .article_p_wrap .p_sub_dn img,
  .article_photo .article_p_wrap .p_main_right img {
    width: 100%;
    flex-shrink:unset;
  }
  .article_photo .article_p_wrap .p_main img {
    width: 100%;
  }
  .article_photo {
    width: 95%;
    margin: 30px auto;
  }
}
@media (max-width: 768px)  {
  .article_photo .article_p_wrap {
    flex-direction: column;
  }
  .article_photo .article_p_wrap .p_main,
  .article_photo .article_p_wrap .p_main img,
  .article_photo .article_p_wrap .p_left,
  .article_photo .article_p_wrap .p_sub_up,
  .article_photo .article_p_wrap .p_sub_dn,
  .article_photo .article_p_wrap .p_sub_up img,
  .article_photo .article_p_wrap .p_sub_dn img,
  .article_photo .article_p_wrap .p_main_right img {
    height: auto;
  }
  .article_photo .article_p_wrap .p_main,
  .article_photo .article_p_wrap .p_sub_up,
  .article_photo .article_p_wrap .p_sub_dn {
      margin-bottom: 10px;
      padding: 0;
      line-height: 0;
  }
  .article_photo .article_p_wrap .p_main_right {
    max-width: 100%;
  }
}

/* contents */
.article_text_wrap {
  background: linear-gradient(160deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 40%, rgba(250, 255, 247, 1) 60%, rgba(247, 255, 242, 1) 72%, rgba(255, 255, 255, 1) 74%, rgba(251, 255, 245, 1) 91%, rgba(245, 255, 251, 1) 100%);
  padding-top: 50px;
}
article.text.article {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 40px;
}
article.text.article .writer {
  width:17%;
}
article.text.article .tag {
  width:17%;
}
article.text.article .text {
  padding: 0 2em;
  width: 66%;
  text-align: left;
  line-height: 1.85;
  font-size: clamp(13px, 3vw, 15px);
}
article.text.article .text a{
  color: #27726e;
}
article.text.article .text p {
  padding-bottom: 1.1em;
}
article.text.article .text .web {
  display: flex;
  align-items: flex-start;
  line-height: 1.2;
  font-size: 13px;
  margin-top: 1.2em;
}
article.text.article .text .web a {
  padding-top: .4em;
}
article.text.article .text .web span{
  display: flex;
  align-items:center;
  justify-content: center;
  padding: 5px 1em;
  border-radius: 4px;
  color: #fff;
  background-color: #27726e;
  margin-right: 1em;
  font-size: 12px;
}

article.text.article .writer {
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
article.text.article .writer img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: grayscale(1);
}
article.text.article .writer .name {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
article.text.article .writer .oc {
  font-size: 12px;
  color: #cf8356;
  text-align: center;
}
.lastup {
  font-size: 12px;
  text-align: center;
}
.lastup .nopd {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 5px;
  font-size: 11px;
  font-weight: 300;
  color: #27726e;
  text-align: center;
  width: 90px;
  height: 25px;
  border-radius: 5px;
  border: 1px solid #27726e;
}
article.text.article .tag h3 {
  text-align: center;
  margin: 10px auto;
  font-size: 13px;
  font-weight: 500;
  border: 2px solid #ddd;
  border-radius: 5px;
}
article.text.article .tag a {
  display: inline-block;
  border-radius: 5px;
  padding: 3px 1em;
  background-color: #ddd;
  color: #333;
  margin: 0 .5em .8em 0;
  font-size: 12px;
  font-weight: 500;
}


/* --- article.text.article responsive --- */

@media (max-width: 1000px) {
    article.text.article {
        padding: 0 20px 40px;
    }
}

@media (max-width: 768px) {
    article.text.article {
        flex-wrap: wrap;
        padding: 20px 20px 40px;
    }
    /* テキストを先頭行に全幅で表示 */
    article.text.article .text {
        order: 0;
        width: 100%;
        padding: 0 0 24px;
    }
    /* writer と tag を下段に横並び */
    article.text.article .writer {
        order: 1;
        width: 50%;
        padding-right: 12px;
        border-top: 1px solid #eee;
        padding-top: 40px;
    }
    article.text.article .tag {
        order: 1;
        width: 50%;
        padding-left: 12px;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }
    article.text.article .writer img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    article.text.article .writer,
    article.text.article .tag {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    article.text.article .tag {
        border-top: none;
        padding-top: 0;
    }
}

/* =============================================
   Feature Single  (.sf_*)
   ============================================= */

/* Intro text (article_text1) */
.sf_intro {
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.9;
    margin-bottom: 32px;
}

/* ---- TOC ---- */
.sf_toc_anchor {
    display: block;
    visibility: hidden;
    height: 0;
}

.sf_toc {
    background-color: #f4faf9;
    border: 1px solid #c8e6e3;
    border-radius: 4px;
    padding: 24px 28px;
    margin: 0 0 40px;
}

.sf_toc_heading {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #18655d;
    margin: 0 0 4px;
}

.sf_toc_article_title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    line-height: 1.4;
}

.sf_toc_list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    counter-reset: toc-counter;
}

.sf_toc_item {
    counter-increment: toc-counter;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.sf_toc_item::before {
    content: counter(toc-counter);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #18655d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sf_toc_item a {
    color: #18655d;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.45;
    transition: color 0.2s;
}

.sf_toc_item a:hover {
    color: #0d4039;
    text-decoration: underline;
}

/* ---- Photos ---- */
.sf_photo {
    margin: 32px 0;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    line-height: 0;
}

.sf_photo img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 4px;
}

.sf_photo--notrim img {
    max-height: none;
    object-fit: contain;
    background-color: #f0f0f0;
}

.sf_photo_credit {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 11px;
    color: #fff;
    text-shadow: 0 0 4px rgba(0,0,0,0.7);
    line-height: 1.2;
    background: rgba(0,0,0,0.25);
    padding: 2px 6px;
    border-radius: 3px;
}

/* ---- Text blocks ---- */
.sf_text {
    margin: 0 0 32px;
    font-size: clamp(14px, 2vw, 15px);
    line-height: 1.9;
    color: #333;
    scroll-margin-top: 80px;
}

.sf_text h1, .sf_text h2, .sf_text h3,
.sf_text h4, .sf_text h5 {
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.6em;
    color: #1a1a1a;
}

.sf_text h2 { font-size: clamp(18px, 2.2vw, 22px); border-bottom: 2px solid #c8e6e3; padding-bottom: 6px; margin-top: 1.6em; }
.sf_text h3 { font-size: clamp(16px, 2vw, 19px); margin-top: 1.4em; }
.sf_text p  { margin-bottom: 1em; }

.sf_text strong {
    font-weight: 600;
    font-size: 18px;
}

/* ---- Area banner cards ---- */
.sf_areas_bn {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 32px 0;
}

.sf_area_card a {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.sf_area_card a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%);
    border-radius: 8px;
}

.sf_area_card_inner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 1;
    color: #fff;
}

.sf_area_card_inner h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.sf_area_card_inner p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

/* ---- Google My Map ---- */
.sf_mymap {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}

.sf_mymap iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Feature — Responsive */
@media (max-width: 768px) {
    .sf_toc {
        padding: 18px 20px;
    }

    .sf_areas_bn {
        grid-template-columns: repeat(2, 1fr);
    }

    .sf_mymap {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .sf_areas_bn {
        grid-template-columns: 1fr;
    }
}

/* ===== end Feature Single ===== */

.balloon {
    position: relative;
    padding: 7px 16px;
    font-style: italic;
    color: #333;
    border: solid 0px #585858;
    border-radius: 4px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.balloon:before {
    display: inline-block;
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    vertical-align: middle;
    text-align: center;
    content: "\f10d";
    font-family: "Font Awesome 7 Free";
    color: #ccc;
    font-size: 24px;
    font-weight: 900;
}

.balloon:after {
    display: inline-block;
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    vertical-align: middle;
    text-align: center;
    content: "\f10e";
    font-family: "Font Awesome 7 Free";
    color: #ccc;
    font-size: 24px;
    font-weight: 900;
}

.balloon p {
    padding: 0;
    margin: 10px 0;
    line-height: 1.7;
}

.balloon cite {
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.9em;
}

/* details */

/* detail */

#detaile_wrap {
    background-color: #f7f7f7;
    width: 100%;
}

#detaile_wrap.ag {
    margin-bottom: 0;
    background-color: #eee;
}

#detaile_wrap h2 {
    line-height: 1.8;
    text-align: center;
    font-size: 36px;
    font-family: 'Hind', sans-serif;
    font-weight: bold;
}

#detaile_wrap h2.ag_detaile {
    color: #F93;
    line-height: 1;
    padding: 0 0 20px;
}

#detaile_wrap .detaile {
    width: 1000px;
    margin: 0 auto 0;
    padding: 15px 0 15px;
}

#detaile_wrap .detaile dl {
    display: table;
    padding-bottom: 20px;
    line-height: 1.5;
}

#detaile_wrap .detaile dl dt,
#detaile_wrap .detaile dl dd {
    display: table-cell;
    vertical-align: top;
}

#detaile_wrap .detaile dl dt p {
    font-size: 12px;
    text-align: center;
    width: 210px;
    background-color: #fff;
    border: 2px solid #eee;
    padding: 2px 0;
    letter-spacing: 0.03em;
    border-radius: 4px;
}

#detaile_wrap.ag .detaile dl dt p {
    color: #FD7E00;
    border: 1px solid #FD7E00;
}

#detaile_wrap .detaile dl dd p {
    font-size: 16px;
    padding: 0 0 0 1em;
    line-height: 1.6;
    color: #000;
}

#detaile_wrap .sub_detail_ti {
    font-size: 24px;
    text-align: center;
    font-family: 'Hind', sans-serif;
    font-weight: bold;
    padding-bottom: 15px;
    padding-top: 20px;
}

#detaile_wrap.ag .res_box {
    float: left;
    width: calc(25% - 20px);
    background-color: #F93;
    border-radius: 4px;
    margin: 0 5px 15px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    padding: 15px 5px;
    transition: all 0.5s;
}

#detaile_wrap.ag .res_box:hover {
    opacity: 0.8;
}
.google-map {
    height: 450px;
    overflow: hidden;
}

.google-map iframe {
    height: 450px;
    width: 100%;
    overflow: hidden;
}
@media ( max-width:1000px) {
    #detaile_wrap .detaile {
        width: 100%;
        margin: 0 auto;
        padding: 20px 0 20px;
    }
    #detaile_wrap .detaile dl {
        display: block;
        padding-bottom: 20px;
        line-height: 1.5;
    }
    #detaile_wrap .detaile dl dt,
    #detaile_wrap .detaile dl dd {
        display: block;
    }
    #detaile_wrap .detaile dl dt p {
        margin-bottom: 3px;
        margin-left: 20px;
    }
    #detaile_wrap .detaile dl dd p {
        font-size: 15px;
        padding: 5px 20px 0 30px;
        line-height: 1.6;
    }
  }

/* =============================================
   Single Page — Model Course / Related / Categories
   ============================================= */

/* --- 共通セクションタイトル --- */

.si_section_title {
    font-size: clamp(22px, 3vw, 30px);
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    color: #222;
}

/* =============================================
   1. Model Course
   ============================================= */

.si_modelcourse {
    background-color: #f7f7f7;
    padding: 56px 20px;
}

.si_modelcourse_inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* 横長カードを縦に積む */
.si_mc_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.si_mc_item {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s;
}

.si_mc_item:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
}

/* リンクを横並びに */
.si_mc_item a {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
}

/* 左：サムネイル 固定幅 */
.si_mc_img {
    flex-shrink: 0;
    width: 240px;
    overflow: hidden;
    background-color: #e8e8e8;
    position: relative;
}

.si_mc_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.si_mc_item:hover .si_mc_img img {
    transform: scale(1.06);
}

/* 右：テキスト情報 */
.si_mc_info {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.si_mc_days {
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
    margin: 0;
    margin-bottom: 10px;
}
.si_mc_days span {
    font-size: 11px;
    padding: 2px 10px;
    font-weight: 600;
    color: #18655d;
    border: 1px solid #18655d;
    border-radius: 4px;
}

.si_mc_info .area_cats {
    font-size: 11px;
    color: #18655d;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    line-height: 1.4;
}

.si_mc_info .area_cats li::before {
    font-family: "Font Awesome 7 Free";
    content: '\f3c5';
    font-weight: 900;
    padding-right: 3px;
    font-size: 10px;
}

.si_mc_info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.5;
    margin: 0;
}

/* 矢印アイコン */
.si_mc_info::after {
    content: '\f054';
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 12px;
    color: #ccc;
    align-self: flex-end;
    margin-top: auto;
    transition: color 0.25s, transform 0.25s;
}

.si_mc_item:hover .si_mc_info::after {
    color: #18655d;
    transform: translateX(4px);
}

/* =============================================
   2. Related Articles
   ============================================= */

.si_related {
    background: linear-gradient(160deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 20%, rgba(250,255,247,1) 40%, rgba(247,255,242,1) 72%, rgba(255,255,255,1) 74%, rgba(251,255,245,1) 91%, rgba(245,255,251,1) 100%);
    padding: 56px 20px;
}

.si_related_inner {
    max-width: 1200px;
    margin: 0 auto;
}

.si_related_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 20px;
}

.si_related_item {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    animation: si_fadein 0.4s ease both;
}

/* favボタンは si_related_img 内に配置 → 画像枠（position:relative）が基準 */
.si_related_img .favorite_button {
    position: absolute;
    top: auto;
    right: 8px;
    bottom: 8px;
    z-index: 2;
}

@keyframes si_fadein {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.si_related_item a {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.si_related_img {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background-color: #e8e8e8;
}

.si_related_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.si_related_item:hover .si_related_img img {
    transform: scale(1.06);
}

.si_related_teaser {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.62);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-size: 13px;
    line-height: 1.7;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
}

.si_related_item:hover .si_related_teaser {
    opacity: 1;
}

.si_related_info {
    padding: 12px 14px 14px;
    flex: 1;
}

.si_related_info .area_cats {
    font-size: 11px;
    color: #18655d;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    line-height: 1.4;
}

.si_related_info .area_cats li::before {
    font-family: "Font Awesome 7 Free";
    content: '\f3c5';
    font-weight: 900;
    padding-right: 3px;
    font-size: 10px;
}

.si_related_info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.45;
}

/* =============================================
   3. Category List
   ============================================= */

.si_categories {
    background-color: #fff;
    padding: 56px 20px;
    border-top: 1px solid #eee;
}

.si_categories_inner {
    max-width: 1200px;
    margin: 0 auto;
}

.si_cat_group {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.si_cat_label {
    flex-shrink: 0;
    min-width: 44px;
    padding-top: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #aaa;
    text-align: right;
}

.si_cat_links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.si_cat_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background-color: #f0f0f0;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s;
    line-height: 1;
}

.si_cat_link:hover {
    background-color: #18655d;
    border-color: #18655d;
    color: #fff;
}

/* =============================================
   Responsive — Single Page Extras
   ============================================= */

@media (max-width: 800px) {
    .si_related_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .si_modelcourse,
    .si_related,
    .si_categories {
        padding: 40px 16px;
    }

    .si_section_title {
        margin-bottom: 24px;
    }

    /* モデルコース：スマホでは縦積みカードに */
    .si_mc_item a {
        flex-direction: column;
    }

    .si_mc_img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .si_mc_info {
        padding: 14px 16px;
    }

    .si_mc_info h3 {
        font-size: 14px;
    }

    .si_cat_group {
        flex-direction: column;
        gap: 8px;
    }

    .si_cat_label {
        text-align: left;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .si_related_grid {
        gap: 12px 10px;
    }

    .si_related_info h3,
    .si_mc_info h3 {
        font-size: 12px;
    }

    .si_cat_link {
        font-size: 12px;
        padding: 6px 14px;
    }
}

/* =============================================
   Model Course Itinerary  (.mc_itinerary)
   ============================================= */

.mc_itinerary {
    padding: 56px 20px;
    background: linear-gradient(135deg, #eef8f7 0%, #f5f9f2 50%, #faf7f2 100%);
}

.mc_itinerary_inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Days badge */
.mc_days_badge {
    display: inline-block;
    margin-bottom: 32px;
    padding: 6px 20px;
    border: 2px solid #18655d;
    border-radius: 30px;
    color: #18655d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Timeline list */
.mc_timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Vertical line */
.mc_timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 3px;
    background: linear-gradient(to bottom, #18655d, #8ecfc9);
    border-radius: 2px;
    z-index: 0;
}

/* ---- Milestone (Start / Finish) ---- */
.mc_milestone {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 0 0 64px;
    margin-bottom: 16px;
    z-index: 1;
}

.mc_milestone::before {
    content: '';
    position: absolute;
    left: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #18655d;
    border: 4px solid #eef8f7;
    box-shadow: 0 0 0 2px #18655d;
}

.mc_milestone_label {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 30px;
    background-color: #18655d;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mc_milestone--finish {
    margin-top: 16px;
    margin-bottom: 40px;
}

/* ---- Connector (transportation between spots) ---- */
.mc_connector {
    position: relative;
    padding: 8px 0 18px 64px;
    z-index: 1;
}

.mc_connector_inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 32px 6px 23px;
    background-color: #fff;
    border: 1px solid #d8ebe9;
    border-radius: 10px;
}

.mc_transport_fa {
    font-size: 15px;
    color: #18655d;
    flex-shrink: 0;
}

.mc_transport_label {
    font-size: 13px;
    font-weight: 600;
    color: #18655d;
    margin-left: 4px;
}

.mc_time_req {
    font-size: 13px;
    color: #777;
}

/* ---- Spot ---- */
.mc_spot {
    position: relative;
    padding: 0 0 48px 64px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Full-width image wrapper (direct image & article image both use this) */
.mc_spot_img_wrap {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background-color: #ddd;
}

.mc_spot_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
}

/* ---- Article link card ---- */
.mc_art_link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    overflow: hidden;
}

.mc_art_link:hover .mc_spot_img_wrap img {
    transform: scale(1.04);
}

/* "More" badge: centered on the photo */
.mc_art_badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 28px;
    background-color: rgba(24, 101, 93, 0.82);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
    pointer-events: none;
    transition: background-color 0.25s;
    white-space: nowrap;
}

.mc_art_link:hover .mc_art_badge {
    background-color: rgba(24, 101, 93, 0.96);
}

/* ---- Spot header (num + title, below photo) ---- */
.mc_spot_header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-top: 4px;
}

.mc_spot_num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #18655d;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-top: 6px;
}

.mc_spot_heading {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.mc_art_teaser {
    margin: 0;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    font-weight: 600;
    padding-left: 2px;
}

.mc_spot_title {
    margin: 0;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    color: #1a1a1a;
    padding-top: .3em;
    line-height: 1.35;
}

/* Map embed */
.mc_spot_map {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 5;
}

.mc_spot_map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* Spot text */
.mc_spot_text {
    font-size: 15px;
    line-height: 1.85;
    color: #444;
    background-color: #fff;
    border-radius: 8px;
    padding: 18px 22px;
}

/* Course Map */
.mc_course_map {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #cde8e5;
}

.mc_course_map_title {
    font-size: 18px;
    font-weight: 700;
    color: #18655d;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc_course_map_embed {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}

.mc_course_map_embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* =============================================
   Model Course — Responsive
   ============================================= */

@media (max-width: 720px) {
    .mc_itinerary {
        padding: 40px 16px;
    }

    .mc_spot_img_wrap {
        aspect-ratio: 4 / 3;
    }

    .mc_spot_map {
        aspect-ratio: 4 / 3;
    }

    .mc_course_map_embed {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .mc_timeline::before {
        left: 18px;
    }

    .mc_milestone {
        padding-left: 54px;
    }

    .mc_milestone::before {
        left: 6px;
    }

    .mc_connector {
        padding-left: 54px;
    }

    .mc_spot {
        padding-left: 54px;
        gap: 12px;
    }

    .mc_spot_title {
        font-size: 17px;
    }

    .mc_art_badge {
        font-size: 12px;
        padding: 8px 18px;
    }
}

/* =============================================
   Writer Single Page  (.wr_*)
   ============================================= */

/* ---- Hero / Profile ---- */
.wr_hero {
    padding: 120px 20px 64px;   /* 上余白大きめ（GNavi分確保）*/
    background: linear-gradient(160deg, #eef8f7 0%, #f5f9f2 60%, #faf7f2 100%);
}

.wr_hero_inner {
    max-width: 1100px;
    margin: 0 auto;
}

.wr_profile_card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: start;
}

.wr_photo_wrap {
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #ddd;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

.wr_photo_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wr_profile_info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
}

.wr_duties {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #18655d;
}

h1.wr_name {
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.wr_bio {
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    max-width: 640px;
    border-top: 1px solid #d8e8e6;
    padding-top: 16px;
}

.wr_bio p {
    margin: 0 0 0.8em;
}

/* ---- Articles section ---- */
.wr_articles {
    padding: 56px 20px 80px;
    background-color: #fff;
}

.wr_articles_inner {
    max-width: 1200px;
    margin: 0 auto;
}

.wr_section_title {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 32px;
    margin-left: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #18655d;
    display: inline-block;
}

/* ---- 4-column override for tf_grid on writer page ---- */
.wr_grid.tf_grid {
    grid-template-columns: repeat(4, 1fr);
}

/* =============================================
   Writer — Responsive
   ============================================= */

@media (max-width: 1000px) {
    .wr_grid.tf_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .wr_hero {
        padding: 100px 16px 48px;
    }

    .wr_profile_card {
        grid-template-columns: 1fr;
        gap: 28px;
        justify-items: center;
        text-align: center;
    }

    .wr_photo_wrap {
        width: 160px;
    }

    .wr_profile_info {
        padding-top: 0;
        align-items: center;
    }

    .wr_bio {
        text-align: left;
        max-width: 100%;
    }

    .wr_articles {
        padding: 40px 16px 60px;
    }

    .wr_grid.tf_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }
}

@media (max-width: 480px) {
    .wr_hero {
        padding: 80px 16px 40px;
    }

    h1.wr_name {
        font-size: 28px;
    }
}

/* =============================================
   Area Category Page  (.area_*)
   ============================================= */

/* 1. Hero */
.area_vi {
    width: 100%;
    height: 80vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    position: relative;
}
.area_vi::after {
    content: '';
    position: absolute;
    inset: 0;
    /*background: rgba(0,0,0,0.2);*/
}
.area_vi__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    width: 100%;
}
.area_vi__inner h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    margin-bottom: 0.2em;
    text-transform: uppercase;
}
.area_vi__teaser {
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.8;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    margin: 0;
    text-align: center;
}

/* 3 & 4. Body text + map */
.area_body {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
}
.area_body__text {
    flex: 1;
    font-size: clamp(14px, 2vw, 15px);
    line-height: 1.9;
    color: #333;
}
.area_body__text p {
    margin-bottom: 1em;
}
.area_body__map {
    flex-shrink: 0;
    width: 46%;
}
.area_body__map img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* 5. Article list */
.area_posts {
    padding: 0 20px 80px;
}
.area_posts__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
    .area_body {
        gap: 32px;
    }
    .area_body__map {
        width: 42%;
    }
}

@media (max-width: 768px) {
    .area_vi {
        height: 60vh;
        min-height: 300px;
    }
    .area_body {
        flex-direction: column;
        gap: 24px;
        padding: 36px 16px;
    }
    .area_body__map {
        width: 100%;
    }
    .area_teaser {
        padding: 32px 16px 0;
    }
    .area_posts {
        padding: 0 16px 60px;
    }
}

/* =============================================
   Search Results Page  (.sr_*)
   ============================================= */

.sr_hero {
    background: linear-gradient(135deg, #eef8f7 0%, #f5f9f2 60%, #faf7f2 100%);
    padding: 120px 20px 58px;
    text-align: center;
}
.sr_hero__inner {
    max-width: 800px;
    margin: 0 auto;
}
.sr_hero__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #18655d;
    margin-bottom: 12px;
}
.sr_hero__query {
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 16px;
}
.sr_hero__count {
    font-size: 15px;
    color: #666;
}

.sr_main {
    padding: 48px 20px 80px;
}
.sr_inner {
    max-width: 900px;
    margin: 0 auto;
}
.sr_empty {
    text-align: center;
    color: #888;
    font-size: 16px;
    padding: 40px 0;
}

.sr_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sr_item {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s;
}
.sr_item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}
.sr_item a {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
}
.sr_item__img {
    flex-shrink: 0;
    width: 220px;
    overflow: hidden;
    background-color: #e8e8e8;
}
.sr_item__img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.sr_item:hover .sr_item__img img {
    transform: scale(1.05);
}
.sr_item__body {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.sr_item__type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #18655d;
}
.sr_item__body .area_cats {
    font-size: 11px;
    color: #18655d;
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    line-height: 1.4;
}
.sr_item__body .area_cats li::before {
    font-family: "Font Awesome 7 Free";
    content: '\f3c5';
    font-weight: 900;
    padding-right: 3px;
    font-size: 10px;
}
.sr_item__body h2 {
    font-size: clamp(15px, 2vw, 19px);
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}
.sr_item__body p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 600px) {
    .sr_hero {
        padding: 100px 16px 36px;
    }
    .sr_main {
        padding: 32px 16px 60px;
    }
    .sr_item a {
        flex-direction: column;
    }
    .sr_item__img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    .sr_item__body {
        padding: 16px;
    }
}

/* =============================================
   404 Not Found Page  (.nf_*)
   ============================================= */

.nf_hero {
    background: linear-gradient(135deg, #eef8f7 0%, #f5f9f2 60%, #faf7f2 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    text-align: center;
}
.nf_hero__inner {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.nf_hero__code {
    font-size: clamp(80px, 16vw, 140px);
    font-weight: 800;
    color: #18655d;
    line-height: 1;
    letter-spacing: -0.04em;
    opacity: 0.18;
    margin: 0;
}
.nf_hero__title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: -24px 0 0;
}
.nf_hero__text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}
.nf_hero__search {
    width: 100%;
    margin-top: 8px;
}
.nf_hero__search .search-form {
    display: flex;
    gap: 0;
    border: 1.5px solid #c8dbd9;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}
.nf_hero__search .search-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    background: transparent;
}
.nf_hero__search .search-submit {
    border: none;
    background: #18655d;
    color: #fff;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.nf_hero__search .search-submit:hover {
    background: #124e48;
}
.nf_hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 28px;
    border: 1.5px solid #18655d;
    border-radius: 4px;
    color: #18655d;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.nf_hero__btn:hover {
    background: #18655d;
    color: #fff;
}

/* --- 404 --- */
@media (max-width: 600px) {
    .nf_hero {
        padding: 100px 16px 60px;
        min-height: 70vh;
    }
}