@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  width: 100%;
  margin: 0;
  padding: 0 0 76px;
  overflow-x: hidden;
  background: #ffffff;
  color: #224761;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

a {
  color: inherit;
}

.page {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  background: #ffffff;
}

/* ヘッダー */
.area-header h1 {
  margin: 0;
  padding: 7px 5px;
  background: #a4d6ff;
  color: #ffffff;
  font-size: clamp(12px, 3.5vw, 15px);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  letter-spacing: -0.04em;
}


.logo-image {
  margin: 0;
  margin-top: 20px;
  margin-bottom: 5px;
}

.hero {
  margin: 0 0 18px;
}

.lead-box {
  margin: 0 12px 28px;
  padding: 18px 14px;
  background: #f7fbff;
  border: 1px solid #d7e9f7;
  border-radius: 12px;
}

.area-label {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 12px;
  background: #f08b1d;
  color: #ffffff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.lead-box h2 {
  margin: 0 0 12px;
  color: #15519b;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
}

.lead-box p {
  margin: 0;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
}

/* 共通セクション */
.section,
.case-section,
.contact-section {
  padding: 28px 14px;
}

.section h2,
.case-section h2,
.contact-section h2 {
  margin: 0 0 18px;
  padding: 13px 10px;
  border-top: 2px solid #519dd2;
  border-bottom: 2px solid #519dd2;
  color: #519dd2;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.section p,
.contact-section p {
  margin: 0;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin: 0 0 10px;
  padding: 12px 12px;
  background: #ffffff;
  border: 1px solid #d7e9f7;
  border-radius: 9px;
  color: #224761;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.check-list li::before {
  content: "✅ ";
}

.point-section {
  background: #fffaf2;
}

.point-section h2 {
  color: #e66a00;
  border-top-color: #f08b1d;
  border-bottom-color: #f08b1d;
}

/* プランカード */
.case-card {
  margin: 0 0 14px;
  padding: 16px 14px;
  background: #f7fbff;
  border: 1px solid #d7e9f7;
  border-radius: 10px;
}

.case-card h3 {
  margin: 0 0 8px;
  color: #15519b;
  font-size: 16px;
  font-weight: 900;
}

.case-card p {
  margin: 0;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

/* 問い合わせ */
.contact-section {
  padding-bottom: 44px;
}

.contact-section p {
  margin-bottom: 18px;
  text-align: center;
}

.contact-button {
  display: block;
  width: 100%;
  margin: 12px 0;
  padding: 15px 12px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.tel-button {
  background: #f08b1d;
}

.line-button {
  background: #06c755;
}

.form-button {
  background: #1a73e8;
}

/* 下部固定CTA */
.fixed-contact-menu {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 450px;
  transform: translateX(-50%);
  background: #ffffff;
  border-top: 1px solid #d6d6d6;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.16);
}

.fixed-contact-menu a {
  display: block;
  padding: 9px 4px 7px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.fixed-contact-menu span {
  font-size: 0.68rem;
  font-weight: 700;
}

.fixed-tel {
  background: #f08b1d;
}

.fixed-line {
  background: #06c755;
}

.fixed-form {
  background: #1a73e8;
}

@media screen and (max-width: 360px) {
  .area-header h1 {
    font-size: 12px;
  }

  .fixed-contact-menu a {
    font-size: 0.82rem;
  }

  .fixed-contact-menu span {
    font-size: 0.62rem;
  }
}



/* =========================
   ハンバーガーメニュー
========================= */

.menu-btn {
  position: fixed;
  top: 55px;
  right: calc(50% - 213px);
  z-index: 10001;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #ffffff;
  border: 2px solid #519dd2;
  border-radius: 50%;
  
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: #15519b;
  border-radius: 999px;
  transition: 0.25s ease;
}

.menu-btn span:nth-child(1) {
  top: 14px;
}

.menu-btn span:nth-child(2) {
  top: 21px;
}

.menu-btn span:nth-child(3) {
  top: 28px;
}

.menu-btn.active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.global-nav {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 10000;
  width: 100%;
  max-width: 450px;
  height: 100vh;
  transform: translateX(-50%) translateY(-100%);
  background: rgba(255, 255, 255, 0.98);
  transition: 0.3s ease;
  overflow-y: auto;
}

.global-nav.active {
  transform: translateX(-50%) translateY(0);
}

.global-nav-inner {
  padding: 70px 18px 90px;
}

.menu-title {
  margin: 0 0 18px;
  padding: 12px 10px;
  background: #eaf5ff;
  color: #15519b;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  border-radius: 10px;
}

.global-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav li {
  margin: 0 0 10px;
}

.global-nav a {
  display: block;
  padding: 14px 12px;
  background: #f7fbff;
  border: 1px solid #d7e9f7;
  border-radius: 10px;
  color: #224761;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.global-nav a:hover {
  background: #eaf5ff;
}

/* 450pxより狭いスマホ用 */
@media screen and (max-width: 450px) {
  .menu-btn {
    right: 12px;
  }
}



/* =========================
   フッター（完全再現＋レスポンシブ）
========================= */

#footertop {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding: 25px 30px 20px;
  background: #f5f7fa;
  color: #333;
  box-sizing: border-box;
}

.footer-inner {
  font-size: 14px;
  line-height: 1.6;
}

.footer-inner p {
  margin: 0 0 14px;
}

.footer-company {
  font-size: 17px;
  font-weight: 900;
}

.footer-company-1 {
  font-size: 14px;
  font-weight: 700;

}

.footer-company-2 {
  font-size: 14px;
  font-weight: 700;
}


.footer-address {
  font-size: 14px;
}

.footer-shop {
  font-size: 14px;
}

.footer-copy {
  margin-top: 18px;
  font-size: 14px;
  color: #666;
}


/* =========================
   ページトップボタン（旧デザイン寄せ）
========================= */

.return-btn {
  width: 100%;
  max-width: 450px;
  margin: 40px auto 20px;
  text-align: center;
}

.btn-top {
  display: inline-block;
  padding: 12px 20px;
  background: #f08b1d;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 6px;
  text-decoration: none;
}


.area-navigation{
  margin: 50px auto 30px;
  padding: 25px 15px;
  background: #f7fbff;
  border-top: 3px solid #0055aa;
  text-align: center;
}

.area-navigation h2{
  margin: 0 0 20px;
  font-size: 22px;
  color: #0055aa;
  font-weight: 700;
  line-height: 1.5;
}

.area-nav-grid{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.area-nav-grid a{
  display: block;
  padding: 12px 8px;
  background: #ffffff;
  border: 1px solid #cfe3f7;
  border-radius: 10px;
  text-decoration: none;
  color: #0055aa;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s;
  line-height: 1.5;
}

.area-nav-grid a:hover{
  background: #0055aa;
  color: #ffffff;
}

@media screen and (min-width:768px){

  .area-nav-grid{
    grid-template-columns: repeat(3,1fr);
  }

}