/* ══════════════════════════════════════
   いっぽ 共通スタイル
   温かみ・手作り感をテーマに
══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800&display=swap');

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

:root {
  --cream:       #faf8f2;
  --cream-dark:  #f2eed8;
  --green-deep:  #3b6e4f;
  --green:       #4f8e64;
  --green-mid:   #78b08a;
  --green-light: #acd4b8;
  --green-pale:  #e4f2e8;
  --amber:       #d98b3a;
  --amber-light: #f5d49a;
  --amber-pale:  #fef6e4;
  --brown:       #5c4a2a;
  --text:        #3a3228;
  --text-mid:    #6b5d4f;
  --text-light:  #9e8c78;
  --white:       #fff;
  --border:      #d8c9b0;
  --shadow:      rgba(60,45,20,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.85;
  font-size: 15px;
}

/* ───── HEADER ───── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
  border-bottom: 3px solid var(--green-light);
}

.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 50px;
  height: 50px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(79,142,100,.35);
  position: relative;
}

/* small leaf decoration */
.logo-mark::after {
  content: '🌿';
  position: absolute;
  right: -4px;
  top: -4px;
  font-size: 14px;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-text .name {
  font-size: 16px;
  font-weight: 800;
  color: var(--green-deep);
  letter-spacing: 0.04em;
}
.logo-text .sub {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.header-tel .tel-label {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  background: var(--green-pale);
  padding: 2px 10px;
  border-radius: 50px;
}
.header-tel a {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-deep);
  text-decoration: none;
}
.header-tel a::before { content: "☎ "; font-size: 16px; }

/* ───── NAV ───── */
#global-nav {
  background: var(--green);
}

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
}

.nav-inner a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  transition: background .2s;
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: relative;
}

.nav-inner a:hover,
.nav-inner a.active {
  background: var(--green-deep);
}

.nav-inner a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--amber-light);
  border-radius: 2px;
}

/* ───── PAGE HERO (sub pages) ───── */
.page-hero {
  background: var(--green-pale);
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f8e64' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--green-deep);
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}
.page-hero h1::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: var(--green-light);
  border-radius: 2px;
  margin-top: 6px;
}
.page-hero .en {
  display: block;
  font-size: 12px;
  color: var(--green-mid);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}

/* ───── WAVE DIVIDER ───── */
.wave-top {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}
.wave-bottom {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}

/* ───── SECTION BASE ───── */
.section { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-green { background: var(--green-pale); }
.section-amber { background: var(--amber-pale); }

.section-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 52px;
}
.section-title .en {
  display: block;
  font-size: 11px;
  color: var(--green-mid);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}
.section-title h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--green-deep);
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}
/* hand-drawn style underline using SVG */
.section-title h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='6'%3E%3Cpath d='M0 4 Q25 1 50 4 Q75 7 100 4 Q125 1 150 4 Q175 7 200 4' stroke='%23acd4b8' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* ───── BUTTONS ───── */
.btn-primary {
  background: var(--green);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(79,142,100,.3);
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79,142,100,.4);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 50px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
.btn-outline:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--amber);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(217,139,58,.3);
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
.btn-amber:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ───── CARD BASE ───── */
.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(60,45,20,.15);
}

/* ───── INFO TABLE ───── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.info-table th, .info-table td {
  padding: 14px 18px;
  border-bottom: 1px dashed var(--border);
  text-align: left;
  vertical-align: top;
}
.info-table th {
  background: var(--green-pale);
  color: var(--green-deep);
  font-weight: 800;
  white-space: nowrap;
  width: 130px;
  border-radius: 0;
}
.info-table td { color: var(--text-mid); }

/* ───── NOTICE BOX ───── */
.notice-box {
  background: var(--amber-pale);
  border: 2px dashed var(--amber-light);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--brown);
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice-box::before { content: "📝"; flex-shrink: 0; }

/* ───── FOOTER ───── */
footer {
  background: var(--green-deep);
  color: rgba(255,255,255,.85);
  padding: 56px 0 0;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo .name {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}
.footer-logo .corp {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.footer-logo .info {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 2.1;
}

.footer-nav h4 {
  font-size: 12px;
  font-weight: 800;
  color: var(--green-light);
  margin-bottom: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-nav ul { list-style: none; }
.footer-nav ul li a {
  color: rgba(255,255,255,.68);
  text-decoration: none;
  font-size: 13px;
  display: block;
  padding: 5px 0;
  transition: color .2s;
}
.footer-nav ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ───── BACK TO TOP ───── */
#back-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 46px;
  height: 46px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(79,142,100,.4);
  opacity: 0;
  transition: opacity .3s;
  z-index: 199;
}
#back-top.visible { opacity: 1; }
#back-top:hover { background: var(--green-deep); }

/* ───── SP TEL ───── */
.sp-tel-float {
  display: none;
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: var(--green);
  color: white;
  border-radius: 50px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(79,142,100,.45);
  z-index: 200;
  gap: 8px;
  align-items: center;
}

/* ───── RESPONSIVE ───── */
@media (max-width: 768px) {
  .header-tel { display: none; }
  .nav-inner { overflow-x: auto; }
  .nav-inner a { font-size: 12px; padding: 10px 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sp-tel-float { display: flex; }
}

/* ───── UTILS ───── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
