* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top);
}
html {
      scroll-behavior: smooth;
}
body {
      font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
      font-size: 1.25rem;
      line-height: 1.8;
      color: #333;
      background-color: #fff;
      text-align: center;
      
}
br.pc_none{
	display:none
}
:root {
  --primary: #69d6ff;
  --secondary: #9cbbf2;
  --background: #e8f6fc;
  --highlight: #ffff6c;
}
h2{
    margin-bottom: 40px;
}
h2:before{
    color: var(--primary);
    content:"";
    display: block;
    letter-spacing: 2px;
    font-size: 1rem;
}
br.pc_none{
  display: none;
}
span.ib{
  display: inline-block;
}
.flex{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap:5vw;
}
@media screen and (max-width: 768px) {
  body {
      font-size: 1.1rem;
    }
br.pc_none{
  display: block;
}
br.sp_none{
  display: none;
} 
.flex{
    flex-direction: column;
    gap:10vw;
}
}
h1 { font-size: 2.25rem; } /* 36px */
h2 { font-size: 1.75rem; } /* 28px */
h3 { font-size: 1.375rem; } /* 22px */
h4 { font-size: 1.25rem; }  /* 20px */
@media screen and (max-width: 768px) {
  h1 { font-size: 1.8rem; } /* 約29px */
  h2 { font-size: 1.5rem; } /* 約24px */
  h3 { font-size: 1.2rem; } /* 約19px */
  h4 { font-size: 1.1rem; } /* 約17px */
	br.pc_none{
	display:block
}
}
li {
  list-style: none;
}
a {
      text-decoration: none;
      transition: ease .3s;
}
section {
      margin: 0 auto;
    }
img {
      max-width: 100%;
      height: auto;
    }
p{
  text-align: left;
}

/*************/


/*****/
/**************************:*/
.fixed_dl {
  position: fixed;
  bottom: -100px; /* 初期は画面外 */
  right: 0;
  width: 100%;
  max-width: 400px;
  display: flex;
  padding: 25px 15px 0 15px;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: solid 2px var(--primary);
  background-image: url(../img/dl-tri.svg);
  background-position: right 0 bottom 0;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: -3px -2px 5px rgba(15, 53, 83, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s ease;
  z-index: 999;
}
.fixed_dl:after{
  position: absolute;
  top:-20px;
  content: "";
  z-index: 1;
  width: 100%;
  height: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(../img/fixed_baloon.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* 表示時のアニメーション */
.fixed_dl.show {
  bottom: 0;
  opacity: 1;
  visibility: visible;
}

.fixed_dl:before{
width: 0;
height: 0;
border-style: solid;
border-color: transparent transparent #00bfb2 transparent;
border-width: 0px 0px 64px 64px;
}
.fixed_dl div:nth-child(1) img:nth-child(1){
  max-height: 70px;
}
.fixed_dl img.app{
  min-width: 80px;
  display: block;
}
.fixed_dl .wrap_dl{
  gap:5px;
  margin-top: 0px;
}
.fixed_dl .wrap_dl img{
  width: auto;
}
@media screen and (max-width: 500px) {
  
.fixed_dl{
  max-width: 100%;
  right: 50%;
  transform: translateX(50%);
}

}
/*************/

  .features-flex .fadein:nth-child(1) { --delay: 0s; }
  .features-flex .fadein:nth-child(2) { --delay: 0.15s; }
  .features-flex .fadein:nth-child(3) { --delay: 0.3s; }

  /*****/

/* ------------------------------
  Header base
------------------------------ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 77px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.logo {
  display: block;
  width: 200px;
  height: 60px;
  background: url(../img/logo_white.svg) no-repeat center / contain;
  transition: background-image 0.3s ease;
}

/* スクロール後のロゴ差し替え */
header.scrolled .logo {
  background-image: url(../img/logo_blue.svg);
}
/* ------------------------------
  PCデフォルト（横並びナビ）
------------------------------ */
.hamburger {
  display: none;
}

.nav {
  position: static;
  background: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  height: auto;
}


.nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
  font-weight: 600;
  font-size: 1.25rem;
}
/* === スクロール後 === */
header.scrolled {
  background: rgba(255,255,255,1);
  box-shadow: 0px 7px 5px rgba(0,0,0,0.05);
}

header.scrolled .nav a {
  color: #333;
}
header.scrolled .nav a:hover{
  color: var(--primary);
}
#js-hamburger span {
  background-color: #fff;
  transition: background-color 0.3s ease;
}
header.scrolled #js-hamburger span {
  background-color: var(--primary);
}

@media screen and (max-width: 768px) {
header.scrolled .nav a {
  color: #fff;
}
}
/* ------------------------------
------------------------------ */
@media (max-width: 1024px) {
  header {
  padding: 20px 20px 20px 10px;
}
  /* 全画面ナビ */
  .nav {
    position: fixed;
    top: 77px;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1000;
  justify-content: space-between;
  padding-top: 50px;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .nav a {
    font-size: 1.5rem;
    color: #fff;
  }
  .hamburger.active span {
  background: #fff
}
  
.nav li {
  
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: left;
}
.nav.active li{
  opacity: 1;
  transform: translateY(0);
}
.nav.active li:nth-child(1) {
  transition-delay: 0.1s;
}
.nav.active li:nth-child(2) {
  transition-delay: 0.2s;
}
.nav.active li:nth-child(3) {
  transition-delay: 0.3s;
}
.nav.active li:nth-child(4) {
  transition-delay: 0.4s;
}
.nav.active li:nth-child(5) {
  transition-delay: 0.5s;
}
.nav.active li:nth-child(6) {
  transition-delay: 0.6s;
}
.nav.active li:nth-child(7) {
  transition-delay: 0.7s;
}
  .hamburger {
    position: relative;
    width: 39px;
    height: 33px;
    cursor: pointer;
    z-index: 1003;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger span {
    display: block;
    height: 5px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: 0.4s;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(14px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(14px, -6px);
  }


}

/* 背景スクロール禁止用 */
.no-scroll {
  overflow: hidden;
}

/*************/
footer .section-inner{
  display: flex;
  padding: 5vw;
}
footer .wrap_link {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  grid-auto-rows: auto;                 
  gap: 8px 24px;
  width: fit-content; 
  text-align: left;
  width: 100%;
  font-size: 1rem;
}
footer .copy{
  background-color: #4db5dd;
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem;
}
footer .wrap_logo{
  display: block;
  max-width: 220px;
  margin-right: 50px;
}

@media screen and (max-width: 768px) {
  footer .section-inner{
  display: flex;
  padding: 5vw;
  flex-direction: column-reverse;
  align-items: center;
  gap:40px
}
footer .wrap_logo{
  margin-right: 0;
  max-width: 180px;
}

footer .wrap_link {
  display: grid;
  grid-template-columns: repeat(1, 1fr); 
  grid-auto-rows: auto;                 
  gap: 24px 0;
  width: fit-content; 
  text-align: left;
  margin: 50px 2rem 0;
  width: 100%;
}
}
/*******************/

  .fadein {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}
.fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/********************/

.nav-bottom-dl {
  bottom: 0px;
  right: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  padding: 15px 15px 20px;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  display: none;
  max-width: 430px;
}

.nav-bottom-dl .wrap_dl{
  min-width: 100%;
  margin-top: 15px;
}

.wrap_dl {
  display: flex;
  align-items: center;      /* 縦中央揃え */
  justify-content: center;  /* 横中央（必要に応じて flex-start に） */
  gap: 1rem;                /* ボタン間の余白 */
}

.wrap_dl a {
  display: flex;
  align-items: center;
  height: auto;
	max-height:60px;
  width: auto;
}
.wrap_dl a:hover{
  opacity: .7;
}
.wrap_dl a img {
  width: auto;
  display: block; 
}

@media screen and (max-width: 1024px){
  
.nav-bottom-dl {
  display: block;
  position: absolute;
  bottom: 77px;
  left: 50%;
  transform: translateX(-50%);
}
}
/*****************/

  /***************/
.obi{
    background-color: #69d6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:0;
    background-image: url(../img/obi-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
	padding:0 1rem
  }
  .obi .wrap_img{
    min-height: 500px;
    display: block;
    position: relative;
  }
.obi .wrap_img img{
  position: absolute;
  top:50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 620px;
}
.obi span{
  font-size: 1.9rem;
  display: block;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 20px;
}
.obi .flex-box:nth-child(1){
  flex: 1.5;
}
.obi .flex-box:nth-child(2){
  flex: 2;
}

.obi .wrap_dl {
    justify-content: flex-start;
    max-width: 400px;
}
.obi .wrap_dl a img {
  height: 100%;
}
.obi picture{
	display:block;
	margin-bottom:40px
}
@media screen and (max-width: 768px) {
  .obi{
    gap:0;
    background-image: url(../img/obi-bg.webp);
    flex-direction: column-reverse;
    padding: 20vw 1rem 0 1rem;
  }

  .obi .wrap_img{
    min-height: 500px;
    transform: translateY(40px);
  }
  .obi .wrap_img img{
  max-height:unset;
  min-width: 300px;
}
	
.obi .wrap_dl {
    max-width: 100%;
}
}
/*****/
section.otherpage{
  position: relative;
}
section.otherpage h1{
  font-size: 1.6rem;
  margin: 0 0 30px;
}
section.otherpage h2{
  font-size: 1.1rem;
  text-align: left;
  font-weight: normal;
  margin: 40px 0 10px;
}
section.otherpage .conteiner {
    max-width: 1080px;
    width: 92%;
    margin: auto;
    padding: 80px 1rem;
}
.hero{
    height: 200px;
    background-color: var(--primary);
    background-image: url(../img/top/kv-bg.webp);
    background-size: cover;
    background-position: bottom;
}
p.fsS{
    font-size: 1rem;
}
p.left{
    text-align: left;
}
p.right{
    text-align: right;
}
p.center{
	text-align:center
}