@charset "UTF-8";

/* css/style.css */

/* 基本設定 */
:root {
    --primary-color: #E17300;
    --primary-color-hover: #C46200; /* 例: 少し暗い青色 */
    --secondary-color: #8A5A2B;
    --secondary-color-hover: #734A22; /* 例: セカンダリカラーのホバー用も追加すると良いでしょう */
    --light-bg: #f8f9fa; /* #f7f7f7 */
    --dark-bg: #3B2A1A;
    --sub-color: #444;
    --bg-soft: #f7f7f7;
    --text-color: #333;
    --white-text: #fff;
    --border-color: #E6D6C7;
    --font-family: 'Noto Sans JP', sans-serif; /* Google Fontsを使用する場合 */
    --padding-section: 60px 0;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* スムーズスクロール */
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-text);
    -webkit-font-smoothing: antialiased; /* フォントの表示を滑らかに */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    opacity: 0.8; /* これは残してOK */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 共通ユーティリティクラス */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: var(--padding-section);
}

.section-padding p {
  margin-bottom: 16px;
  line-height: 1.9;
}

.section-padding ol {
  margin: 16px 0;
  padding-left: 20px;
}

.section-padding li {
  margin-bottom: 8px;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
}

.text-white {
    color: var(--white-text);
}

.section-lead {
  text-align: center;
  margin-bottom: 30px;
  color: #555;
}

/* セクションタイトル統一 */
section h2 {
  text-align: center;
  margin-bottom: 20px;
}


.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    color: var(--white-text);
    padding: 12px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.btn:hover {
    background-color: var(--primary-color-hover);
    color: #fff;
    /* opacity: 0.9; は削除しても良いですが、残しても問題ありません */
}

.btn-secondary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-text);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.btn-secondary:hover {
    background-color: var(--secondary-color-hover); /* 新しい変数を使用 */
    /* opacity: 0.9; は削除しても良いですが、残しても問題ありません */
}


/* ヘッダー */
header {
    background-color: var(--white-text);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    flex-direction: column;
}

.header-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .header-note {
        display: none;
    }
}

header h1 {
    font-size: 24px;
    margin: 0;
}

header h1 a {
    color: var(--text-color);
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: bold;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger-menu {
    display: none; /* デスクトップでは非表示 */
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hero {
    min-height: 70vh;
    background:
        linear-gradient(
            rgba(0,0,0,0.1),
            rgba(0,0,0,0.1)
        ),
        url('../img/main.jpg') center / cover no-repeat;/*背景画像は適宜変更 */
    color: var(--white-text);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ヒーローセクション */
/*hero {
    min-height: 70vh;
    background: url('../img/mainimg.jpg') no-repeat center center/cover; 背景画像は適宜変更 
    color: var(--white-text);
    text-align: center;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}*/

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.hero-points .point {
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.hero-points h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #333;
  margin-top: 12px;
}

.hero-points p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}
@media screen and (max-width: 768px) {
  .hero-points {
    grid-template-columns: 1fr;
  }
}

/*画像*/
.hero-points img {
  display: block;
  margin: 15px auto 0;
  border-radius: 50%;
  background: #fff;
  padding: 12px;
  box-shadow: 2px 2px 0px 2px rgba(0,0,0,0.2);
  width: 120px;
}

/* =============================
   下層ページヘッダー
============================= */

.page-header {
  background: #f7f7f7;
  padding: 40px 0 30px;
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-lead {
  color: #666;
  margin: 0;
}

.breadcrumb {
  font-size: 14px;
  color: #777;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}


/* 訪問マッサージとは */
.visit-massage {
  background-color: var(--light-bg);
}

.visit-massage .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.visit-massage .section-title span {
  display: block;
  font-size: 14px;
  color: var(--secondary-color);
  margin-top: 5px;
  letter-spacing: 0.05em;
}

.visit-massage .lead {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
}

/* ポイント3カラム */
.visit-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.visit-points .point {
  background-color: var(--white-text);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.visit-points h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 10px;
}

.visit-points p {
  font-size: 15px;
  line-height: 1.7;
}

/* 詳しくはこちら */
.visit-link {
  text-align: center;
  margin-top: 40px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white-text);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .visit-points {
    grid-template-columns: 1fr;
  }

  .visit-massage .lead {
    font-size: 15px;
  }
}

/* =========================
   対象者
========================= */

#target {
  background: var(--light-bg);
  text-align: center;
}

#target ul {
  max-width: 640px;
  margin: 30px auto 0;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
  line-height: 1.9;
  list-style: none;
}

#target li {
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
}

#target li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 12px;
  top: 6px;
}

/* 当院の強み */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 15px;
}

.strength-item {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: 100%;
}

.strength-item h3 {
  min-height: 48px;
}

.strength-item p {
  line-height: 1.7;
  color: #555;
}

@media screen and (max-width: 768px) {
  .strength-grid {
    grid-template-columns: 1fr;
  }
}


/* 施術の考え方 */
.method-block {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.method-block h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.method-block p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 10px;
}


/* 利用の流れ */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.flow-step {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  position: relative;
}

.step-number {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: bold;
  color: #fff;
  background: var(--primary-color);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.flow-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 0.95rem;
  line-height: 1.6;
}


/* FAQ */
#faq {
  background: #f7f7f7;
}

.faq-item {
  background: #fff;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* FAQ見出し */
#faq h2 {
  color: var(--primary-color);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.faq-item p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.faq-question {
  position: relative;
  cursor: pointer;
  padding-right: 30px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color);
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  line-height: 1.7;
}

/* ＋アイコン */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 10px;
  font-size: 20px;
  color: var(--primary-color);
  transition: 0.2s;
}

/* 開いた状態 */
.faq-item.active .faq-question::after {
  content: "-";
}

.faq dt {
  font-weight: bold;
  margin-top: 20px;
  font-weight: bold;
  background: #f5f7fb;
  padding: 14px 16px;
  border-radius: 8px;
  margin-top: 18px;
  position: relative;
}

.faq dt::before {
  content: "Q";
  font-weight: bold;
  color: #fff;
  background: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  margin-right: 8px;
  font-size: 13px;
}

.faq dd {
  margin: 8px 0 0 0;
  padding: 12px 16px 16px 40px;
  border-left: 3px solid var(--primary-color);
  background: #fff;
  line-height: 1.8;
}


/* お客の声 */
.voice-item {
  background: #fff;
  padding: 25px;
  margin-bottom: 30px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.voice-title {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.voice-name {
  text-align: right;
  font-size: 14px;
  opacity: 0.8;
}
.voice-item p {
  line-height: 1.7;
}

.voice-box {
  background: #fff;
  border-left: 4px solid #2c7be5;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.voice-box span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #777;
}


* エリア */
.area-list {
  margin-top: 20px;
  line-height: 2;
}

.price-box {
  background: #fff;
  padding: 20px;
  border-left: 4px solid var(--primary-color);
  margin: 20px 0;
}


/* 対応症状 */
.symptom-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.symptom-item {
    background-color: var(--white-text);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);

    transition: transform 0.3s ease;
}

.symptom-item:hover {
    transform: translateY(-5px);
}

.symptom-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.symptom-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 対応疾患 */
.disease-list {
  margin-top: 16px; /* 30px */
  padding-left: 20px;
  line-height: 1.9;
}

.disease-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px 30px;
}

.disease-list li {
  background: var(--light-bg);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.disease-note {
  margin-top: 25px;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}


/* 選ばれる理由 */

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reason-item {
  background: #fff;
  padding: 25px;
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

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


/* ブログリスト */
.blog-list {
    display: grid;
    grid-template-columns: 1fr; /* 初期は1列 */
    gap: 30px;
    margin-top: 30px;
}

.blog-item {
    background-color: var(--white-text);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color);
}

.blog-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.blog-item h3 a {
    color: var(--text-color);
}

.blog-item p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.blog-item time {
    font-size: 0.9em;
    color: var(--secondary-color);
}

/* フォーム */
form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input[type="text"],
form input[type="tel"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    background-color: var(--white-text);
    color: var(--text-color);
}

form input[type="text"]:focus,
form input[type="tel"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    background-color: var(--white-text);
    color: var(--text-color);
}

form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(225, 115, 0, 0.25); /* ← 今のオレンジに合わせる */
}

form button[type="submit"] {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: var(--primary-color);
    color: var(--white-text);
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
    background-color: var(--primary-color-hover);
    opacity: 0.9;
}

/* vistフォーム */
section {
  padding: 60px 0;
}

section > h2,
section > h3 {
  text-align: center;
}

.step {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.step-number {
  background: #f28c38;
}

.step .photo {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px;
  border-radius: 6px;
}

.step h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary-color);
  text-align: center;
}

.step h4 span {
  display: inline-block;
  margin-right: 8px;
  background: var(--primary-color);
  color: #fff;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  font-size: 14px;
}

.step p {
  line-height: 1.8;
  color: var(--text-color);
  text-align: left;
}

@media (max-width: 768px) {
  .step {
    flex-direction: column;
    text-align: center;
  }

  .photo {
    width: 100%;
  }
}

/* 無料体験の案内 */
.cta-box {
  background: #f28c38;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  margin: 40px 0;
}

.cta-box h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-box .btn {
  background: #fff;
  color: var(--primary-color);
  margin-top: 10px;
}

/* フッター */
.footer {
  background: var(--dark-bg);
  color: var(--white-text);
  padding: 40px 0 20px;
  font-size: 14px;
}

.footer a {
  color: var(--white-text);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 20px;
}

.footer-info {
  flex: 0 0 40%;
}

.footer-info h4 {
  margin: 20px 0 10px;
  font-size: 15px;
  border-left: 4px solid var(--primary-color);
  padding-left: 8px;
}

.footer-time {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-bottom: 10px;
}

.footer-time th,
.footer-time td {
  border: 1px solid #555;
  padding: 4px;
  text-align: center;
}

.footer-time th {
  background: rgba(255,255,255,0.1);
}

.footer-info .holiday {
  font-size: 12px;
  opacity: 0.8;
}

.footer-info img {
  max-width: 180px;
  margin-bottom: 15px;
}

.footer-info p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-info .tel {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color);
}

.footer-access {
  flex: 0 0 60%;
}

.footer-access h4 {
  margin-bottom: 10px;
  font-size: 15px;
  border-left: 4px solid var(--primary-color);
  padding-left: 8px;
}

.footer-access iframe {
  width: 100%;
  height: 260px;
  border: 0;
  margin-bottom: 10px;
}

.footer-access ul {
  padding-left: 18px;
  margin-top: 10px;
}

.footer-access li {
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
  }

  .footer-info,
  .footer-access {
    flex: none;
    width: 100%;
  }

  .footer-access iframe {
    height: 220px;
  }

  .footer-info .tel {
    font-size: 16px;
  }
}

/* スマホ固定ボタン */

.sp-fixed-buttons {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--border-color);
  z-index: 999;
}

.sp-fixed-buttons a {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;

}

.sp-fixed-buttons i {
  margin-right: 6px;
}

.sp-tel {
  background: #33cc00;
}
.sp-mail {
  background: #ff6600;
}

@media (max-width: 768px) {
  .sp-fixed-buttons {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--border-color);
    z-index: 999;
  }

  .sp-fixed-buttons a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-weight: bold;
    color: #ffffff;
  }

  body {
    padding-bottom: 52px;
  }
}

/* トップへ戻るボタン */
.nav-fix-pos-pagetop {
  position: fixed;
  right: 20px;
  bottom: 70px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.nav-fix-pos-pagetop a {
  display: block;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  line-height: 48px;
  border-radius: 50%;
  font-size: 14px;
}

.nav-fix-pos-pagetop a:hover {
  background: var(--primary-color-hover);
  transform: translateY(-3px);
}

.nav-fix-pos-pagetop.show {
  opacity: 1;
  visibility: visible;
}

/* ------------------------------------
   レイアウト - 2カラム対応 (上記に追記)
   ------------------------------------ */

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: var(--padding-section);
    padding-bottom: var(--padding-section);
}

.main-content {
    flex-grow: 1;
}

.sidebar {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: 100%;
}

.sidebar h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.sidebar ul {
    margin-bottom: 20px;
}

.sidebar li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.sidebar li:last-child {
    border-bottom: none;
}

.sidebar a {
    color: var(--text-color);
    display: block;
}

.sidebar a:hover {
    color: var(--primary-color);
}

.sidebar-widget {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ====================================
   レスポンシブデザイン (メディアクエリ)
   ==================================== */

/* タブレット向け (例: 768px 以下) */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 38px;
    }

    .hero p {
        font-size: 1.1em;
    }

    .nav-menu {
        display: none; /* ハンバーガーメニュー時に非表示 */
        flex-direction: column;
        width: 100%;
        background-color: var(--white-text);
        position: absolute;
        top: 68px; /* ヘッダーの高さに合わせて調整 */
        left: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex; /* アクティブ時に表示 */
    }

    .nav-menu li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid var(--light-bg);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 10px 0;
    }

    .hamburger-menu {
        display: flex; /* モバイルで表示 */
    }

    /* ハンバーガーメニューのアニメーション */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .service-grid {
        grid-template-columns: 1fr; /* タブレット以下では1列 */
    }

    .blog-list {
        grid-template-columns: 1fr;
    }
}

/* PC向け (例: 992px 以上) */
@media (min-width: 992px) {
    .content-wrapper {
        flex-direction: row; /* PCでは横並び */
        align-items: flex-start;
    }

    .main-content {
        flex: 1;
    }

    .sidebar {
        flex: 0 0 300px; /* サイドバーの幅を固定 */
    }

    /* 各セクションのパディング調整 (必要であれば) */
    .section-padding {
        padding: 40px 0;
    }
}

/* より大きなPC画面向け (例: 1200px 以上) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* スマートフォン向け (例: 480px 以下) */
@media (max-width: 480px) {
    .section-padding {
        padding: 40px 0;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 1em;
    }

    header h1 {
        font-size: 20px;
    }

    .service-item, .blog-item {
        padding: 20px;
    }
}
