/* ===================================
   ベーススタイル
   =================================== */
   body {
    margin: 0;
    padding: 0;
    font-family: "Zen Old Mincho", serif;
    background: white;
  }
  
  .main-index {
    position: relative;
    width: 100%;
    overflow-x: hidden;
  }
  
  /* 430～930px：ヒーローがヘッダーに重ならず上端が切れないよう、ヒーローに上部余白を確保 */
  @media (min-width: 431px) and (max-width: 930px) {
    .hero-slideshow {
      margin-top: 71px;
    }
  }
  
  /* ===================================
     ヒーローセクション（メインビジュアル）
     =================================== */
  
  /* デスクトップ (931px以上)：ヘッダー下から表示、高さはヘッダー分を差し引く */
  @media (min-width: 931px) {
    .hero-slideshow {
      position: relative;
      width: 100%;
      margin-top: 71px;
      height: calc(794px - 71px);
      overflow: hidden;
    }
  
    .hero-slides-container {
      position: relative;
      width: 100%;
      height: 100%;
    }
  
    .hero-slide {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }
  
    .hero-slide.active {
      opacity: 1;
    }
  
    .hero-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(
        135deg,
        #2c3e50 0%,
        #34495e 100%
      );
    }
    .hero-placeholder picture {
      display: block;
      width: 100%;
      height: 100%;
    }
    .hero-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  }
  
  /* タブレット (768px～930px)：margin-top は 431～930px で一括指定、高さはヘッダー分を差し引く */
  @media (min-width: 768px) and (max-width: 930px) {
    .hero-slideshow {
      position: relative;
      width: 100%;
      height: calc(600px - 71px);
      overflow: hidden;
    }
  
    .hero-slides-container {
      position: relative;
      width: 100%;
      height: 100%;
    }
  
    .hero-slide {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }
  
    .hero-slide.active {
      opacity: 1;
    }
  
    .hero-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(
        135deg,
        #2c3e50 0%,
        #34495e 100%
      );
    }
    .hero-placeholder picture {
      display: block;
      width: 100%;
      height: 100%;
    }
    .hero-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
    }
  }
  
  /* モバイル (767px以下)：margin-top は 431～930px で一括指定、高さはヘッダー分を差し引く */
  @media (max-width: 767px) {
    .hero-slideshow {
      position: relative;
      width: 100%;
      height: calc(500px - 71px);
      overflow: hidden;
    }
  
    .hero-slides-container {
      position: relative;
      width: 100%;
      height: 100%;
    }
  
    .hero-slide {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }
  
    .hero-slide.active {
      opacity: 1;
    }
  
    .hero-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(
        135deg,
        #2c3e50 0%,
        #34495e 100%
      );
    }
    .hero-placeholder picture {
      display: block;
      width: 100%;
      height: 100%;
    }
    .hero-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
    }
  }
  
  /* ===================================
     納骨をお考えの方へセクション
     =================================== */
  
  /* デスクトップ (931px以上) */
  @media (min-width: 931px) {
    .noukotsu-guide-section {
      position: relative;
      width: 100%;
      min-height: 400px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 80px 32px;
    }
  
    .noukotsu-guide-bg-placeholder {
      position: absolute;
      inset: 0;
      background: #1a365d url(../img/noukotsu_guide_title.png) center / cover no-repeat;
      z-index: 0;
    }
  
    .noukotsu-guide-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      text-align: center;
      color: white;
    }
  
    .noukotsu-guide-content h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 36px;
      color: white;
      margin: 0 0 32px 0;
    }
  
    .noukotsu-guide-text {
      margin-bottom: 40px;
      text-align: left;
    }
  
    .noukotsu-guide-text p {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      line-height: 1.9;
      margin: 0 0 16px 0;
      text-align: left;
    }
  
    .btn-primary {
      display: inline-block;
      padding: 16px 48px;
      background: #c9a45a;
      color: white;
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 19px;
      text-decoration: none;
      border-radius: 4px;
      transition: background 0.3s;
    }
  
    .btn-primary:hover {
      background: #b89454;
    }
  }
  
  /* タブレット (768px～930px) */
  @media (min-width: 768px) and (max-width: 930px) {
    .noukotsu-guide-section {
      position: relative;
      width: 100%;
      min-height: 350px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 64px 32px;
    }
  
    .noukotsu-guide-bg-placeholder {
      position: absolute;
      inset: 0;
      background: #1a365d url(../img/noukotsu_guide_title.png) center / cover no-repeat;
      z-index: 0;
    }
  
    .noukotsu-guide-content {
      position: relative;
      z-index: 1;
      max-width: 700px;
      text-align: center;
      color: white;
    }
  
    .noukotsu-guide-content h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      color: white;
      margin: 0 0 28px 0;
    }
  
    .noukotsu-guide-text {
      margin-bottom: 36px;
      text-align: left;
    }
  
    .noukotsu-guide-text p {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      line-height: 1.85;
      margin: 0 0 14px 0;
      text-align: left;
    }
  
    .btn-primary {
      display: inline-block;
      padding: 14px 40px;
      background: #c9a45a;
      color: white;
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 19px;
      text-decoration: none;
      border-radius: 4px;
      transition: background 0.3s;
    }
  
    .btn-primary:hover {
      background: #b89454;
    }
  }
  
  /* モバイル (767px以下) */
  @media (max-width: 767px) {
    .noukotsu-guide-section {
      position: relative;
      width: 100%;
      min-height: 300px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 48px 16px;
    }
  
    .noukotsu-guide-bg-placeholder {
      position: absolute;
      inset: 0;
      background: #1a365d url(../img/noukotsu_guide_title.png) center / cover no-repeat;
      z-index: 0;
    }
  
    .noukotsu-guide-content {
      position: relative;
      z-index: 1;
      text-align: center;
      color: white;
    }
  
    .noukotsu-guide-content h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 26px;
      color: white;
      margin: 0 0 24px 0;
    }
  
    .noukotsu-guide-text {
      margin-bottom: 32px;
      text-align: left;
    }
  
    .noukotsu-guide-text p {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      line-height: 1.8;
      margin: 0 0 12px 0;
      text-align: left;
    }
  
    .btn-primary {
      display: inline-block;
      padding: 12px 32px;
      background: #c9a45a;
      color: white;
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 19px;
      text-decoration: none;
      border-radius: 4px;
      transition: background 0.3s;
    }
  
    .btn-primary:hover {
      background: #b89454;
    }
  }
  
  /* ===================================
     装飾画像（共通）
     =================================== */
  .info-decoration {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  }
  
  @media (max-width: 767px) {
    .info-decoration {
      height: 80px;
    }
  }
  
  /* ===================================
     特徴セクション
     =================================== */
  
  /* デスクトップ (931px以上) */
  @media (min-width: 931px) {
    .features-index-section {
      position: relative;
      width: 100%;
      padding-bottom: 108px;
      background: #fff url(../img/washi_w.png) repeat;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 32px;
    }
  
    .features-index-header {
      background: linear-gradient(135deg, #0f1a33 0%, #1e3260 45%, #1a2d52 100%);
      width: 100%;
      height: 160px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 32px 0;
    }
  
    .features-index-header h2 {
      display: flex;
      gap: 12px;
      align-items: center;
      color: white;
      margin: 0;
    }
  
    .features-h2-text {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 32px;
      letter-spacing: 4.8px;
      line-height: 36px;
    }
  
    /* 「4」「つの」「特徴」を1つの flex 子にまとめ、間の gap をなくす */
    .features-h2-group {
      display: inline-flex;
      gap: 0;
      align-items: baseline;
    }
    .features-h2-num,
    .features-h2-sub,
    .features-h2-sub2 {
      letter-spacing: 4.8px; /* 倶会一処堂 .features-h2-text と同じ字間 */
    }
    .features-h2-num {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 48px;
      line-height: 32px;
    }
  
    .features-h2-sub {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      line-height: 32px;
    }
  
    .features-h2-sub2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 36px;
      line-height: 32px;
    }
  
    .features-index-container {
      width: 930px;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
  
    .feature-index-item {
      background: white;
      padding: 32px 16px;
      display: flex;
      gap: 40px;
      align-items: center;
    }
  
    .feature-index-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 48px;
      padding: 32px 0;
    }
  
    .feature-index-heading {
      display: flex;
      gap: 32px;
      align-items: center;
      padding-bottom: 16px;
      border-bottom: 1px solid #c9a45a;
    }
  
    .feature-index-number {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 80px;
      color: #c9a45a;
      letter-spacing: 4px;
      line-height: 24px;
    }
  
    .feature-index-heading h3 {
      flex: 1;
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      color: #152445;
      line-height: 1.3;
      margin: 0;
    }
  
    .feature-index-desc {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 18px;
      color: #333;
      line-height: 2;
      letter-spacing: 2px;
    }
  
    .feature-index-desc p {
      margin: 0 0 16px 0;
    }
  
    .feature-index-desc p:last-child {
      margin-bottom: 0;
    }
  
    .feature-index-img {
      flex: 1;
      aspect-ratio: 717 / 414;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
    }
  
    .feature-index-reverse {
      flex-direction: row-reverse;
    }
  }
  
  /* 930px以下：特徴01のh3内で2つ目の改行を非表示（雨の日も安心の屋内参拝を1行に） */
  @media (max-width: 930px) {
    .feature-index-heading h3 .br-hide-under-930 {
      display: none;
    }
  }
  
  /* タブレット (768px～930px) */
  @media (min-width: 768px) and (max-width: 930px) {
    .features-index-section {
      position: relative;
      width: 100%;
      padding-bottom: 104px;
      background: #fff url(../img/washi_w.png) repeat;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .features-index-header {
      background: linear-gradient(135deg, #0f1a33 0%, #1e3260 45%, #1a2d52 100%);
      width: 1024px;
      height: 140px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 32px 0;
    }
  
    .features-index-header h2 {
      display: flex;
      gap: 12px;
      align-items: center;
      color: white;
      margin: 0;
    }
  
    .features-h2-text {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 32px;
      letter-spacing: 4.8px;
      line-height: 36px;
    }
  
    .features-h2-group {
      display: inline-flex;
      gap: 0;
      align-items: baseline;
    }
    .features-h2-num,
    .features-h2-sub,
    .features-h2-sub2 {
      letter-spacing: 4.8px; /* 倶会一処堂と同じ字間 */
    }
    .features-h2-num {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 48px;
      line-height: 32px;
    }
  
    .features-h2-sub {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      line-height: 32px;
    }
  
    .features-h2-sub2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 36px;
      line-height: 32px;
    }
  
    .features-index-container {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
  
    .feature-index-item {
      background: white;
      padding: 32px 0;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
  
    .feature-index-content {
      padding: 0 32px;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
  
    .feature-index-heading {
      display: flex;
      gap: 32px;
      align-items: center;
      padding-bottom: 16px;
      border-bottom: 1px solid #c9a45a;
    }
  
    .feature-index-number {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 80px;
      color: #c9a45a;
      letter-spacing: 4px;
      line-height: 24px;
    }
  
    .feature-index-heading h3 {
      flex: 1;
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      color: #152445;
      line-height: 1.3;
      margin: 0;
    }
  
    .feature-index-desc {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 18px;
      color: #333;
      line-height: 2;
      letter-spacing: 2px;
    }
  
    .feature-index-desc p {
      margin: 0 0 16px 0;
    }
  
    .feature-index-desc p:last-child {
      margin-bottom: 0;
    }
  
    .feature-index-img {
      width: 100%;
      aspect-ratio: 717 / 414;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
    }
  
    /* 930px以下: 特徴02・04もテキスト上・画像下に統一 */
    .feature-index-reverse .feature-index-content {
      order: 1;
    }
    .feature-index-reverse .feature-index-img {
      order: 2;
    }
  }
  
  /* モバイル (767px以下) */
  @media (max-width: 767px) {
    .features-index-section {
      position: relative;
      width: 100%;
      padding-bottom: 80px;
      background: #fff url(../img/washi_w.png) repeat;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .features-index-header {
      background: linear-gradient(135deg, #0f1a33 0%, #1e3260 45%, #1a2d52 100%);
      width: 100%;
      min-height: 120px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 24px 16px;
    }
  
    .features-index-header h2 {
      display: flex;
      gap: 10px;
      align-items: center;
      color: white;
      flex-wrap: wrap;
      justify-content: center;
      margin: 0;
    }
  
    .features-h2-text {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 24px;
      letter-spacing: 3.6px;
      line-height: 32px;
    }
  
    .features-h2-group {
      display: inline-flex;
      gap: 0;
      align-items: baseline;
    }
    .features-h2-num,
    .features-h2-sub,
    .features-h2-sub2 {
      letter-spacing: 3.6px; /* 倶会一処堂と同じ字間（767px以下） */
    }
    .features-h2-num {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 36px;
      line-height: 28px;
    }
  
    .features-h2-sub {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 24px;
      line-height: 28px;
    }
  
    .features-h2-sub2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 28px;
      line-height: 28px;
    }
  
    .features-index-container {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
  
    .feature-index-item {
      background: white;
      padding: 32px 0;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
  
    .feature-index-content {
      padding: 0 16px;
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
  
    .feature-index-heading {
      display: flex;
      flex-direction: column;
      gap: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid #c9a45a;
    }
  
    .feature-index-number {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 48px;
      color: #c9a45a;
      letter-spacing: 2.4px;
      line-height: 24px;
    }
  
    .feature-index-heading h3 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 24px;
      color: #152445;
      line-height: 1.65;
      margin: 0;
    }
  
    .feature-index-desc {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 18px;
      color: #333;
      line-height: 2;
      letter-spacing: 2px;
    }
  
    .feature-index-desc p {
      margin: 0 0 16px 0;
    }
  
    .feature-index-desc p:last-child {
      margin-bottom: 0;
    }
  
    .feature-index-img {
      width: 100%;
      aspect-ratio: 717 / 414;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
    }
  
    /* 767px以下: 特徴02・04もテキスト上・画像下に統一 */
    .feature-index-reverse .feature-index-content {
      order: 1;
    }
    .feature-index-reverse .feature-index-img {
      order: 2;
    }
  }
  
  /* 特徴セクション：画像パス（img フォルダに feature01.jpg ～ feature04.jpg を配置） */
  .feature-index-img-01 {
    background-image: url(../img/features_img1-1.jpg);
    background-size: cover;
    background-position: center;
  }
  .feature-index-img-02 {
    background-image: url(../img/features_img2.jpg);
    background-size: cover;
    background-position: center;
  }
  .feature-index-img-03 {
    background-image: url(../img/features_img3.jpg);
    background-size: cover;
    background-position: center;
  }
  .feature-index-img-04 {
    background-image: url(../img/features_img4.jpg);
    background-size: cover;
    background-position: center;
  }
  
  /* ===================================
     住職メッセージセクション
     =================================== */
  
  /* デスクトップ (931px以上) */
  @media (min-width: 931px) {
    .message-index-section {
      width: 100%;
      padding: 80px 32px;
      background: #fff url(../img/copy_txt.jpeg) repeat;
    }
  
    .message-index-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      gap: 48px;
      align-items: center;
      background: #ffffff;
      padding: 32px;
    }
  
    .message-index-text {
      flex: 1;
      background: #ffffff;
    }
  
    .message-index-text h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      color: #152445;
      margin: 0 0 32px 0;
      text-align: center;
    }
  
    .message-index-content {
      margin-bottom: 24px;
    }
  
    .message-index-content p {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      line-height: 1.9;
      color: #333;
      margin: 0 0 16px 0;
    }
  
    .message-index-signature {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      text-align: right;
      margin: 0;
    }
  
    .message-index-img {
      flex: 1;
      aspect-ratio: 4 / 3;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
    }
  }
  
  /* タブレット (768px～930px) */
  @media (min-width: 768px) and (max-width: 930px) {
    .message-index-section {
      width: 100%;
      padding: 64px 32px;
      background: #fff url(../img/copy_txt.jpeg) repeat;
    }
  
    .message-index-container {
      display: flex;
      flex-direction: column;
      gap: 40px;
      background: #ffffff;
      padding: 28px;
    }
  
    .message-index-text {
      background: #ffffff;
    }
  
    .message-index-text h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 28px;
      color: #152445;
      margin: 0 0 28px 0;
      text-align: center;
    }
  
    .message-index-content {
      margin-bottom: 20px;
    }
  
    .message-index-content p {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      line-height: 1.85;
      color: #333;
      margin: 0 0 14px 0;
    }
  
    .message-index-signature {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      text-align: right;
      margin: 0;
    }
  
    .message-index-img {
      width: 100%;
      aspect-ratio: 4 / 3;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
    }
  }
  
  /* モバイル (767px以下) */
  @media (max-width: 767px) {
    .message-index-section {
      width: 100%;
      padding: 48px 16px;
      background: #fff url(../img/copy_txt.jpeg) repeat;
    }
  
    .message-index-container {
      display: flex;
      flex-direction: column;
      gap: 32px;
      background: #ffffff;
      padding: 24px;
    }
  
    .message-index-text {
      background: #ffffff;
    }
  
    .message-index-text h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 24px;
      color: #152445;
      margin: 0 0 24px 0;
      text-align: center;
    }
  
    .message-index-content {
      margin-bottom: 16px;
    }
  
    .message-index-content p {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      line-height: 1.8;
      color: #333;
      margin: 0 0 12px 0;
    }
  
    .message-index-signature {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      text-align: right;
      margin: 0;
    }
  
    .message-index-img {
      width: 100%;
      aspect-ratio: 4 / 3;
      background: #e0e0e0 url(../img/message-index.jpg) center / cover no-repeat;
    }
  }
  
  /* 住職メッセージ画像パス（img フォルダに message-index.jpg を配置） */
  .message-index-img {
    background-image: url(../img/message-index.jpg);
    background-size: cover;
    background-position: center;
  }
  
  /* ===================================
     施設案内セクション
     =================================== */
  
  /* デスクトップ (931px以上) */
  @media (min-width: 931px) {
    .facility-index-section {
      width: 100%;
      padding: 80px 32px;
      background: #333;
      text-align: center;
    }
  
    .facility-index-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 32px;
      color: white;
      margin: 0 0 48px 0;
    }
  
    .facility-index-carousel {
      max-width: 1000px;
      margin: 0 auto;
      display: flex;
      gap: 32px;
      align-items: center;
      justify-content: center;
    }
  
    .carousel-btn-index {
      flex-shrink: 0;
      width: 60px;
      height: 64px;
      background: none;
      border: none;
      cursor: pointer;
      transition: opacity 0.3s;
    }
  
    .carousel-btn-index:hover {
      opacity: 0.7;
    }
  
    .carousel-btn-index svg {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    }
  
    .facility-index-content {
      flex: 1;
      max-width: 700px;
    }
  
    .facility-index-img-wrapper {
      margin-bottom: 24px;
      overflow: hidden;
      position: relative;
      width: 100%;
    }
  
    .facility-index-track {
      display: flex;
      width: 600%;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
    }
  
    .facility-slide {
      width: 16.666667%;
      flex-shrink: 0;
      aspect-ratio: 16 / 9;
      background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
  
    .facility-caption {
      font-family: "Zen Old Mincho", serif;
      font-size: 20px;
      color: white;
      margin: 0;
    }
  }
  
  /* タブレット (768px～930px) */
  @media (min-width: 768px) and (max-width: 930px) {
    .facility-index-section {
      width: 100%;
      padding: 64px 32px;
      background: #333;
      text-align: center;
    }
  
    .facility-index-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 28px;
      color: white;
      margin: 0 0 40px 0;
    }
  
    .facility-index-carousel {
      display: flex;
      gap: 24px;
      align-items: center;
      justify-content: center;
    }
  
    .carousel-btn-index {
      flex-shrink: 0;
      width: 50px;
      height: 54px;
      background: none;
      border: none;
      cursor: pointer;
      transition: opacity 0.3s;
    }
  
    .carousel-btn-index:hover {
      opacity: 0.7;
    }
  
    .carousel-btn-index svg {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    }
  
    .facility-index-content {
      flex: 1;
    }
  
    .facility-index-img-wrapper {
      margin-bottom: 20px;
      overflow: hidden;
      position: relative;
      width: 100%;
    }
  
    .facility-index-track {
      display: flex;
      width: 600%;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
    }
  
    .facility-slide {
      width: 16.666667%;
      flex-shrink: 0;
      aspect-ratio: 16 / 9;
      background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
  
    .facility-caption {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: white;
      margin: 0;
    }
  }
  
  /* モバイル (767px以下) */
  @media (max-width: 767px) {
    .facility-index-section {
      width: 100%;
      padding: 48px 16px;
      background: #333;
      text-align: center;
    }
  
    .facility-index-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 24px;
      color: white;
      margin: 0 0 32px 0;
    }
  
    .facility-index-carousel {
      display: flex;
      gap: 16px;
      align-items: center;
      justify-content: center;
    }
  
    .carousel-btn-index {
      flex-shrink: 0;
      width: 40px;
      height: 44px;
      background: none;
      border: none;
      cursor: pointer;
      transition: opacity 0.3s;
    }
  
    .carousel-btn-index:hover {
      opacity: 0.7;
    }
  
    .carousel-btn-index svg {
      width: 100%;
      height: 100%;
      filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    }
  
    .facility-index-content {
      flex: 1;
    }
  
    .facility-index-img-wrapper {
      margin-bottom: 16px;
      overflow: hidden;
      position: relative;
      width: 100%;
    }
  
    .facility-index-track {
      display: flex;
      width: 600%;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
    }
  
    .facility-slide {
      width: 16.666667%;
      flex-shrink: 0;
      aspect-ratio: 16 / 9;
      background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
  
    .facility-caption {
      font-family: "Zen Old Mincho", serif;
      font-size: 16px;
      color: white;
      margin: 0;
    }
  }
  
  /* ===================================
     施設概要セクション
     =================================== */
  
  /* デスクトップ (931px以上) */
  @media (min-width: 931px) {
    .gaiyou-section {
      width: 100%;
      padding: 80px 32px;
      background: #fff url(../img/washi_w.png) repeat;
    }
  
    .gaiyou-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      color: #152445;
      text-align: center;
      margin: 0 0 48px 0;
    }
  
    .gaiyou-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      gap: 48px;
    }
  
    .gaiyou-img {
      flex: 1;
      aspect-ratio: 4 / 3;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
    }
  
    .gaiyou-list {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
  
    .gaiyou-item {
      display: flex;
      gap: 24px;
      padding-bottom: 24px;
      border-bottom: 1px solid #e0e0e0;
    }
  
    .gaiyou-item:last-child {
      border-bottom: none;
    }
  
    .gaiyou-label {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 20px;
      color: #152445;
      min-width: 150px;
      margin: 0;
    }
  
    .gaiyou-value {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.8;
      margin: 0;
    }
  }
  
  /* タブレット (768px～930px) */
  @media (min-width: 768px) and (max-width: 930px) {
    .gaiyou-section {
      width: 100%;
      padding: 64px 32px;
      background: #fff url(../img/washi_w.png) repeat;
    }
  
    .gaiyou-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 28px;
      color: #152445;
      text-align: center;
      margin: 0 0 40px 0;
    }
  
    .gaiyou-container {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }
  
    .gaiyou-img {
      width: 100%;
      aspect-ratio: 4 / 3;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
    }
  
    .gaiyou-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
  
    .gaiyou-item {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding-bottom: 20px;
      border-bottom: 1px solid #e0e0e0;
    }
  
    .gaiyou-item:last-child {
      border-bottom: none;
    }
  
    .gaiyou-label {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 20px;
      color: #152445;
      margin: 0;
    }
  
    .gaiyou-value {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.75;
      margin: 0;
    }
  }
  
  /* モバイル (767px以下) */
  @media (max-width: 767px) {
    .gaiyou-section {
      width: 100%;
      padding: 48px 16px;
      background: #fff url(../img/washi_w.png) repeat;
    }
  
    .gaiyou-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 24px;
      color: #152445;
      text-align: center;
      margin: 0 0 32px 0;
    }
  
    .gaiyou-container {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }
  
    .gaiyou-img {
      width: 100%;
      aspect-ratio: 4 / 3;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
    }
  
    .gaiyou-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
  
    .gaiyou-item {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding-bottom: 16px;
      border-bottom: 1px solid #e0e0e0;
    }
  
    .gaiyou-item:last-child {
      border-bottom: none;
    }
  
    .gaiyou-label {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 20px;
      color: #152445;
      margin: 0;
    }
  
    .gaiyou-value {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.7;
      margin: 0;
    }
  }
  
  /* 当施設について（概要）画像パス（img フォルダに gaiyou.jpg を配置） */
  .gaiyou-img {
    background-image: url(../img/gaiyou.jpg);
    background-size: cover;
    background-position: center;
  }
  
  /* ===================================
     アクセスセクション
     =================================== */
  
  /* デスクトップ (931px以上) */
  @media (min-width: 931px) {
    .access-index-section {
      width: 100%;
      padding: 80px 32px;
      background: white;
    }
  
    .access-index-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      color: #152445;
      text-align: center;
      margin: 0 0 16px 0;
    }
  
    .access-index-subtitle {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #666;
      text-align: center;
      margin: 0 0 48px 0;
    }
  
    .access-index-map {
      width: 100%;
      max-width: 1000px;
      height: 450px;
      margin: 0 auto 32px;
    }
    .access-index-map iframe {
      width: 100%;
      height: 100%;
      display: block;
    }
  
    .access-index-info {
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
  
    .access-index-item {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 16px;
      background: #f8f8f6;
      border-radius: 4px;
    }
  
    .access-index-label {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 20px;
      color: #152445;
    }
  
    .access-index-item span:last-child {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.6;
    }
  
    .access-index-navi {
      display: flex;
      align-items: center;
      gap: 12px;
      background-color: #4A5D4E;
      padding: 8px 16px;
      margin-top: 10px;
      border-radius: 4px;
    }
  
    .access-index-navi svg,
    .access-index-navi img {
      flex-shrink: 0;
      width: 16px;
      height: 12px;
    }
  
    .access-index-navi p {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 18px;
      line-height: 1.6;
      color: white;
      margin: 0;
      letter-spacing: 0.7px;
    }
  }
  
  /* タブレット (768px～930px) */
  @media (min-width: 768px) and (max-width: 930px) {
    .access-index-section {
      width: 100%;
      padding: 64px 32px;
      background: white;
    }
  
    .access-index-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 28px;
      color: #152445;
      text-align: center;
      margin: 0 0 14px 0;
    }
  
    .access-index-subtitle {
      font-family: "Zen Old Mincho", serif;
      font-size: 17px;
      color: #666;
      text-align: center;
      margin: 0 0 40px 0;
    }
  
    .access-index-map {
      width: 100%;
      height: 450px;
      margin: 0 auto 28px;
    }
    .access-index-map iframe {
      width: 100%;
      height: 100%;
      display: block;
    }
  
    .access-index-info {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
  
    .access-index-item {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 14px;
      background: #f8f8f6;
      border-radius: 4px;
    }
  
    .access-index-label {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 20px;
      color: #152445;
    }
  
    .access-index-item span:last-child {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
    }
  
    .access-index-navi {
      display: flex;
      align-items: center;
      gap: 12px;
      background-color: #4A5D4E;
      padding: 8px 16px;
      margin-top: 10px;
      border-radius: 4px;
    }
    .access-index-navi svg,
    .access-index-navi img {
      flex-shrink: 0;
      width: 16px;
      height: 12px;
    }
    .access-index-navi p {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 18px;
      line-height: 1.6;
      color: white;
      margin: 0;
      letter-spacing: 0.7px;
    }
  }
  
  /* 768px以下: access-index-navi の p の行間を広げる */
  @media (max-width: 768px) {
    .access-index-navi p {
      line-height: 1.85;
    }
  }

  /* モバイル (767px以下) */
  @media (max-width: 767px) {
    .access-index-section {
      width: 100%;
      padding: 48px 16px;
      background: white;
    }
  
    .access-index-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 24px;
      color: #152445;
      text-align: center;
      margin: 0 0 12px 0;
    }
  
    .access-index-subtitle {
      font-family: "Zen Old Mincho", serif;
      font-size: 15px;
      color: #666;
      text-align: center;
      margin: 0 0 32px 0;
      line-height: 1.6;
    }
  
    .access-index-map {
      width: 100%;
      height: 450px;
      margin: 0 0 24px;
    }
    .access-index-map iframe {
      width: 100%;
      height: 100%;
      display: block;
    }
  
    .access-index-info {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
  
    .access-index-item {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 12px;
      background: #f8f8f6;
      border-radius: 4px;
    }
  
    .access-index-label {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 20px;
      color: #152445;
    }
  
    .access-index-item span:last-child {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.6;
    }
  
    .access-index-navi {
      display: flex;
      align-items: center;
      gap: 12px;
      background-color: #4A5D4E;
      padding: 8px 16px;
      margin-top: 10px;
      border-radius: 4px;
    }
    .access-index-navi svg,
    .access-index-navi img {
      flex-shrink: 0;
      width: 16px;
      height: 12px;
    }
    .access-index-navi p {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 18px;
      line-height: 1.85;
      color: white;
      margin: 0;
      letter-spacing: 0.7px;
    }
  }
  
  /* 430px以下: access-index-navi を縦2列（svg と p を縦並び）、svg は横中央 */
  @media (max-width: 430px) {
    .access-index-navi {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }
    .access-index-navi svg,
    .access-index-navi img {
      align-self: center;
    }
  }

  /* 430px以上: アイコンと文字の上端を揃え、アイコンを12px下げる */
  @media (min-width: 431px) {
    .access-index-navi {
      align-items: flex-start;
    }
    .access-index-navi img,
    .access-index-navi svg {
      margin-top: 12px;
    }
  }

  .access-navi-address {
    background: #ffffff;
    color: #4A5D4E;
    padding: 0 6px;
  }

  /* カーナビ案内：アイコンを文字の前に自然に表示（縦位置はテキストと揃える） */
  .access-index-navi .access-navi-icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 0;
    width: 20px;
    height: 15px;
  }

  /* ===================================
     公共交通機関セクション
     =================================== */
  
  /* デスクトップ (931px以上) */
  @media (min-width: 931px) {
    .koukyou-section {
      width: 100%;
      padding: 80px 32px;
      background: #f8f8f6;
    }
  
    .koukyou-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      color: #152445;
      text-align: center;
      margin: 0 0 48px 0;
    }
  
    .koukyou-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
    }
  
    .koukyou-card {
      background: white;
      padding: 32px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
  
    .koukyou-header {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 20px;
      color: #152445;
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 2px solid #c9a45a;
    }
  
    .koukyou-img {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      margin-bottom: 20px;
    }
    .koukyou-img-plus-btn {
      display: none;
    }
    .koukyou-img-map1 {
      background-image: url(../img/map1.png);
    }
    .koukyou-img-map2 {
      background-image: url(../img/map2.png);
    }
  
    .koukyou-text {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.8;
      margin: 0;
    }
  
    .koukyou-text-content p {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.8;
      margin: 0 0 12px 0;
    }
  
    .koukyou-text-content p:last-child {
      margin-bottom: 0;
    }
  }
  
  /* タブレット (768px～930px) */
  @media (min-width: 768px) and (max-width: 930px) {
    .koukyou-section {
      width: 100%;
      padding: 64px 32px;
      background: #f8f8f6;
    }
  
    .koukyou-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 28px;
      color: #152445;
      text-align: center;
      margin: 0 0 40px 0;
    }
  
    .koukyou-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 28px;
    }
  
    .koukyou-card {
      background: white;
      padding: 28px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
  
    .koukyou-header {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 20px;
      color: #152445;
      margin-bottom: 20px;
      padding-bottom: 14px;
      border-bottom: 2px solid #c9a45a;
    }
  
    .koukyou-img {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      margin-bottom: 18px;
    }
    .koukyou-img-plus-btn {
      display: none;
    }
    .koukyou-img-map1 {
      background-image: url(../img/map1.png);
    }
    .koukyou-img-map2 {
      background-image: url(../img/map2.png);
    }
  
    .koukyou-text {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.75;
      margin: 0;
    }
  
    .koukyou-text-content p {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.75;
      margin: 0 0 10px 0;
    }
  
    .koukyou-text-content p:last-child {
      margin-bottom: 0;
    }
  }
  
  /* モバイル (767px以下) */
  @media (max-width: 767px) {
    .koukyou-section {
      width: 100%;
      padding: 48px 16px;
      background: #f8f8f6;
    }
  
    .koukyou-section h2 {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 24px;
      color: #152445;
      text-align: center;
      margin: 0 0 32px 0;
    }
  
    .koukyou-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }
  
    .koukyou-card {
      background: white;
      padding: 24px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
  
    .koukyou-header {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 20px;
      color: #152445;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 2px solid #c9a45a;
    }
  
    .koukyou-img {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      background: linear-gradient(
        135deg,
        #e0e0e0 0%,
        #c0c0c0 100%
      );
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      margin-bottom: 16px;
    }
    .koukyou-img-plus-btn {
      position: absolute;
      right: 12px;
      bottom: 12px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.5);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      font-weight: 700;
      line-height: 1;
      text-decoration: none;
      transition: background 0.2s, transform 0.2s;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    .koukyou-img-plus-btn:hover {
      background: rgba(0, 0, 0, 0.7);
      transform: scale(1.05);
      color: #fff;
    }
    .koukyou-img-map1 {
      background-image: url(../img/map1.png);
    }
    .koukyou-img-map2 {
      background-image: url(../img/map2.png);
    }
  
    .koukyou-text {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.7;
      margin: 0;
    }
  
    .koukyou-text-content p {
      font-family: "Zen Old Mincho", serif;
      font-size: 18px;
      color: #333;
      line-height: 1.7;
      margin: 0 0 8px 0;
    }
  
    .koukyou-text-content p:last-child {
      margin-bottom: 0;
    }
  }
  
  /* ===================================
     ページトップボタン
     =================================== */
  
  .page-top {
    position: fixed;
    bottom: 12px;
    right: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 9999;
    transition:
      opacity 0.3s,
      transform 0.3s;
  }
  
  .page-top:hover {
    transform: translateY(-4px);
  }
  
  .page-top-arrow {
    font-size: 24px;
    color: #c9a45a;
  }
  
  @media (max-width: 930px) {
    .page-top {
      bottom: 6px;
    }
  }
  
  /* 768px～1024px：固定お問い合わせバー表示時はページトップをバーより上に配置（デスクトップ位置にならないよう） */
  @media (min-width: 768px) and (max-width: 1024px) {
    .page-top {
      bottom: 100px;
    }
  }
  
  @media (max-width: 767px) {
    .page-top {
      width: 52px;
      height: 52px;
      bottom: 64px;
      right: 16px;
    }
  
    .page-top-arrow {
      font-size: 20px;
    }
  }
  
  /* 1024px以下：固定お問い合わせボタン用の下余白（body { padding:0 } を上書き・ボタンスタイルは common.css） */
  @media (max-width: 1024px) {
    body {
      padding-bottom: 64px;
    }
    .footer {
      margin-bottom: 0;
      padding-bottom: 0;
    }
  }
  
  /* ===================================
  コピーセクション2
  ・930px以上: 縦書き・横並び（右から左）
  ・930px以下: 横書き・縦並び
  =================================== */

  .vert-copy-section {
    background: #f5f5f5 url(../img/copy_txt.jpeg) center / cover no-repeat;
  }

  /* 930px以上: 縦書き・横並び（コピーセクションのフォント・余白を参照） */
  @media (min-width: 930px) {
    .vert-copy-section {
      width: 100%;
      padding: 48px 40px 32px 40px; /* 上は余白多め、下だけ詰める */
      box-sizing: border-box;
      display: flex;
      justify-content: center; /* 中央寄せ（margin を使わない） */
    }
  
    .vert-copy-inner {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      writing-mode: vertical-rl;
      height: 440px;
      white-space: nowrap;
      width: fit-content; /* コンテンツ幅 */
      box-sizing: border-box;
    }
  
    /* ブロック間のみ 80px（左端ブロックに margin を付けないと左側に余白が出る） */
    .vert-block {
      margin-top: 0;
      padding-top: 0;
    }
    .vert-block:not(:last-child) {
      margin-left: 80px; /* コピーセクション gap 80px に合わせる */
    }
  
    .vert-main-text,
    .vert-title-group {
      margin-top: 0;
    }
  
    /* 大コピー＝copy-main-line: 40px, 1.8, 0.08em（縦書き） */
    .vert-main-text p {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 40px;
      line-height: 1.8;
      letter-spacing: 0.08em;
      color: #152445;
      margin: 0;
      writing-mode: vertical-rl;
    }
    .vert-main-text p + p {
      margin-left: 16px; /* 列間（右→左の次の行）の余白 */
    }
  
    /* 縦書きのまま、pタグごとに次の行（右から左へ）に並べる */
    .vert-main-text {
      writing-mode: vertical-rl;
      display: block;
    }
  
    /* 屋号＝copy-subtitle-line: 32px / copy-subtitle-small: 24px */
    .vert-title-group .vert-title-large {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      line-height: 1.8;
      letter-spacing: 0.08em;
      color: #152445;
      margin: 0;
    }
  
    .vert-title-group .vert-title-small {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 24px;
      line-height: 1.8;
      letter-spacing: 0.08em;
      color: #152445;
      margin: 0;
    }
  
    .vert-title-group {
      display: flex;
      gap: 12px; /* コピーセクション copy-subtitle-text と同じ */
    }
  
    /* .vert-desc-group 内の .vert-desc-col を横並び（右→左）に */
    .vert-block.vert-desc-group {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      margin-top: 0;
      gap: 48px; /* コピーセクション copy-description-group と同じ */
    }
  
    /* 縦書きのまま、各 .vert-desc-col 内の p を次の行（右から左へ）に並べる */
    .vert-desc-group .vert-desc-col {
      margin-left: 0;
      writing-mode: vertical-rl;
      display: block;
    }
    .vert-desc-group .vert-desc-col p + p {
      margin-left: 8px; /* 列間（右→左の次の行）の余白 */
    }
  
    /* 説明文＝copy-description-line: 20px, 2.2, 0.05em（縦書き） */
    .vert-desc-group .vert-desc-col p {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 20px;
      line-height: 2.2;
      letter-spacing: 0.05em;
      color: #333;
      margin: 0;
      writing-mode: vertical-rl;
    }
  
    .vert-copy-section .u-desktop-only {
      display: block;
    }
  }
  
  /* 930px以下: 横書き・縦並び（コピーセクション 768-930px のフォント・余白を参照） */
  @media (max-width: 929px) {
    .vert-copy-section {
      padding: 60px 32px; /* コピーセクション 768-930 と同じ */
    }
  
    .vert-copy-inner {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      writing-mode: horizontal-tb;
      height: auto;
      white-space: normal;
      max-width: 600px; /* コピーセクション copy-container-mobile と同じ */
      width: 100%;
      margin: 0 auto;
      text-align: center;
      gap: 32px; /* コピーセクション copy-container-mobile と同じ */
    }
  
    .vert-block {
      margin-left: 0;
      margin-top: 0;
    }
  
    .vert-main-text {
      margin-top: 0;
      margin-bottom: 0;
    }
  
    /* メインコピー＝copy-mobile-title: 32px, 1.6, 0.05em */
    .vert-main-text p {
      font-family: "Zen Old Mincho", serif;
      font-weight: 700;
      font-size: 32px;
      line-height: 1.6;
      letter-spacing: 0.05em;
      color: #152445;
      margin: 0;
      display: block;
    }
  
    .vert-main-text {
      display: flex;
      flex-direction: column;
      gap: 0.25em;
    }
  
    /* .vert-desc-group の中の .vert-desc-col を上下配置に */
    .vert-block.vert-desc-group {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      margin-top: 0;
      gap: 20px; /* コピーセクション copy-mobile-description と同じ */
    }
  
    .vert-desc-group .vert-desc-col {
      margin-left: 0;
    }
  
    /* 説明文＝copy-mobile-text: 18px, 1.9, 0.03em */
    .vert-desc-col p {
      font-family: "Zen Old Mincho", serif;
      font-weight: 400;
      font-size: 18px;
      line-height: 1.9;
      letter-spacing: 0.03em;
      color: #333;
      margin: 0;
    }
  
    /* 横書き時に非表示: 屋号・タイトル（永代供養・納骨堂 / 倶会一処堂） */
    .vert-copy-section .vert-title-group.u-desktop-only {
      display: none !important;
    }
  
    /* 横書き時に非表示: 「いつでも快適にお参りができます。」 */
    .vert-copy-section .vert-desc-col.u-desktop-only {
      display: none !important;
    }
  }
  
  /* 767px以下: コピーセクションと同じフォント・余白（26px / 16px） */
  @media (max-width: 767px) {
    .vert-copy-section {
      padding: 48px 20px; /* コピーセクション 767px以下と同じ */
    }
  
    .vert-copy-inner {
      gap: 24px; /* コピーセクション copy-container-mobile 767px以下 */
    }
  
    /* メインコピー＝copy-mobile-title 767px: 26px */
    .vert-main-text p {
      font-size: 26px;
      color: #152445;
    }
  
    .vert-block.vert-desc-group {
      gap: 16px; /* コピーセクション copy-mobile-description 767px以下 */
    }
  
    /* 説明文＝copy-mobile-text 767px: 18px */
    .vert-desc-col p {
      font-size: 18px;
    }
  }