/* ========== リセット・基本設定 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

/* ========== テーマカラーセクション ========== */
.theme-blue { background-color: #eafaff; }
.theme-blue h2 { color: #00C4FF; }
.theme-red { background-color: #ffeded; }
.theme-red h2 { color: #E60012; }

/* ========== コンテナ共通 ========== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== ヘッダー共通 ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

header .logo img {
  height: 45px;
  width: auto;
  display: block;
}

header nav ul {
  list-style: none;
  display: flex;
}

header nav ul li { margin: 0 15px; }

header nav ul li a {
  color: #333;
  font-weight: 500;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #E60012;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
}

/* ========== セクション共通スタイル ========== */
section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #222;
}

/* ========== ボタン共通 ========== */
.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}
.btn-red { background-color: #E60012; color: #fff; }
.btn-blue { background-color: #00C4FF; color: #fff; }

/* ========== フッター：2.4 : 1.0 : 2.6 比率レイアウト ========== */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 0 20px;
  border-top: 4px solid #E60012;
}

.footer-layout {
  display: flex;
  width: 95%; 
  max-width: 1300px; 
  margin: 0 auto;
  justify-content: space-between;
  align-items: center; 
  gap: 20px;
}

/* ① 左側：ロゴエリア (比率 2.4) */
.footer-left {
  flex: 2.4; 
  min-width: 250px;
}

.footer-logo-small img {
  height: 80px; 
  width: auto;
  display: block;
}

/* ② 中央：連絡先 (比率 1.0) */
.footer-center {
  flex: 1.0; 
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 15px;
  min-width: 200px;
}

.footer-center address {
  font-style: normal;
  font-size: 0.75rem;
  color: #aaa;
  line-height: 1.5;
}

.tel-link {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff !important;
}

.tel-label {
  font-size: 0.7rem;
  color: #E60012;
  margin-right: 5px;
}

/* ③ 右側：ナビ・SNS (比率 2.6) */
.footer-right {
  flex: 2.6;
  padding-left: 20px;
  display: flex;
  justify-content: center; /* 右側エリアの「中央」にコンテンツを配置 */
}

/* ★ 右端揃えを維持するための内部ボックス ★ */
.footer-right-content {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end; /* お尻をビシッと揃える */
}

.footer-nav-simple ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end; /* 行内の文字も右寄せ */
  gap: 10px 20px;
  margin-bottom: 20px;
}

.footer-nav-simple a {
  font-size: 0.85rem;
  color: #bbb;
}

.footer-nav-simple a:hover { color: #E60012; }

.footer-social-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sns-copy {
  font-size: 0.75rem;
  color: #888;
}

.insta-btn-mini {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 8px;
  border-radius: 8px;
  line-height: 0;
  transition: 0.3s;
}

.insta-btn-mini:hover { transform: scale(1.1); }

.insta-btn-mini img {
  width: 20px !important;
  height: 20px !important;
  filter: brightness(0) invert(1);
}

/* コピーライト */
.footer-copyright {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  width: 100%;
}

.footer-copyright small {
  font-size: 0.7rem;
  color: #666;
}

/* ========== 画像グリッド ========== */
.image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.image-item {
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
}

.image-item .image-wrapper {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.image-item .image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* =========================
   スマホ共通設定
========================= */
@media (max-width: 768px) {
  body { padding-top: 50px; }
  section { padding: 40px 0 !important; }
  header .container { padding: 0 15px; }
  header .logo img { height: 30px; }
  .menu-toggle { display: block; }

  header nav ul {
    display: none;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    border-top: 1px solid #eee;
  }
  header nav ul.active { display: flex; }

  .footer-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    width: 90%;
  }
  .footer-left, .footer-center, .footer-right {
    flex: none;
    width: 100%;
    padding: 0;
    border: none;
  }
  .footer-right-content {
    align-items: center; /* スマホでは中央揃え */
  }
  .footer-logo-small img { margin: 0 auto; height: 50px; }
  .footer-nav-simple ul { justify-content: center; }
  .footer-social-wrapper { flex-direction: column; gap: 10px; justify-content: center; }
}

/* 改行コントロール */
.sp-only { display: none; }
@media (max-width: 768px) {
  .sp-only { display: block; height: 0; }
  .note { display: inline-block; white-space: nowrap; font-size: 0.85em; }
}