/*
Theme Name: Diseno Corporate
Theme URI: https://mdc-diseno.co.jp
Author: 株式会社ディセーノ
Author URI: https://mdc-diseno.co.jp
Description: 株式会社ディセーノ コーポレートサイト用オリジナルテーマ
Version: 1.0.0
License: Private
Text Domain: diseno
*/

/* ===== DESIGN SYSTEM ===== */
:root {
  --navy: #122337;
  --black: #231916;
  --gold: #C8A96E;
  --gold-dark: #B89A5E;
  --slate: #2F3E50;
  --warm-gray: #F5F5F3;
  --white: #FFFFFF;
  --gray: #8A8A8A;
  --light-border: #EEEEEE;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --header-h: 64px;
  --max-w: 960px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.8;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-label {
  font-size: 10px; color: var(--gold); letter-spacing: 0.2em;
  font-weight: 500; margin-bottom: 8px; text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display); font-size: 28px; font-weight: 600;
  color: var(--black); line-height: 1.3;
}
.text-center { text-align: center; }
.gold-line { width: 32px; height: 2px; background: var(--gold); border-radius: 1px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy); height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; transition: background var(--transition);
}
.header.scrolled { background: rgba(18, 35, 55, 0.97); backdrop-filter: blur(8px); }
.header-logo { display: flex; align-items: center; gap: 10px; }
.header-logo-icon {
  width: 32px; height: 32px; background: rgba(255,255,255,0.08);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff;
}
.header-logo-text { color: #fff; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  color: rgba(255,255,255,0.65); font-size: 12px; letter-spacing: 0.06em;
  transition: color var(--transition); position: relative;
}
.header-nav a:hover { color: #fff; }
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transition: transform var(--transition);
}
.header-nav a:hover::after { transform: scaleX(1); }

.btn-cta {
  display: inline-block; padding: 10px 22px; background: var(--gold); color: #fff;
  border: none; border-radius: 5px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; cursor: pointer; transition: all var(--transition);
}
.btn-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #fff;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 99; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-nav.active { display: flex; opacity: 1; transform: translateY(0); }
.mobile-nav a {
  color: rgba(255,255,255,0.8); font-size: 16px; letter-spacing: 0.1em;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden; padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 60%, #1a3a5c 100%);
  margin-top: var(--header-h);
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(200,169,110,0.04);
}
.hero::after {
  content: ''; position: absolute; top: 60px; right: 80px;
  width: 1px; height: 100px; background: rgba(200,169,110,0.3);
}
.hero-tagline {
  font-size: 16px; color: var(--gold); letter-spacing: 0.25em;
  font-weight: 500; margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display); font-size: 48px; font-weight: 600;
  color: #fff; line-height: 1.2; max-width: 520px; margin-bottom: 16px;
}
.hero-sub {
  font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.9;
  max-width: 440px; margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline {
  display: inline-block; padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8);
  border-radius: 5px; font-size: 12px; letter-spacing: 0.1em;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ===== PHILOSOPHY ===== */
.philosophy { padding: 72px 0; text-align: center; }
.philosophy-statement {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  color: var(--black); line-height: 1.6; max-width: 500px; margin: 0 auto 40px;
}
.pillars { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.pillar { text-align: center; }
.pillar-circle {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 12px;
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--gold);
}
.pillar-label { font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.pillar-desc { font-size: 11px; color: var(--gray); }

/* ===== SERVICE CARDS ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: #fff; border-radius: 12px; padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all var(--transition); cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(18,35,55,0.1);
}
.service-card .gold-line { margin-bottom: 18px; }
.service-card-title {
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  color: var(--black); margin-bottom: 4px;
}
.service-card-tag { font-size: 11px; color: var(--gold); letter-spacing: 0.08em; margin-bottom: 12px; }
.service-card-items { font-size: 12px; color: var(--gray); line-height: 1.7; }
.service-card-link {
  margin-top: 18px; font-size: 11px; color: var(--gold); font-weight: 500;
  transition: color var(--transition);
}
.service-card:hover .service-card-link { color: var(--gold-dark); }

/* ===== REASONS ===== */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reason { text-align: center; padding: 24px 16px; }
.reason-num {
  font-family: var(--font-display); font-size: 40px; font-weight: 300;
  color: var(--gold); margin-bottom: 12px; line-height: 1;
}
.reason-title { font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 10px; line-height: 1.5; }
.reason-desc { font-size: 12px; color: var(--gray); line-height: 1.7; }

/* ===== WP CTA ===== */
.wp-cta-card {
  display: flex; align-items: center; gap: 28px;
  background: #fff; border-radius: 12px; padding: 28px;
}
.wp-cta-cover {
  width: 100px; height: 130px; flex-shrink: 0; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--slate));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 32px; color: rgba(255,255,255,0.3);
}
.wp-cta-tag { font-size: 10px; color: var(--gold); letter-spacing: 0.15em; font-weight: 500; margin-bottom: 6px; }
.wp-cta-title { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 6px; }
.wp-cta-desc { font-size: 12px; color: var(--gray); margin-bottom: 16px; }
.btn-navy {
  display: inline-block; padding: 10px 24px; background: var(--navy); color: #fff;
  border-radius: 5px; font-size: 11px; font-weight: 500; transition: all var(--transition);
}
.btn-navy:hover { background: var(--slate); }

/* ===== CONTACT CTA ===== */
.contact-cta {
  background: linear-gradient(135deg, var(--navy), var(--slate));
  padding: 56px 24px; text-align: center;
}
.contact-cta .section-title { color: #fff; margin-bottom: 12px; }
.contact-cta-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--slate));
  padding: 56px 0; margin-top: var(--header-h);
}
.page-header .section-label { margin-bottom: 10px; }
.page-header h1 {
  font-family: var(--font-display); font-size: 36px; color: #fff;
  font-weight: 600; margin: 0;
}

/* ===== ABOUT ===== */
.about-message { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-message-title {
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  color: var(--black); line-height: 1.4; margin-bottom: 24px;
}
.about-message-text { font-size: 13px; color: #555; line-height: 2; margin-bottom: 20px; }
.about-sig { font-size: 13px; color: var(--black); }
.about-sig small { font-size: 11px; color: var(--gray); }
.about-photo-wrap { position: relative; display: flex; justify-content: center; }
.about-photo { width: 100%; max-width: 340px; border-radius: 12px; position: relative; z-index: 1; }
.about-photo-deco {
  position: absolute; bottom: -12px; right: calc(50% - 180px);
  width: 120px; height: 120px; border: 1px solid var(--gold); border-radius: 12px;
}
.about-profile { background: var(--warm-gray); border-radius: 12px; padding: 28px; }
.about-profile-title { font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 14px; }
.about-profile-text { font-size: 13px; color: #555; line-height: 1.9; }
.about-info-row {
  display: flex; padding: 14px 0; border-bottom: 1px solid var(--light-border); font-size: 13px;
}
.about-info-label { width: 120px; color: var(--gray); flex-shrink: 0; }
.about-info-value { color: var(--black); }

/* ===== SERVICE PAGE ===== */
.service-intro { font-size: 14px; color: #555; line-height: 1.8; max-width: 560px; margin: 0 auto 40px; text-align: center; }
.accordion { margin-bottom: 20px; border-radius: 12px; overflow: hidden; }
.accordion-header {
  padding: 20px 28px; background: var(--navy); color: #fff; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--slate); }
.accordion-tag { font-size: 10px; color: var(--gold); letter-spacing: 0.15em; margin-bottom: 4px; }
.accordion-title { font-size: 16px; font-weight: 600; letter-spacing: 0.04em; }
.accordion-icon { font-size: 18px; color: var(--gold); transition: transform var(--transition); }
.accordion.active .accordion-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden; background: #fff;
  border: 1px solid var(--light-border); border-top: none;
  border-radius: 0 0 12px 12px; transition: max-height 0.4s ease;
}
.accordion.active .accordion-body { max-height: 2000px; }
.accordion-content { padding: 24px; }
.sub-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sub-card { padding: 20px; background: var(--warm-gray); border-radius: 10px; }
.sub-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sub-card-name { font-size: 13px; font-weight: 600; color: var(--black); }
.sub-card-desc { font-size: 12px; color: #666; line-height: 1.8; }

.flow { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; align-items: center; }
.flow-step {
  padding: 12px 20px; background: var(--warm-gray); border-radius: 8px;
  font-size: 13px; font-weight: 500; color: var(--black);
}
.flow-step-num { font-family: var(--font-display); font-size: 16px; color: var(--gold); margin-right: 6px; }
.flow-arrow { color: var(--gold); font-size: 16px; }

/* ===== WP PAGE ===== */
.wp-empty { padding: 100px 24px; text-align: center; }
.wp-empty-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--warm-gray);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px;
}
.wp-empty-title { font-family: var(--font-display); font-size: 22px; color: var(--black); margin-bottom: 12px; }
.wp-empty-text { font-size: 13px; color: var(--gray); line-height: 1.8; max-width: 400px; margin: 0 auto; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 560px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; font-weight: 500; color: var(--gray); margin-bottom: 6px; }
.form-label .required { color: var(--gold); margin-left: 4px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px; font-size: 14px; font-family: var(--font-body);
  border: 1px solid #ddd; border-radius: 6px; background: #fff;
  transition: border-color var(--transition); outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { min-height: 120px; resize: vertical; }
.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--black); cursor: pointer; }
.radio-item input[type="radio"] { accent-color: var(--gold); }
.btn-submit {
  display: block; width: 100%; padding: 15px; background: var(--navy);
  color: #fff; border: none; border-radius: 6px; font-size: 14px;
  font-weight: 500; letter-spacing: 0.1em; cursor: pointer;
  font-family: var(--font-body); transition: all var(--transition);
}
.btn-submit:hover { background: var(--slate); }

/* ===== CF7 Override ===== */
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%; padding: 12px 16px; font-size: 14px; font-family: var(--font-body);
  border: 1px solid #ddd; border-radius: 6px; outline: none;
  transition: border-color var(--transition);
}
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--gold); }
.wpcf7 input[type="submit"] {
  display: block; width: 100%; padding: 15px; background: var(--navy);
  color: #fff; border: none; border-radius: 6px; font-size: 14px;
  font-weight: 500; letter-spacing: 0.1em; cursor: pointer;
  font-family: var(--font-body); transition: all var(--transition);
}
.wpcf7 input[type="submit"]:hover { background: var(--slate); }
.wpcf7 .wpcf7-radio { display: flex; flex-direction: column; gap: 8px; }
.wpcf7-response-output { margin-top: 16px !important; font-size: 13px; }

/* ===== FOOTER ===== */
.footer { background: var(--black); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-logo-icon {
  width: 24px; height: 24px; background: rgba(255,255,255,0.06);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; color: rgba(255,255,255,0.7);
}
.footer-logo-text { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.06em; }
.footer-address { font-size: 11px; color: rgba(255,255,255,0.35); line-height: 1.7; }
.footer-links { display: flex; gap: 36px; }
.footer-links-col { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 11px; color: rgba(255,255,255,0.45); transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 28px; padding-top: 18px;
  font-size: 10px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --header-h: 56px; }
  .header { padding: 0 16px; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 80px 0 60px; }
  .hero-title { font-size: 32px; }
  .hero-tagline { font-size: 13px; }
  .hero-sub { font-size: 13px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn-cta, .hero-buttons .btn-outline { text-align: center; }
  .hero::after { display: none; }
  .section { padding: 48px 0; }
  .section-title { font-size: 22px; }
  .philosophy-statement { font-size: 18px; }
  .pillars { gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .reason { padding: 16px 0; }
  .wp-cta-card { flex-direction: column; text-align: center; }
  .page-header { padding: 40px 0; }
  .page-header h1 { font-size: 28px; }
  .about-message { grid-template-columns: 1fr; }
  .about-photo-wrap { order: -1; }
  .about-message-title { font-size: 20px; }
  .sub-cards { grid-template-columns: 1fr; }
  .flow { flex-direction: column; gap: 12px; }
  .flow-arrow { transform: rotate(90deg); }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { gap: 24px; }
  .contact-cta { padding: 40px 16px; }
}
