@charset "UTF-8";

/* ==========================================================================
   Reset & Basic Setup
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif JP', "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;
  background-color: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. ヘッダー
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #2b2b2a;
  backdrop-filter: blur(5px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

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

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo a {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 2px;
}


/* PC環境のデフォルトスタイル */
.nav-toggle {
  display: none;
  /* PCでは3本線ボタンを隠す */
}

.header-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.header-nav a {
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

.header-nav a:hover {
  opacity: 0.6;
}

/* ==========================================================================
   2. メインビジュアル
   ========================================================================== */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
  overflow: hidden;
  background-color: #f7cbca;
}

/* ★ レイヤー1：背景画像 */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/fv_bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* ★ レイヤー2：暗いフィルター */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* ★ レイヤー3：丸・志・タイトル（フィルターより前面） */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
}

/* --- アニメーション表示エリア --- */
.kokoro-animation {
  width: 260px;
  height: 260px;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 扇状マスクの角度アニメーション用プロパティ定義 */
@property --mask-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ★ 1. 透過PNG丸画像 (fv_maru.png)
   - 回転させずに向き固定
   - conic-gradientマスクを使って12時から反時計回りに完全等速（linear）で360度滑らかに描画
   - 「志」と同時に 0.3 秒後から 1.6 秒間かけて出現 */
.circle-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 1;
  transform: none;
  /* 回転・歪みなし */

  /* 12時から反時計回りに mask-angle の角度だけ不透明にするマスク設定 */
  -webkit-mask-image: conic-gradient(from 0deg, #000 0deg, #000 var(--mask-angle), transparent var(--mask-angle), transparent 360deg);
  mask-image: conic-gradient(from 0deg, #000 0deg, #000 var(--mask-angle), transparent var(--mask-angle), transparent 360deg);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  /* 反時計回りに見せるために左右反転処理をマスクのみに適用 */
  -webkit-mask-composite: source-over;
  mask-composite: add;
  transform: scaleX(-1);
  /* マスクのみ反時計回り化（画像自体は子供要素で補正して向き完全固定） */

  animation: revealCircle 1.8s linear forwards;
  animation-delay: 0.3s;
}

.circle-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 親要素の scaleX(-1) を打ち消して、画像の本来の向きを100%保持 */
  transform: scaleX(-1);
}

@keyframes revealCircle {
  0% {
    --mask-angle: 0deg;
  }

  100% {
    --mask-angle: 360deg;
  }
}

/* ★ 2. 「志」（画面奥からではなく、本来の位置でじんわりフェードイン）
   - 丸と全く同時に（delay: 0.3s）、同じ長さ（1.6s）で等速フェードイン */
.shi-text-wrap {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.serif-text-shi {
  font-family: 'Noto Serif JP', "Yu Mincho", serif;
  font-weight: 600;
  /* SemiBold */
  font-size: 110px;
  color: #ffffff;
  line-height: 1;
  opacity: 0;
  transform: none;
  /* 拡大縮小を一切行わず本来の位置・大きさに固定 */

  /* 丸と同時に同じ時間(1.6s)でじんわりフェードイン */
  animation: fadeInShi 1.6s linear forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInShi {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hero-title {
  font-size: 2.2rem;
  letter-spacing: 4px;
  font-weight: 600;
}

/* ==========================================================================
   3. CONCEPT / メッセージ (画像6)
   ========================================================================== */
.concept-section {
  padding: 80px 0;
}

.concept-container {
  text-align: center;
  gap: 40px;
  position: relative;
}

.concept-text {
  flex: 1;
  text-align: center;
}

.concept-text p {
  margin-bottom: 24px;
  font-size: 1rem;
}

.concept-text .catchphrase {
  font-size: 1.25rem;
  margin-bottom: 32px;
  font-weight: 600;
}

.concept-text .highlight {
  margin-top: 32px;
  font-weight: 600;
}

/* 画像6: ○志の木札画像 */
.concept-image {
  width: 260px;
  position: absolute;
  right: 0;
  top: 0;
}

.concept-image img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   4. BUSINESS / 事業紹介 (画像2, 3, 4)
   ========================================================================== */
.business-section {
  padding: 60px 0 100px;
  text-align: center;
}

.section-title {
  font-size: 1.2rem;
  font-weight: normal;
  color: #888888;
  margin-bottom: 40px;
}

.business-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.business-card {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.business-card:hover {
  transform: translateY(-5px);
}

/* 各画像ラッパー ＋ 暗いフィルター */
.card-image-wrap {
  position: relative;
  width: 80%;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #c4c4c4;
  display: flex;
  /* 中身を中央揃えにする設定 */
  justify-content: center;
  align-items: center;
}

.card-image-wrap img {
  width: 80%;
  height: auto;
  object-fit: cover;
}

.business-card:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

/* 画像上のタイトルテキスト */
.card-title,
.card-title-group {
  color: #2b2b2a;
  font-size: 1.2rem;
  font-weight: 600;
}

.card-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.coming-soon {
  font-size: 0.8rem;
  margin-top: 15px;
  opacity: 0.8;
  font-weight: 400;
}

.card-sub {
  font-size: 0.85rem;
  color: #555555;
  line-height: 1.5;
}

/* ==========================================================================
   5. FOOTER / CONTACT (画像5 / Google Formボタン)
   ========================================================================== */
.site-footer {
  background-color: #2b2b2a;
  color: #ffffff;
  padding: 60px 0 10px;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer-info {
  font-size: 0.95rem;
  line-height: 2;
}

.tel,
.mail {
  text-decoration: underline;
}

.profile-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

/* 画像5: 人 (代表顔写真アイコン) */
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text {
  border-left: 1px solid #ffffff;
  padding-left: 15px;
}

.profile-text .post {
  font-size: 0.85rem;
}

.profile-text .name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.footer-logo {
  width: 20%;
}

.footer-logo img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* お問い合わせボタン */
.footer-action {
  margin-bottom: 20px;
}

.btn-contact {
  display: inline-block;
  background-color: #ffe7b3;
  color: #333333;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}


/* ==========================================================================
   コピーライト
   ========================================================================== */
.footer-copyright {
  width: 100%;
  margin-top: 50px;
  padding-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: #a0a0a0;
  letter-spacing: 1px;
}


/* inview */
.fadein {
  opacity: 0;
  transform: translate(0, 100px);
  transition: all 1s;
}

.fadein.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================================================
   6. Responsive (スマートフォン対応)
   ========================================================================== */
@media (max-width: 768px) {
  .concept-container {
    flex-direction: column;
    align-items: center;
  }

  .concept-image {
    display: none;
  }

  .business-grid {
    flex-direction: column;
    align-items: center;
  }

  .business-card {
    width: 100%;
    max-width: 320px;
    margin-bottom: 30px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .profile-box {
    justify-content: center;
  }

  /* ハンバーガーボタンを右端に表示 */
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1000;
    /* メニューより前面へ */
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  /* 三本線のデザイン */
  .nav-toggle span {
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    /* 上品な細い線 */
    background-color: #fff;
    left: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* 三本線の初期位置（等間隔に配置） */
  .nav-toggle span:nth-child(1) {
    top: 0;
  }

  .nav-toggle span:nth-child(2) {
    top: 9px;
  }

  .nav-toggle span:nth-child(3) {
    top: 18px;
  }

  /* メニューが開いた時の「×」アニメーション */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* 上からふんわり現れるスマホメニュー画面 */
  .nav-menu {
    position: fixed;
    top: -300%;
    left: 0;
    /* 初期状態は画面の外に隠す */
    width: 100%;
    /* 画面高さの30%で開く */
    height: auto;
    background-color: #2b2b2a;
    flex-direction: column;
    /* 縦並び */
    justify-content: center;
    align-items: center;
    gap: 0px;
    z-index: 999;
    transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 30px;
  }

  .nav-menu.active {
    top: 0;
    /* アクティブ時に画面内にスライド */
  }

  .nav-menu li a {
    font-size: 1.2rem;

  }

}

@media screen and (min-width: 769px) {
  .tel {
    pointer-events: none;
    /* クリック・タップを無効化 */
    cursor: default;
    /* カーソルを通常の矢印に戻す */
    text-decoration: none;
    /* （任意）リンクの下線を消す */
    color: inherit;
    /* （任意）文字色を周囲のテキストに合わせる */
  }
}