﻿/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }

:root {
  --cream:    #f7f7f8;
  --cream2:   #f1f2f4;
  --beige:    #e3e6ea;
  --beige2:   #cfd5dc;
  --taupe:    #8e9098;

  --navy:     #243447;
  --navy2:    #31465e;
  --navy-lt:  #49617c;

  --ink:      #2b3138;
  --muted:    #66707c;
  --white:    #ffffff;

  --rose:     #b96a5d;
  --rose-lt:  #d4a29a;
  --rose-bg:  #f6efee;

  --footer-bg:   #343e4b;
  --footer-link: rgba(255,255,255,0.60);
  --footer-copy: rgba(255,255,255,0.34);

  --shadow:   0 2px 24px rgba(36,52,71,0.08);
  --shadow2:  0 4px 40px rgba(36,52,71,0.12);
  --radius:   2px;
  --serif:    'Georgia', 'Noto Serif JP', serif;
  --sans:     'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  --tr:       0.35s cubic-bezier(0.4,0,0.2,1);
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: normal;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  line-height: 1.65;
  color: var(--navy);
}

h3 {
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.75;
  color: var(--navy);
}

p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  font-family: Georgia, serif;
}

/* ── Layout ── */
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 760px; }

section { padding: 80px 0; }
@media (max-width: 600px) {
  section { padding: 60px 0; }
}

.section-head { margin-bottom: 48px; }
.section-head .label { display: block; margin-bottom: 14px; }

.rule {
  width: 32px;
  height: 1px;
  background: #c9b2ac;
  margin: 20px 0 0;
}

/* ── Header / Nav ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,247,248,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1100px;
  margin: 0 auto;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
  flex-shrink: 0;
  z-index: 110;
  line-height: 1;
}

.nav__logo-text {
  display: inline-block;
  transform: translateY(1px);
}

.nav__logo-text span {
  color: #9aa3ad;
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav__mark svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.nav__mark rect:first-of-type {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.65;
}

.nav__mark rect:last-of-type {
  fill: var(--rose-bg);
  stroke: var(--navy);
  stroke-width: 1.65;
}

.nav__mark circle {
  fill: var(--rose);
}

@media (max-width: 599px) {
  .nav__logo {
    gap: 8px;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
	padding: 0.5em;
  }

  .nav__mark {
    width: 24px;
    height: 24px;
  }
}

/* Desktop menu */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav__links a {
  font-size: clamp(0.76rem, 1vw, 0.82rem);
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 9px;
  transition: color var(--tr), background var(--tr), border-color var(--tr);
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--navy);
}

.nav__links .nav__cta-link a {
  color: var(--navy);
  border: 1px solid var(--beige2);
  background: rgba(255,255,255,0.7);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-left: 6px;
  transition: background var(--tr), color var(--tr), border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}

.nav__links .nav__cta-link a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* ── Hamburger button ── */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(247,247,248,0.96);
  border: 1px solid rgba(207,213,220,0.7);
  border-radius: 50%;
  cursor: pointer;
  gap: 5px;
  position: fixed;
  top: 8px;
  right: 14px;
  z-index: 9999;
  padding: 0;
  box-shadow: 0 2px 10px rgba(36,52,71,0.10);
}

.nav__burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile drawer ── */
.nav__drawer {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(247,247,248,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.nav__drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}

.nav__drawer ul {
  list-style: none;
  text-align: center;
  width: 100%;
  max-width: 320px;
}

.nav__drawer ul li {
  border-bottom: 1px solid var(--beige);
}

.nav__drawer ul li:first-child {
  border-top: 1px solid var(--beige);
}

.nav__drawer ul li a {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--navy);
  text-decoration: none;
  padding: 18px 24px;
  font-family: var(--serif);
  transition: background var(--tr), color var(--tr);
}

.nav__drawer ul li a:hover {
  background: var(--cream2);
  color: var(--navy2);
}

.nav__drawer ul li.drawer__cta {
  border-bottom: none;
  margin-top: 24px;
  padding: 0 24px;
}

.nav__drawer ul li.drawer__cta a {
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 14px 24px;
  border: 1px solid var(--navy);
  box-shadow: var(--shadow);
}

.nav__drawer ul li.drawer__cta a:hover {
  background: var(--navy2);
  border-color: var(--navy2);
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all var(--tr);
  cursor: pointer;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
}

.btn--primary:hover {
  background: var(--navy2);
  border-color: var(--navy2);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: rgba(255,255,255,0.55);
  color: var(--navy);
  border: 1.5px solid var(--beige2);
}

.btn--outline:hover {
  background: var(--white);
  border-color: var(--navy-lt);
  color: var(--navy2);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--line {
  background: #06C755;
  color: var(--white);
  border: 1.5px solid #06C755;
  font-weight: 600;
}

.btn--line:hover {
  background: #05b34c;
  border-color: #05b34c;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6,199,85,0.35);
}

.btn--mail {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn--mail:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.72);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ── 共通ボタン拡張 ── */
.btn--secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--beige2);
  position: relative;
  padding-right: 42px;
}

/* 矢印 */
.btn--secondary::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: transform var(--tr);
}

/* hover */
.btn--secondary:hover {
  background: var(--white);
  border-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}



/* 矢印アニメ */
.btn--secondary:hover::after {
  transform: translate(3px, -50%) rotate(45deg);
}
/* ── Footer ── */
footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 24px 28px;
  text-align: center;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1;
}

.footer__logo-text {
  display: inline-block;
  transform: translateY(1px);
}

.footer__logo-text span {
  color: #9aa3ad;
}

.footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer__mark svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.footer__mark rect:first-of-type {
  fill: none;
  stroke: rgba(255,255,255,0.82);
  stroke-width: 1.55;
}

.footer__mark rect:last-of-type {
  fill: rgba(255,255,255,0.08);
  stroke: rgba(255,255,255,0.82);
  stroke-width: 1.55;
}

.footer__mark circle {
  fill: var(--rose-lt);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer__links a {
  font-size: 0.75rem;
  color: var(--footer-link);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color var(--tr);
}

.footer__links a:hover {
  color: rgba(255,255,255,0.82);
}

.footer__copy {
  font-size: 0.68rem;
  color: var(--footer-copy);
  letter-spacing: 0.06em;
}

/* ── To Top ── */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,52,71,0.92);
  color: var(--white);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 24px rgba(36,52,71,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr), background var(--tr);
  z-index: 300;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--navy2);
}

@media (max-width: 599px) {
  .to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    font-size: 0.62rem;
  }
}

/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Utility ── */
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }

/* ── LINE icon ── */
.icon-line {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 5.87 2 10.62c0 2.73 1.51 5.17 3.87 6.77L5.25 20l3.28-1.44C9.42 18.85 10.69 19 12 19c5.52 0 10-3.87 10-8.38S17.52 2 12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── Mail icon ── */
.icon-mail {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.works-more {
  text-align: center;
  margin-top: 40px;
}