/* ==============================
   株式会社わぉ - メインスタイル
   ============================== */

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

/* ── リセット & 変数 ── */
:root {
  --yellow: #FFD700;
  --yellow-light: #FFF3B0;
  --yellow-dark: #E6BE00;
  --coral: #FF6B6B;
  --coral-dark: #e05555;
  --charcoal: #222222;
  --mid-gray: #555555;
  --light-gray: #F8F8F8;
  --white: #FFFFFF;
  --border: #E8E8E8;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── コンテナ ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── セクション共通 ── */
.section { padding: 160px 0; }

.section-label {
  font-family: var(--font-en) !important;
  font-size: 1.5rem !important; 
  font-weight: 900 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--yellow-dark) !important;
  display: block !important;
  margin-bottom: 30px !important; 
  line-height: 1 !important;
  text-align: center !important;
}
.section-title {
  font-size: clamp(2.0rem, 4vw, 2.8rem); /* 文字を少し大きく */
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 24px;
  text-align: inherit;
}
.section-desc {
  color: var(--mid-gray);
  font-size: 1.15rem; /* 読みやすく少し大きく */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-jp);
  cursor: pointer;
  transition: var(--transition);
  border: 2.5px solid transparent;
}
.btn-primary {
  background: var(--yellow);
  color: var(--charcoal);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,215,0,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.btn-coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-coral:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,107,0.4);
}
.arrow { font-size: 1.1em; }

/* ── フェードイン ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   ヘッダー・ナビ
   ============================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--yellow);
  transition: var(--transition);
}
#site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 100%; max-height: 60px; width: auto; object-fit: contain; }
.logo-text {
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--mid-gray);
  line-height: 1.3;
}

/* PC ナビ */
.nav-pc { display: flex; gap: 32px; align-items: center; }
.nav-pc a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 4px;
}
.nav-pc a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width var(--transition);
}
.nav-pc a:hover::after { width: 100%; }
.nav-pc .nav-contact {
  background: var(--yellow);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--charcoal);
}
.nav-pc .nav-contact::after { display: none; }
.nav-pc .nav-contact:hover { background: var(--yellow-dark); }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 4px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* スマホメニュー */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  position: absolute;
  top: 68px;
  left: 0; right: 0;
  padding: 16px 24px;
  box-shadow: var(--shadow);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

/* ==============================
   ① ヒーロースライダー（フルワイド）
   ============================== */
#hero {
  position: relative;
  width: 100%;
  height: 75vh; /* 圧迫感を無くした高さ */
  min-height: 500px;
  overflow: hidden;
  margin-bottom: 0;
}

/* スライドコンテナ */
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 各スライド */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.05);
  animation: none;
}
.hero-slide.active {
  opacity: 1;
  animation: hero-zoom 6s ease forwards;
}
@keyframes hero-zoom {
  0%   { transform: scale(1.05); }
  100% { transform: scale(1.0); }
}

/* 暗幕オーバーレイ */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.20) 0%,
    rgba(0,0,0,0.50) 50%,
    rgba(0,0,0,0.30) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* 中央テキストブロック */
.hero-text-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 40px;
  color: var(--white);
}
.hero-catch-en {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.3s forwards;
}
.hero-catch {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fadeUp 0.9s ease 0.6s forwards;
}
.hero-catch-accent {
  color: var(--yellow);
  display: inline-block;
}
.hero-catch-sub {
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fadeUp 0.9s ease 0.9s forwards;
}
.hero-catch-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s ease 1.1s forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(20px); }
}

/* ドットインジケーター */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.hero-dot.active {
  background: var(--yellow);
  transform: scale(1.3);
}

/* スクロール誘導 */
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  right: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scroll-down 1.8s ease-in-out infinite;
}
@keyframes scroll-down {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}



/* ==============================
   ② 代表の想い
   ============================== */
#message {
  background: var(--white);
  padding: 80px 0;
}
.message-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}
.message-img-wrap {
  position: relative;
}
.message-img-wrap::after {
  content: '"';
  position: absolute;
  top: -20px; left: -10px;
  font-size: 8rem;
  color: var(--yellow);
  font-family: var(--font-en);
  font-weight: 900;
  line-height: 1;
  opacity: 0.5;
}
.message-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.president-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--yellow);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.president-badge .name {
  font-weight: 900;
  font-size: 1rem;
  color: var(--charcoal);
}
.president-badge .title {
  font-size: 0.75rem;
  color: var(--mid-gray);
}
.message-quote {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--charcoal);
  border-left: 5px solid var(--yellow);
  padding-left: 20px;
}
.message-text {
  color: var(--mid-gray);
  margin-bottom: 32px;
  line-height: 1.9;
}
.message-story-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-weight: 700;
  font-size: 0.95rem;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--coral);
  transition: var(--transition);
}
.message-story-btn:hover {
  gap: 14px;
  color: var(--coral-dark);
  border-color: var(--coral-dark);
}

/* ==============================
   ② 黄色背景メッセージセクション
   ============================== */
#message {
  padding-top: 0;
  padding-bottom: 0; /* 下部の余白を削除 */
}

.message-bg-section {
  position: relative;
  width: 100%;
  padding: 120px 24px 80px;
  background-color: var(--yellow);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.05) 0px,
    rgba(0,0,0,0.05) 20px,
    transparent 20px,
    transparent 40px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.message-bg-inner {
  max-width: 900px;
  width: 100%;
  z-index: 2;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2); /* 視認性向上のための影 */
}

.message-bg-catch {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem); /* 小さすぎた文字を大きく */
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 依頼①: 引用文の背景（白枠）を完全に削除 */
#message .message-bg-section .message-bg-inner .message-bg-quote {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto 40px !important;
  display: inline-block !important;
  border-radius: 0 !important;
}

.message-bg-text {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 2;
  margin-bottom: 48px;
  font-weight: 500;
}

/* 白枠ボタン */
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-white-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
  .message-bg-section { padding: 80px 24px; }
  .message-bg-quote { padding: 16px 20px; }
}

/* ==============================
   ③ TARGET
   ============================== */
#target {
  background: var(--light-gray) !important;
  padding: 160px 0 !important;
  margin-top: 0 !important;
  text-align: center !important;
}

#target .section-label,
#target .container .section-label,
#target span.section-label {
  font-family: var(--font-en) !important;
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--yellow-dark) !important;
  display: block !important;
  margin-bottom: 30px !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

#target .container .section-label,
#target .container .section-title,
#target .container .section-desc {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

.target-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-top: 48px !important;
  text-align: left !important;
}
.target-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.target-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.target-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.target-card:hover::before { transform: scaleX(1); }
.target-icon {
  width: 64px; height: 64px;
  background: var(--yellow-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.target-card h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.target-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.8;
}

/* ==============================
   ④ SERVICE
   ============================== */
#service {
  background: var(--white);
  color: var(--charcoal);
  padding: 100px 0;
}
#service .section-title { color: #3333aa; text-align: center; margin-bottom: 60px; }
#company-message .section-label {
  color: #ffffff !important;
  font-size: 1.5rem !important;
  margin-bottom: 30px !important;
}

#service .section-label { 
  color: var(--yellow-dark); 
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 30px;
}
#service .section-desc { 
  color: var(--mid-gray); 
  text-align: center; 
  margin-bottom: 48px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.service-card-header {
  padding: 40px 20px;
  text-align: center;
  color: #333388;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-color-1 { background-color: #bffffd; } /* 水色 */
.service-color-2 { background-color: #c9ffcf; } /* 薄緑 */
.service-color-3 { background-color: #eadaff; } /* 紫 */

.service-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.service-card-body {
  padding: 40px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央揃え */
  text-align: center; /* テキストも中央揃え */
}

.service-card-text {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.8;
}

.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5555ee;
  color: var(--white);
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-service:hover {
  background: #3333cc;
  padding-right: 28px;
}
.btn-service span {
  font-size: 1.1rem;
}

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

/* ==============================
   ⑤ 最新情報
   ============================== */
/* ==============================
   ⑥ 4コマ漫画セクション（無限ループスライダー）
   ============================== */
#manga {
  background: var(--white);
  padding: 160px 0; /* 参考サイト基準の余白 */
  overflow: hidden;
}
.manga-header {
  text-align: center;
  margin-bottom: 60px;
}
.manga-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.manga-slider-track {
  display: flex;
  width: calc(300px * 16 + 30px * 16); /* 画像幅 * 枚数 + ギャップ * 枚数 */
  gap: 30px;
  animation: manga-scroll 60s linear infinite;
}
/* ホバー時に停止 */
.manga-slider-container:hover .manga-slider-track {
  animation-play-state: paused;
}
.manga-slide {
  flex: 0 0 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.manga-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.manga-slide img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes manga-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-300px * 8 - 30px * 8)); } /* 1セット分（8枚分）スライド */
}

@media (max-width: 768px) {
  .manga-slide {
    flex: 0 0 240px;
  }
  .manga-slider-track {
    width: calc(240px * 16 + 20px * 16);
    gap: 20px;
  }
  @keyframes manga-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-240px * 8 - 20px * 8)); }
  }
}

@media (max-width: 991px) {
  .manga-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .manga-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   ⑥ COMPANY
   ============================== */
#company {
  background: var(--light-gray);
}
.company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--border);
}
.company-table th {
  text-align: left;
  padding: 16px 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mid-gray);
  width: 36%;
  vertical-align: top;
}
.company-table td {
  padding: 16px 0;
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
}

.btn-company-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--yellow);
  color: var(--charcoal);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 1.1rem;
  text-decoration: none;
  margin-top: 32px;
  margin-bottom: 24px;
  transition: var(--transition);
  width: 100%;
  box-shadow: var(--shadow);
}
.btn-company-contact:hover {
  background: var(--yellow-dark);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-company-contact span {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}
.btn-company-contact:hover span {
  transform: translateX(6px);
}

.company-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 300px;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--mid-gray);
}
.company-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.company-map-note { font-size: 0.8rem; }

/* ==============================
   ⑦ CONTACT
   ============================== */
#contact {
  background: linear-gradient(135deg, #FFD700 0%, #FFEA70 60%, #FFF3B0 100%);
  text-align: center;
}
.contact-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}
#contact .section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
#contact .section-desc {
  max-width: 500px;
  margin: 0 auto 36px;
  font-size: 1rem;
  color: var(--charcoal);
}
.contact-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--charcoal);
  margin: 24px 0 0;
  transition: var(--transition);
}
.tel-link:hover { color: var(--coral); }
.tel-note {
  font-size: 0.78rem;
  color: var(--mid-gray);
  margin-top: 8px;
}

/* ==============================
   フッター
   ============================== */
#site-footer {
  background: var(--charcoal);
  color: #aaa;
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo img { height: 60px; width: auto; margin-bottom: 12px; }
.footer-logo p { font-size: 0.82rem; line-height: 1.8; }
.footer-nav h4, .footer-info h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer-nav a {
  display: block;
  font-size: 0.82rem;
  color: #aaa;
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--yellow); }
.footer-info p { font-size: 0.82rem; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: #666;
}

/* ==============================
   ストーリーページ
   ============================== */
.story-page { padding-top: 68px; }
.story-hero {
  background: linear-gradient(135deg, #222 0%, #444 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.story-hero::before {
  content: 'STORY';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(255,215,0,0.04);
  white-space: nowrap;
  pointer-events: none;
}
.story-hero-label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 16px;
}
.story-hero-title {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto;
}

.story-content {
  padding: 80px 0;
  background: var(--white);
}
.story-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}
.story-aside { position: sticky; top: 90px; }
.story-aside-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 20px;
}
.story-aside-card {
  background: var(--yellow-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border-left: 4px solid var(--yellow);
}
.story-aside-card .name {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.story-aside-card .title {
  font-size: 0.8rem;
  color: var(--mid-gray);
}

.story-text p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 28px;
  color: var(--charcoal);
}
.story-text .highlight {
  background: linear-gradient(transparent 60%, var(--yellow-light) 60%);
  font-weight: 700;
}
.story-text blockquote {
  background: var(--light-gray);
  border-left: 5px solid var(--yellow);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.9;
  font-weight: 500;
  color: var(--charcoal);
}

.story-cta {
  background: var(--light-gray);
  padding: 60px 24px;
  text-align: center;
}
.story-cta h2 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.story-cta p {
  color: var(--mid-gray);
  margin-bottom: 32px;
}
.story-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==============================
   レスポンシブ（スマートフォン優先）
   ============================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .message-inner { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .company-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .story-inner { grid-template-columns: 1fr; }
  .story-aside { position: static; }
  .nav-pc { display: none; }
  .hamburger { display: flex; }
  .section { padding: 56px 0; }
  .hero-inner { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .hero-btns { flex-direction: column; }
  .contact-btns { flex-direction: column; align-items: center; }
  .story-cta-btns { flex-direction: column; align-items: center; }
  .hero-title { font-size: 1.9rem; }
  .message-img-wrap img { height: 360px; }
}

/* ============================================================
   ノワール様修正用：最優先スタイル（既存の競合を完全に上書き）
   ============================================================ */

/* 修正①：引用文の背景（白枠/黄色ボックス）を完全に削除 */
#message .message-bg-section .message-bg-inner .message-bg-quote,
section#message .message-bg-section .message-bg-inner p.message-bg-quote {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto 40px !important;
  border-radius: 0 !important;
  display: inline-block !important;
}

/* 修正②：セクション間の余白（白い空間）を完全に削除 */
section#message {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

section#target {
  padding-top: 160px !important; /* 指示通り余白をさらに拡大 */
  padding-bottom: 80px !important;
  margin-top: 0 !important;
  background: var(--light-gray) !important;
}

/* 修正③：TARGETセクションを画面の真ん中に配置（完全な中央揃え） */
section#target .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* ラベルをWORKS風に調整 */
section#target .section-label {
  font-family: var(--font-en) !important;
  font-size: 1.5rem !important;
  font-weight: 950 !important;
  color: #000 !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 60px !important; /* ラベル下の余白を拡大 */
  text-transform: uppercase !important;
}

/* タイトルをモダンで控えめなサイズに調整 */
section#target .section-title {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #222 !important;
  letter-spacing: 0.12em !important;
  margin-bottom: 32px !important; /* タイトル下の余白を調整 */
  line-height: 1.6 !important;
}

/* 説明文の行間とサイズを参考サイト風に調整 */
section#target .section-desc {
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  color: #333 !important;
  line-height: 2.2 !important;
  letter-spacing: 0.08em !important;
  max-width: 800px !important;
  margin-bottom: 48px !important;
}

section#target .section-label,
section#target .section-title,
section#target .section-desc {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  width: 100% !important;
}

/* TARGET タブ切り替えの実装 */
.target-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  width: 100%;
}

.target-tab {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  width: 140px;
  padding: 0;
}

.target-tab .target-icon {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 3px solid transparent;
  overflow: hidden; /* 画像を円形に切り抜く */
}

.target-tab .target-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠いっぱいに表示 */
}

.target-tab.active .target-icon {
  border-color: var(--yellow);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}

.target-tab .target-label-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mid-gray);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.target-tab.active .target-label-text {
  color: #000;
}

.target-tab:hover .target-icon {
  transform: translateY(-5px);
}

/* コンテンツエリア */
.target-contents {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 400px;
}

.target-content {
  display: none;
  opacity: 0;
}

.target-content.active {
  display: block;
  opacity: 1;
  animation: targetFadeIn 0.6s ease forwards;
}

@keyframes targetFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.target-content-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: left;
}

.target-content-text h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #000;
  letter-spacing: 0.05em;
}

.target-content-text p {
  line-height: 1.8;
  color: #444;
}

.target-points {
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.target-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.target-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 950;
}

.target-content-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.target-visual-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.target-content:hover .target-visual-img {
  transform: scale(1.05);
}

.step-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--yellow);
  color: #000;
  padding: 8px 18px;
  font-weight: 950;
  font-size: 0.85rem;
  border-radius: 4px;
  z-index: 10;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
  .target-content-inner {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .target-tabs {
    gap: 15px;
  }
  .target-tab {
    width: 90px;
  }
  .target-tab .target-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  .target-tab .target-label-text {
    font-size: 0.8rem;
  }
}
/* ==============================
   ④ COMPANY MESSAGE (ティーザー)
   ============================== */
.section-message-teaser {
  background-color: var(--white);
  padding: 0;
}

.message-teaser-bg {
  background-color: var(--yellow);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.message-teaser-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40' fill='%23000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.message-teaser-bg .section-label {
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}

.teaser-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.teaser-photo {
  width: min(90%, 800px);
  background: var(--white);
  padding: 12px;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transform: rotate(-1deg);
  transition: var(--transition);
}

.teaser-photo:hover {
  transform: rotate(0deg) scale(1.02);
}

.teaser-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9.5; /* 自然な高さに微調整 */
  object-fit: cover;
  object-position: center 25%; /* 上がりすぎを抑え、頭が入る位置に調整 */
  border-radius: 2px;
}

.teaser-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.teaser-btn {
  background: var(--white);
  border: none;
  padding: 16px 48px;
  border-radius: 100px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
}

.teaser-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.teaser-btn-en {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  line-height: 1.2;
}

.teaser-btn-jp {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mid-gray);
  margin-top: 2px;
}

.teaser-btn-arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.teaser-btn-arrow::after {
  content: '>';
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--yellow-dark);
}

.teaser-btn:hover .teaser-btn-arrow {
  right: -30px;
  background: var(--yellow);
}

.teaser-btn:hover .teaser-btn-arrow::after {
  color: var(--white);
}

/* ==============================
   代表メッセージ モーダル
   ============================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 2100;
  background: var(--white);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.1);
  font-size: 28px;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--coral);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-inner {
  display: flex;
  height: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-photo {
  flex: 0 0 40%;
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.modal-photo .president-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.signature-wrap {
  background: #fff;
  padding: 24px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--border);
}

.signature-img {
  max-width: 200px;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .signature-img {
    max-width: 150px;
  }
}

.modal-text {
  flex: 1;
  padding: 60px 48px;
}

.modal-text p {
  margin-bottom: 24px;
  color: var(--mid-gray);
  font-size: 1rem;
  line-height: 1.8;
}

.modal-quote {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  border-left: 4px solid var(--yellow);
  padding-left: 20px;
  margin: 32px 0 !important;
  background: var(--yellow-light);
  padding: 20px 24px 20px 44px;
  position: relative;
}

.modal-quote::before {
  content: '“';
  position: absolute;
  left: 12px;
  top: 10px;
  font-family: var(--font-en);
  font-size: 3rem;
  color: var(--yellow);
  opacity: 0.5;
}

.modal-signature {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: right;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}

/* モーダル レスポンシブ */
@media (max-width: 900px) {
  .modal-inner {
    flex-direction: column;
  }
  .modal-photo {
    flex: none;
    height: 300px;
  }
  .modal-text {
    padding: 32px 24px;
  }
}

/* --- 追加分：スマホ用ターゲットアイコンと点滅アニメーション --- */
@keyframes targetPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    border-color: rgba(255, 215, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    border-color: transparent;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    border-color: transparent;
  }
}

.target-tab:not(.active) .target-icon {
  animation: targetPulse 2s infinite;
}

@media (max-width: 600px) {
  .target-tabs {
    flex-wrap: nowrap;
    gap: 10px;    
  }
  .target-tab {
    width: 32%;
    gap: 8px;
  }
  .target-tab .target-icon {
    width: 65px;
    height: 65px;
    font-size: 2rem;
  }
  .target-tab .target-label-text {
    font-size: 0.7rem;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
}
