/*
Theme Name: Summer Coming Corporate
Theme URI: https://www.summer-coming.com/
Author: 浜畑夏来
Author URI: https://www.summer-coming.com/
Description: 株式会社サマーカミング コーポレートサイト用オリジナルテーマです。
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: summer-coming
*/

/* ==========================================================================
   株式会社サマーカミング コーポレートサイト 共通スタイル
   ========================================================================== */

:root {
  --color-orange: #f2762e;
  --color-orange-dark: #d95f1a;
  --color-orange-light: #fdece0;
  --color-green: #2e7d5b;
  --color-green-dark: #21593f;
  --color-green-light: #e6f3ec;
  --color-navy: #1f2a33;
  --color-text: #333d44;
  --color-text-light: #6b7580;
  --color-bg: #fffdfb;
  --color-border: #e6e2dc;
  --max-width: 1120px;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(31, 42, 51, 0.08);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-orange-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.section-lead {
  color: var(--color-text-light);
  max-width: 640px;
  margin-bottom: 48px;
}

.bg-alt {
  background-color: var(--color-green-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  color: #fff;
  box-shadow: 0 10px 20px rgba(242, 118, 46, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(242, 118, 46, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-green-dark);
  border-color: var(--color-green);
}

.btn-outline:hover {
  background: var(--color-green);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost-white:hover {
  background: #fff;
  color: var(--color-navy);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--color-orange);
}

.nav-list {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-list a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after,
.nav-list a.current-menu-item::after {
  width: 100%;
}

.nav-list a.active {
  color: var(--color-orange-dark);
}

.nav-cta {
  background: var(--color-navy);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem !important;
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-banner {
  background: var(--color-green-dark);
  padding: 48px 24px 40px;
  text-align: center;
}

.sun-icon {
  width: 200px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.hero-tagline {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 4px;
}

.hero-content {
  max-width: 720px;
  text-align: center;
  padding: 56px 24px 72px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 1.9rem;
  line-height: 1.6;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 22px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--color-orange-dark);
}

.hero-content p {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-hero {
  padding: 88px 0 72px;
  background: linear-gradient(120deg, var(--color-navy), var(--color-green-dark));
  color: #fff;
  text-align: center;
}

.page-hero .section-label {
  color: var(--color-orange);
}

.page-hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- News list ---------- */
.news-list {
  border-top: 1px solid var(--color-border);
}

.news-item {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: baseline;
}

.news-date {
  color: var(--color-text-light);
  font-size: 0.85rem;
  min-width: 100px;
}

.news-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-green-dark);
  background: var(--color-green-light);
  padding: 4px 12px;
  border-radius: 999px;
  min-width: 84px;
  text-align: center;
}

/* ---------- Table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.info-table th {
  width: 200px;
  color: var(--color-text-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.info-table td {
  color: var(--color-navy);
}

/* ---------- Founder message ---------- */
.founder {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--color-orange-light), var(--color-green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-weight: 700;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Business detail ---------- */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.business-block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.business-block:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.business-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 16px;
}

.business-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
}

.business-icon.green {
  background: var(--color-green-light);
  color: var(--color-green-dark);
}

.business-block h3 {
  font-size: 1.2rem;
  color: var(--color-navy);
  margin-bottom: 0;
}

.business-block p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.business-block ul {
  margin-top: 16px;
}

.business-block ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.business-block ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

/* ---------- Google Form embed ---------- */
.google-form-wrapper {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.google-form-wrapper iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info-card {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
  height: fit-content;
}

.contact-info-card h3 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-info-card dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  row-gap: 16px;
}

.contact-info-card dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.contact-info-card dd {
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-orange), var(--color-orange-dark));
  color: #fff;
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta-band p {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--color-orange);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Generic page content (page.php) ---------- */
.entry-content h2 {
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-top: 40px;
  margin-bottom: 16px;
}

.entry-content p {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .founder {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    max-width: 220px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-list {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  section {
    padding: 64px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-table th {
    width: 120px;
  }
}
