@charset "utf-8";

:root{
  --gap-s:clamp(10px, 0.341rem + 1.21vw, 20px);
  --gap-m:clamp(20px, 0.682rem + 2.42vw, 40px);
  --gap-l:clamp(40px, 1.364rem + 4.85vw, 80px);
}
/*-------------------------------------
基本設定（htmlタグ、id指定）
---------------------------------------*/
#tenpo-sokunou-2026 {
  margin: 0 auto;
  line-height: 1.75;
  position: relative;
  width:100%;
  background: #fff url(../images/bg-campaign.webp) no-repeat top right / cover;
  background-attachment: fixed;
  text-align:center;
}

#tenpo-sokunou-2026 img {
  margin: auto;
  width: 100%;
  object-fit: contain;
}

#tenpo-sokunou-2026 .c-button {
  width: 100%;
}


/*-------------------------------------
リンク時アニメーション
---------------------------------------*/
.rollover:hover {
  -webkit-animation-duration: 1s;
  -webkit-animation-name: flash;
  animation-name: hover-flash;
  animation-duration: 1s;
  opacity: 1;
}

/*-------------------------------------
終了テキスト
---------------------------------------*/
.end-wrap {
  width: 100%;
  padding: 10px;
  color: #f00;
  font-size: clamp(18px, 0.784rem + 1.45vw, 30px);
  font-weight: bold;
  text-align: center;
  background: #fff;
}

/*-------------------------------------
ページトップ
---------------------------------------*/
#pagetop {
  opacity: 1;
  position: fixed;
  bottom: 30px;
  right: 55px;
  transition: opacity .5s;
  z-index: 10;
}

#pagetop a {
  background-color: rgba(51, 51, 51, .8);
  border-radius: 5px;
  color: #fff;
  display: block;
  font-size: 12px;
  line-height: 1.5em;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  #pagetop {
    right: 10px;
    bottom: 10px;
  }
}

/*-------------------------------------
コンテナ
---------------------------------------*/
.contents-section{
  padding:var(--gap-l) 0;
  text-align:center;
}
.contents-inner {
  margin:auto;
  width: 92vw;
  max-width: 1140px;
  padding:var(--gap-m);
  border-radius:var(--gap-s);
  background:#fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  overflow: hidden;
  text-align:left;
}

.sec-cont + .sec-cont{
  margin-top:var(--gap-m);
}

/*-------------------------------------
ヒーローイメージ
---------------------------------------*/
.kv-wrapper {
  position: relative;
  width: 100%;
}
/*-------------------------------------
テキスト
---------------------------------------*/
.lead-txt {
  font-size:clamp(14px, 0.739rem + 0.68vw, 20px);
  line-height:1.6;
  text-align:center;
}

@media screen and (max-width: 767px) {
  .lead-txt {
    text-align:left;
  }
}

.sec-cont h2{
  position:relative;
  font-weight:600;
  font-size:clamp(18px, 0.852rem + 1.36vw, 30px);
  margin-bottom:0.5em;
  text-align:center;
  color:#fff;
  line-height:1.2;
  padding:0.2em;
  border-radius: 100vw;
  overflow: hidden;
}
.sec-cont h2::before{
  position:absolute;
  content:'';
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: repeating-linear-gradient(-45deg, #001e60, #01237a 5px,#022794 12px, #01237a 5px,#001e60 18px);
  z-index:1;
}
.sec-cont h2 span{
  position:relative;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
  z-index:2;
}


.sec-cont h3{
  position:relative;
  font-weight:700;
  font-size:clamp(16px, 0.818rem + 0.91vw, 24px);
  color:#001e60;
  line-height:1.2;
  margin-bottom:0.5em;
}

.sec-cont h3::before{
  position:absolute;
  content:'';
  top:calc(50% - 0.5px);
  left:0;
  width:100%;
  height:1px;
  background:#001e60;
  z-index:1;
}
.sec-cont h3 span{
  position:relative;
  width:fit-content;
  background:#fff;
  padding-right:0.5em;
  z-index:2;
}

/*-------------------------------------
メリット
---------------------------------------*/
.merit-list{
  display:flex;
  gap:var(--gap-m);
  counter-reset: meritCounter;
}

.merit-list li {
  flex:1;
  position:relative;
  counter-increment: meritCounter;
  font-size:var(--gap-l);
  line-height:1;
  padding-top:0.85em;
  padding-left:0;
}

.merit-txt-outer{
  border-radius:10px;
  width:100%;
  height: 100%;
  background: linear-gradient(180deg, #22d3ee, #001e60);
  padding:2px;
}

.merit-txt{
  border-radius:8px;
  width:100%;
  height: 100%;
  background: #fff;
  padding:var(--gap-s);
}

.merit-list li h4,
.merit-list li p{
  position:relative;
  z-index:2;
}


.merit-list li::after{
  position:absolute;
  top:0;
  left: calc(50% - 0.3em);
  content: counter(meritCounter);
  background: linear-gradient(0deg, #22d3ee, #001e60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight:700;
  z-index:1;
}

.merit-list li h4{
  font-weight:800;
  font-size:clamp(16px, 0.818rem + 0.91vw, 24px);
  color:#001e60;
  margin-bottom:0.25em;
  text-align:center;
}
.merit-list li p{
  font-size:clamp(14px, 0.83rem + 0.23vw, 16px);
  line-height:1.6;
}

@media screen and (max-width: 767px) {
  .merit-list{
    flex-direction: column;
    gap:var(--gap-s);
  }
  .merit-list li {
    padding:0 0 0 0.5em;
  }
  .merit-list li::after{
    top: calc(50% - 0.5em);
    left:0;
  }
  .merit-txt{
    padding:var(--gap-s);
  }
  .merit-list li h4{
    text-align:left;
  }
}

/*-------------------------------------
ポップ画像
---------------------------------------*/
.caution-txt{
  font-size:clamp(12px, 0.693rem + 0.24vw, 14px);
  margin-top:var(--gap-m);
  margin-bottom:10px;
}
.pop-block{
  margin:0 0 var(--gap-m) 0;
  display:grid;
  gap:var(--gap-s);
  grid-template-columns: repeat(3, 1fr);
}

.pop-block img{
  border:1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s;
}

.pop-block img:hover {
  cursor: pointer;
  transform: scale(1.05);
  border: 1px solid #00a2e6;
  filter: drop-shadow(5px 5px 5px rgba(0, 162, 230, 0.1));
}

@media screen and (max-width: 767px) {
  .pop-block{
    grid-template-columns: repeat(1, 1fr);
  }
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
}

/*-------------------------------------
注意
---------------------------------------*/
.caution-list{
  margin-left:2em;
}

.caution-list li{
  list-style-type: disc;
  font-size:clamp(12px, 0.659rem + 0.45vw, 16px);
  line-height:1.2;
}

.caution-list li + li{
  margin-top:10px;
}

/*-------------------------------------
もっと見るボタン
---------------------------------------*/
.more-link {
  width: 100%;
  max-width:600px;
  margin: 40px auto 0 auto;
  line-height: 1.2;
}
.more-link span{
  line-height: 1.2;
}


@media screen and (max-width: 767px) {
  .more-link {
    margin: 20px auto 0 auto;
  }
  .more-link .c-button {
    font-size: 14px;
  }
  .more-link .c-button::after{
    right:15px;
  }
  .more-link span{
    letter-spacing:0;
  }
}

