@charset "UTF-8";

/* =================================
   Base Settings
   ================================= */
:root {
    --primary-blue: #2894c7;
    --text-black: #333;
    --text-gray: #666;
    --bg-light-blue: #e0f5fa; /* 魅力セクションの背景色 */
    --gold: #b49031;
    --gold-line: #d9c694;
    --font-mincho: YuMincho,"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP", serif;
    --font-ten-mincho: "ten-mincho-text",YuMincho,"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP", serif;
    --font-gothic: "BIZ UDPGothic","Noto Sans JP", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-gothic);
    color: var(--text-black);
    line-height: 1.6;
    background: url('../images/top/back25.png') center/auto repeat-y;
}

a { transition: opacity 0.3s; }
a:hover { opacity: 0.7; }

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================
    共通設定
   ================================= */
/*margin*/
.mb70{margin-bottom: 70px;}
.mb95{margin-bottom: 95px;}
.mb160{margin-bottom: 160px;}
.mb200{margin-bottom: 200px;}
.mt200{margin-top: 200px;}

/*Button*/
.btn-area {
    text-align: center;
}
.blue-btn {
    display: inline-block;
    background-color: var(--primary-blue);
    color: #fff;
    padding: 10px 95px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 4px 0 #1b8ac0; /* 立体的な影 */
    transition: all 0.2s;
}
.blue-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1b8ac0;
}
.text-link {
    color: var(--primary-blue);
    text-decoration: underline;
}

/*pagetop*/
#page_top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1;
}

#page_top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
}

.disabled a{
     pointer-events:none;
     opacity: 0.5;
}

/* =========================================
   PC-only
   ========================================= */
@media screen and (min-width: 767px) {

/* スマホ表示制御クラス */
.sp-only { display: none; }
/*.pc-only { display: block; }*/

}


/* =========================================
   レスポンシブ対応
   ========================================= */
@media screen and (max-width: 768px) {

/*margin*/
/*.mb70{margin-bottom: 70px;}*/
/*.mb95{margin-bottom: 95px;}*/
/*.mb160{margin-bottom: 160px;}*/
.mb200{margin-bottom: 100px;}
/*.mt200{margin-top: 200px;}*/

.pc-only{display: none;}

    .blue-btn {
        width: 100%;
        padding: 15px 0;
        font-size: 16px;
        box-sizing: border-box;
    }
}


/* =================================
   Header
   ================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: url('../images/top/back25.png') center/auto repeat-y;
    z-index: 200;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 5px 0px;
}

.header-inner {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 15px 35px 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    width: 25vw;
    margin-right: 20px;
}

.header-nav ul {
    font-family: var(--font-mincho);
    display: flex;
    gap: 15px;
}

.header-nav a {
    font-size: 14px;
    color: #000;
    position: relative;
    text-wrap: nowrap;
}

/* 区切り線 */
.header-nav li:not(:last-child)::after {
    content: "|";
    margin-left: 15px;
    color: #ccc;
}

.fixed{
  animation: 1s fadeup ease-in-out forwards;
}

.fixed .header-logo {
    width: 17vw;
}

.fixed .header-inner {
    padding: 8px 35px 8px 20px;
}



@media (min-width: 767px) {
.menu-wrapper {
    display: none;
    }
}

@media (max-width: 768px) {

.fixed .header-inner {
    display: none;
}

.header-logo {width: 60vw;}
    nav.header-nav {
    display: none;
}

/*ハンバーガーメニュー*/
.menu-wrapper {
    display: inherit;
  position: relative;
}

.menu-icon {
  width: 40px;
  height: 30px;
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 3;
  display: inline-block;
}

.menu-icon span {
  display: block;
  height: 4px;
  margin: 6px 0;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.4s;
}

/* ハンバーガーがXに変形 */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* オーバーレイ背景 */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 1;
}

#menu-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* メニュー本体（左から出す） */
.menu {
  position: fixed;
  top: 0;
  left: -250px; /* ← 初期位置を左へ */
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  transition: left 0.4s ease;
  z-index: 2;
}

#menu-toggle:checked ~ .menu {
  left: 0; /* ← 開いたときは左0へ */
}

.menu-logo{
    padding: 10%;
    background: #fff;
}

.menu ul {
  font-family: var(--font-mincho);
  list-style: none;
  padding: 60px 20px;
  background: #fff;
}

.menu li {
    margin: 20px 0;
    border-bottom: 1px solid var(--gold-line);
    padding: 0 0 5px 5px;
}

.menu a {
  text-decoration: none;
  /*color: #333;*/
  font-size: 1.2rem;
  transition: color 0.3s;
}


}

/* =================================
   main image
   ================================= */
.main_img{
    border-bottom: 6px solid var(--gold-line);
    text-align: center;
}


/* =================================
   pickup Section お知らせ
   ================================= */
.pickup{
    padding: 20px 0;
    border-bottom: 6px solid var(--gold-line);
    background-color: #fff;
}
.news-list{
  list-style: none outside;
  margin: 0 15vw;
  padding: 0;
  font-size: .9rem;
}

.news-list .item a {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    border-bottom: 1px solid var(--gold-line);
    padding: 10px 20px;
    align-items: flex-end;
}

.news-list .item .date{
  margin: 0;
  min-width: 120px;
  font-size: 13px;
  /*color: #999;*/
  padding: 0 20px 0 0;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: var(--primary-blue);
}

@media screen and (max-width: 767px){
    section.pickup {
    margin: 0;
    }
    ul.news-list {
        margin: 0;
        font-size: 0.8rem;
    }
    .news-list .item a{
      flex-wrap: wrap;
    }
    .news-list .item .date{
      min-width: 100px;
    }
    .news-list .item .title{
      margin-top: 10px;
    }

}

/* =================================
   共通タイトル
   ================================= */

.main-title {
    font-family: var(--font-ten-mincho);
    font-weight: 400;
    font-style: normal;
    font-size: 43px;
    /*font-size: 2.7rem;*/
    letter-spacing: 0.1em;
    margin: 0 0 10px 0;
}

.sub-title {
    font-family: Cambria, "Times New Roman", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    /*text-transform: uppercase;*/
    display: block;
    margin-bottom: 95px;
}

.lead-text{
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 70px;
    /*font-family: var(--font-mincho);*/
}

.lead-text--sub{
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 50px;
    font-family: var(--font-gothic);
}

@media screen and (max-width: 767px){

h2.main-title ,
h2.main-title-img {
    /*padding: 1rem 2rem;*/
    font-size: 30px;
}

.sub-title {
    margin-bottom: 30px;
}

    .lead-text{
        margin-bottom: 30px;
    }

}


/* =================================
   sumoto-intro Section 洲本市のご紹介
   ================================= */

.sumoto-intro {
    width: 100%;
    overflow: hidden;
}

/* メインタイトルエリア */
.intro-header {
    text-align: center;
}
.intro-header img.info_title {
    width: 500px;
}


/* コンテンツエリア */
.intro-content {
    max-width: 1920px;
    margin: 0 auto;
    /*padding-bottom: 60px;*/
}

.row-block {
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    margin-bottom: 160px;
    /*padding: 0 20px;*/
}

/* 逆向きレイアウト用 */
.row-block.reverse {
    flex-direction: row-reverse;
}

.img-col {
    width: 48%;
  /*animation: fadeIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;*/
}

.img-col .main-img_l {
    border-radius: 0 12px 12px 0;
    /*box-shadow: 0 10px 25px rgba(0,0,0,0.05);*/
}

.img-col .main-img_r {
    border-radius: 12px 0 0 12px;
}

.text-col {
    width: 52%;
    position: relative;
    padding: 0 3rem;
}

.info_title_wrap {
    display: flex;
    /* justify-content: space-between; */
    width: 80%;
    align-items: center;
    margin-bottom: 20px;
}

/*.info_title_wrap.info_first {width: 50%;}
.info_title_wrap.info_second {width: 60%;}
.info_title_wrap.info_third {width: 70%;}*/


.info_title_wrap div:first-child{
    margin-right: 20px;
}


/* キャッチコピー */
.catch-copy {
    font-family: var(--font-mincho);
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: normal;
}

/* 本文 */
.body-text {
    font-size: 14px;
    text-align: justify;
    line-height: 1.9;
    /*letter-spacing: 0.05em;*/
    margin: 0;
    max-width: 400px;
}


/* ===========================
   青色フッターエリア
   =========================== */
.bottom-area {
    /*background-color: #92d2e8;*/
    /*background: linear-gradient(to bottom, #7ccce8 0%, #bce6f5 100%);*/
    background: url('../images/top/back_blue02.png') center/auto repeat-y;
    padding: 0px 0px 200px;
    text-align: center;
    position: relative;
    color: #fff;
}

.bottom-header {
    background: url('../images/top/back_blue01.png') center/auto repeat-y;
    /*background: #46b1d7;*/
    font-family: var(--font-ten-mincho);
    text-align: center;
    padding: 40px 0;
    margin-bottom: 80px;
}

.bottom-header h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
    font-weight: normal;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.bottom-header h3 img {
    width: 400px;
}
.bottom-header .serif {
    font-size: 43px;
    /*font-weight: 700;*/
}
.bottom-header p {
    font-size: 20px;
}

.map-illustration {
    position: absolute;
    top: 40px;
    right: 8%;
    /* opacity: 0.8; */
    z-index: 2;
    width: 213px;
}

.spots-grid {
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.spot-img {
    margin-bottom: 10px;
}

.spot-item p {
    font-size: 13px;
    color: #333;
    /*line-height: 1.3;*/
    font-weight: 500;
    /*text-wrap: nowrap;*/
}

.nagy {
    position: absolute;
    top: 45vh;
    right: 4vw;
    width: 20vw;
}

.nanoha {
    position: absolute;
    bottom: 10vh;
    left: 8vw;
    width: 14vw;
}


@media screen and (min-width: 767px) {
.text-col-left {
    position: absolute;
    left: 3rem;
}

.text-col-right {
    position: absolute;
    right: 3rem;
}

    .spots-grid.first {
        padding-right: 150px;
        margin-bottom: 40px;
    }
    .spots-grid.second {
        margin-bottom: 95px;
    }
    .spot-item {
        width: 15vw;
        text-align: center;
        position: relative;
    }

}


/* ===========================
   レスポンシブ (タブレット・スマホ)
   =========================== */
@media screen and (max-width: 768px) {

.bottom-area {
    padding-bottom: 80px;
}

.intro-header {
    margin: 50px 0;
}
.row-block {
    flex-direction: column;
    margin-bottom: 50px;
}

.row-block.reverse {
    flex-direction: column;
}

.img-col, .text-col {
    width: 100%;
}

.text-col{
    padding: 0 1.2rem;
}

.img-col_r {
    padding-right: 30px;
}

.img-col_l {
    padding-left: 30px;
}

.info_title_wrap {
    margin: 50px auto 30px;
}

.info_title_wrap.info_first {width: 68%;flex-direction: row-reverse;}
.info_title_wrap.info_second {width: 60%;}
.info_title_wrap.info_third {width: 93%;}

.info_title_wrap div:first-child{
    margin-right: 0px;
}

.info_title_wrap_img{margin-left: 20px;}

/*.bottom-header h3 img {
    padding: 0 5% 0 50%;
    width: 40vw;
}*/

.bottom-header {
    padding: 24px 6vw;
    text-align: left;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 170px;
}
.bottom-header .serif {
    font-size: 37px;
}
.bottom-header p {
    font-size: 17px;
}

.map-illustration {
    top: 84px;
    width: 45%;
    left: 2%;
}
.nagy {
    top: 36vh;
    width: 48vw;
}


    .icon-title-wrap {
        /* スマホではアイコンを少し小さく、左寄せまたは中央寄せ */
        display: flex;
        justify-content: center; /* タイトルと一緒に中央寄せ */
        margin-top: -40px; /* 画像に少し被せる演出 */
        position: relative;
        z-index: 2;
    }

    .circle-icon {
        width: 90px;
        height: 90px;
        border: 4px solid #fff;
    }

    .catch-copy {
        text-align: center;
        font-size: 20px;
    }

    .body-text {
        text-align: justify;
    }

/*    .map-illustration {
        display: none;
    }*/

    .spots-grid {
        gap: 10px;
        padding: 0 5vw 50px;
    }

    .spot-item {
        width: 30%; /* 3列にする */
    }

    /*.spot-img {
        width: 70px;
        height: 70px;
    }*/

    .nanoha_sp {
        padding: 0 15% 50px;
    }

    .intro-btn {
        padding: 0 2rem;
    }
}


/* =================================
   Products Section
   ================================= */
.products-section {
    padding: 200px 0;
    background: url('../images/top/back02.png') center/auto repeat-y;
}

.section-header-center {
    text-align: center;
}

/*.section-header-center h2 {
    font-size: 28px;
    margin-bottom: 15px;
}*/

/*.section-header-center h2 img {
    width: 250px;
}*/

/* ヘッダー */
/*.ranking-header {
    text-align: center;
    margin-bottom: 60px;
    font-family: var(--font-mincho);
}*/

/*.ranking-header h3 {
    font-family: "ten-mincho-text", serif;
     padding-top: 4rem;
    font-size: 25px;
    font-weight: normal;
    letter-spacing: 0.1em;
}*/

.products-item{
    border-top: 4px solid var(--primary-blue);
    border-radius: 0 0 10px 10px;
}

.henrei-title{
    text-align: center;
    padding: 3rem 0;
}
.henrei-title h3 {
    font-family: "ten-mincho-text", serif;
    /*padding-top: 4rem;*/
    font-size: 25px;
    font-weight: normal;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

p.sub{
    font-family: var(--font-mincho);
    /*text-align: justify;*/
}

p.ouen{
    font-family: var(--font-mincho);
    text-align: justify;
    line-height: 1.8;
}

/*.henrei-title h3 img{
    width: 150px;
}*/
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 70px 40px;
    /*margin-bottom: 30px;*/
    padding-bottom: 200px;
    border-bottom: 1px solid var(--gold);
}

/*.product-card {
    border: 1px solid #eee;
    background: #fff;
}*/

.product-thumb {
    text-align: center;
    /*height: 180px;*/
    /*overflow: hidden;*/
}
/*.product-thumb img { width: 100%; height: 100%; object-fit: cover; }*/

/*.product-detail {
    padding: 15px;
}*/
.p-name {
    margin: 1em 0;
    min-height: 3em;
}

/* コンテナ（外枠）のスタイル */
.furusato-link-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 横2列 */
    gap: 7px; /* ボタン同士の間隔 */
    margin: 0 auto; /* 中央寄せ */
    /*padding: 20px;*/
}

/* ボタン共通スタイル */
.furusato-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-blue);
    color: #ffffff; /* 文字色：白 */
    text-decoration: none; /* 下線を消す */
    font-weight: normal;
    border-radius: 6px; /* 角丸の調整 */
    height: 40px; /* ボタンの高さ */
    font-size: .8rem; /* 文字サイズ */
    /*transition: opacity 0.3s; */
    /*box-shadow: 0 1px 2px rgba(0,0,0,0.1);*/
}


/* レスポンシブ対応（スマホで縦1列にする場合） */
/*@media screen and (max-width: 480px) {
    .furusato-link-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}*/


/*.ranking-preview {
    text-align: right;
    margin-bottom: 20px;
}
.banner-link {
    color: var(--primary-blue);
    text-decoration: underline;
}*/

@media screen and (max-width: 768px) {

.products-grid {
    padding-bottom: 80px;
}

    .products-section {
        padding: 80px 0;
    }

.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.products-grid {
     grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
}

}

/* =========================================
   ランキングセクション
   ========================================= */
.ranking-section {
    padding: 200px 0 95px;
}

.ranking-title{
    padding-top: 0;
}

/* ランキングアイテム（共通） */
.ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 上揃え（またはcenter） */
    gap: 50px;
    margin-bottom: 95px;
}

.item-img {
    /*flex: 1;*/
    width: 30vw;
}
.item-img img {
    /* 画像を少しリッチに見せる */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    /*max-width: 300px;*/
}
.item-content {
    flex: 1;
    /*padding-top: 10px;*/
}

/* 逆配置（2位用） */
.ranking-item.reverse {
    flex-direction: row-reverse;
}

/* 順位バッジ（王冠＋数字） */
.rank-badge {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    margin-bottom: 30px;
}
span.crown-icon {
    padding: 0 1rem 0 0;
}

span.crown-icon img {
    width: 70px;
}


/* タイトル・説明 */
.item-title {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: -0.2em;
    font-family: var(--font-mincho);
}

.item-desc {
    font-size: 14px;
    /*color: #444;*/
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* プラットフォームリンクボタン群 */
.platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pf-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-blue);
    color: #fff;
    font-size: 11px;
    width: calc(25% - 6px); /* 4つ並べる */
    height: 36px;
    border-radius: 4px;
    text-align: center;
    padding: 0 5px;
    box-sizing: border-box;
}



.tab-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
}

.tab-2 > label {
    /*flex: 1 1;*/
    order: -1;
    opacity: .5;
    min-width: 70px;
    padding: .6em 1em;
    border-radius: 5px 5px 0 0;
    background-color: var(--primary-blue);
    color: #fff;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.tab-2 > label:hover {
    opacity: .8;
}

.tab-2 input {
    display: none;
}

.tab-2 > div {
    display: none;
    width: 100%;
    padding: 0em 4em 3rem;
    background-color: #fff;
}

.tab-2 label:has(:checked) {
    opacity: 1;
}

.tab-2 label:has(:checked) + div {
    display: block;
}


/* =========================================
   レスポンシブ対応 (スマホ・タブレット)
   ========================================= */
@media screen and (max-width: 768px) {

.ranking-section {
    padding-top: 80px;
}

    .ranking-item {
        flex-direction: column; /* 縦並び */
        gap: 20px;
        margin-bottom: 60px;
    }

    /* reverse指定があってもスマホでは強制的に縦（画像→テキスト）にする */
    .ranking-item.reverse {
        flex-direction: column;
    }

    .item-img {
        text-align: center;
        width: 100%;
        box-shadow: none; /* スマホではフラットに */
    }

    .item-content {
        width: 100%;
        padding-top: 0;
    }

/*.rank-badge {
    flex-direction: column;
}*/

span.crown-icon {
    text-align: center;
}

span.crown-icon img {
    width: 73%;
}

    .item-title {
        font-size: 20px;
    }

    /* ボタン群を2列×2行にするなど調整 */
    .pf-btn {
        width: calc(50% - 4px); /* 2列にする */
        font-size: 12px;
        height: 40px;
    }

    .btn-more {
        width: 100%; /* 幅いっぱいに */
        padding: 15px 0;
        font-size: 18px;
    }

.tab-2 > div {
    padding: 0em 2em 0;
}

}




/* =================================
   How to section
   ================================= */
.howto-section {
    padding: 200px 0;
}

/* ヘッダー */
.howto-header {
    text-align: center;
    margin-bottom: 40px;
}

.howto-header h2 img {
    width: 250px;
}


/* 説明文 */
.howto-intro {
    font-size: 14px;
    text-align: justify;
    padding: 0 7rem;
}

/* 水色の申込方法ボックス */
.method-box {
    background-color: var(--bg-light-blue);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    margin-bottom: 95px;
}

.method-title {
    font-family: var(--font-mincho);
    font-size: 28px;
    color: var(--primary-blue);
    margin: 0 0 20px 0;
    font-weight: 500;
}

.method-lead {
    /*font-weight: bold;*/
    margin-bottom: 20px;
    font-size: 16px;
}

.method-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    display: inline-block;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
}
.method-list li {
    margin-bottom: 5px;
}

.method-note {
    font-size: 14px;
    /*color: #555;*/
    line-height: 1.6;
}

/* インターネット申し込みセクション */
.internet-section {
    text-align: center;
    margin-bottom: 50px;
}

.internet-header-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

/*.internet-title {
    padding: 0 10vw;
    margin-bottom: 30px;
}*/

.internet-title {
    font-family: var(--font-ten-mincho);
    font-size: 30px;
    /*font-weight: 700;*/
    margin: 0;
    line-height: 1.3;
}

.step-icons-top .icon_device_pc{ width: 70px; }
.step-icons-top .icon_device_sp{ width: 35px; }

/* マーカー風強調 */
.guide-highlight {
    display: inline-block;
    background: linear-gradient(to top, var(--bg-light-blue) 40%, transparent 40%);
    padding: 0 10px;
    margin-bottom: 95px;
}

.guide-highlight p {
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

/* ロゴボックス */
.logos-box {
    border: 3px solid var(--gold);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #fff;
}

.logo-item img {
    max-width: 180px;
    height: auto;
    display: block;
}
.logo-item img.logo_rakuten {
    min-height: 50px;
    max-width: 100%;
}

/* =========================================
   レスポンシブ対応
   ========================================= */
@media screen and (max-width: 768px) {

    .howto-section {
    padding: 80px 0;
}

    .howto-intro {
        /*font-size: 13px;*/
        padding: 0;
    }

    /* 水色ボックス */
    .method-box {
        padding: 30px 20px;
    }
    .method-title {
        font-size: 22px;
    }
    .method-list {
        font-size: 15px;
    }

p.method-lead {
    text-align: left;
}

p.method-note {
    text-align: justify;
}

.internet-title {
    padding: 20px 0 0 0;
    font-size: 21px;
}

.guide-highlight {
    background: none;
    padding: 0;
    margin-bottom: 30px;
}

    .guide-highlight p {
        font-size: 12px;
    }

    /* インターネットセクション */
    .internet-header-wrap {
        gap: 15px;
    }

    /* ロゴボックス */
    .logos-box {
        flex-direction: column; /* 縦並びにするか、2列にする */
        gap: 30px;
        margin-bottom: 30px;
    }
    .logo-item img {
        max-width: 200px;
    }

    .btn-detail {
        width: 100%;
        padding: 15px 0;
        font-size: 16px;
        box-sizing: border-box;
    }
}


/* =========================================
   寄附金の使い道セクション
   ========================================= */
.use-section {
    background: url('../images/top/back02.png') center/auto repeat-y;
    padding: 200px 0;
}

/* ヘッダー */
.use-header {
    text-align: center;
    /*margin-bottom: 30px;*/
}

.use-header h2 img {
    width: 300px;
}

/* 導入文 */
/*.intro-text {
    text-align: center;
}*/

/* グリッドレイアウト */
.use-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    column-gap: 70px; /* 横の間隔 */
    row-gap: 70px;    /* 縦の間隔 */
    max-width: 800px;
    margin: 0 auto 95px;
}

.use-item {
    width: 100%;
}

.use-img {
    overflow: hidden;
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.05);*/
}

.use-desc {
    font-family: var(--font-mincho);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 20px;
    /*margin: 0;*/
    padding-left: 5px;
}

/* =========================================
   レスポンシブ対応
   ========================================= */
@media screen and (max-width: 768px) {

.use-section {
    padding:80px 0;
}

    .use-grid {
         /* 1列にする */
        /*grid-template-columns: 1fr;*/
        row-gap: 0px;
        column-gap: 20px;
        margin-bottom: 0;
    }

    .use-desc {
        font-size: 13px;
        line-height: 1.8;
    }

    .use-desc br {
        display: none;
    }
}


/* =========================================
   Link セクション
   ========================================= */
.link-section {
    padding: 200px 0;
}

/* ヘッダー */
.link-header {
    text-align: center;
    /*margin-bottom: 95px;*/
}

.link-header h2 img {
    width: 300px;
}

/* 白い角丸ボックス */
.link-box {
    background-color: #fff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); /* ほんのり影 */
}

/* グリッドレイアウト */
.link-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* PCは4列 */
    gap: 30px;
    align-items: end; /* 下揃えにするとテキスト位置が揃いやすい */
}

.link-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 画像エリアの設定 */
.img-link {
    display: block;
    margin-bottom: 15px;
    width: 100%;
}

.img-wrap {
    height: 180px; /* 画像エリアの高さを固定 */
    display: flex;
    align-items: center;     /* 上下中央配置 */
    justify-content: center; /* 左右中央配置 */
}

.img-wrap img.ig {
    width: 40%;
}

.img-wrap img {
    max-height: 100%; /* 高さいっぱいに収める */
    width: auto;
    max-width: 100%;
    object-fit: contain; /* アスペクト比を維持 */
}

.link-item a.text-link {
    height: 2em;
}

/* =========================================
   レスポンシブ対応
   ========================================= */
@media screen and (max-width: 900px) {
    .link-grid {
        grid-template-columns: repeat(2, 1fr); /* タブレット等は2列 */
        gap: 40px 30px;
    }
}

@media screen and (max-width: 600px) {
    .link-section {
        padding: 60px 0;
    }

    .link-box {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .link-grid {
        /* スマホでもバナーなら2列が見やすい場合が多いですが、
           小さくなりすぎる場合は1列(1fr)に変更 */
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .img-wrap {
        height: 120px; /* スマホでは高さを少し小さく */
    }

}



/* =================================
   Footer
   ================================= */
.footer {
    background: var(--primary-blue);
    color: #fff;
    padding: 40px 0;
    font-size: 14px;
    text-align: center;
}

.footer-contact .address {
    font-weight: bold;
    font-size: 16px;
}

.footer-contact .form {
    text-decoration: underline;
}
.copyright {
    padding-top:26px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-container { flex-direction: column; text-align: left; }
    .footer-contact { text-align: left; margin-top: 20px; }
}




/* =================================
   ここから下層ページ
   ================================= */


/* =================================
   兵庫県洲本市とは intro.html
   ================================= */
.about-sumoto{
    padding: 200px 0 160px;
    background: url('../images/top/back02.png') center/auto repeat-y;
}

.content-about{
    padding: 0 10vw;
}

.content-about .info_map{
    text-align: center;
}


/* =========================================
   Intro Page - Tourism Section
   観光産業・漁業について
   ========================================= */

.tourism {
    padding: 200px 0;
    width: 100%;
}

/* セクションヘッダー */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* コンテンツブロック共通 */
.content-block {
    margin-bottom: 160px;
}
/*.content-block:last-child {
    margin-bottom: 0;
}*/

.block-body {
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
    gap: 50px;
}

/* 画像エリア */
.block-img {
    flex: 1; /* 幅50% */
    text-align: center;
}

.block-img img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* 角丸を少しつける */
}

/* テキストエリア */
.block-text {
    flex: 1; /* 幅50% */
}

/* 各ブロックの見出しスタイル */

.block-title {
    font-family: var(--font-ten-mincho);
    font-size: 38px;
    font-weight: 500;
    margin: 0 0 30px 0;
    text-align: center;
    letter-spacing: 0.4rem;
}
.blue-text {
    color: var(--primary-blue);
}

.light-blue-text {
    opacity: 0.3;
    color: var(--primary-blue);
}

/* 逆方向（Z型）レイアウト用 */
.content-block.reverse .block-body {
    flex-direction: row-reverse;
}



/* =========================================
   レスポンシブ対応 (SP)
   ========================================= */
@media screen and (max-width: 768px) {
    .about-sumoto{
        padding: 50px 0;
    }

    .tourism {
        padding: 50px 0;
    }

    .block-title{
        font-size: 28px;
    }

    .content-block {
        margin-bottom: 60px;
    }

    .block-body {
        flex-direction: column; /* 縦並び */
        gap: 20px;
    }

    .content-block.reverse .block-body {
        flex-direction: column;
    }

    .block-img {
        width: 100%;
        margin-bottom: 10px;
    }

}



/* =========================================
   Intro Page - Tourist Info Section 洲本市観光情報
   ========================================= */

.tourist-info {
    padding: 200px 0;
    background: url('../images/top/back02.png') center/auto repeat-y;
}

/* グリッドレイアウト */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 80px 60px;
}

/* 個別アイテム */
.info-item {
    width: 100%;
}

/* 画像スタイル */
.info-img {
    margin-bottom: 25px;
}

.info-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* タイトルスタイル */
.info-title {
    font-family: var(--font-mincho);
    font-weight: 500;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-size: 20px;
}

/* テキストスタイル */
.info-text {
    /*font-family: "Noto Sans JP", sans-serif;*/
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin: 0;
}

/* =========================================
   レスポンシブ対応 (SP)
   ========================================= */
@media screen and (max-width: 768px) {
    .tourist-info {
        padding: 50px 0;
    }

    /* グリッドを1列に */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .info-title {
        margin: 20px 0;
    }

}


/* =================================
   返礼品紹介 products.html
   ================================= */

.rank-badge--sub{
    margin: 1rem 0;
}

.item-title--sub{
    font-size: 18px;
}

span.crown-icon--sub img {
    width: 55px;
}

.products-grid--ranking {
    padding-bottom: 95px;
}

.kifu-only{
    background: #fff;
    padding: 5%;
    margin-bottom: 80px;
    border-radius: 15px;
}

.kifu-only h3{
    font-family: var(--font-mincho);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 2em;
    text-align: center;
}

.ouen--sub{
    margin-bottom: 2rem;
}

.caution h3 {
    text-align: center;
    letter-spacing: 0.3em;
    font-size: 1.2rem;
    font-weight: bold;
}

.caution p.caution-sub{
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
}

.caution p.caution-sub span{
    color: var(--gold);
}

.caution ul{
    list-style: disc;
    padding: 0;
    margin-left: 1rem;
    font-size: 15px;
}

.caution ul li{
    margin-bottom: 0.3rem;
}


/* =========================================
   How To Page howto.html
   ========================================= */
.furusatotax-section {
    padding: 200px 0;
}

.howto-intro--sub {
    max-width: 900px;
    margin: 0 auto;
}

.howto-section--sub ,
.howto01,
.howto02{
    background: url('../images/top/back02.png') center/auto repeat-y;
}
.howto-section--sub {
    padding: 200px 0 160px;
}

.howto01{
    padding: 0px 20px 95px;
}

.howto02{
    padding: 0px 20px 200px;
}

.method-box2 {
    text-align: center;
    /*border-radius: 20px;
    padding: 50px;
    margin-bottom: 95px;*/
}


/* --- ヘッダー帯 (STEP 1, 2) --- */
.howto-step-header {
    padding: 20px 0;
    width: 100%;
    position: relative;
    z-index: 1;
}

.step-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 0px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-num {
    background-color: var(--gold);
    color: #fff;
    font-family: var(--font-mincho);
    font-size: 50px;
    width: 80px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 10px;
}

.step-title {
    font-family: var(--font-mincho);
    font-size: 26px;
    font-weight: 500;
    flex: 1;
    margin: 0;
    line-height: 1.3;
}

.step-icons {
    width: 17%;
}

/* --- 白いメインボックス --- */
.howto-content-container {
    max-width: 900px;
    margin: 0 auto;
    /*padding: 0 20px 0px;*/
    /*position: relative;*/
    /*z-index: 2;*/
}

.howto-white-box {
    background-color: #fff;
    border: 3px solid var(--gold);
    border-radius: 20px;
    padding: 70px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-top: 20px; /* ヘッダーとの位置調整 */
}

/* --- 導入文エリア --- */
.box-lead-area {
    text-align: center;
    margin-bottom: 50px;
}

.box-lead {
    font-size: 22px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    /*padding: 0 20px;*/
    line-height: 1.5;
}

.box-lead span.subtext {
    font-size: 18px;
}

/* アクセント（ひし形/スラッシュ） */
.accent-mark {
    display: inline-block;
    width: 8px;
    height: 25px;
    background-color: var(--gold);
    margin: 0 10px;
    vertical-align: middle;
}
.accent-mark.right {
    transform: skewX(-20deg); /* 斜めにする */
}
.accent-mark.left {
    transform: skewX(20deg); /* 斜めにする */
}


/* --- 区切り線 --- */
.divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 70px 0 50px;
}

/* --- お支払い方法・提出先タイトル --- */
.payment-section, .contact-section {
    width: 100%;
}

.payment-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #000;
}

/* --- リスト定義 (DL/DT/DD) --- */
.payment-list dt {
    font-weight: bold;
    /*color: var(--gold);*/
    margin-bottom: 5px;
    font-size: 18px;
    position: relative;
    padding-left: 25px;
}
.payment-list dt::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
    /*font-size: 14px;*/
    color: var(--gold);
}

.payment-list dd {
    margin: 0 0 25px 0;
    padding-left: 25px;
    font-size: 15px;
    line-height: 1.6;
}
.payment-list dd:last-child {
    margin-bottom: 0;
}

.note {
    display: block;
    font-size: 13px;
    margin-top: 5px;
}


/* =========================================
   How to 01 Specific
   ========================================= */
/*.portal-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}
*/

.portal-grid {
    display: grid;
    place-content: center;
    place-items: center;
    grid-template: repeat(2, auto) / repeat(2, auto);
    gap: 30px;
    margin: 50px 0;
}

.portal-item img {
    max-width: 180px;
    height: auto;
}


/* =========================================
   How to 02 Specific
   ========================================= */
.download-btn {
    display: inline-block;
    /*background-color: var(--gold);*/
    background: linear-gradient(to bottom, #cfa972, #a68b4e); /* 若干のグラデーション */
    color: #fff;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 40px;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.download-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* 連絡先グリッド */
.contact-grid {
    display: flex;
    width: 100%;
}

.contact-col {
    flex: 1;
    padding: 10px;
}

/* 左カラム（メール・FAX） */
.left-col {
    border-right: 2px dotted #ccc; /* 中央の点線 */
    padding-right: 30px;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.contact-row:last-child {
    margin-bottom: 0;
}

.c-icon {
    width: 50px;
    text-align: center;
    margin-right: 15px;
}
.c-icon img { width: 40px; }

.c-info {
    display: flex;
    flex-direction: column;
}
.c-info .label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 3px;
}
.c-info .value {
    font-size: 18px;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* 右カラム（郵送・持参） */
.right-col {
    padding-left: 30px;
}

.c-icon-group {
    /*display: flex;
    gap: 10px;
    margin-right: 15px;
    min-width: 80px;*/
    margin-bottom: 1rem;
    text-align: center;
}
.c-icon-group img { width: 110px; }

.address-text {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}


.inquiry{
    background: url('../images/top/back_blue01.png') center/auto repeat-y;
    padding: 40px 20px;
    text-align: center;
}

.inquiry h2{
    font-family: var(--font-mincho);
    font-size: 22px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: normal;
}
.inquiry h2 span{
    font-size: 30px;
    display: block;
}
.inquiry .rh{
    max-width: 900px;
    background: #fff;
    border-radius: 20px;
    color: var(--primary-blue);
    padding: 2rem;
    margin: 0 auto;
}

.inquiry .rh h3{
    font-weight: bold;
    margin-bottom: 0.8em;
}

/* =========================================
   Responsive (SP)
   ========================================= */
@media screen and (max-width: 768px) {

.furusatotax-section ,
.howto-section--sub {
    padding: 80px 0;
}

.howto01 ,
.howto02 {
    padding-bottom: 80px;
}

    .step-title {
        font-size: 20px;
        width: 100%;
        margin: 10px 0;
        text-shadow: none;
        text-align: left;
    }

.step-num {
    font-size: 32px;
    width: 45px;
    height: 45px;
}

.step-icons {
    margin: 0 auto;
    width: 23%;
    padding-bottom: 12px;
}

    /* 白ボックス */
    .howto-white-box {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .box-lead {
        font-size: 16px;
        padding: 0;
        text-align: justify;
    }

.box-lead span.subtext {
    font-size: 13px;
}

    .accent-mark {
        display: none;
    }

.download-btn {
    border-radius: 10px;
}

    /* 01: ポータルロゴ */
    .portal-grid {
        gap: 35px;
        grid-template-columns: 1fr;
    }
    .portal-item {
        width: 45%; /* 2列表示 */
        display: flex;
        justify-content: center;
    }

    /* 02: 連絡先 */
    .contact-grid {
        flex-direction: column;
    }
    .left-col {
        border-right: none;
        border-bottom: 2px dotted #ccc;
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .right-col {
        padding-left: 0;
    }

    .contact-row {
        justify-content: flex-start;
    }

    .inquiry {
        padding: 40px 10px;
    }

    .inquiry .rh {
        text-align: left;
        padding: 1.5rem;
    }

}



/* =========================================
   Donation Deduction Section
   ========================================= */

.donation-deduction {
    padding: 200px 20px 95px;
}

.dd-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ヘッダー周り（共通クラスと似ていますが、このセクション用調整） */
.dd-header {
    text-align: center;
    margin-bottom: 50px;
}

/* 本文スタイル */
/*.dd-content {
    margin-bottom: 60px;
}*/
.dd-content:last-child {
    margin-bottom: 0;
}

/* 中見出しスタイル */
.dd-sub-header {
    text-align: center;
    margin-bottom: 95px;
}

.sub-heading {
    font-size: 28px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.05em;
    font-family: var(--font-mincho);
}

/* =========================================
   レスポンシブ対応 (SP)
   ========================================= */
@media screen and (max-width: 768px) {
    .donation-deduction {
        padding: 60px 20px;
    }

    .dd-header {
        margin-bottom: 30px;
    }

    .dd-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .dd-content {
        margin-bottom: 40px;
    }

    .sub-heading {
        font-size: 22px;
    }

    .dd-sub-header {
        margin-bottom: 25px;
    }

    /* スマホでは自然な折り返しにするためbrを無効化 */
    .pc-br {
        display: none;
    }
}


/* セクション全体の基本設定 */

.onestop-section {
    max-width: 940px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

/* 薄いベージュの見出しバー */
.onestop-title {
    background-color: #ede4c7;
    padding: 15px 25px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 50px;
}

.onestop-lead {
    margin-bottom: 10px;
}

.bold-large {
    font-size: 1.3em;
    font-weight: bold;
}

.onestop-note {
    font-size: 14px;
    margin-bottom: 50px;
}

/* 茶色の枠線のリストボックス */
.onestop-box {
    border: 3px solid var(--gold);
    border-radius: 20px;
    padding: 30px 40px;
    background: #fff;
}

.onestop-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.onestop-list li:last-child {
    margin-bottom: 0;
}

.onestop-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* 申請期限セクション */
.deadline-text {
    font-size: 20px;
    margin-bottom: 15px;
}

.bold-extra-large {
    font-size: 1.4em;
    font-weight: bold;
}

.deadline-notes {
    font-size: 15px;
}


/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

    .onestop-section {
    padding: 0 20px;
}

    .onestop-title {
        font-size: 18px;
        padding: 12px 15px;
    }

    .onestop-lead {
        font-size: 15px;
    }

    .bold-large {
        font-size: 1.1em;
        display: block; /* モバイルでは強調箇所を改行させるなど調整可 */
        margin-top: 5px;
    }

    .onestop-box {
        padding: 20px 15px;
    }

    .bold-extra-large {
        font-size: 1.4em;
        display: inline-block;
    }

    .shipping-text {
        font-size: 15px;
    }
}



/* 共通スタイル */
.d04-1, .d04-2 {
    margin-bottom: 70px;
}

.onestop-method-title {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 50px;
}

.number-icon {
    font-family: var(--font-mincho);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--gold);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 15px;
    font-size: 24px;
}


/* オンライン申請セクション */
.method-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.banner-box {
    margin-left: 1rem;
}

.procedure-box {
    border: 3px solid var(--gold);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 50px;
    text-align: center;
    background: #fff;
}

.procedure-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 30px;
}

.procedure-list {
    display: inline-block;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.procedure-list li {
    margin-bottom: 15px;
    text-indent: -1.5em;
    padding-left: 1.5em;
}

.procedure-list li:nth-child(1)::before { content: "①"; }
.procedure-list li:nth-child(2)::before { content: "②"; }
.procedure-list li:nth-child(3)::before { content: "③"; }
.procedure-list li:nth-child(4)::before { content: "④"; }

.method-caution {
    text-align: center;
}

/* 郵送申請セクション */
.pdf-links {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.pdf-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-icon {
    width: 40px;
    height: auto;
    margin-left: 10px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

    .method-intro {
        flex-direction: column;
    }

    .method-caution {
        text-align: left;
    }

    .banner-box {
        margin: 20px 0 0 0;
    }

    .procedure-box {
        padding: 25px 15px;
    }

    .procedure-title {
        font-size: 24px;
    }

    .procedure-list li {
        font-size: 15px;
    }

    .pdf-links {
        flex-direction: column;
        gap: 20px;
    }

    .pdf-icon {
        width: 35px;
    }

}


/* 共通スタイル継承・基本設定 */
.designation, .recruitment {
    padding: 200px 0;
    text-align: center;
}

.designation {
    background: url('../images/top/back02.png') center/auto repeat-y;
}

.designation .inner, .recruitment .inner {
    max-width: 900px;
    margin: 0 auto;
}

/* 指定対象期間のボックス */
.period-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    gap: 15px;
}

.period-label {
    background-color: var(--gold);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
}

.period-date {
    font-size: 22px;
    font-weight: bold;
}

/* 注釈部分 */
.recruitment-note {
    font-size: 15px;
    margin-top: 40px;
    text-align: center;
    display: inline-block;
}


/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

    .designation, .recruitment {
        padding: 80px 20px;
    }

    .period-box {
        flex-direction: column;
        width: 100%;
    }

    .period-date {
        font-size: 18px;
    }

}



/* =========================================
   use.html 使い道ページ
   ========================================= */
.use-section--sub{
    max-width: 900px;
    margin: 0 auto;
    padding: 200px 0;
}

.use-lead{
    text-align: center;
    margin-bottom: 95px;
}

.use-item--sub {
    display: flex;
    justify-content: center;
    margin-bottom: 160px;
    gap: 40px;
}
/*.use-item--sub:last-child {
    margin-bottom: 0;
}*/

/* 左右交互（偶数番目）の設定 */
.use-item--sub.reverse {
    flex-direction: row-reverse;
}

.use-img--sub {
    flex: 0 0 50%;
}

.use-text {
    flex: 0 0 50%;
}

/* タイトル部分 */
.use-title {
    font-family: var(--font-mincho);
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 50px;
}

.number {
    background-color: var(--gold);
    color: #fff;
    font-size: 24px;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.use-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.use-list li::before {
    content: "●";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-size: 14px;
}

.donation-record-header {
    text-align: center;
}


/* レスポンシブ用の横スクロール対応 */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.record-table {
    width: 100%;
    min-width: 800px; /* PCでの見た目を維持し、スマホではスクロールさせる */
    border-collapse: collapse;
    border: 1px solid #707070;
    background: #fff;
}

.record-table th,
.record-table td {
    border: 1px solid #707070;
    padding: 15px 10px;
    line-height: 1.4;
    text-align: center;
}

/* ヘッダー背景色：濃い青 */
.bg-blue-dark {
    background-color: #3498db;
    color: #fff !important;
    font-weight: bold;
    font-size: 18px;
}

/* ヘッダー背景色：薄い青 */
.bg-blue-light {
    background-color: #d6eaf8;
    font-weight: normal;
    font-size: 15px;
    vertical-align: middle;
}

/* 金額の右寄せ */
.text-right {
    text-align: right !important;
    padding-right: 20px !important;
}

/* 偶数行の背景色（必要に応じて） */
/*.record-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}*/


/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

.use-section--sub {
    padding: 80px 0;
}

    .use-lead{
        text-align: justify;
    }

    .use-item, .use-item.reverse {
        flex-direction: column;
        margin-bottom: 50px;
        gap: 20px;
    }

    .use-img, .use-text {
        flex: 0 0 100%;
        width: 100%;
    }

    .use-title {
        font-size: 20px;
    }

    .number {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }


    .record-table th,
    .record-table td {
        font-size: 14px;
        padding: 10px 5px;
    }

    .bg-blue-dark {
        font-size: 16px;
    }

}


/* =========================================
   animation
   ========================================= */
/*gloval nav*/
@keyframes fadeup {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}




.js-animate {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s, visibility 1.2s, transform 1.2s;
}

.fade-in-left {
    transform: translateX(-80px);
}

.fade-in-right {
    transform: translateX(80px);
}

.fade-in-up {
    transform: translateY(10px);
}

.fade-in-down {
    transform: translateY(-80px);
}

.is-fadein {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}



