:root { --font-body: Meiryo, "Hiragino Kaku Gothic ProN", sans-serif; --font-heading: Meiryo, "Hiragino Kaku Gothic ProN", sans-serif; }
body { font-family: Meiryo, "Hiragino Kaku Gothic ProN", sans-serif; font-size: 14px; line-height: 1.6; letter-spacing: normal; color: var(--color-text); background: var(--color-bg); }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: relative; border-top: 6px solid var(--color-primary); border-bottom: 1px solid color-mix(in srgb, var(--color-text) 10%, var(--color-bg)); background: var(--color-bg); }
.site-header .container { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-logo { flex: 0 0 auto; color: var(--color-primary); font-size: 22px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; }
.site-nav { margin-left: auto; }.site-nav ul { display: flex; align-items: center; gap: 0; list-style: none; }.site-nav a { display: block; padding: 17px 15px; color: color-mix(in srgb, var(--color-text) 60%, var(--color-bg)); font-size: 12px; font-weight: 400; line-height: 20px; text-decoration: none; white-space: nowrap; transition: color .3s ease, text-decoration-color .3s ease; }.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: var(--color-accent); text-decoration: underline; }.hamburger { display: none; }
.hero { position: relative; min-height: 590px; display: grid; align-items: center; overflow: hidden; color: #ffffff; }.hero-slides, .hero-overlay, .contact-banner-bg, .contact-banner-shade { position: absolute; inset: 0; }.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }.hero-slide.is-active { opacity: 1; }.hero-overlay { background: color-mix(in srgb, var(--color-primary) 67%, transparent); }.hero-content { position: relative; z-index: 1; max-width: 1180px; padding-block: 92px; }.hero-kicker, .eyebrow { margin-bottom: 12px; color: var(--color-accent); font-size: 12px; font-weight: 700; line-height: 19.2px; }.hero-kicker { color: #ffffff; }.hero h1 { max-width: 680px; font-size: 38px; font-weight: 400; line-height: 1.6; }.hero-lead { max-width: 560px; margin-top: 18px; font-size: 16px; line-height: 1.8; }.hero-actions, .copy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 25px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 700; line-height: 22px; text-align: center; text-decoration: none; transition: background .3s ease, border-color .3s ease, color .3s ease, opacity .3s ease; }.button-primary { background: var(--color-accent); color: #ffffff; }.button-primary:hover, .button-primary:focus-visible { background: color-mix(in srgb, var(--color-accent) 82%, #000000); }.button-outline { border-color: #ffffff; color: #ffffff; }.button-outline:hover, .button-outline:focus-visible { background: #ffffff; color: var(--color-accent); }.button-secondary { border-color: var(--color-accent); color: var(--color-accent); background: var(--color-bg); }.button-secondary:hover, .button-secondary:focus-visible { background: var(--color-accent); color: #ffffff; }.button-white { background: #ffffff; color: var(--color-accent); }.button-white:hover, .button-white:focus-visible { background: color-mix(in srgb, #ffffff 88%, var(--color-accent)); }
.section-space { padding: 82px 0; }.section-heading { max-width: 740px; margin-bottom: 38px; }.section-heading-center { margin-inline: auto; text-align: center; }.section-heading h2, .custom-copy h2, .contact-banner h2 { font-size: 26px; font-weight: 400; line-height: 1.6; }.section-heading p:not(.eyebrow) { margin-top: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }.service-card { border: 1px solid color-mix(in srgb, var(--color-text) 10%, var(--color-bg)); background: var(--color-bg); }.service-card img, .custom-images img, .gallery-grid img, .contact-banner-bg img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }.service-card-body { padding: 22px 22px 24px; }.card-number { margin-bottom: 8px; color: var(--color-accent); font-size: 12px; font-weight: 700; }.service-card h3 { font-size: 22px; font-weight: 700; line-height: 1.6; }.service-card p:not(.card-number) { margin-top: 12px; }.text-link { display: inline-block; margin-top: 18px; color: var(--color-accent); font-size: 14px; font-weight: 700; line-height: 22px; }.text-link:hover, .text-link:focus-visible { text-decoration-thickness: 1px; }
.custom-noodles { background: var(--color-secondary); }.custom-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(330px, .96fr); align-items: center; gap: 62px; }.custom-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.custom-copy { max-width: 500px; }.custom-copy h2 { margin-bottom: 21px; font-size: 28px; font-weight: 700; line-height: 1; }.custom-copy p:not(.eyebrow) + p { margin-top: 16px; }
.contact-banner { position: relative; min-height: 244px; display: grid; align-items: center; overflow: hidden; color: #ffffff; }.contact-banner-bg img { height: 100%; }.contact-banner-shade { background: color-mix(in srgb, var(--color-primary) 82%, transparent); }.contact-banner-content { position: relative; z-index: 1; text-align: center; }.contact-banner h2 { margin-bottom: 24px; font-size: 28px; }
.product-gallery { background: var(--color-secondary); }.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.gallery-action { margin-top: 31px; text-align: center; }
.company-links { background: var(--color-primary); color: #ffffff; }.company-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); }.company-links a { min-height: 156px; display: flex; flex-direction: column; justify-content: center; padding: 24px; border-left: 1px solid color-mix(in srgb, #ffffff 28%, var(--color-primary)); font-size: 18px; font-weight: 700; line-height: 1.6; text-decoration: none; transition: background .3s ease; }.company-links a:last-child { border-right: 1px solid color-mix(in srgb, #ffffff 28%, var(--color-primary)); }.company-links a:hover, .company-links a:focus-visible { background: color-mix(in srgb, var(--color-primary) 76%, #ffffff); }.company-links span { display: block; margin-top: 7px; font-size: 12px; font-weight: 400; line-height: 1.6; }
@media (max-width: 880px) { .site-header .container { min-height: 70px; gap: 12px; }.site-logo { font-size: 19px; }.hamburger { width: 44px; min-width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 0; background: transparent; color: var(--color-primary); cursor: pointer; }.hamburger span { width: 23px; height: 2px; display: block; background: currentColor; transition: transform .3s ease, opacity .3s ease; }.site-nav { position: absolute; top: 76px; left: 0; z-index: 5; width: 100%; display: none; margin: 0; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 10%, var(--color-bg)); background: var(--color-bg); }.site-nav.open { display: block; }.site-nav ul { display: block; width: min(100%, 500px); margin-inline: auto; padding: 10px 24px 18px; }.site-nav a { min-height: 44px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 10%, var(--color-bg)); font-size: 14px; }.site-nav li:last-child a { border-bottom: 0; }.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }.hero { min-height: 500px; }.hero-content { padding-block: 70px; }.hero h1 { font-size: 32px; }.service-grid { gap: 16px; }.custom-layout { gap: 35px; }.company-links-grid { grid-template-columns: repeat(2, 1fr); }.company-links a:nth-child(3), .company-links a:nth-child(4) { border-top: 1px solid color-mix(in srgb, #ffffff 28%, var(--color-primary)); } }
@media (max-width: 620px) { .container { width: min(100% - 40px, 1180px); }.site-header { border-top-width: 4px; }.site-header .container { min-height: 64px; }.site-logo { font-size: 17px; }.site-nav { top: 68px; }.hero { min-height: 466px; }.hero-overlay { background: color-mix(in srgb, var(--color-primary) 72%, transparent); }.hero-content { padding-block: 56px; }.hero h1 { font-size: 27px; line-height: 1.6; }.hero-lead { margin-top: 12px; font-size: 14px; line-height: 1.8; }.hero-actions { gap: 10px; margin-top: 24px; }.hero-actions .button { flex: 1 1 130px; }.section-space { padding: 58px 0; }.section-heading { margin-bottom: 27px; }.section-heading h2, .custom-copy h2, .contact-banner h2 { font-size: 22px; line-height: 1.6; }.section-heading p:not(.eyebrow) { margin-top: 10px; }.service-grid { grid-template-columns: 1fr; gap: 18px; }.service-card-body { padding: 19px 18px 21px; }.service-card h3 { font-size: 20px; }.custom-layout { grid-template-columns: 1fr; gap: 29px; }.custom-images { gap: 10px; }.custom-copy h2 { margin-bottom: 18px; font-size: 24px; line-height: 1.2; }.copy-actions .button { flex: 1 1 145px; }.contact-banner { min-height: 210px; }.contact-banner-content { padding-block: 34px; }.contact-banner h2 { margin-bottom: 19px; font-size: 20px; }.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }.company-links-grid { grid-template-columns: 1fr; }.company-links a, .company-links a:last-child { min-height: 0; padding: 19px 0; border: 0; border-bottom: 1px solid color-mix(in srgb, #ffffff 28%, var(--color-primary)); font-size: 16px; }.company-links a:first-child { border-top: 1px solid color-mix(in srgb, #ffffff 28%, var(--color-primary)); }.company-links span { margin-top: 3px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

/* 共通フッター: 狭い画面では内容幅の列を解除して画面外へのはみ出しを防ぐ */
.site-footer .footer-brand,
.site-footer .footer-nav,
.site-footer .footer-info { min-width: 0; }
.site-footer .footer-info p { overflow-wrap: anywhere; }
.site-footer .footer-privacy { display: inline-block; white-space: nowrap; }
@media (max-width: 768px) {
  .site-footer .footer-grid { gap: 1.5rem; }
  .site-footer .footer-nav ul { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-columns: auto; column-gap: 1rem; row-gap: 0.4rem; }
  .site-footer .footer-nav li { min-width: 0; margin-bottom: 0; }
  .site-footer .footer-nav a { display: block; min-width: 0; overflow-wrap: anywhere; }
  .site-footer .footer-bottom .footer-privacy { display: block; width: fit-content; margin: 8px auto 0 !important; }
}

/* 狭い画面でも問い合わせボタンの文言を途中で折り返さない */
@media (max-width: 620px) {
  .copy-actions .button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 12px;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  .copy-actions .button { flex-basis: 100%; }
}

.service-title-mobile-break { display: none; }

@media (max-width: 620px) {
  .service-title-mobile-break { display: initial; }
}

/* sm-page-hero */
/* 下層ページの見出しの帯(全ページ共通。正本 = news の帯。高さは PC 390px / スマホ 300px。unify-page-hero.js) */
.smph-container { width: min(1180px, 100% - 64px); margin-inline: auto; }
.site-header .smph-container { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.smph-hero { position: relative; min-height: 590px; display: grid; align-items: center; overflow: hidden; color: rgb(255, 255, 255); }
.smph.smph-hero-slides, .smph-hero-overlay, .contact-banner-bg, .contact-banner-shade { position: absolute; inset: 0px; }
.smph-hero-slide { position: absolute; inset: 0px; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.smph-hero-slide.smph-is-active { opacity: 1; }
.smph-hero-overlay { background: color-mix(in srgb, var(--color-primary) 67%, transparent); }
.smph-hero-content { position: relative; z-index: 1; max-width: 1180px; padding-block: 92px; }
.smph-hero-kicker, .eyebrow { margin-bottom: 12px; color: var(--color-accent); font-size: 12px; font-weight: 700; line-height: 19.2px; }
.smph-hero-kicker { color: rgb(255, 255, 255); }
.smph-hero h1 { max-width: 680px; font-size: 38px; font-weight: 400; line-height: 1.6; }
.smph-hero-lead { max-width: 560px; margin-top: 18px; font-size: 16px; line-height: 1.8; }
@media (max-width: 880px) {.site-header .smph-container { min-height: 70px; gap: 12px; } .smph-hero { min-height: 500px; } .smph-hero-content { padding-block: 70px; } .smph-hero h1 { font-size: 32px; }}
@media (max-width: 620px) {.smph-container { width: min(100% - 40px, 1180px); } .site-header .smph-container { min-height: 64px; } .smph-hero { min-height: 466px; } .smph-hero-overlay { background: color-mix(in srgb, var(--color-primary) 72%, transparent); } .smph-hero-content { padding-block: 56px; } .smph-hero h1 { font-size: 27px; line-height: 1.6; } .smph-hero-lead { margin-top: 12px; font-size: 14px; line-height: 1.8; }}
.smph-news.smph-hero { min-height: 390px; }
.smph-news.smph-hero .smph-hero-content { padding-block: 76px; }
.smph-news.smph-hero h1 { font-size: 38px; }
@media (max-width: 620px) {.smph-news.smph-hero { min-height: 340px; } .smph-news.smph-hero .smph-hero-content { padding-block: 58px; } .smph-news.smph-hero h1 { font-size: 27px; }}
[data-sm-page-hero] [data-smph-media]{height:390px !important;min-height:0 !important;max-height:none !important;aspect-ratio:auto !important;overflow:hidden !important;}
[data-sm-page-hero] > :only-child{max-width:none !important;width:100% !important;margin-left:0 !important;margin-right:0 !important;}
[data-sm-page-hero] img{width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;object-fit:cover !important;aspect-ratio:auto !important;}
[data-sm-page-hero]{height:auto !important;min-height:390px !important;max-height:none !important;}
@media (max-width: 767px){[data-sm-page-hero]{min-height:300px !important;}[data-sm-page-hero] [data-smph-media]{height:300px !important;}}

/* 下層ページの見出しの大きさを全ページでそろえる(unify-page-headings.js が実測の最多値から書く) */
[data-sm-page-title]{font-size:38px !important;line-height:60.8px !important;letter-spacing:normal !important;font-weight:400 !important;}
[data-sm-section-title]{font-size:26px !important;line-height:41.6px !important;letter-spacing:normal !important;font-weight:400 !important;}
@media (max-width: 767px){[data-sm-page-title]{font-size:27px !important;line-height:43.2px !important;letter-spacing:normal !important;font-weight:400 !important;}[data-sm-section-title]{font-size:22px !important;line-height:35.2px !important;letter-spacing:normal !important;font-weight:400 !important;}}

/* sm-normalize */
/* セクションの写真の縦横比をそろえる・スマホで狭すぎる段組みを1列に・見出しを文節で折り返す(normalize-sections.js) */
[data-sm-ratio]{aspect-ratio:1 / 0.7500 !important;height:auto !important;min-height:0 !important;max-height:none !important;}
img[data-sm-ratio]{width:100% !important;object-fit:cover !important;display:block;}
[data-sm-gallery]{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;grid-auto-rows:auto !important;gap:16px !important;}
[data-sm-gallery] > *{grid-column:auto !important;grid-row:auto !important;width:auto !important;height:auto !important;margin:0 !important;position:relative !important;}
@media (min-width: 768px){[data-sm-gx-pc]{display:none !important;}}
@media (max-width: 767px){[data-sm-gallery]{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important;}[data-sm-gx-sp]{display:none !important;}}

[data-sm-imgbox]{height:auto !important;min-height:0 !important;max-height:none !important;}
@media (max-width: 767px){[data-sm-sp1]{display:grid !important;grid-template-columns:1fr !important;gap:24px !important;}[data-sm-sp1] > *{width:auto !important;max-width:none !important;flex:none !important;grid-column:auto !important;}}
@media (max-width: 767px){[data-sm-sp-tall]{aspect-ratio:4 / 5 !important;height:auto !important;min-height:0 !important;max-height:none !important;}img[data-sm-sp-tall]{width:100% !important;object-fit:cover !important;}}
h1, h2, h3{word-break:auto-phrase;text-wrap:balance;}
[data-sm-hero-box="media"]{height:720px !important;min-height:0 !important;max-height:none !important;aspect-ratio:auto !important;}
[data-sm-hero-box="media"] > *{height:100% !important;min-height:0 !important;}
[data-sm-hero-wide]{max-width:none !important;width:100% !important;margin-left:0 !important;margin-right:0 !important;}
[data-sm-hero-box="section"]{height:auto !important;min-height:720px !important;max-height:none !important;}
img[data-sm-hero-img]{width:100% !important;height:100% !important;object-fit:cover !important;}
@media (max-width: 767px){[data-sm-hero-box="media"]{height:420px !important;}[data-sm-hero-box="section"]{min-height:420px !important;}}
.site-footer .footer-nav ul{display:grid !important;grid-auto-flow:column !important;grid-template-rows:repeat(5, auto) !important;grid-auto-columns:max-content !important;column-gap:clamp(24px, 3vw, 48px) !important;row-gap:0 !important;}
.site-footer .footer-nav li{margin:0 0 0.4rem !important;}
@media (min-width: 768px){.site-footer .footer-grid{grid-template-columns:minmax(0, 1.4fr) auto minmax(0, 1fr) !important;}}
@media (min-width: 768px){.site-header:not(.nav-collapsed) .site-nav ul{display:flex !important;flex-wrap:nowrap !important;grid-template-columns:none !important;align-items:center !important;gap:0 clamp(14px, 1.6vw, 28px) !important;}.site-header:not(.nav-collapsed) .site-nav li{flex:none !important;}.site-header:not(.nav-collapsed) .site-nav a{white-space:nowrap !important;}}

/* sm-reveal */
/* セクションのフェードイン(common.js が画面に入った .fade-in に .visible を付ける。add-section-reveal.js) */
.sm-js .fade-in{opacity:0;transform:translateY(12px);transition:opacity 0.8s ease,transform 0.8s ease;}
.sm-js .fade-in.visible{opacity:1;transform:none;}
@media (prefers-reduced-motion: reduce){.fade-in, .fade-in > *{opacity:1 !important;transform:none !important;transition:none !important;}}
