/*
Theme Name: UMEDA Corporate
Theme URI: https://umeda-co.jp/
Author: Kabushiki-gaisha UMEDA
Author URI: https://umeda-co.jp/
Description: 株式会社UMEDA公式コーポレートサイト用テーマ。解体工事業。岐阜・東京の二拠点対応、施工実績カスタム投稿タイプ、カスタマイザーによる連絡先管理を搭載。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: umeda
Tags: business, corporate, construction, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   株式会社UMEDA コーポレートサイト共通スタイル
   Colors: navy #0f2540 / terracotta #b4623c / bone #f7f4ef / ink #1a1a1a
   Typography: Noto Serif JP (heading) / Noto Sans JP (body)
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #1a1a1a;
  background: #f7f4ef;
  line-height: 1.8;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .3s ease, color .3s ease; }
a:hover { opacity: .7; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
.serif { font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; font-weight: 500; }
h1, h2, h3, h4, h5 {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: #0f2540;
}

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
section { padding: 120px 0; }
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .container, .container-narrow { padding: 0 20px; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 37, 64, 0.08);
  transition: background .3s ease;
}
.site-header .inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 22px;
  color: #0f2540;
  letter-spacing: 0.15em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.logo .en { font-size: 11px; letter-spacing: 0.3em; color: #b4623c; font-family: "Noto Sans JP", sans-serif; font-weight: 500; }
.nav-main { display: flex; align-items: center; gap: 36px; }
.nav-main a {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #0f2540;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-main a.active::after,
.nav-main a:hover::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: #b4623c;
}
.nav-cta {
  background: #0f2540;
  color: #f7f4ef !important;
  padding: 13px 22px;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: background .3s ease;
}
.nav-cta:hover { background: #b4623c; opacity: 1; }
.nav-cta.active::after { display: none; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: #0f2540;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-header .inner { height: 68px; padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-main {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #f7f4ef;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 20px 40px;
    border-bottom: 1px solid rgba(15,37,64,0.08);
    transform: translateY(-120%);
    transition: transform .35s ease;
  }
  .nav-main.open { transform: translateY(0); }
  .nav-main a { padding: 18px 0; border-bottom: 1px solid rgba(15,37,64,0.06); font-size: 15px; }
  .nav-cta { text-align: center; margin-top: 12px; padding: 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 34px;
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: all .3s ease;
  border: 1px solid transparent;
}
.btn-primary { background: #0f2540; color: #f7f4ef; }
.btn-primary:hover { background: #b4623c; opacity: 1; }
.btn-outline { background: transparent; color: #0f2540; border-color: #0f2540; }
.btn-outline:hover { background: #0f2540; color: #f7f4ef; opacity: 1; }
.btn-accent { background: #b4623c; color: #f7f4ef; }
.btn-accent:hover { background: #0f2540; opacity: 1; }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Section titles ---------- */
.section-label {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: #b4623c;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  padding-left: 40px;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 28px;
  height: 1px;
  background: #b4623c;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  color: #0f2540;
  margin-bottom: 24px;
  line-height: 1.35;
  letter-spacing: 0.04em;
}
.section-lead {
  font-size: 15px;
  line-height: 2;
  color: #3a4a5c;
  max-width: 640px;
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: 200px 0 100px;
  background: #0f2540;
  color: #f7f4ef;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(180, 98, 60, 0.25), transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .en-label {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: #b4623c;
  font-weight: 500;
  margin-bottom: 24px;
  display: inline-block;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: #f7f4ef;
  margin-bottom: 20px;
  line-height: 1.3;
}
.page-hero .subtitle {
  font-size: 15px;
  color: rgba(247, 244, 239, 0.75);
  max-width: 600px;
  line-height: 1.9;
}
.breadcrumb {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(247, 244, 239, 0.6);
}
.breadcrumb a:hover { color: #b4623c; opacity: 1; }
.breadcrumb .sep { margin: 0 12px; opacity: 0.5; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f2540;
  color: #f7f4ef;
  padding: 80px 0 40px;
}
.site-footer .container { max-width: 1240px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: #f7f4ef; margin-bottom: 20px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(247, 244, 239, 0.65);
}
.footer-col h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #b4623c;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(247, 244, 239, 0.75);
}
.footer-col a:hover { color: #b4623c; opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(247, 244, 239, 0.5);
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ---------- Utility ---------- */
.text-accent { color: #b4623c; }
.text-navy { color: #0f2540; }
.divider { width: 60px; height: 1px; background: #b4623c; margin: 24px 0; }
.divider-center { margin-left: auto; margin-right: auto; }

/* ---------- Animations (scroll reveal) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Fixed contact bar (mobile) ---------- */
.mobile-contact-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #0f2540;
  z-index: 90;
  border-top: 1px solid rgba(247,244,239,0.1);
}
.mobile-contact-bar a {
  flex: 1;
  padding: 16px 0;
  text-align: center;
  color: #f7f4ef;
  font-size: 12px;
  letter-spacing: 0.1em;
  border-right: 1px solid rgba(247,244,239,0.1);
}
.mobile-contact-bar a:last-child { border-right: none; }
.mobile-contact-bar a.accent { background: #b4623c; }
@media (max-width: 768px) {
  .mobile-contact-bar { display: flex; }
  body { padding-bottom: 56px; }
}


/* ==========================================================================
   Home page specific styles
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #f7f4ef;
  overflow: hidden;
}
.hero-image-stack { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
  transform: scale(1.05);
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(15,37,64,0.55) 0%, rgba(15,37,64,0.75) 100%),
    linear-gradient(90deg, rgba(15,37,64,0.6) 0%, rgba(15,37,64,0.2) 60%);
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 140px 0 100px;
}
.hero-en {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: #ffa377;
  font-weight: 500;
  margin-bottom: 32px;
  position: relative;
  padding-left: 44px;
}
.hero-en::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 32px;
  height: 1px;
  background: #ffa377;
}
.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 500;
  color: #f7f4ef;
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}
.hero-lead {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 2.1;
  color: rgba(247, 244, 239, 0.9);
  margin-bottom: 48px;
  max-width: 620px;
}
.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-outline-light {
  background: transparent;
  color: #f7f4ef !important;
  border: 1px solid rgba(247, 244, 239, 0.4);
  padding: 18px 34px;
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: all .3s ease;
}
.btn-outline-light:hover { background: #f7f4ef; color: #0f2540 !important; border-color: #f7f4ef; opacity: 1; }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, #f7f4ef);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-scroll .text {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #f7f4ef;
  writing-mode: vertical-lr;
}

/* ---------- Intro ---------- */
.intro {
  background: #f7f4ef;
  padding: 140px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.intro-title {
  font-size: clamp(28px, 4vw, 44px);
  color: #0f2540;
  margin-bottom: 32px;
  line-height: 1.5;
}
.intro-text {
  font-size: 15px;
  line-height: 2.1;
  color: #3a4a5c;
  margin-bottom: 24px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: #b4623c;
  margin-top: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid #b4623c;
}
.link-arrow:hover { opacity: 1; color: #0f2540; border-color: #0f2540; }
.link-arrow .arrow { transition: transform .3s ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }
@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro { padding: 72px 0; }
}

/* ---------- Strengths ---------- */
.strengths {
  background: #ffffff;
  padding: 140px 0;
}
.strengths-head { text-align: center; margin-bottom: 80px; }
.strengths-head .section-label { padding-left: 40px; padding-right: 40px; }
.strengths-head .section-label::before { left: 0; }
.strengths-head .section-label::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 28px;
  height: 1px;
  background: #b4623c;
}
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.strength-card {
  background: #f7f4ef;
  padding: 60px 40px;
  position: relative;
  border-top: 3px solid #b4623c;
}
.strength-num {
  font-size: 48px;
  color: #b4623c;
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 400;
}
.strength-title {
  font-size: 22px;
  color: #0f2540;
  margin-bottom: 24px;
  line-height: 1.5;
}
.strength-desc {
  font-size: 14px;
  line-height: 2;
  color: #3a4a5c;
}
@media (max-width: 900px) {
  .strengths-grid { grid-template-columns: 1fr; gap: 20px; }
  .strengths { padding: 72px 0; }
  .strength-card { padding: 40px 28px; }
}

/* ---------- Services preview ---------- */
.services-preview { background: #f7f4ef; padding: 140px 0; }
.services-head { text-align: center; margin-bottom: 60px; }
.services-head .section-label { padding-left: 40px; padding-right: 40px; }
.services-head .section-label::before { left: 0; }
.services-head .section-label::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 28px;
  height: 1px;
  background: #b4623c;
}
.services-list {
  border-top: 1px solid rgba(15, 37, 64, 0.12);
  max-width: 1080px;
  margin: 0 auto;
}
.service-row {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  align-items: center;
  gap: 32px;
  padding: 36px 20px;
  border-bottom: 1px solid rgba(15, 37, 64, 0.12);
  transition: background .3s ease, padding .3s ease;
}
.service-row:hover {
  background: #ffffff;
  padding-left: 32px;
  opacity: 1;
}
.service-num {
  font-size: 32px;
  color: #b4623c;
  font-weight: 400;
}
.service-body h3 {
  font-size: 22px;
  color: #0f2540;
  margin-bottom: 8px;
}
.service-body p {
  font-size: 14px;
  color: #3a4a5c;
  line-height: 1.8;
}
.service-arrow {
  font-size: 22px;
  color: #b4623c;
  text-align: right;
  transition: transform .3s ease;
}
.service-row:hover .service-arrow { transform: translateX(6px); }
@media (max-width: 768px) {
  .services-preview { padding: 72px 0; }
  .service-row { grid-template-columns: 60px 1fr 30px; gap: 16px; padding: 24px 16px; }
  .service-num { font-size: 22px; }
  .service-body h3 { font-size: 17px; }
  .service-body p { font-size: 13px; }
}

/* ---------- Works showcase ---------- */
.works-showcase {
  background: #0f2540;
  color: #f7f4ef;
  padding: 140px 0;
}
.works-showcase .section-label { color: #ffa377; }
.works-showcase .section-label::before { background: #ffa377; }
.works-showcase .section-title { color: #f7f4ef; }
.works-showcase .section-lead { color: rgba(247, 244, 239, 0.7); }
.works-head { margin-bottom: 60px; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.work-tile {
  display: block;
  color: #f7f4ef;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.work-tile.large {
  grid-column: span 2;
  grid-row: span 1;
  aspect-ratio: 16 / 10;
}
.work-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s ease;
}
.work-tile:hover .work-img { transform: scale(1.06); }
.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 37, 64, 0.9) 100%);
}
.work-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  z-index: 2;
}
.work-category {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #ffa377;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 163, 119, 0.5);
}
.work-info h3 {
  font-size: 20px;
  color: #f7f4ef;
  margin-bottom: 6px;
  line-height: 1.4;
}
.work-meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(247, 244, 239, 0.6);
}
.works-cta { text-align: center; }
.works-showcase .btn-outline {
  color: #f7f4ef;
  border-color: rgba(247, 244, 239, 0.4);
}
.works-showcase .btn-outline:hover { background: #f7f4ef; color: #0f2540; }
@media (max-width: 900px) {
  .works-showcase { padding: 72px 0; }
  .works-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-tile.large { grid-column: span 1; aspect-ratio: 4 / 3; }
  .work-info { padding: 24px; }
  .work-info h3 { font-size: 17px; }
}

/* ---------- Flow ---------- */
.flow { background: #ffffff; padding: 140px 0; }
.flow-head { text-align: center; margin-bottom: 80px; }
.flow-head .section-label { padding-left: 40px; padding-right: 40px; }
.flow-head .section-label::before { left: 0; }
.flow-head .section-label::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 28px;
  height: 1px;
  background: #b4623c;
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.flow-steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 98, 60, 0.4) 20%, rgba(180, 98, 60, 0.4) 80%, transparent);
}
.flow-step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.flow-num {
  font-size: 22px;
  color: #b4623c;
  background: #ffffff;
  width: 64px;
  height: 64px;
  border: 1px solid #b4623c;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-weight: 400;
  position: relative;
  z-index: 2;
}
.flow-step h3 {
  font-size: 17px;
  color: #0f2540;
  margin-bottom: 12px;
}
.flow-step p {
  font-size: 12px;
  line-height: 1.9;
  color: #3a4a5c;
}
@media (max-width: 900px) {
  .flow { padding: 72px 0; }
  .flow-steps { grid-template-columns: 1fr; gap: 32px; }
  .flow-steps::before { display: none; }
  .flow-step { display: grid; grid-template-columns: 80px 1fr; align-items: center; text-align: left; gap: 24px; padding: 0; }
  .flow-num { margin-bottom: 0; }
  .flow-step h3 { margin-bottom: 4px; }
}

/* ---------- CTA section ---------- */
.cta-section {
  position: relative;
  padding: 140px 0;
  color: #f7f4ef;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 37, 64, 0.92) 0%, rgba(15, 37, 64, 0.85) 100%);
  z-index: 2;
}
.cta-section .container { position: relative; z-index: 3; }
.cta-inner { max-width: 780px; text-align: center; margin: 0 auto; }
.cta-inner .section-label::before { background: #ffa377; }
.cta-title {
  font-size: clamp(26px, 3.6vw, 40px);
  color: #f7f4ef;
  margin-bottom: 28px;
  line-height: 1.5;
}
.cta-desc {
  font-size: 15px;
  line-height: 2.1;
  color: rgba(247, 244, 239, 0.85);
  margin-bottom: 48px;
}
.cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.btn-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(247, 244, 239, 0.05);
  border: 1px solid rgba(247, 244, 239, 0.25);
  padding: 20px 32px;
  color: #f7f4ef;
  text-align: left;
  min-width: 320px;
  transition: all .3s ease;
}
.btn-tel:hover { background: rgba(247, 244, 239, 0.1); border-color: #ffa377; opacity: 1; }
.btn-tel-label { font-size: 11px; letter-spacing: 0.2em; color: #ffa377; margin-bottom: 4px; }
.btn-tel-num { font-size: 30px; color: #f7f4ef; letter-spacing: 0.05em; margin-bottom: 4px; }
.btn-tel-hours { font-size: 11px; letter-spacing: 0.1em; color: rgba(247, 244, 239, 0.6); }
.cta-buttons .btn { align-self: center; padding: 22px 40px; }
@media (max-width: 768px) {
  .cta-section { padding: 72px 0; }
  .btn-tel { min-width: 100%; }
  .btn-tel-num { font-size: 24px; }
}


/* ==========================================================================
   Sub-pages shared styles
   ========================================================================== */

/* ---------- Message section (about) ---------- */
.message-section { background: #f7f4ef; padding: 140px 0; }
.message-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.message-image { position: relative; }
.image-frame {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  position: relative;
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(247, 244, 239, 0.35);
  pointer-events: none;
}
.image-caption {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #0f2540;
  color: #f7f4ef;
  padding: 24px 32px;
  min-width: 200px;
}
.caption-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: #ffa377;
  font-weight: 500;
  margin-bottom: 8px;
}
.caption-name {
  font-size: 18px;
  color: #f7f4ef;
  line-height: 1.5;
}
.message-body p {
  font-size: 15px;
  line-height: 2.1;
  color: #3a4a5c;
  margin-bottom: 24px;
}
.signature {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(15, 37, 64, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sig-title {
  font-size: 13px;
  color: #3a4a5c;
  letter-spacing: 0.1em;
}
.sig-name {
  font-size: 26px;
  color: #0f2540;
  letter-spacing: 0.15em;
  font-weight: 500;
}
@media (max-width: 900px) {
  .message-section { padding: 72px 0; }
  .message-grid { grid-template-columns: 1fr; gap: 40px; }
  .image-caption { position: static; margin-top: -32px; margin-left: 20px; margin-right: 20px; }
}

/* ---------- Company info table ---------- */
.company-info { background: #ffffff; padding: 140px 0; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid rgba(15, 37, 64, 0.15);
}
.info-table th, .info-table td {
  text-align: left;
  vertical-align: top;
  padding: 28px 20px;
  border-bottom: 1px solid rgba(15, 37, 64, 0.12);
  font-size: 14px;
  line-height: 1.9;
}
.info-table th {
  width: 200px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  color: #0f2540;
  font-size: 14px;
  letter-spacing: 0.1em;
  background: transparent;
}
.info-table td { color: #3a4a5c; }
@media (max-width: 768px) {
  .company-info { padding: 72px 0; }
  .info-table th, .info-table td { display: block; padding: 8px 0; border-bottom: none; }
  .info-table th { padding-top: 24px; color: #b4623c; font-size: 12px; letter-spacing: 0.2em; }
  .info-table td { padding-bottom: 20px; border-bottom: 1px solid rgba(15, 37, 64, 0.1); }
  .info-table tr:last-child td { border-bottom: none; }
}

/* ---------- History ---------- */
.history-section { background: #f7f4ef; padding: 140px 0; }
.history-list {
  border-left: 1px solid rgba(180, 98, 60, 0.35);
  padding-left: 0;
}
.history-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 32px 0 32px 48px;
  position: relative;
}
.history-list li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 44px;
  width: 11px;
  height: 11px;
  background: #b4623c;
  border-radius: 50%;
}
.hist-year {
  font-size: 32px;
  color: #b4623c;
  letter-spacing: 0.05em;
  font-weight: 400;
}
.hist-body h3 {
  font-size: 20px;
  color: #0f2540;
  margin-bottom: 8px;
}
.hist-body p {
  font-size: 14px;
  line-height: 1.9;
  color: #3a4a5c;
}
@media (max-width: 768px) {
  .history-section { padding: 72px 0; }
  .history-list li { grid-template-columns: 1fr; gap: 8px; padding: 24px 0 24px 32px; }
  .history-list li::before { top: 32px; }
  .hist-year { font-size: 24px; }
  .hist-body h3 { font-size: 17px; }
}

/* ---------- Access ---------- */
.access-section { background: #ffffff; padding: 140px 0; }
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.access-card {
  background: #f7f4ef;
  padding: 48px 40px;
  border-top: 3px solid #b4623c;
  position: relative;
}
.access-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #b4623c;
  border: 1px solid #b4623c;
  padding: 4px 10px;
  font-weight: 500;
}
.access-card h3 {
  font-size: 28px;
  color: #0f2540;
  margin-bottom: 20px;
}
.access-address {
  font-size: 14px;
  line-height: 1.9;
  color: #3a4a5c;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(15, 37, 64, 0.12);
}
.access-meta {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px 20px;
}
.access-meta dt {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  color: #0f2540;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.access-meta dd {
  font-size: 14px;
  color: #3a4a5c;
}
@media (max-width: 768px) {
  .access-section { padding: 72px 0; }
  .access-grid { grid-template-columns: 1fr; gap: 20px; }
  .access-card { padding: 40px 28px; }
}

/* ---------- Sub CTA ---------- */
.sub-cta {
  background: #0f2540;
  padding: 100px 0;
  color: #f7f4ef;
  text-align: center;
}
.sub-cta-inner h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  color: #f7f4ef;
  margin-bottom: 40px;
  line-height: 1.6;
}
.sub-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.sub-cta .btn-outline { color: #f7f4ef; border-color: rgba(247, 244, 239, 0.4); }
.sub-cta .btn-outline:hover { background: #f7f4ef; color: #0f2540; }
@media (max-width: 768px) {
  .sub-cta { padding: 60px 0; }
}

/* ==========================================================================
   Service page
   ========================================================================== */
.service-intro { background: #f7f4ef; padding: 120px 0; text-align: center; }
.service-intro .lead {
  font-size: 17px;
  line-height: 2.1;
  color: #3a4a5c;
  max-width: 720px;
  margin: 24px auto 0;
}

.service-detail {
  padding: 120px 0;
  border-bottom: 1px solid rgba(15, 37, 64, 0.08);
}
.service-detail:nth-child(even) { background: #f7f4ef; }
.service-detail:nth-child(odd) { background: #ffffff; }
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.service-detail:nth-child(even) .service-detail-inner {
  grid-template-columns: 1fr 1fr;
}
.service-detail:nth-child(even) .service-text-block { order: 2; }
.service-detail:nth-child(even) .service-image-block { order: 1; }
.service-image-block {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-image-block::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(247, 244, 239, 0.4);
}
.service-number {
  font-family: "Noto Serif JP", serif;
  font-size: 56px;
  color: #b4623c;
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.service-heading {
  font-size: clamp(26px, 3.5vw, 38px);
  color: #0f2540;
  margin-bottom: 24px;
  line-height: 1.4;
}
.service-body-text {
  font-size: 15px;
  line-height: 2.1;
  color: #3a4a5c;
  margin-bottom: 32px;
}
.service-features {
  border-top: 1px solid rgba(15, 37, 64, 0.15);
  padding-top: 24px;
}
.service-features li {
  padding: 12px 0 12px 24px;
  font-size: 14px;
  color: #3a4a5c;
  position: relative;
  border-bottom: 1px dashed rgba(15, 37, 64, 0.12);
}
.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 12px;
  height: 1px;
  background: #b4623c;
}
@media (max-width: 900px) {
  .service-detail { padding: 72px 0; }
  .service-detail-inner { grid-template-columns: 1fr !important; gap: 32px; padding: 0 20px; }
  .service-detail:nth-child(even) .service-text-block { order: unset; }
  .service-detail:nth-child(even) .service-image-block { order: unset; }
  .service-number { font-size: 40px; }
}

/* ==========================================================================
   Works page
   ========================================================================== */
.works-filter {
  background: #f7f4ef;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(15, 37, 64, 0.08);
}
.filter-list {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #0f2540;
  border: 1px solid rgba(15, 37, 64, 0.2);
  background: transparent;
  transition: all .3s ease;
  font-weight: 500;
}
.filter-btn:hover { border-color: #b4623c; color: #b4623c; }
.filter-btn.active { background: #0f2540; color: #f7f4ef; border-color: #0f2540; }

.works-list-section { background: #f7f4ef; padding: 60px 0 140px; }
.works-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.work-item {
  background: #ffffff;
  transition: transform .5s ease, box-shadow .5s ease;
}
.work-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(15, 37, 64, 0.2);
}
.work-item-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.work-item-body { padding: 24px 24px 32px; }
.work-item-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #b4623c;
  font-weight: 600;
  margin-bottom: 12px;
  border-bottom: 1px solid #b4623c;
  padding-bottom: 2px;
}
.work-item h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  color: #0f2540;
  margin-bottom: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.work-item-meta {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 6px 12px;
  font-size: 12px;
  line-height: 1.7;
  color: #3a4a5c;
}
.work-item-meta dt { color: #0f2540; font-weight: 500; font-family: "Noto Serif JP", serif; }
@media (max-width: 900px) {
  .works-list-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .work-item-body { padding: 20px; }
}
@media (max-width: 560px) {
  .works-list-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-methods {
  background: #ffffff;
  padding: 120px 0;
}
.methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.method-card {
  background: #f7f4ef;
  padding: 60px 48px;
  text-align: center;
  border-top: 3px solid #b4623c;
}
.method-card .icon {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  color: #b4623c;
  margin-bottom: 16px;
  font-weight: 400;
}
.method-card h3 {
  font-size: 22px;
  color: #0f2540;
  margin-bottom: 8px;
}
.method-card .en {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #b4623c;
  margin-bottom: 24px;
  display: block;
}
.method-card .number {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  color: #0f2540;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
}
.method-card .hours {
  font-size: 12px;
  color: #3a4a5c;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.method-card p {
  font-size: 13px;
  color: #3a4a5c;
  line-height: 1.9;
  margin-bottom: 24px;
}

.contact-form-section {
  background: #f7f4ef;
  padding: 120px 0;
}
.contact-form {
  max-width: 800px;
  margin: 60px auto 0;
  background: #ffffff;
  padding: 60px;
}
.form-group { margin-bottom: 32px; }
.form-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  color: #0f2540;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.form-required {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #b4623c;
  border: 1px solid #b4623c;
  padding: 2px 8px;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
}
.form-optional {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #94a1af;
  border: 1px solid #94a1af;
  padding: 2px 8px;
  font-weight: 500;
  font-family: "Noto Sans JP", sans-serif;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  background: #f7f4ef;
  border: 1px solid rgba(15, 37, 64, 0.15);
  transition: border-color .2s ease, background .2s ease;
  border-radius: 0;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #b4623c;
  background: #ffffff;
}
.form-textarea { min-height: 180px; resize: vertical; line-height: 1.8; }
.form-radios {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(15, 37, 64, 0.15);
  cursor: pointer;
  font-size: 13px;
  color: #3a4a5c;
  transition: all .2s ease;
}
.form-radio:has(input:checked) {
  border-color: #b4623c;
  color: #b4623c;
  background: rgba(180, 98, 60, 0.05);
}
.form-radio input { accent-color: #b4623c; }
.form-privacy {
  background: #f7f4ef;
  padding: 24px;
  border: 1px solid rgba(15, 37, 64, 0.08);
  margin-bottom: 32px;
  font-size: 13px;
  color: #3a4a5c;
  line-height: 1.8;
}
.form-privacy a { color: #b4623c; text-decoration: underline; }
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-size: 14px;
  color: #0f2540;
  margin-bottom: 32px;
  cursor: pointer;
}
.form-check input { accent-color: #b4623c; width: 16px; height: 16px; }
.form-submit {
  display: flex;
  justify-content: center;
}
.form-submit button {
  min-width: 320px;
  padding: 20px 40px;
  font-size: 14px;
  letter-spacing: 0.2em;
  background: #0f2540;
  color: #f7f4ef;
  font-weight: 500;
  transition: all .3s ease;
}
.form-submit button:hover { background: #b4623c; }

/* Form notices */
.form-notice {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 32px 40px;
  border-left: 4px solid #b4623c;
  background: #ffffff;
}
.form-notice-success { border-left-color: #1f8a5b; }
.form-notice-error { border-left-color: #c04530; }
.form-notice h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  color: #0f2540;
  margin-bottom: 10px;
}
.form-notice p { font-size: 14px; line-height: 1.9; color: #3a4a5c; }

/* Footer SNS */
.footer-sns {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.footer-sns li {
  font-size: 11px;
  letter-spacing: 0.2em;
}
.footer-sns a {
  color: #b4623c;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(180, 98, 60, 0.5);
}
.footer-sns a:hover { color: #f7f4ef; border-color: #f7f4ef; opacity: 1; }
@media (max-width: 768px) {
  .contact-methods, .contact-form-section { padding: 72px 0; }
  .methods-grid { grid-template-columns: 1fr; gap: 20px; }
  .method-card { padding: 40px 28px; }
  .contact-form { padding: 32px 24px; }
  .form-submit button { min-width: 100%; }
}

/* ==========================================================================
   Recruit page
   ========================================================================== */
.recruit-intro {
  background: #f7f4ef;
  padding: 140px 0;
}
.recruit-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.recruit-intro h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #0f2540;
  margin-bottom: 32px;
  line-height: 1.5;
}
.recruit-intro p {
  font-size: 15px;
  line-height: 2.1;
  color: #3a4a5c;
  margin-bottom: 24px;
}
.recruit-intro .image-frame { aspect-ratio: 4 / 5; }

.recruit-values { background: #ffffff; padding: 140px 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.value-card {
  padding: 40px 32px;
  background: #f7f4ef;
  border-top: 3px solid #b4623c;
}
.value-num {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  color: #b4623c;
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 400;
}
.value-card h3 { font-size: 20px; color: #0f2540; margin-bottom: 16px; }
.value-card p { font-size: 14px; line-height: 2; color: #3a4a5c; }

.job-listings { background: #f7f4ef; padding: 140px 0; }
.job-card {
  background: #ffffff;
  padding: 48px 48px;
  margin-bottom: 24px;
  border-left: 4px solid #b4623c;
}
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(15, 37, 64, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}
.job-header h3 {
  font-size: 24px;
  color: #0f2540;
}
.job-type {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #b4623c;
  border: 1px solid #b4623c;
  padding: 6px 12px;
  font-weight: 500;
}
.job-details {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px 24px;
}
.job-details dt {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  color: #0f2540;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.job-details dd {
  font-size: 14px;
  color: #3a4a5c;
  line-height: 1.9;
}
@media (max-width: 900px) {
  .recruit-intro { padding: 72px 0; }
  .recruit-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .recruit-values, .job-listings { padding: 72px 0; }
  .values-grid { grid-template-columns: 1fr; gap: 20px; }
  .job-card { padding: 32px 24px; }
  .job-details { grid-template-columns: 1fr; gap: 4px 0; }
  .job-details dt { padding-top: 12px; color: #b4623c; font-size: 12px; letter-spacing: 0.15em; }
  .job-details dd { padding-bottom: 12px; border-bottom: 1px dashed rgba(15, 37, 64, 0.1); }
}

/* ==========================================================================
   Privacy page
   ========================================================================== */
.privacy-content { background: #ffffff; padding: 120px 0; }
.privacy-content h2 {
  font-size: 22px;
  color: #0f2540;
  margin: 48px 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 37, 64, 0.12);
  letter-spacing: 0.05em;
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p, .privacy-content li {
  font-size: 14px;
  line-height: 2;
  color: #3a4a5c;
  margin-bottom: 16px;
}
.privacy-content ul { list-style: none; padding-left: 0; }
.privacy-content ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}
.privacy-content ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 12px;
  height: 1px;
  background: #b4623c;
}
.privacy-meta {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 37, 64, 0.1);
  text-align: right;
  font-size: 13px;
  color: #3a4a5c;
}
@media (max-width: 768px) {
  .privacy-content { padding: 72px 0; }
}
