/*
Theme Name: Re:COLOR - オーガニックヘアカラー専門店
Description: Re:COLORのオーガニックヘアカラー専門店用WordPressテーマ。モダンでプロフェッショナルなデザインで、サロンの魅力を最大限に表現します。
Author: Youware
Version: 1.0
Text Domain: recolor
Domain Path: /languages
*/

/* 
 * Re:COLOR - オーガニックヘアカラー専門店
 * WordPressテーマ スタイルシート
 */

/* ベーススタイル */
:root {
  --primary-color: #4e7561; /* メインカラー（緑系） */
  --secondary-color: #e9ceb3; /* アクセントカラー（オーガニックなベージュ） */
  --dark-color: #333333; /* テキストの主な色 */
  --light-color: #f9f6f2; /* 明るい背景色 */
  --highlight-color: #c06c44; /* アクセントポイント（オレンジ系） */
  --organic-green: #7ba05b; /* オーガニックグリーン */
  --soft-pink: #f8e8e7; /* ソフトピンク */
  --gradient-primary: linear-gradient(135deg, #4e7561 0%, #7ba05b 100%);
  --font-main: 'Noto Sans JP', sans-serif;
  --font-accent: 'Montserrat', sans-serif;
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
}

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

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 1.6rem;
  color: var(--dark-color);
  line-height: 1.7;
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.section {
  padding: 10rem 0;
  position: relative;
}

.section-title {
  font-family: var(--font-accent);
  font-size: 4.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: "";
  display: block;
  width: 8rem;
  height: 4px;
  background: var(--gradient-primary);
  margin: 2rem auto;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 6rem;
  color: #666;
  font-weight: 400;
}

/* WordPress特有のクラス */
.wp-block-group {
  margin: 0;
}

.aligncenter {
  text-align: center;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.wp-caption {
  max-width: 100%;
  height: auto;
}

.wp-caption-text {
  font-size: 1.4rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

/* ボタンスタイル */
.btn, .wp-block-button__link {
  display: inline-block;
  padding: 1.8rem 3.6rem;
  background: var(--gradient-primary);
  color: white !important;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-light);
  border: none;
}

.btn::before, .wp-block-button__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.5s ease;
}

.btn:hover::before, .wp-block-button__link:hover::before {
  left: 100%;
}

.btn:hover, .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
  color: white !important;
}

.btn-accent {
  background: linear-gradient(135deg, var(--highlight-color) 0%, #d4764a 100%);
}

.btn-large {
  padding: 2.2rem 4.4rem;
  font-size: 1.8rem;
}

.btn-cta {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  font-size: 2rem;
  padding: 2.5rem 5rem;
  border-radius: 50px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(255, 107, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

/* ヘッダー */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2rem 0;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.header.scrolled {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.98);
}

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

.logo {
  width: 200px;
}

.nav-menu {
  display: flex;
}

.nav-item {
  margin-left: 3rem;
}

.nav-link {
  font-size: 1.6rem;
  font-weight: 600;
  position: relative;
  padding: 1rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: 0.3s ease;
}

/* WordPressメニュー */
.main-navigation {
  position: relative;
}

.main-navigation ul {
  display: flex;
  list-style: none;
}

.main-navigation li {
  position: relative;
  margin-left: 3rem;
}

.main-navigation a {
  font-size: 1.6rem;
  font-weight: 600;
  position: relative;
  padding: 1rem 0;
  color: var(--dark-color);
}

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

/* ドロップダウンメニュー */
.main-navigation ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: var(--shadow-light);
  border-radius: var(--border-radius);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  flex-direction: column;
}

.main-navigation li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation ul ul li {
  margin: 0;
  padding: 0;
}

.main-navigation ul ul a {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #eee;
  display: block;
}

/* ヒーローセクション */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding-top: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 6rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 2.4rem;
  margin-bottom: 4rem;
  font-weight: 400;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-cta {
  animation: fadeInUp 1s ease 0.6s both;
}

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

/* オーガニック要素の装飾 */
.organic-decoration {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--organic-green);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.organic-decoration:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.organic-decoration:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.organic-decoration:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* サービスの特徴 */
.features {
  background: linear-gradient(135deg, #ffffff 0%, var(--soft-pink) 100%);
  position: relative;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.feature-box {
  text-align: center;
  padding: 4rem 3rem;
  background: white;
  border-radius: var(--border-radius);
  transition: all 0.4s ease;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: all 0.3s ease;
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-box:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-heavy);
}

.feature-icon {
  font-size: 5.5rem;
  color: var(--primary-color);
  margin-bottom: 2.5rem;
  position: relative;
}

.feature-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

.feature-text {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.8;
}

/* お客様の声 */
.testimonials {
  background: var(--gradient-primary);
  color: white;
}

.testimonials .section-title {
  color: white;
  -webkit-text-fill-color: white;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 4rem 3rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-text {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.testimonial-info h4 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial-info p {
  font-size: 1.4rem;
  opacity: 0.8;
}

/* メニュー・料金 */
.menu {
  background-color: var(--light-color);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  background: white;
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.menu-tab {
  padding: 1.5rem 3rem;
  margin: 0 0.5rem;
  cursor: pointer;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.menu-tab.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-light);
}

.menu-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.menu-item:hover {
  background: rgba(78, 117, 97, 0.05);
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 8px;
  border-bottom: 1px solid transparent;
}

.menu-name {
  font-weight: 700;
  font-size: 2rem;
  color: var(--dark-color);
}

.menu-description {
  font-size: 1.5rem;
  color: #666;
  margin-top: 0.8rem;
}

.menu-price {
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--highlight-color);
  background: var(--soft-pink);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
}

/* ビフォー・アフターギャラリー */
.before-after {
  background: white;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 350px;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-heavy);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 1.4rem;
  opacity: 0.9;
}

/* 施術の流れ */
.flow {
  background: linear-gradient(135deg, var(--soft-pink) 0%, white 100%);
}

.flow-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.flow-item {
  display: flex;
  margin-bottom: 5rem;
  position: relative;
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.flow-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-heavy);
}

.flow-number {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-weight: 700;
  margin-right: 3rem;
  box-shadow: var(--shadow-light);
}

.flow-content {
  flex: 1;
}

.flow-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.flow-text {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.8;
}

/* アクセス */
.access {
  background-color: white;
}

.access-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.access-info {
  background: var(--soft-pink);
  padding: 4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.access-info h3 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--dark-color);
}

.access-info p {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.access-info i {
  color: var(--primary-color);
  width: 20px;
}

.access-map {
  height: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 予約・問い合わせ */
.contact {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-title {
  font-size: 4.2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.contact-text {
  font-size: 2rem;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.8rem;
  padding: 2rem 4rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* フッター */
.footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, #2a2a2a 100%);
  color: white;
  padding: 6rem 0 3rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
}

.footer-logo {
  width: 180px;
  margin-bottom: 2.5rem;
  filter: brightness(0) invert(1);
}

.footer-about p {
  margin-bottom: 2.5rem;
  font-size: 1.6rem;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 1.2rem;
}

.footer-links a {
  font-size: 1.5rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-size: 2rem;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 4rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
  opacity: 0.7;
}

/* WordPressコンテンツ */
.content-area {
  padding: 5rem 0;
}

.page-title {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--primary-color);
}

.entry-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 1.8;
}

.entry-content h2 {
  font-size: 2.4rem;
  margin: 3rem 0 1.5rem;
  color: var(--primary-color);
}

.entry-content h3 {
  font-size: 2rem;
  margin: 2.5rem 0 1rem;
  color: var(--dark-color);
}

.entry-content p {
  margin-bottom: 1.5rem;
}

/* ウィジェット */
.widget {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  margin-bottom: 3rem;
}

.widget-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-weight: 700;
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.widget a {
  color: var(--dark-color);
  transition: color 0.3s ease;
}

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

/* レスポンシブ設定 */
@media (max-width: 1024px) {
  html {
    font-size: 58%;
  }
  
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  .main-navigation ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
  }
  
  .main-navigation ul.active {
    display: flex;
  }
  
  .main-navigation li {
    margin: 1.5rem 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .access-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 3.2rem;
  }
  
  .features-container {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .menu-price {
    margin-top: 1.5rem;
    align-self: stretch;
    text-align: center;
  }
  
  .flow-item {
    flex-direction: column;
    text-align: center;
  }
  
  .flow-number {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .menu-tabs {
    flex-direction: column;
    gap: 1rem;
  }
}