@charset "UTF-8";

@font-face {
    font-family: 'CustomFont'; /* フォントの名前 */
    src: url('../fonts/adago_mini.otf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }
@font-face {
    font-family: 'CustomFont2'; /* フォントの名前 */
    src: url('../fonts/GoldenGooseUppercase-VariableVF.ttf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }
@font-face {
    font-family: 'CustomFont3'; /* フォントの名前 */
    src: url('../fonts/Medium.ttf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }



body {
  background-image: url(../img/background.jpg);
  background-position: right;
  background-size: cover;
    font-family: 'CustomFont', sans-serif;

}

main {
  position: relative;
    color: #333;
  margin-top: -20px;
  overflow-x: hidden; /* はみ出した画像を隠す */
}


.top-view {
  position: relative;
}

/* スター装飾 */
.main-deco-star {
  position: absolute;
  top: -10%;   /* ← ここで上に逃がす */
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.main-deco-star img {
  display: block;
  width: 620px;
  height: auto;
  transform: translateX(40%); /* Yは使わない */
}

/* 左下装飾 */
.main-deco-left-bottom {
  position: absolute;
  bottom: 30%;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.main-deco-left-bottom img {
  display: block;
  width: 620px;
  height: auto;
  transform: translateX(-50%) translateY(30%);
}
@media (max-width: 768px) {

/* スター装飾 */
.main-deco-star {
  position: absolute;
  top: -5%;   /* ← ここで上に逃がす */
  right: 0;
  z-index: 1;
  pointer-events: none;
}
  .main-deco-star img {
    width: 360px;
    transform: translateX(40%); /* Yは使わない */
  }

    .main-deco-left-bottom {
    left: 0;
  }

  .main-deco-left-bottom img {
    width: 360px;
    transform: translateX(-50%);
  }
}

.recommend-section {
  padding: 200px 20px 100px;
  font-family: 'CustomFont3', sans-serif;
  position: relative;
  z-index: 2;
}


/* ===== 白い額縁（外枠） ===== */
.recommend-empathy-frame {
  max-width: 720px;
  margin: 0 auto 90px;
  padding: 70px 50px;

  background: rgba(255, 255, 255, 0);
  border-radius: 30px;

  /* 影を軽く・広く */
  box-shadow:
    0 18px 40px rgba(130, 110, 190, 0.18),
    inset 0 0 0 1px rgba(240, 235, 255, 0.45);

  position: relative;
}

/* ===== ガラス面 ===== */
.recommend-empathy-frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;

  /* 白を減らして透明感アップ */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.25)
  );

  /* ぼかしを少し強める */
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);

  /* ガラスの縁と光 */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 0 25px rgba(255, 255, 255, 0.25),
    0 0 0 1px rgba(180, 160, 220, 0.08);

  pointer-events: none;
}

/* ===== 中身を前面に ===== */
.recommend-empathy-frame > * {
  position: relative;
  z-index: 1;
}

/* ===== 共感前のつなぎ ===== */
.recommend-bridge {
  text-align: center;
  margin: 50px auto 40px;
  font-size: 1.5rem;
  line-height: 1.9;
  color: #6b5b8a;
  letter-spacing: 0.04em;
  opacity: 0.85;
  position: relative;
}

/* さりげない装飾ライン */
.recommend-bridge::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(
    to right,
    transparent,
    rgba(180, 160, 230, 0.8),
    transparent
  );
}


/* ===== 共感本文 ===== */
.recommend-empathy {
  margin: 0 auto 40px;
  padding: 80px 60px;
  max-width: 550px;

  /* background: rgba(255, 255, 255, 0.55);
  border-radius: 22px;

  box-shadow:
    0 10px 26px rgba(120, 90, 180, 0.12),
    inset 0 0 0 1px rgba(200, 180, 240, 0.25); */

  backdrop-filter: blur(4px);
  background-image: url(../img/903125.png);
  background-size: 100% 100%;
}

/* 共感テキスト */
.recommend-empathy p {
  margin-bottom: 20px;
  line-height: 2;
  font-size: 0.95rem;
  color: #4a3f63;
  letter-spacing: 0.03em;
  opacity: 0.9;
}

/* 最後の段落だけ少し余韻 */
.recommend-empathy p:last-child {
  margin-bottom: 0;
}


/* ===== 共感の締め ===== */
.recommend-empathy-end {
  text-align: center;
  margin: 40px auto 10px;
  font-size: 1.2rem;
  line-height: 1.9;
  color: #5f547a;
  letter-spacing: 0.04em;
  opacity: 0.9;
  position: relative;
}

/* ふわっと下に余韻 */
.recommend-empathy-end::before {
  content: "＊";
  display: block;
  font-size: 0.8rem;
  color: rgba(160, 140, 210, 0.8);
  margin-bottom: 14px;
}


/* ===== スマホ調整 ===== */
@media (max-width: 768px) {
  .recommend-empathy-frame {
    max-width: 720px;
    margin: 0 auto 90px;
    padding: 70px 20px;
    background: rgba(255, 255, 255, 0);
    border-radius: 30px;
    box-shadow: 0 18px 40px rgba(130, 110, 190, 0.18), inset 0 0 0 1px rgba(240, 235, 255, 0.45);
    position: relative;
}

  .recommend-bridge {
    margin: 40px auto 30px;
    font-size: 1rem;
  }

  .recommend-empathy {
    padding: 60px 22px;
  background-image: url(../img/9031.png);
  }

  .recommend-empathy p {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .recommend-empathy-end {
    font-size: 1rem;
    margin-top: 30px;
  }
}


/* =========================
  メインタイトル
========================= */
.story-main-title {
    position: relative;
    text-align: center;
    font-size: 2rem;
    margin: 0px 0 80px;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: #333;
}

/* 上の小見出し */
.story-main-title::before {
    content: "CONTACT";
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    color: #b9a6ff;
    margin-bottom: 12px;
}

/* 下の装飾ライン */
.story-main-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #b9a6ff,
        transparent
    );
    margin: 24px auto 0;
}
/* =========================
  メインタイトル
========================= */
.story-main-title2 {
    position: relative;
    text-align: center;
    font-size: 2rem;
    margin: 0px 0 80px;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: #333;
}

/* 上の小見出し */
.story-main-title2::before {
    content: "THANK YOU";
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    color: #b9a6ff;
    margin-bottom: 12px;
}

/* 下の装飾ライン */
.story-main-title2::after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #b9a6ff,
        transparent
    );
    margin: 24px auto 0;
}


/* =========================
  お問い合わせフォーム
========================= */

.contact-intro {
  text-align: center;
  font-size: 1rem;
  line-height: 2;
  color: #6b5b8a;
  margin-bottom: 50px;
  letter-spacing: 0.04em;
}

/* フォーム全体 */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
}

/* 入力ブロック */
.form-group {
  margin-bottom: 32px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #7a6a95;
  letter-spacing: 0.08em;
}

/* input / textarea 共通 */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.9rem;
  border-radius: 14px;
  border: none;

  background: rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(200, 180, 240, 0.35),
    0 6px 18px rgba(120, 90, 180, 0.15);

  color: #4a3f63;
  line-height: 1.8;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* フォーカス時 */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow:
    inset 0 0 0 1px rgba(170, 140, 220, 0.6),
    0 8px 24px rgba(140, 110, 200, 0.25);
}

/* 補足メッセージ */
.contact-note {
  text-align: center;
  font-size: 0.85rem;
  color: #7a6a95;
  line-height: 1.9;
  margin: 40px 0 50px;
}

/* 送信ボタン */
.contact-submit {
  text-align: center;
}

.contact-submit button {
  padding: 16px 48px;
  border-radius: 999px;
  border: none;

  background: linear-gradient(
    135deg,
    #e7c7ff,
    #f6b8dc
  );

  color: #4a2f55;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  cursor: pointer;

  box-shadow:
    0 12px 30px rgba(180, 130, 200, 0.35);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-submit button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(180, 130, 200, 0.45);
}


/* selectもinputと統一 */
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.9rem;
  border-radius: 14px;
  border: none;

  background: rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(200, 180, 240, 0.35),
    0 6px 18px rgba(120, 90, 180, 0.15);

  color: #4a3f63;
}

/* 切り替えエリア */
.form-switch {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

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




/* ===== スマホ調整 ===== */
@media (max-width: 500px) {
    .recommend-section {
    padding: 200px 10px 50px;
    font-family: 'CustomFont3', sans-serif;
    position: relative;
    z-index: 2;
}
.story-main-title {
    position: relative;
    text-align: center;
    font-size: 1.5rem;
    margin: 0px 0 80px;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: #333;
}
.story-main-title2 {
    position: relative;
    text-align: center;
    font-size: 1.5rem;
    margin: 0px 0 80px;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: #333;
}
/* フォーム全体 */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 15px;
}

}