/* ========== 共通変数 ========== */
:root {
  --main-color: #d9232d;
  --accent-color: #f8c200;
  --bg-color: #fff;
  --text-color: #474c57;
  --font-base: 'Helvetica Neue', sans-serif;
}

/* ========== ベース設定 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  padding-top: 40px; /* ヘッダーの高さ分 */
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== レイアウト ========== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
.section {
  padding: 60px 0;
}
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

/* ========== ボタン ========== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--main-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}
.btn:hover {
  background-color: #a91e25;
}

/* ========== レスポンシブ対応 ========== */
@media screen and (max-width: 768px) {
  .site-nav ul {
    display: flex;
    flex-direction: column;
    padding: 3em 0;
      margin: 0.5em 0;
}

  .site-nav li {
    margin: 0.2em 0;
    text-align: center;
  }

  .site-nav a {
    display: block;
    font-size: 18px;
    color: #8d274d;
    text-decoration: none;
  }
 .section-title {
    font-size: 1.5rem;
  }
  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}
/*----site-header---*/
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  gap: 5px;
  z-index: 1001;
}
.hamburger span {
  height: 3px;
 width: 100%;
  background: #8d274d;
  border-radius: 2px;
}

/* メニュー */
.site-nav {
  display: flex;
  gap: 20px;
}
/* スマホでは隠してハンバーガー表示 */
@media (max-width: 768px) {
  .site-nav {
    /* display は使わない */
    position: absolute;
    top: 50px;           /* ヘッダー下 */
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1.5em 0;
    z-index: 1000;

    /* アニメ初期状態（閉じている） */
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .site-nav.active {
    /* 開いた状態 */
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* 縦並びレイアウト */
  .site-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center; /* ← 中央寄せ */
    gap: 14px;
    margin: 0;
    width:100%;
    padding: 0 20px;
    list-style: none;
  }
  .site-nav li { margin: 0; }
  .site-nav a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    padding: 10px 0;
    text-align: center; /* ← 中央揃え */
  }

  /* ハンバーガーは表示 */
  .hamburger {
    display: flex !important;
    cursor: pointer;
  }
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #f4eef0;
  z-index: 1000;
  padding: 5px 20px;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo img {
  max-height: 40px;
  height: auto;
}

.site-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: #9c2d54;
  font-weight: normal;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: #cc3366;
}

/*---hero---*/
.section-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center; /* 横方向の中央寄せ */
  align-items: center;     /* 縦方向の中央寄せ */
}

.section-hero::before {
  content: "";
  background: url('images/hero_salon.jpg') center/cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(190, 0, 50, 0.6), rgba(80, 0, 80, 0.6));
  z-index: 1;
}
.section-hero .hero-content {
  position: relative;
  z-index: 2;
 text-align: center;
  color: white;
  padding: 2rem;
}

.section-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height:1.2;
}

.section-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.section-hero .btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #e91e63;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.section-hero .btn:hover {
  background-color: #c2185b;
}

/*---about---*/
.section-about {
  padding: 80px 20px;
  background-color: #fff;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image img {
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  height: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 28px;
  color: #a50040;
  margin-bottom: 20px;
}

.about-box {
  background-color: #fbf3f8;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 16px;
}

.about-box p:first-child {
  color: #a50040;
  font-weight: bold;
  margin-bottom:0.5em;
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
  font-size: 80%;
}

.about-features .icon {
  margin-right: 10px;
  font-size: 80%;
  color: #a50040;
}

/*---service---*/
.service-section {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #fbf3f8 0%, #f8f5fe 100%);
  text-align: center;
}

.service-section h2 {
  color: #a61c5d;
  font-size: 28px;
  margin-bottom: 1em;
}

.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: transform 0.2s;
}
.service-card h3{
  margin-bottom: 0.5em;
}
.service-card p{
  font-size: 90%;
  color: #666;
}
.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}

.service-card .price {
  margin-top: 12px;
  color: #d1156c;
  font-weight: bold;
}

/*---gallery---*/
.section-gallery {
  background-color: #fff;
  padding: 80px 20px;
}

.section-gallery .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #8B1F4B;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
/*---contact---*/
.gradient-bg {
  background: linear-gradient(to bottom, #fbf3f8 0%, #f8f5fe 100%);
}
.formmailer-container {
  flex: 1 1 600px;
  min-width: 0;   
  margin: 0 auto;   /* ← 中央寄せ */
}
.formmailer-container .formmailer-embed{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
}
/* 埋め込み内部で固定幅が入っていても上書き */
.formmailer-container .formmailer-embed *{
  max-width: 100% !important;
  box-sizing: border-box;
}
.section-contact {
  padding: 60px 20px;
}
.section-contact .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #8B1F4B;
  margin-bottom: 40px;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  max-width: 1200px; /* ← 少し狭めに調整 */
  margin: 0 auto;
}

.contact-info {
  flex: 1 1 250px;
  font-size: 16px;
  color: #333;
}

.contact-info h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}
@media (max-width: 768px){
  .contact-card{
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }
  .formmailer-container{
    width: 100%;
  }
}
/*---access---*/
.access-section {
  background: #fff;
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #992d5d;
  margin-bottom: 40px;
}

.access-card {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.access-info {
  flex: 1 1 300px;
  font-size: 16px;
  color: #333;
}

.access-info h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.access-info p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.access-info .icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.access-map {
  flex: 1 1 400px;
}

.access-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
}

.access-section p.access-info-data {
  display: flex;
  align-items: center;
  gap: 8px; /* アイコンとテキストの間隔 */
  margin-bottom: 12px;
  line-height: 1.6;
}

.access-section .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
}

/*---footer---*/
.footer {
  background-color: #8d274e;
  color: #fff;
  padding: 60px 20px 30px;
  font-size: 14px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  min-width: 240px;
}

.footer-logo {
  font-family: 'Pacifico', cursive;
  font-size: 26px;
  margin-bottom: 12px;
}

.footer-col h4 {
  font-weight: bold;
  margin-bottom: 12px;
}
.logo-image {
  max-height: 40px;
  height: auto;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

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

.footer-sns img {
  width: 32px;
  height: 32px;
   filter: brightness(0) invert(1); /* 黒→白 */
}

.footer-sns img:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

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

/*-------*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}