@charset "UTF-8";
/*
Theme Name: Hirahata Original
Author: Yusuke Hirahata
Description: 平畑デザイン事務所 オリジナルテーマ（Sass管理版）
Version: 8.0
*/
/* 1. 変数・基本設定を読み込む */
/*変数設定（全体の色味・設定）*/
:root {
  /* ▼ 配色設定 */
  --color-bg: #c2ce47;
  /* 背景色：明るい黄緑 */
  --color-text: #002c2c;
  /* 文字色：深い緑 */
  /* ▼ カメレオンアニメーション用 */
  --chameleon-s: 60%;
  --chameleon-l: 40%;
}

/* =========================================
   ユーティリティクラス
========================================= */
.ib {
  display: inline-block;
}

/* =========================================
   ベース & リセット
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-top: 70px;
  /* フッター固定用設定 */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  opacity: 0.7;
}

/* =========================================
   レイアウト共通
========================================= */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   セクション共通
========================================= */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 60px;
  font-size: 1rem;
  opacity: 0.8;
}

/* 2. レイアウト（ヘッダー・フッター）を読み込む */
/* =========================================
   ヘッダー（固定表示）
========================================= */
.site-header {
  background-color: var(--color-text) !important;
  /* 背景：深緑 */
  color: var(--color-bg) !important;
  /* 文字：黄緑 */
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  color: var(--color-bg) !important;
}

.site-title {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* =========================================
   【スマホ用】ナビゲーション & ハンバーガー
========================================= */
/* 1. ハンバーガーメニュー */
.hamburger-menu {
  display: block;
  width: 30px;
  height: 25px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  margin-left: auto;
  z-index: 1000;
}

.hamburger-menu .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-bg);
  position: absolute;
  left: 0;
  transition: 0.3s;
}

.hamburger-menu .bar:nth-child(1) {
  top: 0;
}

.hamburger-menu .bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu .bar:nth-child(3) {
  bottom: 0;
}

.hamburger-menu.active .bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* 2. スマホ用ヘッダー予約ボタン */
.mobile-header-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  background-color: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-bg);
  padding: 6px 12px;
  border-radius: 50px;
  margin-left: auto;
  margin-right: 15px;
  line-height: 1;
}

/* 3. ナビゲーションメニュー (スマホ用) */
.site-navigation {
  display: block;
  position: absolute;
  top: 70px;
  right: 10px;
  width: 150px;
  height: auto;
  background-color: var(--color-text);
  color: var(--color-bg);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.site-navigation.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: flex-start;
  font-size: 13px;
}

.nav-item {
  width: 100%;
}

.nav-item a {
  display: block;
  width: 100%;
  padding: 10px 0;
  border: 1px solid var(--color-bg);
  border-radius: 50px;
  text-align: center;
  font-weight: 500;
}

.nav-list .nav-item:last-child {
  display: none;
}

/* =========================================
   【PC用】768px以上での設定
   ★ここを修正しました★
========================================= */
@media (min-width: 768px) {
  /* スマホ用要素を消す */
  .hamburger-menu {
    display: none !important;
  }
  .mobile-header-btn {
    display: none !important;
  }
  /* ナビゲーション再配置 */
  .site-navigation {
    display: block !important;
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-left: auto;
  }
  .nav-list {
    flex-direction: row;
    gap: 30px;
    align-items: center;
    font-size: 14px;
  }
  .nav-item {
    width: auto;
  }
  /* ★通常のテキストリンクの設定（リセット） */
  .nav-item a {
    display: inline;
    padding: 0;
    border: none;
    border-radius: 0;
    text-align: left;
  }
  /* ★ボタン（最後の項目）だけデザインを復活させる記述 */
  /* 「.nav-item .nav-btn-header」と書くことで優先順位を上げます */
  .nav-list .nav-item:last-child {
    display: block;
  }
  .nav-item .nav-btn-header {
    background-color: var(--color-bg);
    /* 黄緑背景 */
    color: var(--color-text);
    /* 深緑文字 */
    padding: 8px 24px;
    /* 余白復活 */
    border-radius: 50px;
    /* 丸み復活 */
    font-weight: bold;
    display: inline-block;
    transition: opacity 0.3s;
  }
  .nav-item .nav-btn-header:hover {
    opacity: 0.7;
    text-decoration: none;
    /* 下線を出さない */
  }
}
/* =========================================
   フッター（背景：深緑 / 文字：黄緑）
========================================= */
.site-footer {
  background-color: var(--color-text) !important;
  /* 背景：深緑 */
  color: var(--color-bg) !important;
  /* 文字：黄緑 */
  text-align: center;
  padding: 60px 20px 30px;
  font-size: 14px;
  margin-top: auto;
  /* 画面下部に固定 */
  width: 100%;
}

/* フッター内の全要素の色を黄緑に強制 */
.site-footer a,
.site-footer p,
.site-footer span,
.site-footer li {
  color: var(--color-bg) !important;
}

.footer-links {
  margin-bottom: 30px;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-link-list li a {
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
  font-size: 0.9rem;
}

.footer-link-list li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.copyright {
  opacity: 0.6;
  font-size: 0.75rem;
  margin-top: 20px;
}

/* 3. コンテンツ・パーツを読み込む */
/* =========================================
   ヒーローセクション
========================================= */
.hero {
  padding: 60px 20px 100px;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 768px) {
  .hero-content-wrapper {
    flex-direction: row;
    justify-content: center;
    text-align: left;
    gap: 60px;
  }
}
/* =========================================
   カメレオン・アニメーション
========================================= */
@keyframes solid-color-loop {
  0% {
    background-color: var(--color-bg);
  }
  10% {
    background-color: hsl(90, var(--chameleon-s), var(--chameleon-l));
  }
  35% {
    background-color: hsl(180, var(--chameleon-s), var(--chameleon-l));
  }
  60% {
    background-color: hsl(270, var(--chameleon-s), var(--chameleon-l));
  }
  85% {
    background-color: hsl(360, var(--chameleon-s), var(--chameleon-l));
  }
  100% {
    background-color: var(--color-bg);
  }
}
.chameleon-container {
  position: relative;
  width: 80%;
  max-width: 450px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

@media (min-width: 768px) {
  .chameleon-container {
    width: 45%;
    max-width: 500px;
  }
}
.rainbow-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  animation: solid-color-loop 20s linear infinite;
  -webkit-mask-image: url("https://hirahata-design.com/wp-content/themes/hirahata-original/img/logo.png");
  mask-image: url("https://hirahata-design.com/wp-content/themes/hirahata-original/img/logo.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  z-index: 1;
  pointer-events: none;
}

.texture-layer {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* =========================================
   ヒーローテキスト
========================================= */
.hero-text {
  color: var(--color-text);
  text-align: center;
}

.hero-text h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.hero-text .sub-text {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .hero-text {
    width: 45%;
    max-width: 500px;
    text-align: left;
  }
}
@media (min-width: 992px) {
  .hero-text h2 {
    font-size: 4rem;
  }
}
/* =========================================
   Service セクション
========================================= */
.service-section {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  margin: 0 20px 40px;
  padding: 40px 0;
}

.service-section .section-subtitle {
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.service-card {
  background-color: var(--color-bg);
  border: 2px solid var(--color-text);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
}

/* アコーディオン・カード（Service） */
.service-header {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.service-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-icon {
  width: 80px;
  text-align: center;
  font-size: 14px;
  padding: 6px 0;
  border: 1px solid var(--color-text);
  border-radius: 50px;
  background-color: var(--color-text);
  color: var(--color-bg);
  flex-shrink: 0;
}

.service-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.service-toggle-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--color-text);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.service-toggle-btn::before,
.service-toggle-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-text);
}

.service-toggle-btn::before {
  width: 10px;
  height: 2px;
}

.service-toggle-btn::after {
  width: 2px;
  height: 10px;
}

.service-body {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.service-body p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.service-card.active .service-body {
  opacity: 1;
  padding-bottom: 20px;
  border-top: 1px dashed rgba(0, 44, 44, 0.2);
  padding-top: 15px;
}

.service-card.active .service-toggle-btn {
  transform: rotate(45deg);
  background-color: var(--color-text);
}

.service-card.active .service-toggle-btn::before,
.service-card.active .service-toggle-btn::after {
  background-color: var(--color-bg);
}

@media (min-width: 600px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .service-card {
    padding: 25px 20px;
    text-align: center;
    display: block;
  }
  .service-header {
    display: block;
    padding: 0;
    margin-bottom: 10px;
    cursor: default;
  }
  .service-icon-wrapper {
    display: block;
  }
  .service-icon {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 11px;
    padding: 4px 12px;
    width: auto;
    text-align: center;
  }
  .service-card h3 {
    text-align: center;
    font-size: 1.1rem;
  }
  .service-toggle-btn {
    display: none;
  }
  .service-body {
    height: auto !important;
    opacity: 1 !important;
    overflow: visible;
    padding: 0;
    border: none;
  }
  .service-body p {
    text-align: left;
  }
  .service-card:hover {
    transform: translateY(-5px);
  }
}
@media (min-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* スペック表 */
.service-specs {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
  font-size: 0.85rem;
}

.service-specs dl {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(0, 44, 44, 0.2);
  padding: 8px 0;
  margin: 0;
}

.service-specs dl:last-child {
  border-bottom: none;
}

.service-specs dt {
  font-weight: bold;
  color: var(--color-text);
  opacity: 0.8;
}

.service-specs dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.service-btn-area {
  margin-top: 20px;
  text-align: center;
  display: none;
}

.service-link-btn {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--color-text);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-text);
  transition: all 0.3s;
  background-color: transparent;
}

.service-link-btn:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

@media (max-width: 767px) {
  .service-link-btn {
    width: 100%;
    padding: 12px 0;
  }
}
/* =========================================
   Flow セクション
========================================= */
.flow-list {
  max-width: 800px;
  margin: 0 auto;
}

.flow-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.flow-item:last-child {
  margin-bottom: 0;
}

.flow-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 29px;
  width: 2px;
  background-color: var(--color-text);
  opacity: 0.3;
  height: calc(100% + 40px);
  z-index: 0;
}

.flow-item:last-child::before {
  height: 30px;
}

.flow-step {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: var(--color-text);
  color: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  margin-right: 20px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--color-bg);
}

.flow-content {
  padding-top: 10px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.flow-content h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.flow-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* =========================================
   404ページ
========================================= */
.error-page {
  padding: 120px 20px;
  text-align: center;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-code {
  font-size: 6rem;
  line-height: 1;
  margin: 0 0 20px;
  color: var(--color-text);
  opacity: 0.1;
}

.error-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.error-desc {
  margin-bottom: 40px;
  line-height: 1.8;
}

.error-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--color-text);
  color: var(--color-bg);
  border-radius: 50px;
  font-weight: bold;
  transition: opacity 0.3s;
}

.error-btn:hover {
  opacity: 0.8;
}

/* =========================================
   固定ページ用コンテンツBOX（利用規約・ポリシー等）
   ★半透明（すりガラス風）デザイン★
========================================= */
.content-box {
  background-color: rgba(255, 255, 255, 0.4);
  /* 背景を半透明に */
  border-radius: 30px;
  /* 角丸を強く */
  padding: 40px;
  max-width: 800px;
  margin: 40px auto;
  color: var(--color-text);
  /* 以前の緑色の枠線は削除し、透け感を活かす */
  box-shadow: none;
}

.content-box dl {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px dashed rgba(0, 44, 44, 0.2);
  /* 線を点線にして優しく */
  margin: 0;
  padding: 25px 0;
}

.content-box dl:last-child {
  border-bottom: none;
}

.content-box dt {
  width: 30%;
  font-weight: bold;
  padding-right: 20px;
  box-sizing: border-box;
  color: var(--color-text);
}

.content-box dd {
  width: 70%;
  margin: 0;
  box-sizing: border-box;
  line-height: 1.8;
}

/* ポリシー・利用規約ページ用スタイル */
.policy-content h3 {
  font-size: 18px;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-text);
  color: var(--color-text);
}

.policy-content p {
  margin-bottom: 1.5em;
  line-height: 1.8;
}

.policy-content ol,
.policy-content ul {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.policy-content li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .content-box {
    padding: 25px;
    margin: 20px;
  }
  .content-box dl {
    display: block;
  }
  .content-box dt {
    width: 100%;
    margin-bottom: 10px;
    border-bottom: none;
  }
  .content-box dd {
    width: 100%;
  }
}/*# sourceMappingURL=style.css.map */