/*
Theme Name: 太陽カスタムテーマ
Author: 株式会社太陽
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --navy: #1B2A4A;
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --white: #FFFFFF;
  --off-white: #F8F6F1;
  --gray: #666666;
  --light-gray: #EEEBE4;
  --text: #2C2C2C;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  font-weight: 300;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1em;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.site-name:hover { color: var(--gold) !important; }

/* ===== NAV ===== */
.nav-list {
  list-style: none;
  display: flex;
  gap: 0;
}
.nav-list li a {
  display: block;
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.85em;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  transition: color 0.2s;
  font-weight: 400;
}
.nav-list li a:hover { color: var(--gold) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ===== LAYOUT ===== */
.site-content { min-height: 60vh; }
.main-content { max-width: 900px; margin: 0 auto; padding: 60px 32px 80px; }

/* ===== HOME HERO ===== */
.top-catch {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 120px 20px 110px;
  position: relative;
  overflow: hidden;
}
.top-catch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 60px,
    rgba(201,168,76,0.04) 60px, rgba(201,168,76,0.04) 61px
  );
}
.top-catch-inner { position: relative; z-index: 1; }
.top-catch-label {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75em;
  letter-spacing: 0.3em;
  padding: 5px 20px;
  margin-bottom: 32px;
  font-family: 'Noto Serif JP', serif;
}
.top-catch h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 3.2em;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  line-height: 1.4;
  color: var(--white);
}
.top-catch h1 span { color: var(--gold); }
.top-catch p {
  font-size: 1em;
  color: rgba(255,255,255,0.8);
  line-height: 2.2;
  letter-spacing: 0.05em;
}
.top-catch-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 32px auto;
}

/* ===== SERVICE SECTION ===== */
.service-section {
  background: var(--off-white);
  padding: 100px 20px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-en {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.72em;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8em;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
}
.service-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.service-box {
  background: var(--white);
  padding: 48px 36px;
  width: 310px;
  position: relative;
  box-shadow: 0 4px 24px rgba(27,42,74,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}
.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(27,42,74,0.14);
}
.service-box-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2em;
  color: var(--light-gray);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
}
.service-box h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15em;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.service-box p {
  font-size: 0.9em;
  color: var(--gray);
  line-height: 1.9;
}
.service-box-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.85em;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.2s;
}
.service-box-link:hover { color: var(--gold); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 90px 20px;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
}
.cta-banner h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.7em;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  color: var(--white);
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9em;
  margin-bottom: 40px;
}
.cta-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  padding: 18px 60px;
  letter-spacing: 0.15em;
  font-size: 0.95em;
  transition: background 0.3s, color 0.3s;
}
.cta-btn:hover {
  background: var(--gold);
  color: var(--navy) !important;
}

/* ===== PAGE HEADINGS ===== */
.page-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8em;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
}
.page-heading::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 52px; height: 2px;
  background: var(--gold);
}
.sub-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15em;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin: 48px 0 18px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}
.lead-text {
  font-size: 0.97em;
  color: var(--gray);
  line-height: 2.1;
  margin-bottom: 44px;
  padding: 32px 36px;
  background: var(--off-white);
  border-left: 3px solid var(--light-gray);
}

/* ===== COMPANY TABLE ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin: 44px 0;
}
.company-table tr { border-bottom: 1px solid var(--light-gray); }
.company-table tr:first-child { border-top: 1px solid var(--light-gray); }
.company-table th {
  padding: 22px 28px;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9em;
  letter-spacing: 0.08em;
  width: 28%;
  background: var(--off-white);
  vertical-align: top;
  white-space: nowrap;
}
.company-table td {
  padding: 22px 28px;
  color: var(--text);
  font-size: 0.95em;
  vertical-align: top;
}

/* ===== PRESIDENT MESSAGE ===== */
.president-message {
  background: var(--navy);
  color: var(--white);
  padding: 60px 64px;
  margin: 52px 0;
  position: relative;
  overflow: hidden;
}
.president-message::before {
  content: '\201C';
  position: absolute;
  top: -20px; left: 30px;
  font-family: 'Noto Serif JP', serif;
  font-size: 12em;
  color: rgba(201,168,76,0.1);
  line-height: 1;
}
.president-message .catchword {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
  letter-spacing: 0.1em;
}
.president-message p {
  line-height: 2.2;
  color: rgba(255,255,255,0.88);
  font-size: 0.95em;
  position: relative;
  margin-bottom: 0;
}
.president-name {
  text-align: right !important;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  margin-top: 36px !important;
  color: var(--gold-light) !important;
  letter-spacing: 0.08em;
}

/* ===== RECOMMEND BOX ===== */
.recommend-box {
  background: var(--off-white);
  padding: 40px 44px;
  margin: 36px 0;
}
.recommend-box h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1em;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
  letter-spacing: 0.06em;
}
.recommend-box ul { list-style: none; padding: 0; margin: 0; }
.recommend-box li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--gray);
  font-size: 0.93em;
  border-bottom: 1px solid var(--light-gray);
}
.recommend-box li:last-child { border-bottom: none; }
.recommend-box li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===== SERVICE DETAIL CARD ===== */
.service-detail-card {
  padding: 36px 40px;
  margin: 18px 0;
  border: 1px solid var(--light-gray);
  transition: border-color 0.2s;
}
.service-detail-card:hover { border-color: var(--gold); }
.service-detail-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.08em;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.service-detail-card p {
  color: var(--gray);
  font-size: 0.92em;
  line-height: 2;
  margin: 0;
}

/* ===== CONTACT ===== */
.contact-lead {
  text-align: center;
  padding: 20px 20px 16px;
  font-size: 0.97em;
  line-height: 2.2;
  color: var(--gray);
}
.contact-tel-box {
  background: var(--navy);
  color: var(--white);
  padding: 48px;
  margin: 52px 0;
  text-align: center;
}
.contact-tel-box h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.82em;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 18px;
}
.contact-tel-box .tel-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.6em;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.contact-tel-box .fax {
  font-size: 0.88em;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}
.contact-tel-box .hours {
  font-size: 0.82em;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

/* Contact Form 7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--light-gray);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95em;
  color: var(--text);
  background: var(--white);
  margin-bottom: 4px;
  transition: border-color 0.2s;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus { outline: none; border-color: var(--gold); }
.wpcf7 textarea { height: 180px; resize: vertical; }
.wpcf7 input[type="submit"] {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 16px 56px;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95em;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 12px;
}
.wpcf7 input[type="submit"]:hover { background: var(--gold); color: var(--navy); }

/* ===== FOOTER ===== */
.site-footer {
  background: #111820;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 52px 20px;
}
.footer-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1em;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-address,
.footer-tel {
  font-size: 0.85em;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.footer-copy {
  font-size: 0.78em;
  margin-top: 24px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .header-inner { padding: 0 20px; }
  .nav-list { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 12px 0; }
  .nav-list.open { display: flex; }
  .nav-list li a { padding: 12px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .main-content { padding: 40px 20px 60px; }
  .top-catch { padding: 80px 20px 70px; }
  .top-catch h1 { font-size: 2.2em; }
  .service-section { padding: 70px 20px; }
  .service-boxes { flex-direction: column; align-items: center; }
  .service-box { width: 100%; max-width: 460px; }
  .president-message { padding: 40px 28px; }
  .company-table th { width: 38%; font-size: 0.85em; padding: 16px; }
  .company-table td { padding: 16px; }
  .recommend-box { padding: 28px 24px; }
  .service-detail-card { padding: 28px 24px; }
  .cta-btn { padding: 16px 40px; }
  .contact-tel-box { padding: 36px 24px; }
  .contact-tel-box .tel-num { font-size: 2em; }
}

.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
