:root {
  --primary-color: #ffb6c1;
  --secondary-color: #fff0f5;
  --text-color: #333;
  --button-color: #ff69b4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Yu Gothic", sans-serif;
  color: var(--text-color);
  background-color: #fff;
  line-height: 1.6;
}

/* ヘッダー */
header {
  background-color: var(--primary-color);
  padding: 20px 10%;
  text-align: center;
}
header h1 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}
header h1 a {
  color: #fff;
  text-decoration: none;
}
header h1 a:hover { opacity: 0.8; }

/* グローバルナビ */
nav.global-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
nav.global-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}
nav.global-nav a:hover { opacity: 0.8; }

/* ファーストビュー */
.hero {
  background: url('../img/nail-hero.png') center/cover no-repeat;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  text-align: center;
}
.hero h2 { font-size: 2.5rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; }
.btn-reserve {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background-color: var(--button-color);
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}
/* キャッチコピー */
.catchcopy {
  font-size: 1.3rem;
  line-height: 2;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
}
.btn-reserve:hover { opacity: 0.8; }

/* セクション共通 */
section { padding: 60px 10%; }
section h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

/* メニュー */
.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.menu-item {
  background-color: var(--secondary-color);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s;
}
.menu-item:hover { transform: translateY(-5px); }
.menu-item h3 { margin-bottom: 10px; color: var(--primary-color); }
.menu-item p { margin-bottom: 5px; font-size: 0.95rem; }

/* ボタン共通 */
.btn, .btn-reserve {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--button-color);
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}
.btn:hover, .btn-reserve:hover { opacity: 0.8; }
/* ボタン中央揃え */
.btn-center {
  text-align: center;
  margin-top: 20px;
}
/* ==============================
   ギャラリー セクション
============================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}
.gallery img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.3s;
}
.gallery img:hover { transform: scale(1.05); }

/* ==============================
   スタッフ セクション
============================== */
.staff-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}
.staff-item img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* ==============================
   FAQ セクション
============================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: left;
}
.faq-item {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
}
.faq-q {
  font-weight: bold;
  margin: 0 0 8px;
  color: var(--primary-color);
}
.faq-a {
  margin: 0;
  color: #444;
}

/* ==============================
   お知らせ セクション
============================== */
.news-section a:hover {
  text-decoration: underline;
}
/* お知らせリスト */
.news-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto 20px;
  text-align: left;
}
.news-list li {
  color: #333333;
  font-weight: 400;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 15px;
  align-items: center;
}
.news-date {
  color: #333333;
  font-weight: 400;
  font-size: 0.9rem;
}
.news-list a {
  color: #ff71b8;
  font-weight: 400;
  text-decoration: none;
  flex: 1;
}
.news-list a:hover {
  text-decoration: underline;
}

/* ==============================
   予約・お問い合わせ
============================== */
#reserve-contact {
  background: var(--bg-light);
  padding: 60px 10%;
  text-align: center;
}
#reserve-contact h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
}
#reserve-contact p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* ボタンエリア */
.reserve-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
/* ボタン共通 */
.btn-reserve, .btn-tel {
  display: flex;              /* flexで中央揃え */
  align-items: center;        /* 縦中央 */
  justify-content: center;    /* 横中央 */
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  min-width: 220px;
  text-align: center;
}

/* Web予約ボタン */
.btn-reserve {
  background: var(--button-color);
  color: #fff;
}
.btn-reserve:hover {
  background: #e91e63;
}

/* 電話ボタン */
.btn-tel {
  background: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  flex-direction: column;   /* 番号を下に配置 */
}
.btn-tel span {
  font-size: 1.2rem;
  margin-top: 5px;
  font-weight: normal;
}
.btn-tel:hover {
  background: var(--primary-color);
  color: #fff;
}






/* フッター */
footer {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 30px 10%;
}
footer .footer-links {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
footer .footer-links a {
  color: #fff;
  margin: 5px 10px;
  text-decoration: none;
}
footer .footer-links a:hover { text-decoration: underline; }

/* スマホ対応 */
@media (max-width: 768px) {
  .hero { height: 300px; }
  .hero h2 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  nav.global-nav { gap: 10px; }
  nav.global-nav a { font-size: 0.9rem; }
  .menu-list, .gallery, .staff-list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* ==============================
   固定予約ボタン
============================== */
/* ==============================
   固定ボタン共通
============================== */
.fixed-buttons {
  position: fixed;
  z-index: 10000;
  display: flex;
  gap: 10px;
}

/* PC：右上縦並び */
@media (min-width: 769px) {
  .fixed-buttons {
    top: 20px;
    right: 20px;
    flex-direction: column;
  }

  .fixed-buttons .btn {
    min-width: 160px;
    height: 50px;
    border-radius: 25px; /* PCは角丸 */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-decoration: none;
    font-weight: bold;
    box-sizing: border-box;
    transition: 0.3s;
  }

  .btn-web {
    background-color: #ffb6c1; /* 爽やかピンク */
    color: #fff;
  }
  .btn-web:hover {
    background-color: #e91e63;
  }

  .btn-tel {
    background-color: #fff;
    color: #ff69b4;
    border: 2px solid #ff69b4;
  }
  .btn-tel:hover {
    background-color: #ff69b4;
    color: #fff;
  }
}

/* スマホ：画面下横並び */
@media (max-width: 768px) {
  .fixed-buttons {
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(255, 182, 193, 0.95);
    gap: 0;
  }

  .fixed-buttons .btn {
    flex: 1;
    height: 60px;
    border-radius: 0; /* スマホは角丸なし */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    box-sizing: border-box;
    transition: 0.3s;
  }

  body {
    padding-bottom: 70px; /* 固定ボタンとフッター被り防止 */
  }

  .btn-web {
    background-color: #ffb6c1;
    color: #fff;
  }
  .btn-web:hover {
    background-color: #e91e63;
  }

  .btn-tel {
    background-color: #fff;
    color: #ff69b4;
    border: 2px solid #ff69b4;
  }
  .btn-tel:hover {
    background-color: #ff69b4;
    color: #fff;
  }
}


/* ==============================
   メニュー・料金ページ
============================== */
/* テーブル全体 */
.menu-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

/* テーブルヘッダー */
.menu-table thead th {
  background-color: #ffb6c1; /* 爽やかピンク */
  color: #fff;
  font-weight: 600;
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
}

/* テーブルボディ */
.menu-table tbody td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  color: #333;
}

/* 大項目セルのみ文字色ピンク、背景は透明 */
.menu-table tbody td {
  background-color: #fff;  /* 全セル共通背景白 */
  color: #333;             /* 全セル文字色デフォルト */
  text-align: center;
  padding: 10px;
}

/* rowspanで結合したセルにだけ文字色ピンクを指定 */
.menu-table tbody td[rowspan] {
  color: #ff69b4;          /* 大項目セル文字色 */
  font-weight: 500;
}

/* コース詳細 */
.course-details h3 {
  font-size: 1.5rem;
  color: #ff69b4;             /* 大項目をピンクで強調 */
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffb6c1;
  padding-bottom: 5px;
}

.course-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

.course-image img {
  width: 200px; /* 横幅固定 */
  height: auto;
  border-radius: 8px;
}

.course-info h4 {
  color: #ff69b4;
  margin-top: 0;
  margin-bottom: 8px;
}

.course-info p {
  margin-bottom: 8px;
}

.course-info ul {
  padding-left: 20px;
  margin-bottom: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .menu-table {
    font-size: 0.85rem;
  }
  .menu-table th, .menu-table td {
    padding: 8px;
  }
  .course-details h3 {
    font-size: 1.3rem;
    margin-top: 30px;
  }
  .course-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .course-image img {
    width: 100%; /* スマホは横幅いっぱい */
    margin-bottom: 10px;
  }
}


/* ==============================
   ギャラリーページ
============================== */
/* ギャラリーグリッド */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
}


/* ==============================
   スタッフページ
============================== */
/* スタッフグリッド */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.staff-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
}

.staff-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.staff-info h3 {
  color: #ff69b4;
  margin: 5px 0;
}

.staff-info p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 5px 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }
}


/* ==============================
   アクセスページ
============================== */
.access-info {
  margin: 20px 0;
  padding: 15px;
  background: #ffeef5;
  border-radius: 8px;
}
.map iframe {
  border-radius: 8px;
  margin-top: 10px;
}


/* ==============================
   FAQページ
============================== */
.faq-section {
  margin: 30px auto;
  max-width: 800px;
}
.faq-item {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #f5a5c2;
  border-radius: 8px;
  background: #fff;
}
.faq-item h3 {
  font-size: 1.1em;
  color: #d63384;
  margin-bottom: 10px;
}


/* ==============================
   プライバシーポリシーページ
============================== */
.privacy-section {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  line-height: 1.8;
}

.privacy-section h2 {
  margin-bottom: 20px;
  color: #d63384;
}

.privacy-section h3 {
  margin-top: 25px;
  color: #333;
  border-left: 4px solid #f5a5c2;
  padding-left: 10px;
  font-size: 1.1em;
}

.privacy-section ul {
  margin: 10px 0 20px 20px;
  list-style: disc;
}


/* ==============================
   予約フォームページ
============================== */
.contact-form {
  max-width: 600px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
}
.contact-form label {
  margin-top: 15px;
  font-weight: bold;
}
.contact-form input,
.contact-form textarea {
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form button {
  margin-top: 20px;
  padding: 10px;
  background: #d63384;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.contact-form .required {
  color: red;
  font-size: 0.9em;
}
.privacy-link {
  margin-top: 15px;
  font-size: 0.9em;
}


/* ==============================
   お知らせページ
============================== */
.news-list {
  list-style: none;
  padding: 0;
}
.news-list li {
  margin: 10px 0;
}
.news-list .date {
  margin-right: 10px;
  color: #555;
  font-size: 0.9em;
}
.news-detail .date {
  font-size: 0.9em;
  color: #555;
}
.back-link {
  margin-top: 20px;
}
