@charset "UTF-8";

/* ========================================
   1. リセット・共通設定
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;

  /* タイポグラフィ */
  /* font-family: 'Open Sans', 'PT Sans', 'Inter', 'Noto Sans JP', 'YuMincho', 'Hiragino Mincho ProN', sans-serif;
  font-weight: 400; */
  /* color: #707070; */

  /* デバッグ用 */
  /* outline: 2px solid blue;  */
}

/* ========================================
   2. HTMLベーススタイル
======================================== */
html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
  font-weight: 400;
  margin: 0;
  background-color: #F9F4F0;
  color: #4A141E;
  overflow-x: hidden;
}

/* ========================================
   3. 要素スタイル
======================================== */
a {
  text-decoration: none;
  color: inherit;
}

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

p {
  color: inherit;
}

li {
  list-style: none;
}

li:hover {
  cursor: pointer;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

input,
textarea,
select {
  font: inherit;
}

/* ========================================
   4. ユーティリティクラス
======================================== */
.sp-br {
  display: none;
}

.pc-br {
  display: block;
}

/* ========================================
   5. レスポンシブ対応
======================================== */
@media screen and (max-width: 768px) {

  .pc-br {
    display: none;
  }
  .sp-br {
    display: block;
  } 
}

/* ========================================
   6. カスタムスタイル
======================================== */
/* section--spaced section__inner */

.wrapper {
  max-width: 1000px;
  margin: 0 auto;
}
.section--spaced {
  margin-bottom: 80px;
}
.section__title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 4rem;
  color: #4A141E;
  letter-spacing: 0.16em;
  margin-bottom: 64px;
}

@media screen and (max-width: 768px) {
  .wrapper {
    padding-left: 40px;
    padding-right: 40px;
  } 
  .section--spaced {
    margin-bottom: 40px;
  }
  .section__title {
    font-size: 3rem;
  }
}
@media screen and (max-width: 375px) {
  .wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section__title {
    font-size: 2rem;
  }
}

/* ========================================
   nav
======================================== */

/* 共通グロナビ（PC表示） */
.side-nav {
  position: fixed;
  top: 3%;
  right: 1%;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 36px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 14px 36px;
}
.side-nav .menu {
  display: flex;
  /* flex-direction: column; */
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  padding: 4px;
  /* writing-mode: vertical-rl;
  text-orientation: upright; */
  text-decoration: none;
  font-size: 14px;
  color: #3a1e2a;
  font-family: 'Noto Sans JP', 'Yu Gothic UI', sans-serif;
  letter-spacing: 0.15em;
  font-weight: 500;
  position: relative;
  opacity: 0.8;
  transform: translateY(20px);
  animation: navLinkFadeUp 0.8s ease forwards;
  transition: background 0.3s ease, color 0.4s ease;
  transition-delay: 0.1s;
}
.nav-link:hover {
  color: #D90368;
}
.nav-link.active {
  font-weight: 700;
  color: #C2185B;
  background: rgba(210, 24, 91, 0.1);
  
}
.nav-link::before {
  content: "";
  position: absolute;
  top: 40%;
  left: -8px;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #FFD700;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}
.nav-link.active::before {
  opacity: 1;
  transform: translateX(-50%) scale(1.2);
}
.menu li:nth-child(1) .nav-link { animation-delay: 0.2s; }
.menu li:nth-child(2) .nav-link { animation-delay: 0.3s; }
.menu li:nth-child(3) .nav-link { animation-delay: 0.4s; }
.menu li:nth-child(4) .nav-link { animation-delay: 0.5s; }
.menu li:nth-child(5) .nav-link { animation-delay: 0.6s; }
.menu li:nth-child(6) .nav-link { animation-delay: 0.7s; }

@keyframes navLinkFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
/* ハンバーガーボタン（SP表示のみ） */
.hamburger {
  display: none;
}

/* メディアクエリ：SP以下で表示 */
@media (max-width: 768px) {
  .side-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1101;
  }
  .hamburger__bg {
    position: absolute;
    width: 72px;
    height: 72px;
    background: #C97B9A;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%;
    animation: blobMove 6s ease-in-out infinite;
    z-index: -1;
  }
  .hamburger__lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .line {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .hamburger__label {
    font-size: 12px;
    color: #fff;
    margin-top: 4px;
    letter-spacing: 0.05em;
  }
  .hamburger.open .line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .hamburger.open .line:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
  .side-nav.open {
    display: flex;
    position: fixed;
    flex-direction: column;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    transform: translateX(0);
    transition: transform 0.4s ease;
    z-index: 1100;
    opacity: 1;
    pointer-events: auto;
    align-items: center;
    justify-content: center;
  }
  .side-nav.open .menu {
    flex-direction: column;
    gap: 32px;
  }
  .nav-link {
    writing-mode: horizontal-tb; /* 横書きに */
    font-size: 18px;
    transform: none;
    animation: none;
  }
  .nav-link::before {
    top: 40%;
    left: -14px; /* liの左側 */
    transform: translateY(-50%);
  }
}
@keyframes blobMove {
  0% {
    transform: translate(0px, 0px) scale(1) rotate(0deg);
    border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%;
  }
  20% {
    transform: translate(4px, -4px) scale(1.1) rotate(5deg);
    border-radius: 58% 42% 60% 40% / 50% 45% 60% 40%;
  }
  40% {
    transform: translate(-5px, 5px) scale(0.95) rotate(-6deg);
    border-radius: 50% 50% 48% 52% / 60% 50% 50% 40%;
  }
  60% {
    transform: translate(3px, 3px) scale(1.08) rotate(4deg);
    border-radius: 62% 38% 58% 42% / 52% 48% 58% 42%;
  }
  80% {
    transform: translate(-3px, -3px) scale(0.93) rotate(-3deg);
    border-radius: 55% 45% 60% 40% / 60% 45% 55% 45%;
  }
  100% {
    transform: translate(0px, 0px) scale(1) rotate(0deg);
    border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%;
  }
}


/* ========================================
   footer
======================================== */
.footer {
  background-color: #B66C84;
  color: #FDF8F4;
  padding: 60px 0 30px;
  text-align: center;
}
.footer__inner {
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
.footer__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}
.footer__link {
  position: relative;
  text-decoration: none;
  color: #FDF8F4;
  font-size: 14px;
  letter-spacing: 0.15em;
}
.footer__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #FDF8F4;
  transition: width 0.3s ease, left 0.3s ease;
}
.footer__link:hover::after {
  width: 100%;
  left: 0;
}
.footer__sns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-left: 24px;
}
.footer__sns-link img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

/* hover対応端末だけに拡大＋透明度 */
@media (hover: hover) and (pointer: fine) {
  .footer__sns-link:hover img {
    transform: scale(1.2);
    opacity: 0.8;
  }

  .footer__copyright {
    font-size: 12px;
    color: #FDF8F4;
    letter-spacing: 0.1em;
  }
}
/* ---------- SP対応 ---------- */
@media screen and (max-width: 768px) {
  .footer__inner {
    width: 100%;
    display: block;
  }
  .footer__list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 24px 40px;
  }
  .footer__sns {
    justify-content: flex-start;
    padding: 0 14px;
  }
  .footer__copyright {
    display: flex;
    justify-content: flex-start;
    padding: 40px;
  }
}

/* topへ戻る */
.back-to-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 64px;
  height: 64px;
  background: #C97B9A;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%;
  animation: blobMove 7s ease-in-out infinite;
  color: white;
  font-size: 14px;
  text-decoration: none;
  z-index: 1300;

  /* 表示制御 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top__arrow {
  font-size: 20px;
  margin-top: 4px;
}

/* ========================================
   about,works page
======================================== */
.about-page-section,
.works-page-section,
.thanks-page__wrapper {
  position: relative;
  background-image: linear-gradient(to bottom, #FDFFED, #fadfe8);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 400px;
  
  /* padding-top: 120px;
  padding-bottom: 120px; */
  border-bottom: 2px solid #D90368;
  /* height: 400px; */
}
.page__title {
  width: 100%;
  display: inline-block;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2.25rem, 0.953rem + 5.61vw, 6rem);
  font-weight: 900;
  background: url('../images/flower-bg.webp') no-repeat center;
  background-position: center 20%;
  background-size: cover;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 10px;
}
.page__subtitle {
  font-size: 20px;
}

/* パンくずリスト */
.breadcrumb {
  max-width: 100%;
  height: 45px;
  padding: 14px 0 160px 80px;
}
.breadcrumb ol {
  font-size: 16px;
  color: #4A141E;
  letter-spacing: 0.6px;
  display: flex;

}
.breadcrumb ol li:first-child a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  margin-right: 14px;
}
.breadcrumb ol li {
  margin-right: 14px; /* HOMEの後ろとABOUTの前に余白を追加 */
}
.breadcrumb ol li:first-child {
  color: #4A141E;
}
.breadcrumb ol li:not(:last-child):after{
  content: ">";
  margin: 0;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .breadcrumb {
    padding: 14px 0 80px 40px;
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  .page__subtitle {
    font-size: 16px;
}
  .breadcrumb {
    padding-left: 16px;
    font-size: 12px;
  }
  .breadcrumb ol li:not(:last-child):after{
    margin: 0 4px;
  }
}

/* ========================================
   ボタン
======================================== */
.section-about,
.section-works {
  text-align: center;
  margin-bottom: 40px;
}
.btn {
  position: relative;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 1rem 4rem;
  background-color: #7A4E45;
  border-radius: 100vh;
  color: #fff;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 1;
  /* 初期状態：浮いている感じ（影あり） */
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
}
.btn:before {
  position: absolute;
  top: 0;
  right: 30px;
  bottom: 0;
  width: 12px;
  height: 12px;
  margin: auto;
  content: '';
  transform: rotate(45deg);
  vertical-align: middle;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  border-radius: 2px;
}
.btn:hover {
  /* ホバー時：沈む感じ（影を消す） */
  transform: translateY(3px);
  box-shadow: none;
  opacity: 0.9;
}

@media screen and (max-width: 500px) {
  .btn {
    font-size: 1.1rem;
  }
}
/* ========================================
   お問い合わせボタン
======================================== */
.contact {
  text-align: center;
  margin-bottom: 80px;
}
.contact__message {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: .2em;
}
.contact__message:before {
  margin-right: 1rem;
  content: '＼';
}
.contact__message:after {
  margin-left: 1rem;
  content: '／';
}
.contact__btn {
  position: relative;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 1rem 4rem;
  background-color: #C30E46;
  border-radius: 100vh;
  color: #fff;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 1;
  /* 初期状態：浮いている感じ（影あり） */
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
}
.contact__btn:before {
    position: absolute;
    top: 0;
    right: 30px;
    bottom: 0;
    width: 12px;
    height: 12px;
    margin: auto;
    content: '';
    transform: rotate(45deg);
    vertical-align: middle;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    border-radius: 2px;
}
.contact__btn:hover {
  /* ホバー時：沈む感じ（影を消す） */
  transform: translateY(3px);
  box-shadow: none;
  opacity: 0.9;
}

@media screen and (max-width: 600px) {
  .contact__message {
    font-size: 1.1rem;
  }
  .contact__btn {
    font-size: 1.2rem;
  }
}  