@charset 'utf-8';

html {
  scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    max-width: 400px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight:  400;
    line-height: 1.5;
    font-size: 15px;
}

.wrapper {
    position: relative;
    width: 100%;
}

.wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -10;
    background: rgba(255,255,255,1);
}


header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    height: auto;
    background: rgba(255,255,255,1);
    backdrop-filter: blur(6px);
}

.corp {
    font-family: "corporate-logo-ver2", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.mega {
    font-family: ab-megadot9, sans-serif;
    font-style: normal;
    font-weight: 400;
}

.hamburger {
  display: inline;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 6px;
  background: #C62918;
  border-radius: 0.5px;
  margin: 5px 0;
  transition: all 0.3s ease;
  -webkit-border-radius: 0.5px;
  -moz-border-radius: 0.5px;
  -ms-border-radius: 0.5px;
  -o-border-radius: 0.5px;
}

/* ハンバーガーがopenの時 */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(15px);
  -webkit-transform: rotate(45deg) translateY(15px);
  -moz-transform: rotate(45deg) translateY(15px);
  -ms-transform: rotate(45deg) translateY(15px);
  -o-transform: rotate(45deg) translateY(15px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-15px);
  -webkit-transform: rotate(-45deg) translateY(-15px);
  -moz-transform: rotate(-45deg) translateY(-15px);
  -ms-transform: rotate(-45deg) translateY(-15px);
  -o-transform: rotate(-45deg) translateY(-15px);
}

/* ========== オーバーレイメニュー ========== */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(51, 51, 51, 0.95);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.menu-overlay .overlay-content {
  text-align: center;
}

.menu-overlay .overlay-logo {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.menu-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-overlay li {
  margin: 1rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.menu-overlay.active li {
  opacity: 1;
  transform: translateY(0);
}

/* 順番にふわっと出す */
.menu-overlay.active li:nth-child(1) {
  transition-delay: 0.1s;
}
.menu-overlay.active li:nth-child(2) {
  transition-delay: 0.2s;
}
.menu-overlay.active li:nth-child(3) {
  transition-delay: 0.3s;
}
.menu-overlay.active li:nth-child(4) {
  transition-delay: 0.4s;
}
.menu-overlay.active li:nth-child(5) {
  transition-delay: 0.5s;
}
.menu-overlay.active li:nth-child(6) {
  transition-delay: 0.6s;
}

.menu-overlay a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.header_items {
    padding: 1rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    align-items: center;
    height: auto;
} 

.header_logo {
    width: 10rem;
}

.lp-image-stack {
  position: relative; /* 子要素を絶対配置できるようにする */
  width: 100%;        /* 必要に応じてサイズ指定 */
  height: 100%;
  padding-top: 13.5%;
  padding-bottom: 30%;
background-color: #C62918;
overflow: hidden;
}

.lp-image-stack-contact {
  position: relative; /* 子要素を絶対配置できるようにする */
  width: 100%;        /* 必要に応じてサイズ指定 */
  height: 100%;
  padding-top: 13.5%;
background-color: #C62918;
overflow: hidden;
}

.lp-image-stack .image1 {
  width: 100%;  /* 下の土台になる画像 */
  clip-path: inset(0px 0px 28% 0px);
  display: block;
}

.lp-image-stack .image_arrow {
  position: absolute;  /* 親要素を基準に配置 */
  top: 28%;              /* 上にぴったり */
  left: 15%;
  width: 70%;         /* サイズを合わせる */
  z-index: 10;         /* 上に重ねる */
}
.lp-image-stack .image_sp1 {
  position: absolute;  /* 親要素を基準に配置 */
  bottom: 0%;              /* 上にぴったり */
  left: -10%;
  width: 70%;         /* サイズを合わせる */
  z-index: 10;         /* 上に重ねる */
}
.lp-image-stack .image_circle1 {
  position: absolute;  /* 親要素を基準に配置 */
  bottom: 5%;              /* 上にぴったり */
  right: -10%;
  width: 60%;         /* サイズを合わせる */
  z-index: 8;         /* 上に重ねる */
}

.lp-image-stack2 {
    position: relative;
    height: auto;
    overflow: hidden;
}

.lp-image-stack2 .image2{
    width: 100%;
    padding-bottom: 0%;
}

.lp-image-stack2 .image_sp2 {
    position: absolute;
  bottom: 0%;              /* 上にぴったり */
  right: -22.5%;
  width: 90%;         /* サイズを合わせる */
  z-index: 8;          
}

.lp-image-stack2 .image_circle2 {
    position: absolute;
  bottom: 5%;              /* 上にぴったり */
  left: -2%;
  width: 55%;         /* サイズを合わせる */
  z-index: 7;          
}

.lp-image-stack3 {
    display: flex;
    flex-direction: column;
    padding: 20% 10%;
    background-color: #C62918;
}

.lp-image-stack3 .top_qr {
    margin: 10% auto;
    width: 70%;
}
.lp-image-stack3 .logo_square {
    margin: 0 auto;
    width: 70%;
}

.callcenter {
    width: 100%;
    height: 100%;
}

.about {
    margin: 0% auto;
}


.main_heading {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 75%;
    height: auto;
    margin: 80px auto 30px;
    padding: 15px 5px;
    background-color: #C62918;
    color: white;
    font-family: "corporate-logo-ver2", sans-serif;
    font-weight: 700;
    font-style: normal;
    border-radius: 0.7rem;
    -webkit-border-radius: 0.7rem;
    -moz-border-radius: 0.7rem;
    -ms-border-radius: 0.7rem;
    -o-border-radius: 0.7rem;
}

.main_heading p {
    margin-left: 5px;
}

.main_p {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto 10%;
}

.about_menu {
    width: 90%;
    margin: 0 auto;
}

.about_img  img{
    width: 100%;
}

.about_heading {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5% auto;
}

.about_num {
    font-family: ab-megadot9, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 4rem;
    color: #EFC3BE;
    margin-right: 10px;
}

.about_heading_title {
    font-family: "corporate-logo-ver2", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
}

.about_p {
    text-align: center;
    margin: 0% auto 20%;
}

.about_fin {
    position: relative;
    width: 85%;
    margin: 0 auto 10rem;
    border: 3px solid;
    border-color: #2B4495;
    border-radius: 10px;
    text-align: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.about_fin_heading {
    position: absolute;
    width: 85%;
    top: -1.2rem;
    left: 1.5rem;
    color: #2B4495;
    font-size: 1.5rem;
    background-color: #fff;
}

.about_fin p {
    margin: 2rem auto 1.5rem;
    font-size: 1.2rem;
    color: #2B4495;
}

.heading img {
    width: 50%;
}

.system {
    position: relative;
    width: 100%;
}

.system::before {
    content: '';
    position: absolute;
    background: linear-gradient(-20deg,#cce7ca  0%, #D5DFF4 100%);
    transform: skewY(-10deg);
    top: -5rem;
    bottom: -3rem;
    left: 0;
    right: 0;
    z-index: -1;
    -webkit-transform: skewY(-10deg);
    -moz-transform: skewY(-10deg);
    -ms-transform: skewY(-10deg);
    -o-transform: skewY(-10deg);
}

.system_simple {
    display: flex;
    justify-content: center;
}

.system_simple img{
    width: 80%;
    margin: 0 auto 1.5rem;
}

.system_img{
    width: 100%;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: center;
}

.system_menu {
    width: 100%;
    margin: 0 auto;
}

.system_contents {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
}

.system_img{
    margin: 0 auto;
}

.system_img img {
    width: 80%;
}

.system_heading {
    width: 80%;
    margin: 1rem auto;
    display: flex;
    justify-content: center;
}

.system_num {
    flex-basis: 10%;
    padding: 0.5rem 0.1rem;
    background-color: #C62918;
    color: #fff;
    text-align: center;
}

.system_heading_title {
    flex-basis: 90%;
    padding: 0.5rem 0.1rem;
    background-color: #fff;
    text-align: center;
    font-size: 1.2rem;
}

.system_p {
    text-align: center;
    margin: 0 auto 3rem;
}

.plan {
    margin: 8rem auto ;
}

.plan .main_heading p {
    font-size: 1.5rem;
}

.plan_menu {
    width: 98%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.plan_circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #c79920;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan_p {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plan_circle_heading {
    text-align: center;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.25rem;
}

.plan_circle_p {
    text-align: center;
    color: #fff;
    line-height: 0.8rem;
    font-size: 0.6rem;
}

.plan_img{
    display: flex;
    justify-content: center;
    margin: 3.5rem auto 5rem;
    width: 92.5%;
}

.contact {
    background-color: #C62918;
    height: 300px;
    display: flex;
    align-items: center;
}

.contact_box {
    text-align: center;
    margin: 3rem auto;
}

.contact_heading {
    font-size: 20px;
    color: #fff;
}

.contact_btn {
    width: 100%;
    height: auto;
    padding: 0.5rem;
    margin: 0.5rem auto;
    font-size: 38px;
    color: #C62918;
    line-height: 38px;
    border-radius: 50px;
    background: #f4d857;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.contact_footer {
    font-size: 30px;
    color: #f4d857;
}

.contact_logo img{
    margin: 0.5rem auto 0;
    width: 65%;
}

.flow {
    margin: 8rem auto ;
}

.flow .main_heading p {
    font-size: 1.5rem;
}

.flow_block {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 3rem auto;
}

.flow_menu_img img{
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.flow_menu_heading {
    font-family: "corporate-logo-ver2", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #C62918;
    font-size: 20px;
    text-align: center;
    margin: 1rem auto;
}

.flow_menu_p {
    text-align: center;
}

.faq {
    margin: 8rem auto ;
    position: relative;
    width: 100%;
}

.faq .main_heading p {
    font-size: 1.5rem;
}

.faq::before {
    content: '';
    position: absolute;
    background: linear-gradient(-20deg,#cce7ca  0%, #D5DFF4 100%);
    transform: skewY(-10deg);
    top: -5rem;
    bottom: -7rem;
    left: 0;
    right: 0;
    z-index: -1;
    -webkit-transform: skewY(-10deg);
    -moz-transform: skewY(-10deg);
    -ms-transform: skewY(-10deg);
    -o-transform: skewY(-10deg);
}

.faq-container {
  width: 80%;
  margin: 0 auto;
}

.question {
  margin-bottom: 8px;
}

dt {
  color: #C62918;
  padding: 16px;
  margin: 0.5rem;
  cursor: pointer;
  user-select: none;
  position: relative;
  background: rgb(255, 255, 255, .5);
}

dt:hover {
  background-color: rgba(0, 0, 0, .1);
}

dt::before {
  content: 'Q. ';
}

dt::after {
  content: '＋';
  position: absolute;
  right: 16px;
  top: 50%;
  transition: transform .5s;
  -webkit-transition: transform .5s;
  -moz-transition: transform .5s;
  -ms-transition: transform .5s;
  -o-transition: transform .5s;
}

.question.appear dt::after {
  content: '―';
}

dd {
  padding: 20px 8px;
  display: none;
}

.question.appear dd {
  display: block;
  animation: .5s fadeIn;
  -webkit-animation: .5s fadeIn;
  font-weight: 600;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.footer {
    position: relative;
    height: 300px;
    background-color: #C62918;
}

.footer .contact {
    position: absolute;
    top: -5rem;
    width: 100%;
}

.footer_info {
    position: absolute;
    bottom: -2.5rem;
    text-align: center;
    font-size: 0.7rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
        width: 100%;
}

.footer_info p {
    margin: 0 auto;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-image: url("../images/sannomiya.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .5;
    z-index: -100;
}

.bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    opacity: 1;
    background: inherit;
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    z-index: -99;
}


/* ふわっと浮かぶフェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(20px); /* 下から少し浮き上がる */
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* 点滅・上下運動 */
.blink-move {
  display: inline-block;
  animation: blinkUpDown 0.8s infinite step-start;
  -webkit-animation: blinkUpDown 0.8s infinite step-start;
}

@keyframes blinkUpDown {
  0% {
    opacity: 1;
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
}

  25% {
    opacity: 1;
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
}
  50% {
    opacity: 1;
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
}

  75% {
    opacity: 1;
    transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -o-transform: translateY(-15px);
}
}


/* ポンっと出る！ */
/* 初期状態（縮小＆透明） */
.pop-in {
  opacity: 0;
  transform: scale(0);
}

/* 表示されるときのアニメーション */
.pop-in.show {
  animation: popIn 1s ease-out forwards;
  -webkit-animation: popIn 1s ease-out forwards;
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
}
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* ぽよぽよ */
.poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}