/* Asmolinker Theme - Cross Communication参考 完全再現版 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; background: #fff; color: #222; line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

:root {
  --navy:       #111e18;
  --navy-dark:  #0a1410;
  --navy-light: #182b1f;
  --em:         #1bb37a;
  --em-dark:    #0f8a5c;
  --white:      #ffffff;
  --gray-bg:    #f0f2f8;
  --gray-line:  #dde0ea;
  --text:       #222;
  --text-sub:   #666;
  --header-h:   64px;
  --max-w:      1060px;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --section-py: 80px;
}

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

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; } .delay-2 { transition-delay: 0.16s; } .delay-3 { transition-delay: 0.24s; }

/* ===== HEADER ===== */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--gray-line); display: flex; align-items: center; }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.site-logo { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; margin-right: auto; }
.site-logo span { color: var(--em); }
.site-logo img { max-height: 32px; width: auto; }
.nav-right { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-right a { font-size: 12px; font-weight: 500; color: var(--text-sub); transition: color 0.2s; letter-spacing: 0.02em; }
.nav-right a:hover { color: var(--navy); }
.nav-contact-btn { background: var(--navy); color: #fff !important; padding: 9px 20px; font-size: 12px; font-weight: 700; border-radius: 2px; transition: background 0.2s; }
.nav-contact-btn:hover { background: var(--navy-light) !important; }
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--navy); }
.mobile-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; padding: 20px 40px 32px; z-index: 199; border-bottom: 1px solid var(--gray-line); box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--gray-line); }
.mobile-nav a { display: block; padding: 13px 0; font-size: 13px; color: var(--text-sub); }

/* ===== HERO ===== */
.asmo-hero { padding-top: var(--header-h); position: relative; min-height: 580px; overflow: hidden; display: grid; grid-template-columns: 52% 48%; align-items: center; }
.asmo-hero-slides { position: absolute; inset: 0; }
.asmo-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.asmo-hero-slide.active { opacity: 1; }
.asmo-hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,20,14,0.88) 0%, rgba(10,20,14,0.65) 50%, rgba(10,20,14,0.25) 100%); z-index: 1; }
.asmo-hero-grid-bg { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(27,179,122,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(27,179,122,0.045) 1px, transparent 1px); background-size: 64px 64px; }
.asmo-hero-left { position: relative; z-index: 2; padding: 64px 40px 64px 40px; }
.asmo-hero-badges { display: flex; gap: 16px; margin-bottom: 28px; }
.asmo-hero-badge { background: rgba(27,179,122,0.12); border: 1px solid rgba(27,179,122,0.25); padding: 12px 18px; border-radius: 4px; text-align: center; }
.asmo-hero-badge-num { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; color: var(--em); display: block; line-height: 1; }
.asmo-hero-badge-num small { font-size: 12px; }
.asmo-hero-badge-label { font-size: 10px; color: rgba(255,255,255,0.55); margin-top: 4px; display: block; }
.asmo-hero-eyebrow { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.asmo-hero-title { font-size: clamp(22px, 2.8vw, 36px); font-weight: 700; color: #fff; line-height: 1.55; margin-bottom: 18px; }
.asmo-hero-title .em { color: var(--em); }
.asmo-hero-sub { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.9; margin-bottom: 32px; max-width: 400px; }
.asmo-hero-btn { display: inline-block; background: var(--em); color: #fff; padding: 13px 32px; font-size: 14px; font-weight: 700; border-radius: 2px; transition: background 0.2s; }
.asmo-hero-btn:hover { background: var(--em-dark); }
.asmo-hero-right { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 40px 40px 40px 0; }
.asmo-hero-right img { max-width: 360px; width: 100%; filter: drop-shadow(0 0 60px rgba(27,179,122,0.35)) drop-shadow(0 10px 30px rgba(0,0,0,0.3)); animation: orbFloat 6s ease-in-out infinite; }
@keyframes orbFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.asmo-hero-dots { position: absolute; bottom: 28px; right: 40px; z-index: 3; display: flex; gap: 8px; }
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.28); border: none; cursor: pointer; padding: 0; transition: background 0.3s, width 0.3s; }
.hero-dot.active { background: var(--em); width: 20px; border-radius: 3px; }

/* ===== NUMBERS ===== */
.asmo-numbers { background: #fff; border-bottom: 2px solid var(--em); }
.asmo-numbers-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; display: flex; }
.asmo-number-item { flex: 1; padding: 32px 20px; text-align: center; border-right: 1px solid var(--gray-line); }
.asmo-number-item:last-child { border-right: none; }
.asmo-number-val { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 700; color: var(--navy); display: block; line-height: 1; }
.asmo-number-val small { font-size: 16px; }
.asmo-number-em { color: var(--em); }
.asmo-number-label { font-size: 11px; color: var(--text-sub); margin-top: 6px; display: block; }

/* ===== SECTION COMMON ===== */
.asmo-sec-head { text-align: center; margin-bottom: 48px; }
.asmo-sec-head h2 { font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; color: var(--text); line-height: 1.55; margin-bottom: 12px; }
.asmo-sec-head h2 .em { color: var(--em); }
.asmo-sec-head .bar { display: block; width: 40px; height: 3px; background: var(--em); margin: 0 auto 18px; }
.asmo-sec-head p { font-size: 13px; color: var(--text-sub); line-height: 1.9; }

/* ===== SERVICE（画像左＋番号＋説明右 コンパクト） ===== */
.asmo-section-service { padding: var(--section-py) 0; background: var(--gray-bg); }
.asmo-service-list { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; display: flex; flex-direction: column; gap: 16px; }
.asmo-service-row { display: grid; grid-template-columns: 280px 1fr; background: #fff; border: 1px solid var(--gray-line); transition: box-shadow 0.25s; }
.asmo-service-row:hover { box-shadow: 0 4px 20px rgba(26,47,107,0.1); }
.asmo-service-row-img { overflow: hidden; }
.asmo-service-row-img img { width: 280px; height: 100%; object-fit: cover; display: block; min-height: 200px; transition: transform 0.4s; }
.asmo-service-row:hover .asmo-service-row-img img { transform: scale(1.03); }
.asmo-service-row-body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.asmo-service-row-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--em); text-transform: uppercase; margin-bottom: 6px; }
.asmo-service-row-num { font-family: 'Inter', sans-serif; font-size: 36px; font-weight: 700; color: var(--gray-line); line-height: 1; margin-bottom: 4px; }
.asmo-service-row-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.45; }
.asmo-service-row-desc { font-size: 13px; color: var(--text-sub); line-height: 1.9; margin-bottom: 20px; }
.asmo-service-row-link { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid var(--navy); color: var(--navy); padding: 10px 20px; font-size: 12px; font-weight: 600; transition: all 0.2s; width: 180px; }
.asmo-service-row-link:hover { background: var(--navy); color: #fff; }

/* ===== WORKS ===== */
.asmo-section-works { padding: var(--section-py) 0; background: #fff; }
.asmo-works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.asmo-works-card { border: 1px solid var(--gray-line); transition: box-shadow 0.25s; }
.asmo-works-card:hover { box-shadow: 0 4px 20px rgba(26,47,107,0.1); }
.asmo-works-card-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.asmo-works-card-body { padding: 20px 20px 24px; }
.asmo-works-card-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--em); text-transform: uppercase; margin-bottom: 6px; }
.asmo-works-card-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.5; }
.asmo-works-card-desc { font-size: 12px; color: var(--text-sub); line-height: 1.85; margin-bottom: 12px; }
.asmo-works-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.asmo-works-tag { font-size: 10px; color: var(--navy); background: var(--gray-bg); padding: 3px 8px; border: 1px solid var(--gray-line); }

/* ===== FEATURES ===== */
.asmo-section-features { padding: var(--section-py) 0; background: var(--gray-bg); }
.asmo-features-list { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; display: flex; flex-direction: column; gap: 16px; }
.asmo-feature-row { display: grid; grid-template-columns: 240px 1fr; background: #fff; border: 1px solid var(--gray-line); }
.asmo-feature-row-img img { width: 240px; height: 100%; object-fit: cover; display: block; min-height: 180px; }
.asmo-feature-row-body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }
.asmo-feature-row-num { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 700; color: var(--em); line-height: 1; margin-bottom: 2px; }
.asmo-feature-row-label { font-size: 10px; color: var(--text-sub); margin-bottom: 10px; letter-spacing: 0.08em; }
.asmo-feature-row-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.asmo-feature-row-desc { font-size: 13px; color: var(--text-sub); line-height: 1.9; margin-bottom: 18px; }
.asmo-feature-row-link { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid var(--navy); color: var(--navy); padding: 9px 20px; font-size: 12px; font-weight: 600; transition: all 0.2s; width: 160px; }
.asmo-feature-row-link:hover { background: var(--navy); color: #fff; }

/* ===== COMPANY ===== */
.asmo-section-company { padding: var(--section-py) 0; background: #fff; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--gray-line); }
.company-table tr:first-child { border-top: 1px solid var(--gray-line); }
.company-table th { padding: 16px 0; width: 140px; text-align: left; font-size: 13px; font-weight: 500; color: var(--text-sub); vertical-align: top; }
.company-table td { padding: 16px 0 16px 24px; font-size: 13px; color: var(--text); line-height: 1.85; }
.company-table td a { color: var(--em); }

/* ===== CONTACT ===== */
.asmo-section-contact { padding: var(--section-py) 0; background: var(--gray-bg); }
.asmo-contact-form-wrap { max-width: 620px; margin: 0 auto; background: #fff; padding: 48px 48px; border: 1px solid var(--gray-line); }
.asmo-form-group { margin-bottom: 20px; }
.asmo-form-group label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.asmo-form-group .required { font-size: 11px; color: #e53e3e; font-weight: 400; }
.asmo-form-group input, .asmo-form-group textarea { width: 100%; border: 1px solid var(--gray-line); padding: 10px 14px; font-size: 13px; font-family: 'Noto Sans JP', sans-serif; color: var(--text); outline: none; transition: border-color 0.2s; border-radius: 2px; background: #fff; }
.asmo-form-group input:focus, .asmo-form-group textarea:focus { border-color: var(--navy); }
.asmo-form-group input::placeholder, .asmo-form-group textarea::placeholder { color: #bbb; font-size: 12px; }
.asmo-form-group textarea { min-height: 100px; resize: vertical; }
.asmo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.asmo-submit-btn { display: block; width: 100%; background: var(--navy); color: #fff; border: none; padding: 14px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'Noto Sans JP', sans-serif; transition: background 0.2s; border-radius: 100px; margin-top: 8px; }
.asmo-submit-btn:hover { background: var(--navy-light); }
.wpcf7 { width: 100%; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea { width: 100%; border: 1px solid var(--gray-line); padding: 10px 14px; font-size: 13px; font-family: 'Noto Sans JP', sans-serif; color: var(--text); outline: none; border-radius: 2px; margin-bottom: 14px; }
.wpcf7-submit { display: block; width: 100%; background: var(--navy); color: #fff; border: none; padding: 14px; font-size: 14px; font-weight: 700; cursor: pointer; border-radius: 100px; }

/* ===== FOOTER ===== */
#footer { background: var(--navy-dark); padding: 40px 0 24px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 18px; }
.footer-logo-wrap .footer-logo { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.45); }
.footer-logo-wrap .footer-logo span { color: var(--em); }
.footer-tagline { font-size: 10px; color: rgba(255,255,255,0.28); margin-top: 6px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 11px; color: rgba(255,255,255,0.32); transition: color 0.2s; }
.footer-nav a:hover { color: var(--em); }
.footer-bottom { display: flex; justify-content: space-between; }
.footer-copy { font-size: 10px; color: rgba(255,255,255,0.2); }
.footer-addr { font-size: 10px; color: rgba(255,255,255,0.25); }

/* ===== SITEMAP ===== */
.sitemap-block { margin-bottom: 48px; }
.sitemap-heading { font-size: 15px; font-weight: 700; color: var(--navy); padding-bottom: 10px; border-bottom: 1px solid var(--gray-line); margin-bottom: 16px; }
.sitemap-list { list-style: none; }
.sitemap-list li { border-bottom: 1px solid var(--gray-line); }
.sitemap-list li a { display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 13px; color: var(--text-sub); transition: color 0.2s; }
.sitemap-list li a::before { content: '›'; color: var(--em); }
.sitemap-list li a:hover { color: var(--navy); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav-right { display: none; }
  .hamburger { display: flex; }
  .asmo-hero { grid-template-columns: 1fr; }
  .asmo-hero-right { display: none; }
  .asmo-hero-left { padding: 48px 24px; }
  .container, .asmo-service-list, .asmo-features-list, .footer-inner, .header-inner, .asmo-numbers-inner { padding-left: 24px; padding-right: 24px; }
  .asmo-numbers-inner { flex-wrap: wrap; }
  .asmo-number-item { flex: 1 1 50%; }
  .asmo-service-row { grid-template-columns: 1fr; }
  .asmo-service-row-img img { width: 100%; min-height: 160px; }
  .asmo-works-grid { grid-template-columns: 1fr; }
  .asmo-feature-row { grid-template-columns: 1fr; }
  .asmo-feature-row-img img { width: 100%; min-height: 140px; }
  .asmo-contact-form-wrap { padding: 32px 24px; }
  .footer-top { flex-direction: column; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .asmo-form-row { grid-template-columns: 1fr; }
}
