@charset "UTF-8";

:root {
  --font-family: 'Noto Sans JP', sans-serif;
  --primary-blue: #3E5BBA;
  --color-red: #E60000;
  --text-color: #333333;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
p{
  margin: 0;
  padding: 0;
}

/* =========================================
   Header Section
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* slightly visible shadow */
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
}

.header__logo {
  margin: 0;
  width: 200px;
  display: flex;
  align-items: center;
}

.header__logo a {
  display: block;
}

.header__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.header__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.header__item a {
  text-decoration: none;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.3s;
}

.header__item a:hover {
  color: #ff4d4d;
}

.header__contact {
  margin-left: 30px;
}

.header__btn {
  display: inline-block;
  background-color: #ff411a;
  background: linear-gradient(90deg, #ff411a 0%, #ff6b3d 100%);
  color: #fff;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(255, 65, 26, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.header__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 65, 26, 0.4);
}

.header__hamburger {
  display: none;
}

/* body padding adjustment for fixed header */
body {
  padding-top: 80px;
}

@media (max-width: 1200px) {
  .header__list {
    gap: 15px;
  }
  .header__item a {
    font-size: 11px;
  }
  .header__contact {
    margin-left: 15px;
  }
  .header__btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .header__nav, .header__contact {
    display: none;
  }
  .header__inner {
    height: 60px;
  }
  .header__logo {
    width: 150px;
  }
  body {
    padding-top: 60px;
  }
  .header__hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    padding: 0;
    margin-left: auto;
  }
  .header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #111;
    position: absolute;
    left: 0;
    transition: all 0.3s;
  }
  .header__hamburger span:nth-child(1) { top: 0; }
  .header__hamburger span:nth-child(2) { top: 11px; }
  .header__hamburger span:nth-child(3) { bottom: 0; }
}

/* =========================================
   SP Menu Section
========================================= */
.sp-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fbfbfb; /* slightly off-white */
  z-index: 900;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding-top: 60px; /* space for header */
  overflow-y: auto;
}

.sp-menu.is-active {
  opacity: 1;
  visibility: visible;
}

.sp-menu__inner {
  width: 100%;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-menu__nav {
  width: 100%;
  margin-bottom: 40px;
}

.sp-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.sp-menu__item a {
  text-decoration: none;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.sp-menu__item a:hover {
  color: #ff4d4d;
}

.sp-menu__contact {
  margin-bottom: 60px;
}

.sp-menu__btn {
  display: inline-block;
  background-color: #ff411a;
  background: linear-gradient(90deg, #ff411a 0%, #ff6b3d 100%);
  color: #fff;
  text-decoration: none;
  padding: 15px 60px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(255, 65, 26, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.sp-menu__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 65, 26, 0.4);
}

.sp-menu__sns {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 25px;
}

.sp-menu__sns li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.sp-menu__sns li a:hover {
  transform: translateY(-3px);
}

.sp-menu__sns li img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hamburger active state */
.header__hamburger.is-active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}
.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.is-active span:nth-child(3) {
  bottom: 11px;
  transform: rotate(-45deg);
}

/* =========================================
   First Step Section
========================================= */
.first-step {
  width: 100%;
  padding: 8vw 20px 10vw;
  background-color: #fff;
  overflow: hidden; /* スマホ等での画像はみ出しによる横揺れ防止 */
}

.first-step__inner {
  max-width: 1500px;
  margin: 0 auto;
}

.first-step__box {
  position: relative;
  background: url('../img/first-step_bg.webp') center center / cover no-repeat;
  border-radius: 24px;
  padding: 10px 5vw 60px;
  box-shadow: 0 15px 40px rgba(100, 120, 250, 0.15);
  display: flex;
}

.first-step__content {
  width: 100%; 
  position: relative;
  z-index: 2;
}

.first-step__title-img {
  width: 100%;
  max-width: 1200px; 
  height: auto;
  display: block;
  margin-bottom: 30px;
}

.first-step__desc {
  font-size: clamp(13px, 1.3vw, 15px);
  color: #fff;
  font-weight: 700;
  line-height: 2;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.first-step__buttons {
  display: flex;
  gap: 20px;
  max-width: 700px;
}

.btn-contact {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #111;
  font-weight: 900;
  font-size: clamp(13px, 1.3vw, 16px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.btn-contact__icon-wrapper {
  margin-right: 15px;
}

.btn-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
}

.btn-contact__icon--line {
  background-color: #06C755;
  border-radius: 50%;
  font-size: 10px;
  font-family: inherit;
}

.btn-contact__icon--form {
  background-color: #FF7B00;
  border-radius: 6px;
  font-size: 18px;
}

.btn-contact__text {
  flex: 1;
  margin-left: 15px;
}

.btn-contact__arrow {
  width: 8px;
  height: 8px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  margin-left: 10px;
}

.first-step__person {
  position: absolute;
  bottom: -2%; /* 少し上に浮くように微調整 */
  right: -2%;
  width: 45%;
  height: 125%; /* 高さを110%から増大し、上部に大きくはみ出させる */
  z-index: 3;
  pointer-events: none;
}

.first-step__person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

@media (max-width: 900px) {
  .first-step__box {
    flex-direction: column;
    padding: 40px 20px 300px; /* 人物のためのスペースを下に確保 */
  }
  .first-step__content {
    width: 100%;
  }
  .first-step__buttons {
    flex-direction: column;
  }
  .btn-contact {
    padding: 15px 20px;
  }
  .first-step__person {
    width: 80%;
    height: 350px; /* スマホ版の人物の高さ目安 */
    bottom: -10px;
    right: -20px;
  }
}


/* =========================================
   Footer Section
========================================= */
.footer {
  width: 100%;
  padding: 80px 20px 40px;
  background-color: #111625; /* Dark navy background matching design */
  color: #fff;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.footer__left {
  width: 40%;
}

.footer__logo {
  display: block;
  max-width: 320px;
  margin-bottom: 30px;
  transition: opacity 0.3s;
}

.footer__logo:hover {
  opacity: 0.8;
}

.footer__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer__sns {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__sns-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #fff;
  transition: transform 0.3s;
}

.footer__sns-item a:hover {
  transform: translateY(-3px);
}

.footer__sns-item img {
  width: 22px;
  height: auto;
  display: block;
}

.footer__right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  gap: 80px;
}

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav li {
  margin-bottom: 20px;
}

.footer__nav li:last-child {
  margin-bottom: 0;
}

.footer__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.footer__nav a:hover {
  color: #6ca5ff;
}

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  gap: 40px;
}

.footer__legal {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__legal a {
  color: #ccc;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: color 0.3s;
}

.footer__legal a:hover {
  color: #fff;
}

.footer__copy {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

@media (max-width: 900px) {
  .footer__inner {
    flex-direction: column;
    gap: 50px;
    margin-bottom: 50px;
  }
  .footer__left, .footer__right {
    width: 100%;
  }
  .footer__right {
    justify-content: flex-start;
    gap: 40px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer__legal {
    flex-wrap: wrap;
    gap: 15px;
  }
}


/* =========================================
   Floating CTA (SP Only)
========================================= */
.floating-cta {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: clamp(55px, 15vw, 75px);
  }
  .floating-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }
  .floating-cta__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(55px, 15vw, 75px);
    background: url('../img/floating-sp_bg.webp') center center / cover no-repeat;
    text-decoration: none;
    color: #fff;
    padding: 0 5%;
  }
  .floating-cta__icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    flex-shrink: 0;
  }
  .floating-cta__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .floating-cta__text {
    font-size: clamp(15px, 4.5vw, 18px);
    font-weight: 900;
    letter-spacing: 0.05em;
  }
  .floating-cta__arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 15px;
    flex-shrink: 0;
  }
}

/* =========================================
   Floating CTA (PC Only)
========================================= */
.floating-cta-pc {
  position: fixed;
  bottom: 50px;
  right: 50px;
  width: 160px;
  height: 160px;
  background: url('../img/floating_bg.webp') center center / contain no-repeat;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s, opacity 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 50%; /* Just in case */
}

.floating-cta-pc:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.floating-cta-pc__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  object-fit: contain;
}

.floating-cta-pc__text {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 8px;
}

.floating-cta-pc__arrow {
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .floating-cta-pc {
    display: none;
  }
}

/* =========================================
   Floating SNS (PC Only)
========================================= */
.floating-sns-pc {
  position: fixed;
  top: 100px;
  right: 0;
  width: 65px;
  background: #fff;
  border-radius: 20px 0 0 20px;
  box-shadow: -2px 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 0;
  gap: 30px;
  z-index: 100;
  list-style: none;
  margin: 0;
}

.floating-sns-pc li {
  width: 100%;
  display: flex;
  justify-content: center;
}

.floating-sns-pc a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}

.floating-sns-pc a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.floating-sns-pc img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .floating-sns-pc {
    display: none;
  }
}