@charset "utf-8";


/*==========================
Java
==========================*/
/* 初期状態（非表示 & 下にオフセット） */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* 表示時のアニメーション */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================
common
======================================= */

:root {
  --primary-black: #152736;
  --primary-darkgrey:#515459;
  --primary-gray: #737373;
  --contentWidth: 93.3%;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", serif;
  font-style: normal;
  color: var(--primary-black, #152736);
  background-color: #ffffff;
  line-height: 1.5;
}

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

*, *:before, *:after {
  box-sizing: border-box;
}

/*==========================
Header
==========================*/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #ffffff;
  position: fixed; /* 画面の一番上に固定 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-sizing: border-box;
}

.header__topic img {
  width: 234px;
  height: 90px;
}

/* ナビゲーションメニュー */
.nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ナビゲーションリスト */
.nav__list {
    list-style: none;
    padding: 0px 40px;
    margin: 0;
    display: flex;
    gap: 30px;
}

.nav__item {
    display: inline;
}

.nav__link {
    text-decoration: none;
    color: #152736;
    font-size: 1.8rem;
    font-weight: 500;
}

/* ホバー時のエフェクト */
.nav__link:hover {
    color: #D3D3C1;
}

/* ハンバーガーメニューのスタイル */
.menu-btn {
    display: none;
}

.menu-icon {
    display: none;
    position: absolute;
    right: 20px;
    cursor: pointer;
}

.navicon {
    background: #152736;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
}

.navicon:before,
.navicon:after {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background: #152736;
    position: absolute;
}

.navicon:before {
    top: -8px;
}

.navicon:after {
    bottom: -8px;
}


/* スマホ表示時の設定 */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .menu-icon {
    display: block;
  }

  .nav__list {
    position: fixed;
    top: 90px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .menu-btn:checked ~ .nav .nav__list {
    transform: translateX(0);
  }

  .nav__item {
    padding: 10px 0;
  }

  .nav__link {
    font-size: 1.8rem;
  }

  .header{
    height: 90px;
  }
}



/*==========================
Contact セクション
==========================*/

/* セクション全体 */
.contact-section {
  background: linear-gradient(to bottom, #91c7b1, #8aa6c1);
  min-height: 509px; /* 小さな画面でも余白が適切になる */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5vw; /* 余白を可変に */
}

/* タイトル */
.contact-title {
  font-family: Montserrat;
  font-size: clamp(4rem, 8vw, 8rem); /* 画面サイズに応じた可変フォントサイズ */
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

/* サブタイトル */
.contact-subtitle {
  font-size: clamp(1.6rem, 2vw, 2.3rem); /* 画面サイズに応じた可変フォントサイズ */
  color: #ffffff;
  margin: 3vw 0; /* 余白を可変に */
}


/* お問い合わせボタン */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: var(--primary-darkgrey);
  border-radius: 0.5rem;
}

a.btn-malformation {
  font-size: 2rem;

  padding: 3rem 4rem;

  color: #fff;
  border-radius: 100% 80px / 80px 100%;
  background-color: #eb6100;
}

a.btn-malformation:hover {
  color: #fff;
  border-radius: 60% 80% / 100% 80%;
}

a.btn-malformation {
  font-size: 2rem;

  padding: 3rem 4rem;

  color: #fff;
  border-radius: 100% 80px / 80px 100%;
}

a.btn-malformation:hover {
  color: #fff;
  border-radius: 60% 80% / 100% 80%;
}

.btn-malformation--pastel {
  background: #fca1a1;
  background: -webkit-linear-gradient(-45deg, #fca1a1 40%, #fcfc5d 100%);
  background: -webkit-linear-gradient(315deg, #fca1a1 40%, #fcfc5d 100%);
  background: linear-gradient(135deg, #fca1a1 40%, #fcfc5d 100%);
  -webkit-box-shadow: 30px 10px 0 #fefeb3;
  box-shadow: 30px 10px 0 #fefeb3;

  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fca1a1', endColorstr='#fcfc5d', GradientType=1);
}
/* タブレット (768px以下) */
@media (max-width: 768px) {
  .contact-section {
    padding: 10vw 5vw;
  }

  .contact-title {
    font-size: 6vw;
  }

  .contact-subtitle {
    font-size: 2vw;
    margin: 15px 0 60px;
  }

  .contact-button {
    font-size: 2vw;
    padding: 3vw 8vw;
  }
}

/* スマホ (425px以下) */
@media (max-width: 425px) {
  .contact-section {
    padding: 15vw 5vw;
  }

  .contact-title {
    font-size: 5rem;
  }

  .contact-subtitle {
    font-size: 1.8rem;
    margin: 15px 0 55px;
  }

  .contact-button {
    font-size: 1.8rem;
    padding: 4vw 10vw;
  }
}

/*==========================
Footer セクション
==========================*/
.footer {
  width: 100%;
  padding: 50px 0%;
  background-color: #fff;
}

/* フッターの中身（SNSアイコン + コピーライト） */
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center; 
  position: relative;
}

/* SNSアイコンの配置 */
.footer-social {
  position: absolute;
  left: 50px;
  display: flex;
  gap: 25px; /* アイコンの間隔 */
}

/* アイコンサイズ */
.footer-social img {
  width: 30px; 
  height: 30px;
  transition: opacity 0.3s ease-in-out;
}

/* ホバー時のエフェクト */
.footer-social img:hover {
  opacity: 0.7;
}

/* コピーライト（中央配置） */
.footer-text {
  font-size: 14px;
  color: var(--primary-darkgrey);
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-social {
    position: static;
    justify-content: center;
    padding-bottom: 18px;
  }
}


/*==========================
Top page btn 
==========================*/

button {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  bottom: 20px;
  width: 80px;
  height: 80px;
  font-size: 16px;
  padding-top: 6px;
  font-weight: bold;
  color: #fff;
  background: #eb6877;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  letter-spacing: 1px;
}

.is-active {
  opacity: 1;
  visibility: visible;
}

