/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --color-navy: #123572;
  --color-teal: #46a0b0;
  --color-light-blue: #a5caec;
  --color-cream-blue: #edf9ff;
  --color-dark-navy: #042150;
  --color-dark: #232954;
  --color-yellow: #fff494;
  --color-black: #000;
  --color-white: #fff;
  --color-gray-bg: #f5f5f6;
  --font-mincho: 'Shippori Mincho', serif;
  --font-serif: 'Instrument Serif', serif;
  --font-round: 'Zen Maru Gothic', sans-serif;
  --max-width: 1200px;
  --content-width: 960px;
  --side-padding: 24px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-mincho);
  color: var(--color-black);
  background: var(--color-white);
  overflow-x: hidden;
  background: url(https://jibunmakura.jp/html/template/default/assets/img/jcp/bg_ice.webp);
  background-size: auto auto;
  background-repeat: repeat;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
  .sp{
    display: none;
  }
.loading{
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: linear-gradient(180deg, #123572 0%, #46a0b0 100%);
  backdrop-filter: blur(20px);
  transition: opacity 1s ease, visibility 1s ease, backdrop-filter 1s ease;
  opacity: 1;
  visibility: visible;
}
.loading img{
  position: relative;
  z-index: 2;
  max-width: 80%;
}
.loading:before{
  content: "";
  display: block;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background:linear-gradient(180deg,rgba(18, 53, 114, 0.9) 0%, rgba(70, 160, 176, 0.9) 100%);
  mix-blend-mode: multiply;
}
.is-visible .loading{
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(0px);
}
.wrapper {
  position: relative;
  visibility: hidden;
}

.is-visible .wrapper {
  visibility: visible !important;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
.inner{
  max-width: 760px;
  width: 94%;
  margin-left: auto;
  margin-right: auto;
}

.br600{
  display: none;
}
/* ============================
   BUTTONS
   ============================ */
.btn {
  text-align: center;
  font-family: var(--font-mincho);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn:hover {
  opacity: 0.7;
}
.btn:after {
  content: "　＞";
  display: inline-block;
  transition: all 0.2s;
}
.btn:hover:after {
  transform: translateX(10px);
}
.btn--outline {
  border-radius: 26px;
  background: #FFF9C4;
  color: var(--color-black);
  padding: 20px 0;
  font-size: clamp(12px,1.6vw,14px);
  box-shadow: 3px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.btn--dark {
  background: var(--color-dark-navy);
  border-radius: 100px;
  color: var(--color-white);
  padding: 16px 28px;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: -0.08em;
}
/* ============================
   BACKGROUNDS (gradient layers)
   ============================ */
.main_contents{
}
/* Statement → Images → Feature Intro: navy→teal */
.statement,
.images,
.feature-intro {
  position: relative;
}
/* Feature 1-3: continues teal */
.feature {
  position: relative;
  z-index: 2;
}
.cta-wrap{
  position: relative;
  padding-bottom: 16%;
}
.cta-wrap:before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background:rgba(165, 202, 236, 0.9);
    mix-blend-mode: multiply;
    display: block;
    z-index: 1;
}
/* ============================
   KV
   ============================ */
.kv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  max-height: 956px;
  overflow: hidden;
}
.kv__img {
  position: absolute;
  inset: 0;
}

.kv__img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.kv__img img {
/*
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
*/
}
.kv__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 90px;
  text-align: center;
  color: var(--color-white);
  font-family: var(--font-mincho);
  font-weight: normal;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.kv__copy-sub {
  font-size: clamp(20px, 3.3vw, 48px);
  line-height: 1.9;
  letter-spacing: 0.05em;
}
.kv__copy-main {
  font-size: clamp(28px, 5.2vw, 75px);
  line-height: 1.4;
  letter-spacing: 0.02em;
}
/* ============================
   lead
   ============================ */
   .lead_wrap{
   position: relative;
   overflow: hidden;
   padding-bottom: 10vh;
   margin-bottom: 0;
   }
   .lead_wrap:before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    mix-blend-mode: multiply;
    /*background:linear-gradient(180deg,rgba(18, 53, 114, 0.9) 0%, rgba(70, 160, 176, 0.9) 94%, rgba(255, 255, 255, 0.9) 100%);*/
    background:linear-gradient(180deg,rgba(18, 53, 114, 0.9) 0%, rgba(70, 160, 176, 0.9) 100%);
    display: block;
    z-index: 1;
   }
      .lead{
        position: relative;
    z-index: 2;
      }
    .particle-bg {
      width: 100vw;
      height: 100%;
  position: absolute;
  inset: 0 0 -180px 0;
  overflow: hidden;
  pointer-events: none;
    z-index: 2;
    }

    .particle {
      position: absolute;
      right: -220px;
      border-radius: 50%;
      background: #42f5d1;
      pointer-events: none;
      will-change: transform;
    }
.particle-bg {
}
.section-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), #000);
  pointer-events: none;
}
/* ============================
   STATEMENT
   ============================ */
.statement__logo {
  width: min(400px, 65%);
  margin: 10% auto 6%;
}
.statement__logo img {
  width: 100%;
  height: auto;
}
.statement__text {
  font-size: clamp(16px, 2.1vw, 24px);
  font-weight: normal;
  line-height: 3.2;
  color: var(--color-white);
  position: relative;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 8%;
}
/* ============================
   IMAGES
   ============================ */
.images {
  position: relative;
  z-index: 1;
}
.images__grid {
  margin: 0 auto 5%;
  width: 74%;
}
.fadein {
  opacity: 0;
  transform: translateY(10vh);
  transition: all 2.0s ease;
  will-change: opacity, transform;
  filter: blur(10px);
}

.fadein.is-show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}
.images__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.images__item--large {
  position: relative;
  width: 75%;
  margin-left: 25vw;
  margin-bottom: 3%;
}
.images__item--medium {
  width: 60%;
  margin-bottom: 3%;
}
.images__item--small {
    width: 30%;
    margin-left: 10vw;
  margin-bottom: -16vw;
}
.images__item--circle {
  width: 52%;
  margin-left: 50%;
}
.images__wide {
  width: 100%;
  margin-bottom: 40px;
  padding: 8% 6%;
  /* background: linear-gradient(180deg,rgba(250, 251, 252, 0.0) 0%, rgba(250, 251, 252, 1.0) 5%, rgba(250, 251, 252, 1.0) 95%, rgba(250, 251, 252, 0.0) 100%); */
  display: flex;
  justify-content: center;
}
.images__wide img {
  max-width: 1200px;
  width: 120%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  animation: wideimg 5.0s ease-in-out infinite;
}
@keyframes wideimg {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0px);
  }
}
.images__caption {
  text-align: center;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: normal;
  color: var(--color-white);
  letter-spacing: 0.02em;
  padding-bottom: 3%;
  padding-top: 3%;
}


/* ============================
   worries
   ============================ */
.worries{
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1.0) 0%, rgba(255, 255, 255, 1.0)  85%, rgba(255, 255, 255, 0.0)  100%);
  position: relative;
  z-index: 2;
}
.worries_wrap{
  background:url(https://jibunmakura.jp/html/template/default/assets/img/jcp/worry_bg.svg), linear-gradient(180deg, rgba(35, 69, 120, 1.0) 0%, rgba(112, 134, 167, 1.0)  99.5%, rgba(255, 132554, 255, 1.0)  100%);
  background-repeat: no-repeat,no-repeat;
  background-position: center bottom -2px, center top;
  background-size: 100% auto,100% auto;
  padding: 10% 0 12%;
}
.worries_wrap h2{
  font-size: clamp(16px, 2.1vw, 24px);
  font-weight: normal;
  color: #fff;
  margin-bottom: 8%;
  text-shadow: 3px 4px 4px rgba(0, 0, 0, 0.25);
}
.worries_wrap ul{
  display: flex;
  width: 90% ;
  max-width: 800px;
  margin: 0 auto 0;
  flex-wrap: nowrap;
  justify-content: space-between;
}
.worries_wrap ul li{
  list-style: none;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  width: 30%;
  padding: 3% 0 6%;
  font-size: clamp(12px, 1.6vw, 18px);
}
.worries_wrap ul li br.sp{
  display: none;
}
.worries_wrap ul li:nth-child(1){
  background-image: url(https://jibunmakura.jp/html/template/default/assets/img/jcp/baloon01.webp);
}
.worries_wrap ul li:nth-child(2){
  background-image: url(https://jibunmakura.jp/html/template/default/assets/img/jcp/baloon02.webp);
}
.worries_wrap ul li:nth-child(3){
  background-image: url(https://jibunmakura.jp/html/template/default/assets/img/jcp/baloon03.webp);
}
.worries > p{
  padding: 18% 0 18% 0;
  font-size: clamp(16px, 1.8vw, 26px);
  background-image: url(https://jibunmakura.jp/html/template/default/assets/img/jcp/dot_purple.webp);
  background-repeat: no-repeat;
  background-position: center top 12%;
  background-size: clamp(5px, 1.8vw, 20px) auto;
  line-height: 2.4;
}
/* ============================
   FEATURES
   ============================ */
   .features{
    position: relative;
    overflow: hidden;
    padding-bottom: 3%;
   }
   .features:before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    mix-blend-mode: multiply;
    background: linear-gradient(180deg,rgba(255, 255, 255, 0.9) 0%, rgba(165, 202, 236, 0.9) 10%, rgba(165, 202, 236, 0.9) 100%);
    display: block;
    z-index: 1;
   }
/* ============================
   FEATURE INTRO
   ============================ */
.feature-intro {
  display: flex;
  align-items: flex-end;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  align-items: center;
  margin-bottom: 10%;
  padding: 0 4%;
}
.feature-intro__text {
  flex: 1;
  position: relative;
  text-align: center;
}
.feature-intro__title {
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: normal;
  line-height: 1.8;
  color: var(--color-black);
  margin-bottom: 24px;
}
.feature-intro__desc {
  font-size: clamp(16px, 1.8vw, 26px);
  font-weight: normal;
  line-height: 1.9;
  color: var(--color-black);
}
.feature-intro__person {
  flex: 0 0 auto;
  width: min(53%, 760px);
  position: relative;
  z-index: 1;
}
.feature-intro__person img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom;
}
/* ============================
   FEATURE SECTIONS
   ============================ */
.feature {
  position: relative;
  margin-bottom: 12%;
}
.feature__person {
  position: relative;
    margin-bottom: -48%;
    padding-top: 4%;
    z-index: 2;
    width: 118%;
    margin-left: -15%;
    pointer-events: none;
}
.feature__person--right {
  display: flex;
  justify-content: flex-end;
}
.feature3 .feature__person--right{
    margin-left: -20%;
}
.feature__person--left {
  display: flex;
  justify-content: flex-start;
    margin-left: 2%;
}
.feature__person img {
  width: 210px;
  height: auto;
  object-fit: contain;
}
.feature__badge {
  background: var(--color-yellow);
  border-radius: 100px;
  padding: 48px 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: normal;
  line-height: 1.8;
  text-align: center;
  width: 70%;
  max-width: 640px;
  margin-bottom: 8%;
  margin-left: 2%;
  position: relative;
  z-index: 1;
  backface-visibility: hidden;
}
.feature__badge:after{
  content: "　\A　";
  white-space: pre;
}
.feature3 .feature__badge:after{
  content: "　";
  white-space: pre;
}
.feature__badge span{
  display: block;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s;
  position: absolute;
  width: 100%;
}
.feature__badge .txt02{
  opacity: 0;
}
.feature__badge.nonactive .txt02{
  color: #000;
  opacity: 0;
}
.feature__badge.nonactive .txt01{
  color: #000;
  opacity: 1;
}
.feature__badge.active .txt01{
  color: #fff;
  opacity: 0;
}
.feature__badge.active .txt02{
  opacity: 1 !important;
  color: #fff;
}
.feature__badge.active{
  animation: baloonchange1 0.3s ease-in-out 1 forwards;
}
.feature__badge.nonactive{
  animation: baloonchange2 0.3s ease-in-out 1 forwards;
}
@keyframes baloonchange1 {
  0% {
    transform: scaleY(1.0);
  background: var(--color-yellow);
  }
  50% {
    transform: scaleY(0.2);
  color: #fff;
  }
  90% {
  transform: scaleY(1.0);
  }
  100% {
  transform: none; 
  background-color: var(--color-navy);
  }
}
@keyframes baloonchange2 {
  0% {
    transform: scaleY(1.0);
  background-color: var(--color-navy);
  }
  50% {
    transform: scaleY(0.25);
  }
  90% {
  transform: scaleY(1.0);
  }
  100% {
  transform: none; 
  background: var(--color-yellow);
  }
}
.feature:nth-child(2) .feature__badge{
  margin-left: 28%;
}
.feature__image {
  overflow: hidden;
  position: relative;
  z-index: 3;
  margin-bottom: 3%;
}
.feature__image img {
  width: 100%;
  height: auto;
}
.feature__image .icon {
  padding: 15px 20px;
  width: 100%;
  display: flex;
  gap: 20px;
  background-color: var(--color-white);
}
.feature__image .icon img{
  width: calc((100% - 60px) / 4);
}
.feature__desc-box {
  background: var(--color-gray-bg);
  opacity: 0.95;
  padding: 2rem 4rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  transition: background-color 0.4s ease, color 0.4s ease;
}
body.is-dialect .feature__desc-box {
  background: var(--color-yellow);
}
body.is-dialect .feature__desc-box p,
body.is-dialect .feature__badge {
  font-family: var(--font-round);
}
.feature__desc-box p {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: normal;
  line-height: 2;
  color: var(--color-black);
}

.whitebox{
  background-color: var(--color-cream-blue);
  padding: 4% 6% 10% 6%;
}

.whitebox h2{
  font-family: var(--font-mincho);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: normal;
  text-align: center;
  color: var(--color-black);
  margin-bottom: 5%;
  position: relative;
}
.whitebox h2:after {
  content: "";
  display: block;
  border-bottom: 6px solid var(--color-dark);
  width: 40%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
}
/* ============================
   PRODUCT CTA
   ============================ */
.product-cta {
  position: relative;
  z-index:2;
}
.product-cta__card {
  margin: 0 auto;  
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.product-cta__image {
  width: 100%;
  overflow: hidden;
}
.product-cta__image img {
  width: 100%;
  height: auto;
  margin-bottom: 2%;
}
.product-cta__name {
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: normal;
  text-align: center;
  letter-spacing: 0.02em;
}
.product-cta__price {
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: normal;
  text-align: center;
}
.product-cta__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.product-cta__buttons .btn:first-child {
  grid-column: 1 / -1;
}
/* ============================
   LINEUP
   ============================ */
.lineup_wrap {
  position: relative;
  padding-top: 12%;
}
   .lineup_wrap:before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    mix-blend-mode: multiply;
    background: linear-gradient(180deg,rgba(70, 160, 176, 0.9) 0%, rgba(28, 71, 115, 0.9) 100%);
    display: block;
    z-index: 1;
   }
.lineup {  
  position: relative;
    z-index: 2;
}
.lineup__subtitle {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: normal;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 6%;
}
.lineup__item {
  background: var(--color-cream-blue);  
  margin: 0 auto 0;  
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lineup__item h3{
  text-align: center;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--color-white);
  background: url(https://jibunmakura.jp/html/template/default/assets/img/jcp/tit_bg01.webp);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  padding: 3% 0;
}
.lineup__item h3 span{
  display: block;
  font-size: 80%;
  color: var(--color-white);
  margin-bottom: 1%;
}
.lineup__item02 h3{
  background-image: url(https://jibunmakura.jp/html/template/default/assets/img/jcp/tit_bg02.webp);
}
.lineup__item-image {
  width: 100%;
  overflow: hidden;
}
.lineup__item-image img {
  width: 100%;
  height: auto;
}
.lineup__item p{
  font-size: clamp(12px, 1.5vw, 18px);
  letter-spacing: 0.02em;
  font-weight: normal;
  text-align: center;
}
.lineup__item-name {
}
.lineup__item-price {
}
.lineup__item-desc {
  line-height: 2;
  display: inline-flex;
  text-align: left;
  margin-bottom: 8%;
}
.lineup__item p.lineup__item-note {
  font-size: clamp(11px, 0.9vw, 14px);
  color: #555;
  line-height: 1.7;
}
.lineup__item-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 620px;
  gap: 1.5rem 2%;
}
.lineup__item-buttons .btn:first-child {
  grid-column: 1 / -1;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.lineup__divider {
  border: none;
  height: 2px;
  background: var(--color-dark);
  width: 110%;
  margin: 15% -5% ;
}
.lineup__shop-btn {
    border-radius: 26px;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 20px 30px;
    font-size: 15px;
    box-shadow: 3px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    margin-top: 5%;
}
/* ============================
   FAQ
   ============================ */
.faq_wrap {
  position: relative;
  padding: 10% 0 8% 0;
}
.faq_wrap:before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    mix-blend-mode: multiply;
    background: linear-gradient(180deg,rgba(28, 71, 115, 0.9) 0%, rgba(23, 56, 106, 0.9) 100%);
    display: block;
    z-index: 1;
   }
.faq {
  position: relative;
    z-index: 2;
}
.faq {  
  position: relative;
}
.faq__title-en {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: normal;
  letter-spacing: 0.2em;
  color: var(--color-white);
  position: relative;
  z-index: 1;
}
.faq__title-ja {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: normal;
  color: var(--color-white);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  z-index: 1;
}
.faq__item {
  background: var(--color-white);
  padding: 20px 32px;
  border-radius: 4px;
}
.faq__item p{
  font-weight: normal;
  letter-spacing: 0.02em;
  font-size: clamp(13px, 1.1vw, 16px);
}
.faq__q {
  margin-bottom: 12px;
  text-align: left;
    text-indent: -0.9rem;
    margin-left: 0.9rem;
}
.faq__a {
  line-height: 1.8;
    text-indent: -0.8rem;
    margin-left: 0.8rem;
}
/* ============================
   DIALECT TOGGLE BUTTON
   ============================ */
.dialect-toggle {
  position: fixed;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  z-index: 200;
  background: url('https://jibunmakura.jp/html/template/default/assets/img/jcp/baloon_btn01.svg') no-repeat center / 100% auto;
  background: url('https://jibunmakura.jp/html/template/default/assets/img/jcp/baloon_btn02.svg') no-repeat center / 100% auto;
  border: none;
  outline: none;
  color: var(--color-white);
  padding: 5.5% 3% 5.5% 3.5%;
  text-align: center;
  font-family: var(--font-mincho);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.1em;
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  filter: drop-shadow(-3px 4px 4px rgba(0, 0, 0, 0.25));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
  text-wrap: nowrap;
}
@keyframes dialectToggleBounceIn {
  0%   { transform: translateY(-50%) translateX(100%); }
  55%  { transform: translateY(-50%) translateX(4px); }
  75%  { transform: translateY(-50%) translateX(16px); }
  90%  { transform: translateY(-50%) translateX(10px); }
  100% { transform: translateY(-50%) translateX(12px); }
}
@keyframes dialectToggleBounceOut {
  0%   { transform: translateY(-50%) translateX(12px); opacity: 1; }
  30%  { transform: translateY(-50%) translateX(4px); opacity: 1; }
  100% { transform: translateY(-50%) translateX(100%); opacity: 0; }
}
.dialect-toggle.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(12px);
  animation: dialectToggleBounceIn 0.7s ease backwards; /* backwards: 開始時に0%フレームを即適用 → iOS Safari transition誤発火防止 */
  transition: none; /* アニメーション終了時の transition 誤発火を防止（iOS Safari 対策） */
}
.dialect-toggle.is-hiding {
  visibility: visible;
  pointer-events: none;
  animation: dialectToggleBounceOut 0.5s ease forwards;
}
.dialect-toggle.is-visible:hover {
  transform: translateY(-50%) translateX(4px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0.8;
}
.dialect-toggle__label{
  font-size: clamp(12px,1.6vw,18px);
}
.dialect-toggle__label--off {
  font-family: var(--font-round);
}
.dialect-toggle__label--on {
  display: none;
}
.dialect-toggle.is-dialect {
  background: url('https://jibunmakura.jp/html/template/default/assets/img/jcp/baloon_btn01.svg') no-repeat center / 100% 100%;
  color: var(--color-black);
}
.dialect-toggle.is-dialect:hover {
  opacity: 0.8;
}
.dialect-toggle.is-dialect .dialect-toggle__label--off {
  display: none;
}
.dialect-toggle.is-dialect .dialect-toggle__label--on {
  display: block;
}
/* Desc-box テキスト切り替え */
.feature__desc-box .txt02 {
  display: none;
}
body.is-dialect .feature__desc-box .txt01 {
  display: none;
}
body.is-dialect .feature__desc-box .txt02 {
  display: block;
}
@keyframes descFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.feature__desc-box p.anim-in {
  animation: descFadeIn 0.45s ease forwards;
}
/* ============================
   FOOTER
   ============================ */
.footer {
  position: relative;
  padding: 50px var(--side-padding);
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer__logo {
  width: min(400px, 60%);
}
.footer:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    mix-blend-mode: multiply;
    background: rgba(23, 56, 106, 0.9) 100%;
    display: block;
    z-index: 1;
}
.footer__logo{
  z-index: 2;
}
.footer__logo img {
  width: 100%;
  height: auto;
}
/* ============================
   RESPONSIVE – TABLET
   ============================ */
@media (max-width: 960px) {
.images__grid {
    width: 90%;
}
  .feature-intro__person {
    width: 50%;
    margin: 0 auto;
  }

  .feature__badge {
    /*
    padding: 3% 4%;
    */
    font-size:  1.8vw;
    width: 70%;
  }

.feature__person {
    margin-bottom: -40%;
    width: 100%;
    margin-left: -2%;
}
.feature__person--left {
        margin-bottom: -44%;
        margin-left: 4%;
}
.feature3 .feature__person--right {
    margin-left: -5%;
        margin-bottom: -42%;
}
  .feature__person img {
    width: 24%;
}
}
/* ============================
   RESPONSIVE – MOBILE
   ============================ */
@media (max-width: 600px) {
  .sp{
    display: inherit;
  }
  .dialect-toggle {
    padding: 22px 16px 22px 18px;
    font-size: 12px;
  }
  @keyframes dialectToggleBounceIn {
    0%   { transform: translateY(-50%) translateX(100%); }
    55%  { transform: translateY(-50%) translateX(0px); }
    75%  { transform: translateY(-50%) translateX(6px); }
    90%  { transform: translateY(-50%) translateX(2px); }
    100% { transform: translateY(-50%) translateX(2px); }
  }
  @keyframes dialectToggleBounceOut {
    0%   { transform: translateY(-50%) translateX(2px); opacity: 1; }
    30%  { transform: translateY(-50%) translateX(0px); opacity: 1; }
    100% { transform: translateY(-50%) translateX(100%); opacity: 0; }
  }
  .dialect-toggle.is-visible {
    transform: translateY(-50%) translateX(2px);
  }
  .dialect-toggle.is-visible:hover {
    transform: translateY(-50%) translateX(0px);
  }

body {
  background-size: 100% auto;
}
.br600{
  display: inherit;
}
  /* KV */
  .kv {
    height: 46vh;
    min-height: 300px;
  }
  .kv__copy {
    padding-top: 48px;
  }
  /* Statement */
  .statement {
    padding: 48px var(--side-padding);
  }
  .statement__logo {
    width: 70%;
    margin-bottom: 36px;
  }
  /* Images */

.images__item--large {
    width: 72%;
    margin-left: 26vw;
    margin-bottom:0;
}
.images__item--medium {
    width: 70%;
    margin-bottom: 2vw;
}
.images__item--small {
    width: 32%;
    margin-left: 5%;
    margin-bottom: -18vw;
}
.images__item--circle {
    width: 60%;
    margin-left: 42%;
}
.images__wide{
  margin-bottom: 0;
}
.images__wide img{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.statement__text {
    font-size: 3.8vw;
    line-height: 2.4;
}
.images__caption {
    font-size: 3.8vw;
    line-height: 2.4;
}

  /* worries */
.worries_wrap ul li{
    padding: 3% 0 8%;
}
.worries_wrap ul li br.sp{
  display: inherit;
}
  /* Feature intro */
  .feature-intro {
    flex-direction: column;
    padding: 40px var(--side-padding) 0;
    gap: 24px;
  }
  .feature-intro__person {
    width: 90%;
  }
  /* Feature sections */
  .feature {
    padding: 32px var(--side-padding) 40px;
  }

#feature1 .feature__badge:after{
  content: "　\A\A　";
  white-space: pre;
}
  .feature__person {
        width: 118%;
        margin-left: -13%;
      margin-bottom: -58%;
      margin-top: 5%;
    }
.feature__person--left {
        margin-left: 0%;
        margin-bottom: -54%;
      }
    .feature3 .feature__person--right {
        margin-left: -16%;
        margin-bottom: -42vw;
    }

  .feature__person img {
    width: 28%;
    height: 36vw;
    object-fit: cover;
    object-position: right top;
  }
  .feature__badge {
    font-size: 2.8vw;
        width: 78%;
        margin-left: 0;
  }
.feature:nth-child(2) .feature__badge {
    margin-left: 23%;
}
.feature__image .icon {
  padding: 15px 10%;
  flex-wrap: wrap;
  gap:10px 10% ;
}
.feature__image .icon img{
  width: calc((100% - 10%) / 2);
}
  .feature__desc-box {
    padding: 16px 20px;
  }
  /* Product CTA */
  .product-cta {
    padding: 48px var(--side-padding);
        width: 86%;
  }
  .product-cta__card {
    padding: 28px 16px;
  }
  .lineup__item-buttons .btn{
    grid-column: 1 / -1;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.lineup__divider {
    width: 94%;
    margin: 15% auto;
}
  .product-cta__buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .product-cta__buttons .btn:first-child {
    grid-column: 1;
  }
  .lineup__item-buttons .btn{
    width: 90%;
}
  .lineup__item-buttons .btn:first-child{
    width: 90%;
}
  /* Lineup */
  .lineup {
    padding: 48px var(--side-padding);
        width: 86%;
  }
  .lineup__item {
    padding: 28px 16px;
    gap: 12px;
  }
  .lineup__item-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .lineup__shop-btn {
    width: 80%;
}
  .lineup__item-buttons .btn:first-child {
    grid-column: 1;
  }
  /* FAQ */
  .faq {
        width: 86%;
  }
  .faq__item {
    padding: 16px 20px;
  }
  /* Footer */
  .footer {
    padding: 40px var(--side-padding);
  }
  .footer__logo {
    width: min(320px, 80%);
  }
}