
.p-about-gas{
	margin: 0 auto;
}
.p-about-gas .l-container{
  --container: 1200px;
}

.hero{
  position: relative;
  overflow: hidden;
  padding: 100px 0 100px;
}

.hero__title{
	font-size: clamp(50px, 7vw, 100px);
	font-weight: bold;
	margin:0;
	line-height: 1.4;
}

.hero__subtitle{
	font-size: clamp(16px, 3vw, 30px);
	font-weight: bold;
}

.hero__lead{
	letter-spacing: 0.08em;
	font-size: clamp(14px, 3vw, 18px);
	font-weight: 500;
	line-height: 2;
}

.hero__copy{
	max-width: 600px; 
	position: relative;
	z-index: 2;
}

.hero__media{
  position: absolute;
  right: 0px; 
  top: 50%;
  transform: translateY(-50%);
  width: 64%;
  max-width: 800px;
  z-index: 1;
  pointer-events: none;
}

.hero__image img{
  width: 100%;
  height: auto;
  display: block;
}


.section__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-inline: 60px;
  margin-block:40px;
  position: relative;
}

.section__left,
.section__right{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ① column head（左だけ文字、右も余白確保） */
.compare-head{
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* card */
.compare-card{
  background: #fff;
  color: var(--color-text-base);
  border-radius: 2px;
  overflow: hidden;
}

.compare-card__title{
  margin: 36px 16px 20px;
  text-align: center;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
}


.compare-card__ruby{
  display: inline-flex;
  gap: 0.02em;
  font-size: 1.2em;
}

.compare-card__rubyChar{
  position: relative;
  display: inline-block;
  padding-top: 0.55em; /* 点のための上余白（調整ポイント） */
}

/* 点 */
.compare-card__rubyChar::before{
  content: "";
  position: absolute;
  top: 0em; 
  left: 50%;
  width: 0.2em; 
  height: 0.2em;
  background: #99A7B6;
  border-radius: 50%;
  transform: translateX(-50%);
}

.compare-card__media{
  padding: 20px 24px 40px;
}

.compare-card__media img{
  max-width: 120px;
  height: auto;
  display: block;
  margin-inline: auto;
}

.compare-card__bar{
  margin: 0;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.compare-card__bar--primary{ background: #0b5aa6; }
.compare-card__bar--secondary{ background: #bfc5c8; }


.compare-price{
	color: #fff;
	width: fit-content;
	margin-inline: auto;
	text-align: left;
	position: relative;
}
.compare-price--left{
	padding-left: 80px;
}


.compare-price__amount{
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.compare-price__badge{
	max-width: 90px;
	position: absolute;
	height: auto;
	margin-left: -110px;
}

.compare-price__num{
  font-size: clamp(34px, 3vw, 64px);
  font-weight: 900;
}

.compare-price__yen{
  font-size: 22px;
  font-weight: 800;
}

.compare-price__tax{
  font-size: 16px;
  opacity: .9;
}

.compare-price__note{
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
}

.compare-price__diff{
  color: #E25C5F;
  font-weight: 900;
}

.compare-price__diff .compare-price__amount-num{
	font-size: 1.4em;
}


.compare-price__link{
  color: #8fd1ff;
  font-weight: 800;
  text-decoration: underline;
}

.compare-head__text{
  position: relative;
  text-align: center;
  display: inline-block;
  padding-inline: 48px;
  font-size: clamp(15px, 3vw, 22px);
  color: var(--color-accent-yellow);
  font-weight: 700;
  line-height: 1.6;
}

.compare-head__text::before,
.compare-head__text::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 1px;
  height: 52px;
  background: var(--color-accent-yellow);
  transform: translateY(-50%) rotate(-18deg);
  opacity: 0.9;
}

.compare-head__text::before{
  left: 0;
}

.compare-head__text::after{
  right: 0;
  transform: translateY(-50%) rotate(18deg);
}

/* SP */
@media (max-width: 768px){
  .section__grid{
    grid-template-columns: 1fr;
    margin-block:40px 20px;
  }

  .compare-head{
    justify-content: center;
  }

  .compare-head__text{
    text-align: left;
  }
  .compare-card__bar{
    padding: 10px;
    min-height: 60px;
  }
  .compare-price--left {
    padding-left: 60px;
}
.section__left, .section__right{
      gap: 10px;
}



}




.exchange-when{
	margin: 60px auto 60px;
  max-width: 740px;
}

/* card */
.when-card {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  border-radius: 2px;
}

.when-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.when-card__body {
  padding: 40px 22px 60px;
  text-align: center;
  background: #FAF8F8;
}

.when-card__title {
  margin: 0 0 20px;
  font-size: 24px;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.6;
}

.when-card__text {
  	margin: 0 0 20px;
	font-size: clamp(13px, 2vw, 15px);
  	line-height: 1.8;
  	flex-grow: 1;
  	font-weight: 600;
  	height: 6em;
}

.when-card__text .u-en{
	font-size: 1.4em;
}

.when-card__cta {
  display: grid;
  place-items: center;
}


.when__or{
	position: absolute;
  	top: 50%;
	left: 50%;
  	translate: -50% -50%;
}

.when__or img{
	max-width: 100px;
}


/* responsive */
@media (max-width: 900px) {
  .when__cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .when__or {
    justify-self: center;
  }
  .when-card__body {
    padding: 20px 20px 40px;
  }
  .when-card__title{
    margin-bottom: 10px;
  }
}



.official__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
  margin-block:40px;
}
.official__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.official__cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.official__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: clamp(18px, 4vw, 24px);
  line-height: 1.8;
}

.official__note {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
}

.official-steps {
  margin-top: 22px;
  position: relative;
}

.official-steps__items {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: start;
}

.official-steps__arrow {
  width: 0;
  height: 0;
  margin-top: 54px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #d5dbe2;
}

.official-step__num {
  margin: 0 0 10px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  opacity: 0.9;
  position: absolute;
  right: 10px;
  top:-10px;
}

.official-step__box {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  display: grid;
  place-items: center;
  min-height: 110px;
  position: relative;
  width: 160px;
}

.official-step__icon{
  height: auto;
  display: block;
}

.official-step__label {
  margin: 10px 0 0;
  text-align: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.1em;
}


.official__badge {
  margin: 0;
  width: 70px;
  height: 70px;
  place-items: center;
  position: absolute;
  left: -90px;
}

.official__badgeText {
  font-weight: 800;
}

.official__benefit{
	margin: 20px 0 0 100px;
	position: relative;
}

.official__benefitText {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
  color:#005BAA;
}

.official__benefitEm {
  position: relative;
  font-size: 1.2em;
  font-weight: 900;
}

.official__benefitEm.u-red::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 6px;
  background: #f5c641;
}

.official__benefitNote {
  margin: 20px 0 30px;
  font-weight: 700;
}


/* responsive */
@media (max-width: 900px) {
  .official__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .official-steps{
    margin-block:30px ;
  }

  .official-steps__items {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
  }

  .official-steps__arrow {
    display: none;
  }

  .official__benefitText {
    font-size: 22px;
  }
}

.gas-click{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 80px;
	padding-inline: 60px;
	margin-block: 60px 0;
}
.gas-click__side{
	display: grid;
	max-width: 250px;
  transition: 0.5s;
  gap:10px;
	margin: 50px auto 20px;
  justify-items: center;
}

.gas-click__side:hover{
    opacity: 0.7;
}



.gas-cylinder__group{
  margin-top: 60px;
}

.gas-cylinder__group-head{
  	display: grid;
	background: #fff;
  	grid-template-columns: 260px 1fr;
  	gap: 30px;
	border-radius: 4px;
	align-items: center;
	margin-bottom: 40px;
}

.gas-cylinder__group-label{
  	display: inline-flex;
  	justify-content: center;
  	align-items: center;
  	min-height: 60px;
  	padding-inline: 16px;
	border-bottom-left-radius:4px;
	border-top-left-radius:4px;
  	font-weight: 800;
  	color: #fff;
  	font-size: 16px;
	letter-spacing: 0.05em;
}

.gas-cylinder__group-label--exchange{ background: #0b4ea2; }
.gas-cylinder__group-label--new{ background: #f39b00; }

.gas-cylinder__group-desc{
  margin: 0;
  font-size: clamp(14px, 3vw, 16px);
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0.05em;
}


/* footer */
.p-gas-cylinder__footer{
  display: grid;
  place-items: center;
  padding-top: 26px;
}

.p-gas-cylinder__more{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 220px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid #0b4ea2;
  color: #0b4ea2;
  text-decoration: none;
  font-weight: 700;
}


/* responsive */
@media (max-width: 900px){
  .p-gas-cylinder__group-head{
    grid-template-columns: 1fr;
  }
  .c-product-list{
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ========== c-col3 (layout utility/component) ========== */
.c-col3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .c-col3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ========== video-faq ========== */
.video-faq__lead {
  margin-block: 20px;
}

.video-faq__list {
  margin-top: 48px;
}

.video-faq__cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* ========== card ========== */
.video-faq-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
}

.video-faq-card__head {
  position: relative;
  min-height: 88px; /* 01/02/03 の余白確保 */
  display: grid;
  place-items: center;
  text-align: center;
}

.video-faq-card__num {
  position: absolute;
  top: -20px;
  left: 0;
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 800;
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.video-faq-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
}

.video-faq-card__media {
  background: #f3f5f7;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}

.video-faq-card__img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.video-faq-card__text {
  margin: 0;
  line-height: 1.9;
  font-weight: 600;
  font-size: clamp(14px, 3vw, 16px);
}

.youtube-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.cost-img{
	text-align: center;
	margin: 40px auto;
}

.cost-img img{
	max-width: 600px;
}


.u-text-center {
  text-align: center !important;
}


@media only screen and (min-width: 768px) {
    .ec-footerRole {
        margin-top:0px;
    }
}


    .official__btn--heartbeat{
      animation: heartbeat 3.8s ease-in-out infinite;
      box-shadow: 0 10px 26px rgba(11,90,166,.05);
    }

    @keyframes heartbeat{
      /* 停止状態 */
      0%{
        transform: scale(1);
        box-shadow: 0 10px 26px rgba(11,90,166,.05);
      }

      /* 1回目 ドク */
      12%{
        transform: scale(1.06);
        box-shadow: 0 14px 34px rgba(11,90,166,.09);
      }
      18%{
        transform: scale(1);
      }

      /* 2回目 ドク */
      26%{
        transform: scale(1.04);
        box-shadow: 0 12px 30px rgba(11,90,166,.09);
      }
      32%{
        transform: scale(1);
      }

      /* ここから完全停止 */
      100%{
        transform: scale(1);
        box-shadow: 0 10px 26px rgba(11,90,166,.05);
      }
    }

    /* hover時は鼓動を止める（落ち着く） */
    .official__btn--heartbeat:hover{
      animation-play-state: paused;
      box-shadow: 0 14px 36px rgba(11,90,166,.09);
    }

    /* フォーカス */
    .c-btn:focus-visible{
      outline: 3px solid rgba(11,90,166,.09);
      outline-offset: 3px;
    }




/* responsive */
@media (max-width: 768px) {

#main-content {
    padding: 30px 0 0px !important;
}

.u-offset-header {
    margin-top:-8px;
}

.hero {
    padding: 50px 0 50px;
}

.hero__media {
    position: absolute;
    right: -500px;
    top: 50%;
    transform: translateY(-50%);
    width: 260%;
    max-width: 1000px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.2;
}
.u-mt-40 {
    margin-top: 0;
  }

.section__text--center {
    text-align: left;
}

.section__text {
    margin-block: 20px 20px;
}

.section__grid {
    margin-inline: 10px;
    gap:30px;
}

.compare-head__text {
    text-align: center !important;
    display: inline-block;
    padding-inline: 28px;
}

.compare-price__badge {
    max-width: 45px;
    position: absolute;
    height: auto;
    margin-left: -60px;
}

.compare-price__badge img{
	width: 50px;
	height: auto;
}
.compare-card__media {
    padding: 20px 20px 20px;
}

.compare-card__media img {
    max-width: 100px;
}

.exchange-when {
    margin: 40px auto;
}
.exchange-when img{
	width: 100%;
	height: auto;	
}

.when-card__media img{
	width: 100%;
	height: auto;
}
.when-card__text{
	height: auto;
	margin-bottom: 20px;
}
.when__or {
    position: relative;
    top: 0;
    left: 0;
	text-align: center;
    translate:none;
    max-width: 80px;
}

.official__media img{
	width:100%;
	height: auto;
}

.official__badge img{
	    width: 80px !important;
}

.official-step__icon img{
  width: 60px !important;
  height: auto;
  display: block;
}
.official-step__box{
  width: auto;
}
.gas-click img{
	width: 100%;
	height: auto;
}
.gas-click {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr 0.8fr;
    gap: 16px;
    padding-inline: 0px;
    margin-block: 30px 0;
}

.gas-cylinder__group-head {
    display: block;
}
.gas-cylinder__group-label {
    display: block;
    text-align: center;
	min-height: auto;
	padding-block: 10px;
	border-radius: 0;
}
.gas-cylinder__group-desc{
	padding: 10px;
}

.gas-cylinder__group-head{
	margin-bottom: 20px;
}


.gas-click__side{
	margin: 40px auto 10px;
}

.c-product-card__img{
	width: 100% !important;
	height: auto;
}

.c-bnr{
	margin-block: 40px;
}

.c-bnr img {
	width: 100%;
	height: auto;   
}

.cost-img img{
	width: 100%;
	height: auto;
}

.ec-footerRole {
    margin-top: 0px;
}

.lity-image img {
  margin: 0 auto;
}
.section--mb00 {
    padding-bottom: 0px;
}
    .video-faq-card__head{
      min-height: auto;
    }
    .video-faq-card__text {
      line-height: 1.6;
    }

}




/* wrapはヒントを重ねるため */
.section__gridWrap{
  position: relative;
}

/* --- PC/タブレット：普通に3カラム --- */
.section__gridWrap .section__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* お好み */
}

/* --- SP：横スクロールに切替（2枚目が少し見える） --- */
@media (max-width: 767px){
.section__gridWrap .section__grid{
    /* 横に流す */
    grid-auto-flow: column;
    /* ここがキモ：1枚の幅を「画面の85%」くらいにすると、次がチラ見えする */
    grid-auto-columns: minmax(260px, 85%);
    grid-template-columns: none;

    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;

    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(10px, 4vw, 20px);

    padding-inline: clamp(10px, 4vw, 20px);
    gap: 16px;

    /* スクロールバーを目立たせたくない場合（任意） */
    scrollbar-width: none; /* Firefox */
  }
  .section__gridWrap .section__grid::-webkit-scrollbar{ display:none; } /* Chrome/Safari */

  .limited-item__card{
    scroll-snap-align: start;
  }

  /* ヒント表示 */
  .limited-item__scrollHint{
 position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
        display: inline-flex;
        align-items: center;
        gap: 20px;
        padding: 36px 40px;
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.65);
        color: #fff;
        font-weight: bold;
        font-size: 16px;
        width: 200px;
        opacity: 1;
        transition: opacity .3s, transform .3s;
        pointer-events: none;
        margin: 0 auto;
        text-align: center;
        display: block;
  }

  .limited-item__scrollHintIcon{
    font-size: 18px;
    line-height: 1.6;
    line-height: 1;
    font-weight: bold;
  }

.limited-item__scrollHint.is-hidden{
  opacity: 0;
  pointer-events: none;
}
}

/* PCではヒント非表示 */
@media (min-width: 768px){
  .limited-item__scrollHint{ display:none; }
}