/*
Theme Name: Synergyll Corporate Editable
Theme URI: https://www.synergyll.com/
Author: Genspark
Description: homepage.zip をもとに、シナジル合同会社サイトを WordPress で編集しやすい形に変換したテーマです。トップページの主要セクションはカスタマイザーから編集でき、各固定ページ本文はブロックエディタで編集できます。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: synergyll
Tags: corporate, business, responsive, custom-menu, custom-logo, featured-images
*/

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #2c2c2c;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1a4d7a; text-decoration: none; transition: color .2s; }
a:hover { color: #d4a017; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
p { margin: 0 0 1.1em; }
.container { width: min(1140px, 92%); margin-inline: auto; }
.section { padding: 96px 0; }
.section--alt { background: #f7f5f0; }
.section__head { text-align: center; margin-bottom: 56px; }
.section__label { display: inline-block; font-size: 13px; letter-spacing: .25em; color: #d4a017; margin-bottom: 12px; text-transform: uppercase; font-weight: 600; }
.section__title { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 16px; color: #1a2b3c; }
.section__lead { color: #666; max-width: 720px; margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: #1a2b3c; }
.site-logo img { max-height: 44px; width: auto; }
.global-nav ul { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.global-nav a { color: #2c2c2c; font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
.global-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: #d4a017; transition: width .25s; }
.global-nav a:hover::after, .global-nav .current-menu-item > a::after, .global-nav .current_page_item > a::after, .global-nav .current_page_parent > a::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: #1a2b3c; }
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(26,43,60,.86), rgba(26,77,122,.78)),
    radial-gradient(circle at 20% 30%, rgba(212,160,23,.35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(26,77,122,.5), transparent 55%),
    #1a2b3c;
}
.hero__content { max-width: 720px; padding: 40px 0; }
.hero__label { font-size: 13px; letter-spacing: .3em; color: #f5d57a; margin-bottom: 16px; }
.hero__title { font-size: clamp(30px, 5vw, 52px); line-height: 1.3; margin: 0 0 20px; }
.hero__desc { font-size: 17px; opacity: .92; margin-bottom: 32px; }
.hero__cta { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; font-weight: 600; font-size: 15px;
  border-radius: 2px; border: 2px solid transparent; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.btn--primary { background: #d4a017; color: #fff; border-color: #d4a017; }
.btn--primary:hover { background: #b5880f; border-color: #b5880f; color: #fff; }
.btn--outline { background: transparent; color: #fff; border-color: #fff; }
.btn--outline:hover { background: #fff; color: #1a2b3c; }
.btn--dark { background: #1a2b3c; color: #fff; border-color: #1a2b3c; }
.btn--dark:hover { background: #d4a017; border-color: #d4a017; color: #fff; }
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.biz-card {
  background: #fff; padding: 40px 28px; text-align: center;
  border: 1px solid #eee; transition: all .3s;
  display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.08); border-color: #d4a017; }
.biz-card__icon { font-size: 44px; color: #d4a017; margin-bottom: 20px; }
.biz-card__title { font-size: 20px; margin: 0 0 12px; color: #1a2b3c; }
.biz-card__desc { color: #666; font-size: 14.5px; flex: 1; }
.biz-card__link { margin-top: 20px; font-size: 14px; font-weight: 600; color: #1a4d7a; }
.biz-card__link::after { content: " →"; }
.news-list { list-style: none; padding: 0; margin: 0; max-width: 860px; margin-inline: auto; }
.news-list li { display: flex; gap: 28px; padding: 22px 0; border-bottom: 1px solid #e8e8e8; align-items: baseline; flex-wrap: wrap; }
.news-list time { color: #999; font-size: 14px; min-width: 100px; }
.news-list .news-cat { background: #1a2b3c; color: #fff; font-size: 11px; padding: 3px 10px; letter-spacing: .1em; }
.news-list a { color: #2c2c2c; font-weight: 500; }
.page-header {
  padding: 100px 0 64px;
  background: linear-gradient(135deg, #1a2b3c, #1a4d7a);
  color: #fff; text-align: center;
}
.page-header h1 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 10px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.75); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb span { margin: 0 8px; }
.contact-box { background: #fff; padding: 48px; max-width: 820px; margin: 0 auto; border-top: 4px solid #d4a017; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1px solid #ccc; font-size: 15px; font-family: inherit;
  border-radius: 2px; background: #fafafa;
}
.required { color: #c0392b; font-size: 12px; margin-left: 6px; }
.company-table { width: 100%; border-collapse: collapse; max-width: 820px; margin: 0 auto; }
.company-table th, .company-table td { padding: 20px 16px; text-align: left; border-bottom: 1px solid #e8e8e8; font-size: 15px; vertical-align: top; }
.company-table th { width: 30%; color: #1a2b3c; font-weight: 600; background: #f7f5f0; }
.site-footer { background: #1a2b3c; color: #cfd6de; padding: 64px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin: 0 0 16px; letter-spacing: .05em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a { color: #cfd6de; }
.footer-grid a:hover { color: #d4a017; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: 13px; color: #8a96a4; }
.entry-content { max-width: 820px; margin: 0 auto; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p, .editor-styles-wrapper p { line-height: 2; }
.post-card { background: #fff; border: 1px solid #eee; padding: 32px; margin-bottom: 20px; }
.post-card__meta { color: #888; font-size: 14px; margin-bottom: 8px; }
.post-navigation, .posts-navigation { max-width: 860px; margin: 40px auto 0; }
.wp-block-button__link { border-radius: 2px; }
.notice-box {
  background: #fffbe8;
  border-left: 4px solid #ffd83b;
  padding: 18px 20px;
  margin: 0 auto;
  max-width: 820px;
}
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px;
}
@media (max-width: 960px) {
  .business-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .global-nav { position: fixed; inset: 76px 0 0; background: #fff; transform: translateX(100%); transition: transform .3s; padding: 32px; overflow-y: auto; }
  .global-nav.is-open { transform: translateX(0); }
  .global-nav ul { flex-direction: column; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-box { padding: 28px; }
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { background: transparent; padding-bottom: 4px; }
  .company-table td { padding-top: 4px; padding-bottom: 18px; }
}
