/* =========================================================
   Base
========================================================= */

:root{
  --bg: #fafafa;
  --bg-sub: #f1f4f7;
  --card: #ffffff;
  --text: #333333;
  --muted: #666666;
  --border: #dfe5ec;

  --primary: #1f3b4d;
  --accent: #ff9933;

  --radius: 10px;
  --radius-pill: 999px;

  --shadow: 0 10px 24px rgba(0,0,0,.06);

  --container: 1080px;
  --gutter: 16px;

  --header-h: 84px;
}

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

html{
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body{
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

a{
  color: inherit;
  text-decoration: none;
}

:focus-visible{
  outline: 3px solid rgba(255,153,51,.55);
  outline-offset: 3px;
}

.container{
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  z-index: 9999;
}
.skip-link:focus{
  left: 12px;
  top: 12px;
}

/* =========================================================
   Header / Nav
========================================================= */

.site-header{
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 0;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo{
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.logo img{
    margin-left: -10px;
    margin-top: 8px;
    width: 220px;
    height: auto;
}

.global-nav ul{
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .95rem;
}

.global-nav a{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
}
.global-nav a:hover,
.global-nav a:focus-visible{
  background: rgba(255,255,255,.18);
}

/* ハンバーガーボタン */
.hamburger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span{
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.hamburger.open span:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2){
  opacity: 0;
}
.hamburger.open span:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   Hero
========================================================= */

.hero{
  background: linear-gradient(135deg, #edf4f9, #f7fbff);
  padding: 44px 0 54px;
}

.hero-inner{
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: center;
}

.hero-text h2{
  font-size: 2rem;
  margin: 10px 0 12px;
  line-height: 1.25;
}

.hero-label{
  display: inline-block;
  font-size: .85rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
}

.hero-lead{
  margin: 0 0 12px;
}

.notice-inline{
  margin: 0 0 18px;
  font-size: .9rem;
  color: var(--muted);
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(31,59,77,.15);
  padding: 10px 12px;
  border-radius: 10px;
}

.hero-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.btn{
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  text-align: center;
}

.primary-btn{
  background: var(--accent);
  color: #fff;
}
.primary-btn:hover,
.primary-btn:focus-visible{
  filter: brightness(.95);
}

.secondary-btn{
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(31,59,77,.25);
}
.secondary-btn:hover,
.secondary-btn:focus-visible{
  background: #e0ecf3;
}

.hero-note{
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

.hero-image{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.service-image{
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero-image .service-image{
  height: 300px;
}

/* =========================================================
   Sections (common)
========================================================= */

.section{
  padding: 44px 0;
  background: var(--bg);
}

.section-gray{
  background: var(--bg-sub);
}

.section-title{
  font-size: 1.55rem;
  text-align: center;
  margin: 0 0 18px;
}

.section-lead{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

/* =========================================================
   About
========================================================= */

.about-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.about-item{
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 6px 14px rgba(0,0,0,.04);
  font-size: .95rem;
}

.about-item h3{
  font-size: 1.05rem;
  margin: 0 0 8px;
}

/* =========================================================
   Service / Staff (cards)
========================================================= */

.service-grid,
.staff-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.service-card,
.staff-card{
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 6px 14px rgba(0,0,0,.04);
  font-size: .95rem;
}

.service-card h3,
.staff-card h3{
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.service-list{
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: .9rem;
}

.staff-role{
  margin: 0 0 8px;
  font-size: .9rem;
  color: var(--muted);
}

.staff-comment{
  margin: 0;
  font-size: .9rem;
}

/* =========================================================
   Price table
========================================================= */

.price-table-wrapper{
  overflow-x: auto;
}

.price-table{
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}

.price-table th,
.price-table td{
  padding: 12px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.price-table thead th{
  background: #e4ecf3;
  text-align: left;
  border-top: none;
}

.price-table small{
  color: var(--muted);
}

/* =========================================================
   Access
========================================================= */

.access-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  align-items: start;
}

.access-info{
  text-align: center;
}

.access-info h3{
  margin: 0 0 8px;
}

.access-map{
  display: flex;
  justify-content: center;
}

.map-placeholder{
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
  border: 1px dashed rgba(0,0,0,.25);
  padding: 44px 18px;
  background: var(--card);
  text-align: center;
  font-size: .92rem;
  color: #777;
}

/* =========================================================
   Contact
========================================================= */

.contact-box{
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  padding: 22px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

.contact-tel-label{
  font-weight: 700;
  margin: 0;
}

.contact-tel{
  font-size: 1.4rem;
  margin: 8px 0;
}

.contact-time,
.contact-note{
  font-size: .9rem;
  color: var(--muted);
  margin: 6px 0 0;
}

/* =========================================================
   Estimate form
========================================================= */

.estimate-form{
  max-width: 980px;
  margin: 0 auto;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
}

.form-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

.form-card-title{
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.field{
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.field:first-of-type{
  margin-top: 0;
}

.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.label-like{
  font-weight: 700;
  font-size: .95rem;
}

.req{
  display: inline-block;
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,153,51,.15);
  color: #9a4b00;
  margin-left: 6px;
  vertical-align: middle;
}

.help{
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.help.small{
  font-size: .8rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="file"],
select,
textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  font-size: 1rem;
}

textarea{
  min-height: 140px;
  resize: vertical;
}

input::file-selector-button{
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.radio-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.radio{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  cursor: pointer;
  user-select: none;
}

.radio input{
  margin: 0;
}

.form-footer{
  margin-top: 16px;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
}

.btn-submit{
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.btn-submit:hover,
.btn-submit:focus-visible{
  filter: brightness(.95);
}

/* =========================================================
   Footer
========================================================= */

.site-footer{
  background: var(--primary);
  color: #fff;
  padding: 18px 0 26px;
  font-size: .9rem;
}

.footer-inner{
  text-align: center;
}

.footer-copy{
  margin: 0;
  opacity: .95;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 900px){
  :root{ --header-h: 76px; }

  .hamburger{ display: flex; }

  .global-nav{
    position: fixed;
    top: 0;
    right: -100%;
    width: 72%;
    max-width: 320px;
    height: 100vh;
    background: var(--primary);
    padding: 76px 18px 22px;
    transition: right .25s ease;
    z-index: 1000;
  }

  .global-nav ul{
    flex-direction: column;
    gap: 16px;
    font-size: 1rem;
  }

  .global-nav.open{ right: 0; }

  .hero-inner,
  .about-grid,
  .service-grid,
  .staff-grid,
  .access-grid,
  .form-grid{
    grid-template-columns: 1fr;
  }

  .hero{ padding-top: 30px; }
  .hero-text h2{ font-size: 1.65rem; }
  .hero-image .service-image{ height: 260px; }
}

@media (max-width: 600px){
  body{ font-size: 15px; }
  .section{ padding: 34px 0; }
  .contact-box{ padding: 18px 12px; }
  .field-row{ grid-template-columns: 1fr; }
}
