/* =========================================================
   優月心菜 OFFICIAL WEB SITE
   STYLE.CSS
========================================================= */


/* =========================================================
   RESET / BASE
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: "Noto Serif JP", serif;
  font-weight: 300;

  color: #7895a8;

  /* 壁紙 */
  background-image: url("images/bg2.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1920px auto;
  background-attachment: fixed;
  background-color: #f8fbff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}


/* =========================================================
   PAGE
========================================================= */

.page {
  width: 100%;
  max-width: 1100px;

  margin: 0 auto;

  position: relative;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.96);

  box-shadow:
    0 0 35px rgba(110, 150, 180, 0.08);
}


/* =========================================================
   HEADER
========================================================= */

.header {
  width: 100%;
  height: 72px;

  display: flex;
  align-items: center;

  padding: 0 35px;

  position: relative;
  z-index: 20;

  background: rgba(255, 255, 255, 0.94);
}

.nav {
  margin-left: auto;

  display: flex;
  align-items: center;

  gap: 34px;
}

.nav a {
  font-size: 9px;

  letter-spacing: 0.12em;

  color: #7895a8;

  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}

.nav a:hover {
  opacity: 0.55;
}

.menu {
  margin-left: 30px;

  padding: 5px;

  border: 0;
  background: transparent;

  cursor: pointer;
}

.menu span {
  display: block;

  width: 20px;
  height: 1px;

  margin: 5px 0;

  background: #9db8c8;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  width: 100%;
  height: 520px;

  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255,255,255,0.95),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #f8fcff 0%,
      #eaf5fa 45%,
      #dceef7 100%
    );
}


/* HERO TEXT */

.hero-text {
  position: absolute;

  top: 62px;
  left: 10%;

  z-index: 5;

  width: 34%;
}

.hero h1 {
  margin: 0 0 38px;

  font-family: "Cormorant Garamond", serif;
  font-size: 43px;
  font-weight: 400;
  font-style: italic;

  line-height: 1.05;

  color: #7597ae;
}


/* VIEW MORE */

.more-button {
  display: inline-block;

  margin-top: 22px;

  padding: 10px 24px;

  border: 1px solid #94b4c7;
  border-radius: 30px;

  font-size: 8px;

  letter-spacing: 0.16em;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.more-button:hover {
  background: #94b4c7;
  color: #ffffff;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {
  position: absolute;

  top: 0;
  right: 0;

  width: 60%;
  height: 470px;

  overflow: hidden;

  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;
  object-position: center;

  display: block;
}


/* =========================================================
   HERO WAVE
========================================================= */

.hero-wave {
  position: absolute;

  left: -5%;
  bottom: -90px;

  width: 110%;
  height: 180px;

  z-index: 4;

  background: #ffffff;

  border-radius:
    50% 55% 0 0 /
    80% 80% 0 0;

  transform: rotate(-2deg);
}


/* =========================================================
   HERO DECORATION
========================================================= */

.hero-decoration {
  position: absolute;

  z-index: 6;

  color: #d8bd77;
}

.deco01 {
  left: 5%;
  top: 210px;

  font-size: 18px;
}

.deco02 {
  left: 38%;
  top: 65px;
}

.deco03 {
  left: 44%;
  top: 300px;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.section {
  width: 100%;

  padding: 55px 10%;
}

.section-title {
  display: flex;
  align-items: baseline;

  gap: 12px;

  margin-bottom: 35px;
}

.section-title > span {
  color: #d4b96e;

  font-size: 12px;
}

.section-title h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: 34px;
  font-weight: 400;
  font-style: italic;

  color: #7596aa;
}

.section-title small {
  font-size: 8px;

  letter-spacing: 0.1em;

  color: #94aab7;
}


/* =========================================================
   TEXT LINK
========================================================= */

.text-link {
  display: inline-block;

  margin-top: 25px;

  font-size: 8px;

  letter-spacing: 0.12em;

  color: #7f9bad;

  transition: opacity 0.3s ease;
}

.text-link:hover {
  opacity: 0.6;
}

.text-link span {
  margin-left: 10px;
}


/* =========================================================
   NEWS
========================================================= */

.about {
  padding-top: 30px;
}

.news-detail-list {
  width: 100%;
  max-width: 700px;

  margin: 0 auto;
}

.news-detail-item {
  width: 100%;

  padding: 20px 0 22px;

  border-bottom: 1px solid #d6e0e8;
}

.news-detail-meta {
  display: flex;
  align-items: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 8px;
}

.news-detail-date {
  color: #789bb2;

  font-size: 13px;
  font-weight: 600;
}

.news-detail-category {
  position: relative;

  padding: 0 4px;

  z-index: 1;

  color: #789bb2;

  font-size: 12px;
  font-weight: 600;
}

.news-detail-category::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 5px;

  z-index: -1;

  background: #e9d48d;
}

.news-detail-new {
  font-family: "Cormorant Garamond", serif;

  font-size: 15px;
  font-style: italic;

  color: #789bb2;
}

.news-detail-title {
  display: block;

  width: 100%;

  color: #566f7e;

  font-size: 14px;
  font-weight: 400;

  line-height: 1.8;

  letter-spacing: 0.06em;

  transition: color 0.3s ease;
}

.news-detail-title:hover {
  color: #8eb6cc;
}


/* =========================================================
   YOUTUBE
========================================================= */

.youtube {
  padding-top: 45px;
  padding-bottom: 65px;
}

.youtube-list {
  width: 100%;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;

  margin-bottom: 25px;
}

.youtube-card {
  width: 100%;
  min-width: 0;
}

.youtube-movie {
  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #edf3f6;
}

.youtube-movie iframe {
  width: 100%;
  height: 100%;

  display: block;

  border: 0;
}

.youtube-title {
  margin-top: 12px;

  color: #718d9e;

  font-size: 12px;
  font-weight: 400;

  line-height: 1.8;

  letter-spacing: 0.05em;
}


/* =========================================================
   ITEM
========================================================= */

.item {
  width: 100%;

  padding-top: 45px;
  padding-bottom: 70px;
}


/*
  ★ ここが重要
  ITEMを3列グリッドにしない
*/

.item-list {
  width: 100%;

  display: flex;

  flex-direction: column;

  gap: 30px;

  margin-top: 20px;
}


/* バナー */

.item-banner {
  display: block;

  width: 100%;

  margin: 0;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.item-banner:hover {
  transform: translateY(-3px);

  opacity: 0.92;
}

.item-banner img {
  display: block;

  width: 100%;
  height: auto;

  max-width: none;

  margin: 0;
}


/*
  item-banner-listを使っていても
  同じ表示になるようにしておく
*/

.item-banner-list {
  width: 100%;

  display: flex;

  flex-direction: column;

  gap: 30px;

  margin-top: 20px;
}


/* =========================================================
   旧ITEM用クラス
   HTMLに残っていても崩れないようにする
========================================================= */

.item-card {
  width: 100%;
}

.item-image {
  width: 100%;

  aspect-ratio: 10 / 3;

  background: #f0f1f1;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  width: 100%;

  padding: 22px 30px 15px;

  text-align: center;

  background: #dceef7;
}

.footer nav {
  display: flex;

  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 28px;
}

.footer nav a {
  font-size: 7px;

  letter-spacing: 0.14em;
}

.sns {
  margin: 17px 0 10px;

  display: flex;

  justify-content: center;

  gap: 13px;
}

.sns a {
  font-size: 13px;
}

.footer p {
  font-size: 7px;

  color: #94adba;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .hero h1 {
    font-size: 36px;
  }

  .youtube-list {
    gap: 15px;
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 700px) {

  body {
    background-size: auto 100vh;
  }


  /* HEADER */

  .header {
    height: 60px;

    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .menu {
    margin-left: auto;
  }


  /* HERO */

  .hero {
    height: 620px;
  }

  .hero-image {
    width: 100%;
    height: 390px;

    top: 0;
    right: 0;

    opacity: 0.72;
  }

  .hero-image img {
    object-position: center top;
  }

  .hero-text {
    top: 60px;
    left: 8%;

    width: 75%;
  }

  .hero h1 {
    font-size: 36px;

    line-height: 1.1;
  }

  .hero-wave {
    bottom: -25px;

    height: 150px;
  }


  /* COMMON */

  .section {
    padding-left: 7%;
    padding-right: 7%;
  }

  .section-title {
    margin-bottom: 25px;
  }

  .section-title h2 {
    font-size: 30px;
  }


  /* NEWS */

  .news-detail-date {
    font-size: 11px;
  }

  .news-detail-category {
    font-size: 11px;
  }

  .news-detail-title {
    font-size: 12px;

    line-height: 1.8;
  }


  /* YOUTUBE */

  .youtube-list {
    grid-template-columns: 1fr;

    gap: 30px;
  }


  /* ITEM */

  .item-list,
  .item-banner-list {
    width: 100%;

    gap: 20px;
  }

  .item-banner {
    width: 100%;
  }

  .item-banner img {
    width: 100%;
    height: auto;
  }


  /* FOOTER */

  .footer nav {
    gap: 12px 20px;
  }

}

/* =========================================
   CONTACT
========================================= */

.contact {
  padding-top: 60px;
  padding-bottom: 85px;
}

.contact-inner {
  width: 100%;
  max-width: 720px;

  margin: 0 auto;
}

.contact-lead {
  margin-bottom: 40px;

  color: #7895a8;

  font-size: 11px;
  line-height: 2;

  letter-spacing: .06em;
}

.contact-lead span {
  color: #bca56a;

  font-size: 10px;
}


/* =========================
   FIELD
========================= */

.contact-field {
  margin-bottom: 30px;
}

.contact-label {
  display: block;

  margin-bottom: 12px;

  color: #6f91a5;

  font-size: 12px;
  font-weight: 400;

  letter-spacing: .08em;
}

.required {
  margin-left: 4px;

  color: #d3b55e;
}


/* =========================
   NAME
========================= */

.name-fields {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 16px;
}

.name-field {
  display: flex;

  align-items: center;

  gap: 9px;
}

.name-field > span {
  flex: 0 0 auto;

  color: #8ca4b3;

  font-size: 11px;
}


/* =========================
   INPUT
========================= */

.contact-input,
.name-field input,
.contact-textarea {
  width: 100%;

  border: 1px solid #d5e3eb;

  background:
    rgba(255,255,255,.82);

  color: #536e7d;

  font-family:
    "Noto Serif JP",
    serif;

  font-size: 12px;

  outline: none;

  transition:
    border-color .3s ease,
    box-shadow .3s ease,
    background .3s ease;
}

.contact-input,
.name-field input {
  height: 46px;

  padding: 0 14px;
}

.contact-textarea {
  min-height: 190px;

  padding: 15px;

  resize: vertical;

  line-height: 1.8;
}


/* placeholder */

.contact-input::placeholder,
.name-field input::placeholder,
.contact-textarea::placeholder {
  color: #b4c4cd;
}


/* focus */

.contact-input:focus,
.name-field input:focus,
.contact-textarea:focus {
  border-color: #9fc3d8;

  background: #ffffff;

  box-shadow:
    0 0 0 3px
    rgba(159,195,216,.12);
}


/* =========================
   BUTTON
========================= */

.contact-submit {
  margin-top: 38px;

  text-align: center;
}

.contact-button {
  min-width: 190px;

  padding: 13px 32px;

  border:
    1px solid #91b3c7;

  border-radius: 40px;

  background:
    rgba(255,255,255,.8);

  color: #7898aa;

  font-family:
    "Cormorant Garamond",
    serif;

  font-size: 12px;

  letter-spacing: .18em;

  cursor: pointer;

  transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease;
}

.contact-button span {
  margin-left: 12px;
}

.contact-button:hover {
  background: #91b3c7;

  color: #ffffff;

  transform: translateY(-2px);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .contact {
    padding-top: 45px;
    padding-bottom: 65px;
  }

  .contact-inner {
    max-width: 100%;
  }

  .name-fields {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .contact-button {
    width: 100%;
  }

}


/* =========================================================
   VERY SMALL
========================================================= */

@media (max-width: 420px) {

  .hero {
    height: 570px;
  }

  .hero-image {
    height: 350px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .section {
    padding-top: 40px;
    padding-bottom: 45px;
  }

}
/* SNSアイコンのサイズを強制的に小さくする */
.footer-sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.footer-sns a {
  display: block;
  width: 32px;
  height: 32px;
}

.footer-sns a img {
  display: block !important;
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  object-fit: contain;
}
/* =====================
   MOBILE MENU
===================== */

@media screen and (max-width: 768px) {

  .header {
    position: relative;
    z-index: 1000;
  }

  .menu {
    display: flex;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .menu span {
    display: block;
    width: 32px;
    height: 2px;
    background: #9bb4bf;
    transition: 0.3s;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;

    background: rgba(255,255,255,0.97);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 35px;

    transition: 0.4s;
    z-index: 999;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    color: #7895a3;
    text-decoration: none;
    letter-spacing: 0.12em;
  }

  /* 三本線 → × */

  .menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu.active span:nth-child(2) {
    opacity: 0;
  }

  .menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

}