/*
Theme Name: TRAVIO Corporate
Theme URI: https://travio.co.jp
Author: 株式会社TRAVIO
Author URI: https://travio.co.jp
Description: 株式会社TRAVIOオリジナルコーポレートテーマ。貿易・輸入販売会社向けのオレンジ系デザイン。
Version: 1.0.0
License: Private
Text Domain: travio
*/

/* ─── リセット & 基本 ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #E8650A;
  --orange-light: #F4892E;
  --orange-pale: #FFF4EC;
  --dark: #1A1A1A;
  --gray: #666;
  --light-gray: #F5F5F5;
  --border: #E0E0E0;
  --white: #FFFFFF;
}

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: var(--dark);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─── HEADER ─── */
#site-header {
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.site-logo img { height: 52px; width: auto; }

/* ─── NAVIGATION ─── */
#primary-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

#primary-nav ul li a {
  display: block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  transition: background .2s, color .2s;
}

#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item > a {
  background: var(--orange);
  color: white;
}

/* ─── HAMBURGER (mobile) ─── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: all .3s;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  #primary-nav {
    display: none;
    position: absolute;
    top: 79px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 2px solid var(--orange);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }

  #primary-nav.open { display: block; }

  #primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 20px;
  }

  #primary-nav ul li a {
    padding: 10px 8px;
    border-radius: 6px;
  }
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, #FF8C00 0%, #E8650A 40%, #C94B00 100%);
  color: white;
  padding: 90px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-content { position: relative; z-index: 1; }

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 12px;
  letter-spacing: .1em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero p {
  font-size: clamp(14px, 2vw, 18px);
  opacity: .9;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn-white  { background: white; color: var(--orange); }
.btn-outline { background: transparent; border: 2px solid white; color: white; }

/* ─── SECTIONS ─── */
.main-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section, .section-wrap { padding: 60px 0; }

.section-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .04em;
}

.section-title::before {
  content: '';
  width: 5px;
  height: 24px;
  background: var(--orange);
  border-radius: 3px;
  flex-shrink: 0;
}

/* ─── NEWS ─── */
.news-section { border-bottom: 1px solid var(--border); }
.news-list { display: flex; flex-direction: column; }

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.news-item:last-child { border-bottom: none; }

.news-date { font-size: 13px; color: var(--gray); min-width: 100px; padding-top: 2px; }

.news-badge {
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.news-text { font-size: 14px; }
.news-text a { color: var(--orange); }
.news-text a:hover { text-decoration: underline; }

/* ─── ABOUT ─── */
.about-section { background: var(--orange-pale); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }

.about-text h3 { font-size: 20px; font-weight: 800; margin-bottom: 14px; color: var(--orange); }
.about-text p  { color: #444; font-size: 14px; margin-bottom: 10px; }

.about-visual {
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  color: white;
}

.big-num { font-size: 64px; font-weight: 900; line-height: 1; }
.big-num span { font-size: 28px; }
.about-visual > p { opacity: .9; margin-top: 8px; font-size: 14px; }

.about-stats { display: flex; gap: 20px; margin-top: 20px; }

.stat-box {
  flex: 1;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 14px 10px;
}
.stat-box .num   { font-size: 26px; font-weight: 900; }
.stat-box .label { font-size: 11px; opacity: .85; }

/* ─── BUSINESSES ─── */
.businesses-section { border-bottom: 1px solid var(--border); }

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.business-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.business-card:hover {
  box-shadow: 0 8px 30px rgba(232,101,10,.18);
  transform: translateY(-4px);
}

.business-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

.bc-food    { background: linear-gradient(135deg, #FFE4CC, #FFCFA0); }
.bc-health  { background: linear-gradient(135deg, #CCF0E8, #9DDBC6); }
.bc-kitchen { background: linear-gradient(135deg, #E0D4F5, #C5ADE8); }
.bc-beauty  { background: linear-gradient(135deg, #FFD4D4, #FFB0B0); }

.business-card-body { padding: 16px; }
.business-card-body h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.business-card-body p  { font-size: 13px; color: var(--gray); }
.business-card-link { display: flex; align-items: center; gap: 4px; margin-top: 10px; color: var(--orange); font-size: 13px; font-weight: 700; }

/* ─── GENRES ─── */
.genres-section { background: var(--light-gray); }

.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.genre-item {
  background: white;
  border-radius: 10px;
  padding: 20px 10px;
  text-align: center;
  border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.genre-item:hover { border-color: var(--orange); box-shadow: 0 4px 14px rgba(232,101,10,.12); }
.genre-emoji { font-size: 36px; display: block; margin-bottom: 8px; }
.genre-name  { font-size: 13px; font-weight: 700; }

/* ─── SHOP ─── */
.shop-section { border-bottom: 1px solid var(--border); }
.shop-intro { font-size: 15px; color: var(--gray); margin-bottom: 24px; }
.shop-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.shop-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: opacity .2s, transform .2s;
}
.shop-btn:hover { opacity: .85; transform: translateY(-2px); }
.shop-btn-rakuten { background: #BF0000; color: white; }
.shop-btn-amazon  { background: #FF9900; color: #111; }
.shop-btn-yahoo   { background: #FF0033; color: white; }
.shop-btn-qoo10   { background: #FF5400; color: white; }

/* ─── CONTACT ─── */
.contact-section { background: var(--orange-pale); }

.contact-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

@media (max-width: 700px) { .contact-card { flex-direction: column; text-align: center; } }

.contact-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.contact-info p  { font-size: 14px; color: var(--gray); margin-bottom: 6px; }
.contact-tel   { font-size: 28px; font-weight: 900; color: var(--orange); letter-spacing: .04em; }
.contact-hours { font-size: 12px; color: var(--gray); }

.contact-btn {
  flex-shrink: 0;
  background: var(--orange);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.contact-btn:hover { background: #C94B00; transform: translateY(-2px); }

/* ─── FOOTER ─── */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 48px 20px 24px;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }

.footer-logo strong { display: block; font-size: 18px; font-weight: 900; color: var(--orange-light); margin-bottom: 8px; }
.footer-logo p { font-size: 13px; line-height: 1.7; }

.footer-sns { display: flex; gap: 10px; margin-top: 16px; }

.sns-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background .2s;
}
.sns-btn:hover { background: var(--orange); }

.footer-col h5 { font-size: 13px; font-weight: 800; color: white; margin-bottom: 12px; letter-spacing: .06em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: var(--orange-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* ─── WP CORE ─── */
.wp-block-image { margin: 20px 0; }
.aligncenter { text-align: center; }

/* ─── FADE-IN ANIMATION ─── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
