@charset "UTF-8";

/* ================================
   CSS変数（ルート設定）
================================ */
:root {
  /* フォント */
  --font-sans: "Zen Kaku Gothic Antique", sans-serif;
  --font-serif: "Noto Serif JP", serif;

  /* カラー */
  --color-accent: #ff853c;

  /* フォントサイズ */
  --fs-text: 1.6rem;
  --fs-text-SP: 1.8rem;

  /* セクション間隔 */
  --margin-section: 400px;
  --margin-sp-section: 160px;

  /* フォントウェイト */
  --weight-demibold: 700;
}

/* ================================
   共通アニメーション
================================ */
@keyframes my-fade-in1 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes my-fade-in2 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  background-color: #f7f7f7;
}
html {
  scroll-behavior: smooth;
}
section,
footer {
  scroll-margin-top: 140px;
}

@media (max-width: 768px) {
  section {
    scroll-margin-top: 80px; /* SP時のヘッダー高さ */
  }
}
/* ======================================
   固定ヘッダー対応
====================================== */
html {
  scroll-behavior: smooth;
}
/* ================================
   HEADER
================================ */
/* ================================
   全体の横はみ出し防止
================================ */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  background-color: #fff0e6;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  box-sizing: border-box;
  width: 92%;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.header__logo img {
  width: 128px;
}

/* PC用ナビゲーション */
.header__pc {
  display: flex;
  align-items: center;
}

.header__nav {
  display: flex;
}

.header__list {
  display: flex;
  gap: 40px;
  align-items: center;
}

.header__item {
  position: relative;
  padding-bottom: 8px;
}

.header__item a {
  font-size: var(--fs-text);
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  font-weight: var(--weight-demibold);
  font-family: var(--font-sans);
  text-align: center;
  line-height: 1;
  transition: 0.3s ease;
  gap: 4px;
  white-space: nowrap;
  text-decoration: none;
}

.header__item a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* CONTACTボタンのスタイル */
.header__item:nth-child(5) a {
  flex-direction: row;
  align-items: center;
  gap: 4px;
  background-color: var(--color-accent);
  color: #fff;
  padding: 16px 33px;
  border-radius: 36px;
  font-weight: var(--weight-demibold);
  transition: 0.3s ease;
}

.header__item:nth-child(5) .header__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: center;
  gap: 4px;
  font-size: var(--fs-text);
}

.header__item:nth-child(5) .header__text span {
  font-size: var(--fs-text);
  font-weight: var(--weight-demibold);
}

.header__icon {
  display: flex;
  width: 16px;
  max-width: 33px;
  background: #fff;
  border-radius: 50%;
  padding: 10px 8px;
}

/* ドロップダウン */
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  border-radius: 6px;
  padding: 10px 16px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.header__item:hover .header__dropdown {
  opacity: 1;
  pointer-events: auto;
}

.header__dropdown a {
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
}

.header__item:nth-child(even):hover .header__dropdown {
  opacity: 1;
  pointer-events: auto;
}

/* スマホ用ナビゲーション */
.header__sp {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: hsla(22, 100%, 62%, 0.497);
  z-index: 999;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    visibility 0.5s;
}

.header__sp.open {
  display: flex;
}

.header__sp-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__sp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.header__sp-list .header__item a {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
}

.header__sp-list .header__item:nth-child(5) a {
  background-color: #fff;
  color: var(--color-accent);
}

.header__dropdown__link {
  background: #ff853c;
  color: #fff;
}

/* ハンバーガーメニューボタン */
.sp_btn {
  display: none;
  height: 60px;
  cursor: pointer;
  width: 60px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  z-index: 1000;
  position: relative;
  flex-shrink: 0;
}

.sp_btn p {
  color: var(--color-accent);
  position: absolute;
  top: 30px;
  left: 9px;
  font-size: 15px;
  margin: 0;
  font-family: var(--font-sans);
}

.sp_btn span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
  position: relative;
  top: 23px;
  left: 14px;
  transition: 0.3s;
}

.sp_btn span::before,
.sp_btn span::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
  position: absolute;
  transition: 0.8s;
}

.sp_btn span::before {
  bottom: 8px;
}

.sp_btn span::after {
  top: 8px;
}

.sp_btn.open {
  border: 2px solid #fff;
}

.sp_btn.open p {
  display: none;
}

.sp_btn.open span {
  background-color: transparent;
  top: 23px;
  left: 12px;
}

.sp_btn.open span::before {
  background-color: #fff;
  bottom: 0;
  left: 0;
  transform: rotate(45deg);
}

.sp_btn.open span::after {
  background-color: #fff;
  top: 0;
  right: 0;
  transform: rotate(-45deg);
}

/* ================================
   PAGE TOP BUTTON
================================ */
#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 14px;
  line-height: 1;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

#page-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#page-top a {
  background: var(--color-accent);
  text-decoration: none;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-family: var(--font-sans);
}
@media screen and (max-width: 1100px) {
  .header__logo img {
    width: 100px;
  }

  /* PC用ナビゲーションを非表示 */
  .header__pc {
    display: none;
  }

  /* ハンバーガーメニューボタンを表示 */
  .sp_btn {
    display: block;
  }

  .header__dropdown {
    padding: 10px;
  }

  .footer__inner {
    padding: 60px 4% 80px;
  }
  .footer__list {
    gap: 40px;
  }
}

/* 768px以下 */
@media screen and (max-width: 768px) {
  .header__logo img {
    width: 80px;
  }
  .sp_btn {
    height: 50px;
    width: 50px;
  }
  .sp_btn p {
    font-size: 12px;
    top: 26px;
    left: 8px;
  }
  .sp_btn span {
    width: 25px;
    top: 19px;
    left: 12px;
  }
  .sp_btn span::before,
  .sp_btn span::after {
    width: 25px;
  }
  .sp_btn span::before {
    bottom: 6px;
  }
  .sp_btn span::after {
    top: 6px;
  }

  .header__sp-list {
    gap: 50px;
  }

  .header__sp-list .header__item a {
    font-size: 1.8rem;
  }
}

/* ================================
   FOOTER
================================ */
.footer {
  background: linear-gradient(to right, #e9bfb6, #8a9cb6);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  box-sizing: border-box;
  width: 92%;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.footer__logo img {
  width: 128px;
}

.footer__list {
  display: flex;
  gap: 40px;
  align-items: center;
}

.footer__item a {
  font-size: var(--fs-text);
  color: #fff;
  display: flex;
  flex-direction: column;
  font-weight: var(--weight-demibold);
  font-family: var(--font-sans);
  text-align: center;
  line-height: 1;
  transition: 0.3s ease;
  gap: 4px;
  text-decoration: none;
}

.footer__item:nth-child(5) a {
  flex-direction: row;
  align-items: center;
  gap: 4px;
  background-color: #fff;
  color: var(--color-accent);
  padding: 16px 33px;
  border-radius: 36px;
  font-weight: var(--weight-demibold);
  transition: 0.3s ease;
}

.footer__item a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.footer__item:nth-child(5) .footer__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: center;
  gap: 4px;
  font-size: var(--fs-text);
}

.footer__icon {
  display: flex;
  width: 16px;
  max-width: 33px;
  background: var(--color-accent);
  border-radius: 50%;
  padding: 10px 8px;
}

.copyright {
  text-align: center;
  margin: 0;
  padding-bottom: 16px;
  color: #fff;
  font-size: var(--fs-text);
  font-family: var(--font-sans);
}
@media screen and (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .footer__list {
    flex-direction: column;
    gap: 30px;
  }
  .footer__logo img {
    width: 100px;
  }
}

.wrapper {
  position: relative;
  max-width: 1000px;
  width: 92%;
  margin: 0 auto;
}

.number {
  font-size: 2.6rem;
  color: var(--color-accent);
}
.title {
  font-size: 4rem;
  color: var(--color-accent);
  margin: 0 0 0 0;
}
@media screen and (max-width: 768px) {
  .number {
    font-size: 20px;
  }
  .title {
    font-size: 28px;
  }
}
/* 背景の円 */
.circle__blue {
  background: radial-gradient(circle, #82e0ff, #82e0ff60);
  filter: blur(40px);
  position: absolute;
  top: 10%;
  left: 11%;
  width: 133px;
  height: 133px;
  border-radius: 50%;
  animation-name: my-fade-in1;
  animation-duration: 3s;
  z-index: -100;
}
.circle__orange {
  background: radial-gradient(circle, #ff853c, #ff853c60);
  filter: blur(40px);
  position: absolute;
  top: 40%;
  left: 30%;
  width: 133px;
  height: 133px;
  border-radius: 50%;
  animation-name: my-fade-in2;
  animation-duration: 1s;
  z-index: -100;
}

/* ボタン共通 */
/* ボタン共通の枠 */
.btn {
  /* display: flex; は削除か、aタグ側に移動させます */
  background-color: var(--color-accent);
  border-radius: 35px;
  margin: 0 auto;
  transition: 0.3s ease;
  width: 180px;
  height: 70px;
  cursor: pointer;
  padding: 0; /* aタグを広げるためパディングは0に */
  overflow: hidden; /* aタグがはみ出さないように */
}

/* ★ここが重要：aタグをボタンのサイズいっぱいに広げる */
.btn a {
  display: flex; /* 中身（文字と矢印）を並べる */
  align-items: center; /* 垂直中央 */
  justify-content: center; /* 水平中央 */
  gap: 8px; /* 文字と矢印の間隔 */
  width: 100%; /* ボタンの横幅いっぱいに広げる */
  height: 100%; /* ボタンの高さいっぱいに広げる */

  font-size: var(--fs-text);
  color: #fff;
  font-weight: var(--weight-demibold);
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* 矢印の調整（margin-rightなどは微調整してください） */
.btn__circle {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* 矢印が潰れないように固定 */
}
.btn__arrow {
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-right: 4px;
}
@media screen and (max-width: 768px) {
  .btn {
    width: 200px;
    height: 74px;
    margin: 0 auto;
  }
  .btn a {
    font-size: 2rem;
  }
}
