* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: 'Hiragino Sans', 'Noto Sans JP', system-ui, sans-serif; background: #ffffff; color: #1f2937; }
a { color: #0578e8; text-decoration: none; cursor: pointer; } a:hover { color: #045bb8; }
button { font-family: inherit; cursor: default; }
h1, h2 { text-wrap: balance; }
a:focus-visible, button:focus-visible, .nav-link:focus-visible, .chip:focus-visible { outline: 2px solid #0578e8; outline-offset: 2px; border-radius: 2px; }
input:focus-visible, textarea:focus-visible { outline: 2px solid #0578e8; outline-offset: 1px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; border-bottom: 1px solid #e2e8f0; background: #ffffff; }
.nav-logo { display: flex; align-items: center; height: 38px; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { font-size: 13px; color: #000000; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-link:hover { color: #0578e8; }
.nav-link.active { color: #0578e8; font-weight: 700; border-bottom-color: #0578e8; }
.nav-cta { padding: 10px 18px; background: #fe9435; color: #ffffff !important; border-radius: 4px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.nav-cta:hover { background: #e67816; }
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link::after { content: ' \25be'; font-size: 10px; }
.nav-dropdown-panel { display: none; position: absolute; top: 100%; left: 0; margin-top: 10px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 12px 28px rgba(15,32,58,0.12); padding: 8px; min-width: 220px; }
.nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown.open .nav-dropdown-panel { display: block; }
.nav-dropdown-panel a { display: block; padding: 10px 12px; font-size: 13px; color: #33302c; border-radius: 6px; white-space: nowrap; }
.nav-dropdown-panel a:hover { background: #f2f6fb; color: #0578e8; }
.nav-dropdown-panel a.active { color: #0578e8; font-weight: 700; background: #e8f2fd; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; border: none; background: transparent; padding: 0; margin-left: 12px; flex-shrink: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #33302c; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* layout */
.section { padding: 64px 40px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.breadcrumb { font-size: 12px; color: #8a94a3; padding: 14px 40px 0; max-width: 1280px; margin: 0 auto; }
.breadcrumb a { color: #8a94a3; } .breadcrumb a:hover { color: #0578e8; }
.tint-blue { background: #e8f2fd; }
.tint-orange { background: #fff1e2; }

/* text */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: #fe9435; text-transform: uppercase; margin: 0 0 12px; }
.eyebrow-blue { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: #0578e8; text-transform: uppercase; margin: 0 0 12px; }
.h1 { font-size: 40px; line-height: 1.4; font-weight: 800; margin: 0 0 20px; color: #33302c; }
.h2 { font-size: 25px; line-height: 1.4; font-weight: 800; margin: 0 0 20px; color: #33302c; }
.h2.center { text-align: center; }
.lead { font-size: 16px; line-height: 1.85; color: #4b5563; max-width: 700px; margin: 0 0 24px; }
.lead.center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }

/* buttons */
.btn-primary { display: inline-flex; align-items: center; padding: 14px 28px; background: #fe9435; color: #fff !important; border: none; border-radius: 4px; font-size: 15px; font-weight: 700; }
.btn-primary:hover { background: #e67816; }
.btn-primary-blue { display: inline-flex; align-items: center; padding: 14px 28px; background: #0578e8; color: #fff !important; border: none; border-radius: 4px; font-size: 15px; font-weight: 700; }
.btn-primary-blue:hover { background: #045bb8; }
.btn-secondary { display: inline-flex; align-items: center; padding: 13px 26px; background: transparent; color: #0578e8 !important; border: 1px solid #0578e8; border-radius: 4px; font-size: 14px; font-weight: 700; }
.btn-secondary:hover { background: #e8f2fd; }
.btn-secondary.on-dark { color: #ffffff !important; border-color: #ffffff; }
.btn-secondary.on-dark:hover { background: rgba(255,255,255,0.12); }
.btn-noop { display: inline-flex; align-items: center; padding: 13px 26px; border-radius: 4px; font-size: 14px; font-weight: 700; border: 1px solid #d7dee6; background: #ffffff; color: #8a94a3; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* cards / grids */
.grid { display: grid; gap: 20px; }
.card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card-title { font-size: 15px; font-weight: 700; color: #33302c; margin: 0; }
.card-text { font-size: 13px; line-height: 1.7; color: #4b5563; margin: 0; }
.principle-md { font-size: 16px; line-height: 1.8; color: #33302c; margin: 0 0 10px; }
.branch-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.branch-photo { width: 100%; height: 140px; object-fit: cover; display: block; }
.branch-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.persona-card { flex: 1; background: #ffffff; border: 2px solid #e2e8f0; border-radius: 10px; padding: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.placeholder { display: flex; align-items: center; justify-content: center; background: #eef1f5; border: 1px dashed #c7cfd8; color: #8a94a3; font-size: 13px; border-radius: 6px; text-align: center; padding: 12px; }
.icon-circle { width: 64px; height: 64px; border-radius: 50%; background: #eef1f5; color: #8a94a3; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* flow */
.flow-row { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.flow-step { flex: 1; min-width: 140px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px; text-align: center; }
.flow-num { width: 28px; height: 28px; border-radius: 50%; background: #0578e8; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin: 0 auto 10px; }
.flow-arrow { display: flex; align-items: center; justify-content: center; width: 36px; flex-shrink: 0; color: #c7cfd8; }

/* chips / fields */
.field-chip { padding: 8px 14px; border: 1px solid #d7dee6; border-radius: 6px; font-size: 13px; color: #4b5563; background: #f8f9fb; }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { padding: 8px 16px; border: 1px solid #d7dee6; border-radius: 999px; font-size: 13px; color: #4b5563; background: #ffffff; }
.chip.active { background: #0578e8; border-color: #0578e8; color: #ffffff; }

/* forms */
.form-box { border: 1px solid #e2e8f0; border-radius: 10px; padding: 32px; background: #f8f9fb; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-field:last-child { margin-bottom: 0; }
.form-label { font-size: 13px; font-weight: 700; color: #33302c; }
.form-input { height: 42px; border: 1px solid #d7dee6; border-radius: 4px; background: #ffffff; padding: 0 12px; font-size: 13px; color: #33302c; width: 100%; }
textarea.form-input.tall { height: 90px; padding: 10px 12px; resize: vertical; font-family: inherit; }

/* note / banner */
.note-box { border: 1px solid #ffd9ad; background: #fff1e2; border-radius: 8px; padding: 20px 24px; font-size: 13px; line-height: 1.8; color: #7a4a24; }
.note-box.blue { border-color: #cfe0f0; background: #e8f2fd; color: #2c4a68; }
.banner { background: #fff1e2; border: 1px solid #ffd9ad; border-radius: 8px; padding: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.cta-box { background: #063f73; border-radius: 10px; padding: 36px; text-align: center; }

/* stats / timeline */
.stat-row { display: flex; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; flex-wrap: wrap; }
.stat { flex: 1; min-width: 140px; padding: 26px 18px; text-align: center; border-right: 1px solid #e2e8f0; }
.stat:last-child { border-right: none; }
.stat-num { font-size: 24px; font-weight: 800; color: #0578e8; }
.stat-label { font-size: 12.5px; color: #8a94a3; margin-top: 6px; }
.news-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid #e2e8f0; gap: 16px; flex-wrap: wrap; }
.news-date { font-size: 13px; color: #8a94a3; width: 100px; flex-shrink: 0; }
.news-title { font-size: 14px; color: #4b5563; }

/* company profile */
.table { width: 100%; border-collapse: collapse; }
.table td { padding: 14px 16px; border-bottom: 1px solid #e2e8f0; font-size: 14px; vertical-align: top; }
.table td:first-child { color: #8a94a3; width: 180px; }
.history-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 8px; }
.history-row { display: flex; gap: 20px; padding: 13px 0; border-bottom: 1px solid #d7e3f0; }
.history-date { flex-shrink: 0; width: 92px; font-size: 13px; font-weight: 700; color: #0578e8; }
.history-text { font-size: 12.5px; line-height: 1.6; color: #33302c; }

/* philosophy */
.philosophy-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 40px; text-align: center; }
.philosophy-quote { font-size: 20px; font-weight: 800; line-height: 1.7; color: #0578e8; margin: 0 0 20px; }
.philosophy-text { font-size: 14px; line-height: 1.9; color: #4b5563; max-width: 640px; margin: 0 auto; }
.logo-display { display: flex; justify-content: center; margin-bottom: 32px; }
.logo-display img { width: min(260px, 100%); height: auto; }
.meaning-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 32px 0; }
.meaning-item { text-align: center; }
.meaning-badge { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 14px; font-weight: 800; margin: 0 auto 8px; }
.meaning-label { font-size: 12.5px; font-weight: 700; color: #33302c; }
.guideline-card { display: flex; align-items: center; gap: 16px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px 22px; }
.guideline-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #0578e8; color: #ffffff; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.guideline-text { font-size: 15px; font-weight: 700; color: #33302c; }

/* president message */
.message-row { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.message-photo { flex: 0 0 260px; }
.message-photo .placeholder { height: 320px; border-radius: 8px; }
.message-photo-name { margin-top: 12px; text-align: center; font-size: 13px; color: #4b5563; }
.message-photo-name strong { display: block; font-size: 15px; color: #33302c; margin-bottom: 2px; }
.message-text { flex: 1; min-width: 280px; }
.message-text .lead { max-width: none; }

/* recruit interview / products */
.interview-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.interview-quote { padding: 18px; font-size: 13px; line-height: 1.7; color: #4b5563; }
.interview-name { padding: 0 18px 18px; font-size: 13px; font-weight: 700; color: #33302c; }
.product-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.product-label { padding: 12px 14px; font-size: 13px; color: #4b5563; }
.category-block { display: flex; align-items: flex-start; gap: 44px; padding: 36px 0; flex-wrap: wrap; }
.category-block.reverse { flex-direction: row-reverse; }
.category-content { flex: 1 1 320px; }
.category-media { flex: 1 1 320px; }
.category-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.category-gallery-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.category-gallery-item img { width: 100%; height: 130px; object-fit: cover; display: block; }
.category-gallery-label { padding: 8px 10px; font-size: 12px; color: #4b5563; text-align: center; }
.icon-tile { height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #eef1f5; color: #5b6b80; }
.icon-tile svg { width: 30px; height: 30px; }
.category-note { font-size: 12.5px; color: #8a94a3; margin: 10px 0 0; }
.category-eyebrow { font-size: 12px; font-weight: 700; color: #0578e8; letter-spacing: 0.06em; margin: 0 0 10px; }
.category-count { font-size: 30px; font-weight: 800; color: #33302c; margin: 0 0 6px; }
.category-count span { font-size: 14px; font-weight: 700; color: #4b5563; margin-left: 6px; }
.category-title { font-size: 20px; font-weight: 800; color: #33302c; margin: 0 0 12px; }
.category-text { font-size: 14px; line-height: 1.85; color: #4b5563; margin: 0; }
.category-divider { border: none; border-top: 1px solid #e2e8f0; margin: 0; }
.maker-list { display: grid; grid-auto-flow: column; grid-template-rows: repeat(20, auto); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 24px; margin: 0 0 20px; padding: 0; list-style: none; }
.maker-list li { font-size: 13.5px; color: #33302c; padding: 11px 0; border-bottom: 1px solid #d7e2ee; }
.maker-note { font-size: 13px; line-height: 1.8; color: #4b5563; margin: 0; }

/* hero */
.hero { padding: 90px 40px; background: linear-gradient(rgba(6,63,115,0.5), rgba(6,63,115,0.5)), url("/media/hero-store.jpg") center / cover no-repeat; color: #c7d3e0; }
.hero-inner { max-width: 1280px; margin: 0 auto; }
.hero-tag { font-size: 12px; letter-spacing: 0.1em; color: #ffb066; margin-bottom: 16px; }
.hero h1 { font-size: 46px; font-weight: 800; color: #ffffff; margin: 0 0 16px; line-height: 1.4; }
.hero p { font-size: 16px; color: #dbe4ee; max-width: 620px; margin: 0 0 28px; line-height: 1.8; }

/* footer */
.footer { background: #ffffff; color: #000000; padding: 48px 40px 28px; border-top: 1px solid #e2e8f0; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-name { font-size: 16px; font-weight: 700; color: #ffffff; margin-bottom: 8px; }
.footer-links { display: flex; gap: 8px 18px; font-size: 12.5px; flex-wrap: wrap; max-width: 760px; }
.footer-links a { color: #000000 !important; }
.footer-links a:hover { color: #0578e8 !important; }
.footer-copyright { font-size: 12px; color: #000000; margin-top: 24px; border-top: 1px solid #e2e8f0; padding-top: 20px; text-align: center; }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; }
  .nav.menu-open { flex-wrap: wrap; }
  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15,32,58,0.12);
    padding: 8px 24px 20px;
    z-index: 60;
  }
  .nav.menu-open .nav-link { padding: 12px 4px; border-bottom: 1px solid #f0f2f5; }
  .nav.menu-open .nav-dropdown-panel { position: static; display: none; box-shadow: none; border: none; padding: 0 0 4px 14px; margin-top: 0; min-width: 0; }
  .nav.menu-open .nav-dropdown.open .nav-dropdown-panel { display: block; }
  .nav.menu-open .nav-dropdown-panel a { padding: 10px 4px; }
  .nav.menu-open .nav-cta { margin-top: 10px; justify-content: center; }
  .h1 { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .meaning-row { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 6px; }
  .history-list { grid-template-columns: 1fr; }
  .category-block, .category-block.reverse { flex-direction: column; }

  /* 横並びのカード・グリッドはスマホでは1列に積む（文字が縦に潰れるのを防ぐ） */
  .grid { grid-template-columns: 1fr !important; }
  .category-gallery { grid-template-columns: 1fr !important; }
  .maker-list { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr !important; }
  .flow-row { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .stat-row { flex-direction: column; }
  .stat { border-right: none !important; border-bottom: 1px solid #e2e8f0; }
  .stat:last-child { border-bottom: none; }
  .philosophy-box { padding: 24px; }
}
