/* 株式会社mahoro コーポレートサイト（旧STUDIOサイト再現版） */
:root {
  --ink: #1a1a1a;
  --sub: #595959;
  --line: #e5e5e5;
  --navy: #1b2a6b;
  --blue: #1d6ae5;
  --gray-blob: #9e9e9e;
  --bg-soft: #f2f2f2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: var(--ink);
  line-height: 2;
  letter-spacing: .05em;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ===== header ===== */
.site-header { position: sticky; top: 12px; z-index: 50; padding: 0 16px; }
.site-header .bar {
  max-width: 1160px; margin: 0 auto; height: 72px;
  background: #fff; border-radius: 999px;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
}
.site-header .logo img { height: 40px; width: auto; }
.site-header nav { display: flex; gap: 36px; }
.site-header nav a { font-size: 13px; font-weight: 500; color: var(--ink); }
.site-header nav a:hover { opacity: .6; }

/* ===== splatter decorations ===== */
.splat { position: absolute; pointer-events: none; z-index: 0; }

/* ===== top hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 140px 0 160px; text-align: center;
}
.hero h1 {
  position: relative; z-index: 1;
  font-size: clamp(26px, 4.6vw, 44px); font-weight: 800; letter-spacing: .12em;
}
.lead { padding: 56px 0 24px; text-align: center; }
.lead p { font-size: clamp(15px, 2vw, 18px); font-weight: 600; line-height: 2.4; }

/* ===== works strip ===== */
.works { padding: 72px 0 88px; }
.works-inner { display: flex; align-items: stretch; gap: 32px; }
.v-label {
  writing-mode: vertical-rl; background: var(--ink); color: #fff;
  font-size: 13px; letter-spacing: .4em; padding: 20px 10px; align-self: flex-start;
}
.works-list { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.work-card {
  border: 1px solid var(--ink); border-radius: 6px;
  padding: 26px 14px; min-width: 112px; min-height: 150px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; text-align: center;
  background: #fff; box-shadow: 3px 3px 0 rgba(0,0,0,.12);
}

/* ===== top sections ===== */
.tsec { padding: 84px 0; position: relative; overflow: hidden; }
.tsec + .tsec { border-top: 1px solid var(--line); }
.tsec h2 { font-size: 26px; font-weight: 800; letter-spacing: .14em; margin-bottom: 20px; }
.tsec p { color: var(--ink); font-size: 15px; }
.tsec .sub { color: var(--sub); }
.tsec.right { text-align: right; }
.tsec.right .btn { margin-left: auto; }
.btn {
  display: inline-block; margin-top: 28px;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em;
  padding: 12px 38px; transition: opacity .2s;
}
.btn:hover { opacity: .75; }

/* ===== subpage hero ===== */
.page-hero { position: relative; text-align: center; padding: 96px 0 48px; overflow: visible; }
.page-hero h1 {
  position: relative; z-index: 1; display: inline-block;
  font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: .18em;
}
.page-hero .ph-sub { margin-top: 20px; font-size: 14px; color: var(--ink); position: relative; z-index: 1; }
.scroll-pill {
  width: 30px; height: 56px; border-radius: 999px; background: #d9d9d9;
  margin: 48px auto 0; position: relative;
}
.scroll-pill::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent-page, var(--ink));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
  animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,4px); } }

/* ===== company ===== */
.philosophy { padding: 88px 0; }
.philosophy h3, .info h3 {
  font-size: 22px; font-weight: 800; letter-spacing: .14em; margin-bottom: 36px;
}
.philosophy p { max-width: 720px; font-size: 15px; margin-bottom: 28px; }
.info { padding: 56px 0 120px; }
.info-table { max-width: 560px; margin-left: auto; width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  text-align: left; padding: 22px 8px; border-bottom: 1px solid var(--ink);
  font-size: 15px; vertical-align: top; font-weight: 500;
}
.info-table th { width: 7.5em; font-weight: 600; white-space: nowrap; }

/* ===== business ===== */
.biz-sec { padding: 72px 0; }
.biz-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 24px; }
.biz-head .num { font-size: 34px; font-weight: 800; font-family: "Poppins", "Noto Sans JP", sans-serif; }
.biz-head h3 { font-size: 22px; font-weight: 800; letter-spacing: .12em; }
.biz-sec > .wrap > p { max-width: 720px; font-size: 15px; }
.chip {
  display: inline-block; background: var(--ink); color: #fff;
  font-size: 12px; letter-spacing: .18em; padding: 6px 18px; border-radius: 999px;
  margin: 40px 0 22px;
}
.store-band { background: var(--bg-soft); padding: 8px 0 40px; margin-top: 32px; }
.store-list { display: flex; flex-wrap: wrap; gap: 12px; }
.store-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 22px; font-size: 13px; font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* ===== news ===== */
.news-list { padding: 64px 0 120px; }
.news-item { display: flex; gap: 28px; padding: 22px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.news-item time { color: var(--sub); white-space: nowrap; }
.news-empty { color: var(--sub); font-size: 14px; padding: 48px 8px 120px; }

/* ===== contact ===== */
.contact-form { max-width: 640px; margin: 48px auto 120px; }
.field { margin-bottom: 28px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field label .req { color: #c0392b; margin-left: 4px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; border: 1px solid #ccc; border-radius: 8px;
  padding: 12px 14px; font-size: 15px; font-family: inherit; background: #fff;
}
.field textarea { min-height: 160px; resize: vertical; }
.radio-row { display: flex; gap: 24px; font-size: 14px; }
.radio-row label { font-weight: 400; display: flex; align-items: center; gap: 6px; }
.submit-btn {
  display: block; margin: 36px auto 0; background: var(--ink); color: #fff;
  border: none; border-radius: 999px; font-size: 14px; font-weight: 600;
  letter-spacing: .14em; padding: 14px 64px; cursor: pointer; font-family: inherit;
}
.submit-btn:hover { opacity: .75; }
.contact-note { text-align: center; font-size: 13px; color: var(--sub); margin-top: 16px; }

/* ===== footer ===== */
.site-footer { padding: 80px 0 32px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.site-footer .logo img { height: 44px; width: auto; }
.f-links { flex: 1 1 320px; max-width: 480px; }
.f-links a {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; padding: 14px 4px;
  border-bottom: 1px solid var(--ink);
}
.f-links a span.arrow { font-family: "Poppins", sans-serif; }
.copyright { margin-top: 64px; font-size: 12px; color: var(--sub); }

@media (max-width: 640px) {
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 11px; }
  .site-header .bar { padding: 0 20px; height: 60px; }
  .site-header .logo img { height: 30px; }
  .works-inner { flex-direction: column; }
  .v-label { writing-mode: horizontal-tb; letter-spacing: .3em; padding: 8px 18px; }
  .info-table { margin-left: 0; }
  .tsec.right { text-align: left; }
  .tsec.right .btn { margin-left: 0; }
}
