/* キャンペーン下層ページ専用CSS */

html { 
    scroll-behavior: smooth;
}

body section#campaignsection {
    background-image: url("../img/bg_04_pc.png");
    background-size: cover;
    background-position: center top;
    padding: 80px 0 80px;
  }

body section#phase2-stories-section {
    background-image: url("../img/bg_01_pc.png");
    background-size: cover;
    background-position: center top;
    padding: 100px 0 160px;
  }

#experience-stories-subsection h2.logo {
    position: relative;
    color: white;
    line-height: 1;
    text-align: center;
  }

#experience-stories-subsection h2.logo:before {
    content: "";
    display: block;
    position: absolute;
    width: 224px;
    height: 48px;
    background-image: url("../img/fukushima_hamadori_wh.svg");
    background-position: center;
    background-size: contain;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
  }

.campaign-page {
    font-family: "Zen Kaku Gothic New", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", Meiryo, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    border: 4px solid #0E3982;
  }

  .campaign-hero {
    padding: 64px 0 40px;
    margin-top: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .campaign-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    z-index: 1;
  }
  
  .campaign-hero .inner {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
  }
  
  .hero-logo {
    width: 640px;
    margin: 0 auto 24px;
  }
  
  .hero-lead {
    font-size: 18px;
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }

  .mb-24{
    margin-bottom: 24px;
  }
  
  /* =================================================
     PC
     ================================================= */
  @media (min-width: 768px) {
    .campaign-page .anchor-btn {
      background: #E7A042;
      color: white;
      padding: 16px 32px 32px 32px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 700;
      font-size: 18px;
      transition: all 0.3s;
      text-align: center;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .campaign-page .anchor-btn:after {
      content: "";
      position: absolute;
      top:40px;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%) rotate(45deg);
      border-bottom: solid 2px #fff;
      border-right: solid 2px #fff;
      display: inline-block;
      width: 8px;
      height: 8px;
    }
    
    .campaign-page .anchor-btn:hover {
      box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
      filter: brightness(1.1);
      opacity: 1;
    }

    .plan-slider {
        aspect-ratio: 3/2;
        height: auto;
      }

    .campaign-page #monitor-tour-section .inner,
    .campaign-page #monitor-tour-container {
      max-width: 1060px;
      margin: 0 auto;
    }
    
    .campaign-page #experience-plans-container[data-count="1"],
    .campaign-page #experience-plans-container[data-count="2"] {
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
      max-width: 960px;
      margin: 0 auto;
    }

    .campaign-page #experience-plans-container[data-count="3"],
    .campaign-page #experience-plans-container[data-count="4"] {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      max-width: 1300px;
      margin: 0 auto;
    }

    .campaign-page #experience-plans-container[data-count="5"],
    .campaign-page #experience-plans-container[data-count="6"] {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      max-width: 1300px;
      margin: 0 auto;
    }
    
    .campaign-page .plan-details {
      display: flex;
      flex-direction: column;
      height: auto;
      min-height: 600px;
    }
    
    .campaign-page .experience-cta-area {
      margin-top: auto;
      padding: 24px 24px 16px;
    }

    .benefit-text {
        line-height: 1.8;
        font-size: 16px;
        padding: 24px;
    }

    #experience-stories-subsection h2.logo {
        font-size: 24px;
        margin-bottom: 8px;
        margin-top: 80px;
    }

    .experience-stories-subtitle {
        font-size: 40px;
        text-align: center;
        color: white;
        margin-bottom: 56px;
    }

    .campaign-page .experience-stories-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
      margin-bottom: 56px;
    }
    
    @media (min-width: 1024px) {
      .campaign-page .experience-stories-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }
    
    .campaign-page .experience-story {
      display: flex;
      flex-direction: column;
    }
    
    .campaign-page .story-content {
      flex-grow: 1;
      padding: 24px;
    }

    .campaign-page .testimonials {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      background: white;
      gap: 8px;
      border-radius: 0 0 8px 8px;
    }

    @media (min-width: 1024px) {
      .campaign-page .testimonials {
        grid-template-columns: repeat(3, 1fr);
      }
    }
    
    .campaign-page .testimonial {
      background: white;
      padding: 24px;
      border-radius: 0;
      box-shadow: none;
      text-align: left;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    @media (min-width: 1024px) {
      .campaign-page .testimonials .testimonial:nth-child(3n+2) {
        border-left: 1px solid #D0D0D0;
        border-right: 1px solid #D0D0D0;
      }
      
      .campaign-page .testimonials .testimonial:nth-child(n+4) {
        border-top: 1px solid #D0D0D0;
      }
    }
    
    @media (min-width: 768px) and (max-width: 1023px) {
      .campaign-page .testimonials .testimonial:nth-child(2n) {
        border-left: 1px solid #D0D0D0;
      }

      .campaign-page .testimonials .testimonial:nth-child(n+3) {
        border-top: 1px solid #D0D0D0;
      }
    }
    
    .campaign-page .testimonial-img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
      align-self: center;
    }

    .info-item {
        margin: 0 24px 0 24px;
      }

    .monitor-cta-area{
        margin: 0 24px 0 24px;
    }

    .back-btn{
        width: 480px;
        margin: 0 auto;
      }
    
  }
  
  /* =================================================
     共通
     ================================================= */

  .anchor-buttons {
    margin-top: 0;
  }
  
  .anchor-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
  }
  
  .anchor-nav.single-button {
    gap: 0;
  }
  
  .anchor-btn {
    background: #E7A042;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    text-align: center;
    width: 50%;
    position: relative;
    padding-bottom: 32px;
  }
  
  .anchor-btn:after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-bottom: solid 2px #fff;
    border-right: solid 2px #fff;
    display: inline-block;
    width: 8px;
    height: 8px;
  }
  
  .anchor-nav.single-button .anchor-btn {
    width: 100%;
    max-width: 640px;
  }
  
  .campaign-section {
    padding: 80px 0;
    position: relative;
    margin-top: 0;
    padding-bottom: 0;
  }
  
  .campaign-section .inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
    margin-bottom: 80px;
  }
  
  .section-title {
    font-size: 22px;
    font-weight: bold;
    color: white;
    text-align: center;
    background: #0E3982;
    border-radius: 8px 8px 0 0;
    padding: 8px;
  }
  
  .section-subtitle {
    font-size: 20px;
    padding: 16px;
    text-align: center;
    background: white;
  }

  .plan-details {
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 24px;
  }

  .plan-slider-wrapper {
    position: relative;
  }
  
  .plan-slider {
    position: relative;
    overflow: hidden;
  }
  
  .slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  
  .slide-item.current {
    opacity: 1;
  }
  
  .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media (min-width: 768px) {
    .plan-slider {
      aspect-ratio: 3/2;
      height: auto;
    }
  }

  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .slider-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
  }
  
  .slider-arrow-prev {
    left: 20px;
  }
  
  .slider-arrow-next {
    right: 20px;
  }

  .slider-captions {
    padding: 16px 0 16px 0;
    margin: 0 24px 0 24px;
    border-bottom: 1px solid #D0D0D0;
    min-height: 80px;
    position: relative;
    transition: height 0.3s ease;
    overflow: hidden;
  }
  
  .caption-item {
    font-size: 15px;
    line-height: 1.6;
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .caption-item[style*="block"] {
    display: block !important;
    opacity: 1;
    position: static;
  }

  .plan-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: center;
    padding: 0 20px;
  }

  .plan-info {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    gap: 0;
  }
  
  .info-item {
    padding: 16px 0 16px 0;
    border-bottom: 1px solid #D0D0D0;
  }

  .info-label {
    font-weight: 700;
    color: #0E3982;
    margin-bottom: 2px;
    font-size: 16px;
  }
  
  .info-value {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
  }

  .monitor-tour-info-value {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    padding-top: 8px;
  }

  .days{
    background: #0E3982;
    color: white;
    padding: 2px;
  }

  .path{
    border-bottom: 1px dotted #000;
    padding: 6px;
  }

  .experience-cta-area {
    padding: 16px 16px 8px;
    text-align: center;
  }

  .plan-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 48px;
    background: #E7A042;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 16px;
  }
  
  .plan-btn:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%) rotate(45deg);
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    display: inline-block;
    width: 7px;
    height: 7px;
  }
  
  .plan-btn:hover {
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
    opacity: 1;
  }
  
  .reception-ended {
    text-align: center;
    color: #DD0000;
    font-size: 16px;
    font-weight: bold;
    padding: 8px;
    margin-bottom: 8px;
    background: #FFE7E7;
    border: 1px dotted #DD0000;
  }

  .reception-sub{
    font-size: 14px;
    font-weight: 500;
  }

  .monitor-cta-area {
    padding: 16px 0 8px;
  }

  .benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
  }
  
  .benefit-item {
    text-align: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }
  
  .benefit-img {
    width: 100%;
    border-radius: 8px 8px 0 0;
  }
  
  .benefit-text {
    text-align: left;
  }

  .experience-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
  }
  
  .experience-story {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }
  
  .story-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  
  .story-content {
    line-height: 1.6;
    font-size: 15px;
    text-align: left;
    padding: 16px;
  }
  
  .story-title {
    font-size: 16px;
    font-weight: 700;
    color: #0E3982;
    margin-bottom: 8px;
  }
  
  .story-text {
    line-height: 1.6;
    font-size: 15px;
    text-align: left;
  }

  .testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
  }
  
  .testimonial {
    background: white;
    padding: 24px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
  
  .testimonial-content {
    flex: 1;
  }
  
  .testimonial-name {
    font-weight: 700;
    color: #0E3982;
    margin-bottom: 8px;
    font-size: 16px;
  }
  
  .testimonial-text {
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .testimonial-link {
    color: #E7A042;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
  }

  .testimonial-link:after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7A042' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15,3 21,3 21,9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 4px;
    vertical-align: top;
  }
  
  .testimonial-link:hover {
    text-decoration: underline;
    opacity: 1;
  }

  .back-to-top {
    text-align: center;
  }
  
  .back-btn {
    background: #E7A042;
    color: white;
    padding: 16px 48px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
  }
  
  .back-btn:hover {
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
    opacity: 1;
  }

  .text-link {
    display: inline-block;
    padding: 8px 0 24px 0;
    color: #E7A042;
    text-decoration: underline;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
  }
  
  .text-link:hover {
    text-decoration: underline;
    opacity: 0.8;
  }
  
  /* =================================================
     SP
     ================================================= */
  @media (max-width: 767px) {
    body section#campaignsection {
        background-image: url("../img/bg_02_sp.png");
        padding: 48px 0;
        margin-top: 40px;
    }

    body section#phase2-stories-section {
        background-image: url("../img/bg_01_sp.png");
        padding: 48px 0;
        margin-top: 40px;
    }

    .campaign-hero {
      padding: 24px 0;
    }
    
    .campaign-hero .inner {
      padding: 0 20px;
    }
    
    .hero-logo {
      width: 100%;
    }
    
    .hero-lead {
      font-size: 16px;
      text-align: left;
    }
    
    .anchor-nav {
      align-items: center;
      gap: 8px;
    }
    
    .anchor-btn {
      padding: 14px 24px 24px 24px; 
      font-size: 13px;
      width: 50%;
    }

    .anchor-btn:after{
      bottom: 14px;
    }

    .anchor-nav.single-button .anchor-btn {
      width: 100%;
      max-width: none;
      padding-bottom: 32px;
    }
    
    .campaign-section {
      padding: 0;
      margin-top: 32px;
    }
    
    .campaign-section .inner {
      padding: 0 20px;
      margin-bottom: 32px;
    }
    
    .section-title {
      font-size: 18px;
    }
    
    .section-subtitle {
      font-size: 16px;
      padding: 16px;
    }
     
    .plan-slider {
      aspect-ratio: 3/2;
      height: auto;
    }
  
    .slider-arrow {
      width: 32px;
      height: 32px;
      font-size: 16px;
    }
    
    .slider-arrow-prev {
      left: 10px;
    }
    
    .slider-arrow-next {
      right: 10px;
    }
    
    .slider-captions {
      padding: 16px 0 16px 0;
      margin: 0 16px 0 16px;
      min-height: 60px;
    }
    
    .caption-item {
      font-size: 14px;
      top: 16px;
      left: 16px;
      right: 16px;
    }
    
    .plan-description {
      margin: 0px 16px;
      font-size: 15px;
    }
    
    .plan-info {
      grid-template-columns: 1fr;
    }
    
    .plan-btn {
      height: 44px;
      font-size: 14px;
    }

    .benefit-text {
        line-height: 1.6;
        font-size: 15px;
        padding: 16px;
      }

    .info-item {
        margin: 0 16px 0 16px;
      }

    .days{
        text-align: center;
    }
  
    .monitor-cta-area,
    .experience-cta-area {
      padding: 16px 16px 8px;
      text-align: center;
    }
    
    .benefits {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    
    .experience-stories-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    #experience-stories-subsection h2.logo {
        padding-top: 13.3333333333vw;
        font-size: 4.1025641vw;
        margin-top: 4.1025641vw;
        margin-bottom: 2.05128205vw;
    }

    #experience-stories-subsection h2.logo:before {
        width: 37.9487179487vw;
        height: 8.2051282051vw;
    }

    .experience-stories-subtitle{
        font-size: 20px;
        text-align: center;
        color: white;
        margin-bottom: 6.15384615vw;
    }
    
    .testimonials {
        background: white;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        padding: 0;
        display: block; 
        gap: 0; 
      }
    
      .testimonial {
        background: transparent; 
        padding: 16px;
        border-radius: 0; 
        box-shadow: none; 
        text-align: left;
        display: flex;
        align-items: flex-start; 
        gap: 12px; 
        margin-bottom: 0; 
        border-bottom: 1px dotted #D0D0D0; 
      }
    
      .testimonial:last-child {
        border-bottom: none;
      }
      
      .testimonial-img {
        width: 60px; 
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
      }
      
      .testimonial-content {
        flex: 1;
        text-align: left; 
      }
    
      .testimonial-name {
        font-weight: 700;
        color: #0E3982;
        margin-bottom: 8px; 
        font-size: 16px; 
      }
    
      .testimonial-text {
        line-height: 1.6;
        margin-bottom: 8px; 
        color: #333; 
        font-size: 14px;
        clear: both; 
      }
    
      .testimonial-link {
        color: #E7A042;
        text-decoration: underline;
        font-weight: 500;
        font-size: 14px;
        display: inline; 
        position: relative;
        padding-right: 0; 
      }
    
      .testimonial-link:after {
        content: "";
        display: inline-block;
        width: 12px;
        height: 12px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7A042' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15,3 21,3 21,9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        margin-left: 4px;
        vertical-align: middle;
      }
      
      .testimonial-link:hover {
        text-decoration: underline;
        opacity: 1;
      }
  
    .back-to-top {
      margin-top: 40px;
    }
  
    .back-btn {
      padding: 14px 32px;
      font-size: 14px;
    }
  }
  
  /* 非表示制御 */
  .hidden {
    display: none !important;
  }