@charset "utf-8";

/* Webフォントの明示的な宣言 */
@font-face {
  font-family: "Zen Maru Gothic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/zenmarugothic/v8/o-0SIipkc0dXlF5OByUS2ExUP_aWTa01vo6z.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+3000-30FF, U+4E00-9FFF;
}

@font-face {
  font-family: "Zen Maru Gothic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/zenmarugothic/v8/o-0SIipkc0dXlF5OByUS2ExUP_adTa01vo6z.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+3000-30FF, U+4E00-9FFF;
}

/* 共通設定 */
body {
  /* グラデ背景1 */
  /* background: linear-gradient(55deg, #ffffff, #d4cab3, #e9ecd6);
  background-size: 180% 180%;
  animation: gradient-animation 3s ease infinite; */
  /* グラデ背景2 */
  /* background: linear-gradient(300deg, #feffe8, #a6ddff, #a6ffe2, #ffffff);
  background-size: 240% 240%;
  animation: gradient-animation 24s ease infinite; */

  /* グリッド背景 */
  background-color: #f1efe3;
  background-image: linear-gradient(to right, #ffffff 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff 1px, transparent 1px);
  background-size: 32px 32px;
  /* フォント */
  font-family: "Zen Maru Gothic", YuGothic, "Yu Gothic", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-weight: bold;
  font-style: normal;
  color: #333333;
}

/* グラデ背景の場合コメントアウト外す */
/* @keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} */

.josefin {
  font-family: "Josefin Sans", sans-serif !important;
}

img {
  max-width: 100%;
}

a {
  display: block;
  cursor: pointer;
}

.inner {
  max-width: 280px;
  margin: 0 auto;
}

.ab50 {
  position: absolute;
  transform: translate(-50%, -50%);
}

.btn_area {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  z-index: 21;
  /* 以下はJavaScriptで動的に設定 */
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 80px;
  background: #ffffff;
  border: 4px solid #ffabd2;
  border-radius: 10px;
}

.btn span {
  padding-left: 35px;
  background: url(../image/tell.svg) no-repeat left center / 25px;
  transition: 0.3s;
}

.btn:nth-child(1) span {
  padding-left: 40px;
  background-image: url(../image/mail.svg);
  background-size: 32px;
}

.phone_number {
  display: none;
}

.business_hours {
  font-size: 0.75rem;
  padding: 4px;
  background-color: #ff3e98;
  color: #ffffff;
  border-radius: 4px;
  margin-top: 8px;
  display: none;
}

.btn:hover {
  background-color: #ff3e98;
  border: 4px solid #ff3e98;
}

.btn:hover span {
  color: #ffffff;
  transform: scale(1.2);
  background: url(../image/sp_icon.svg) no-repeat left center / 25px;
  transition: 0.3s;
}

.btn:nth-child(1):hover span {
  background-image: url(../image/mail_icon_white.svg);
  background-size: 32px;
}

.btn:nth-child(2):hover span {
  background-image: url(../image/tell_icon_white.svg);
}

/* ボタンエリアの固定と絶対配置用のクラス */
.fixed-bottom {
  position: fixed;
  bottom: 0;
}

.absolute-bottom {
  position: absolute;
  bottom: 100px; /* コピーライトとの間隔を調整 */
}

/* TOPへ戻るボタン */
.go_top {
  position: fixed;
  bottom: 130px;
  right: 0;
  width: 56px;
  aspect-ratio: 1/1;
  background-color: #ffabd2;
  color: #ffffff;
  border-radius: 8px;
  border: 4px solid #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 20;
  transition: 0.3s;

  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.go_top.is-show {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 500px) {
  .go_top {
    bottom: 150px;
  }

  .btn {
    height: 100px;
  }

  .btn span {
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) {
  .inner {
    max-width: 640px;
  }
  .go_top:hover {
    background-color: #ff3e98;
    transition: 0.3s;
  }

  .btn_area a[href^="tel:"] {
    pointer-events: none; /* クリックを無効化 */
    cursor: default; /* カーソルを通常のテキストカーソルに */
    text-decoration: none; /* 下線を非表示に */
    color: inherit; /* 通常のテキスト色を継承 */
  }
}

@media (min-width: 1024px) {
  .go_top {
    bottom: 45px;
    right: 72px;
  }
  .btn:nth-child(1) span {
    padding-left: 0;
  }

  .btn_area {
    flex-direction: column;
    width: auto;
  }

  .btn {
    width: 200px;
    height: 200px;
  }

  .btn span {
    text-align: center;
    padding: 60px 0 0 0;
    background-position: center top;
  }

  .btn:hover span {
    background-position: center top;
  }

  .btn:nth-child(1) span {
    padding-top: 55px;
    background-size: 60px;
  }

  .btn:nth-child(1):hover span {
    background-size: 60px;
  }

  .btn:nth-child(2) span {
    background-size: 35px;
  }

  .business_hours {
    display: block;
  }

  .phone_number {
    display: block;
    background: none !important;
    color: #ff3e98;
    padding: 0 !important;
  }
}

@media (min-width: 1440px) {
  .inner {
    max-width: 1024px;
  }
}

* {
  /* border: 1px solid red; */
}

#contents {
  margin-top: 70px;
}

section {
  padding: 40px 0;
}

/* 各セクションのタイトル */
.page_ttl {
  font-size: 1.25rem;
  color: #ff3e98;
  text-align: center;
  margin: 32px 0;
  position: relative;
  z-index: 1;
}

.page_ttl span {
  font-size: 0.8rem;
  color: #333333;
}

.page_ttl::before {
  content: "ABOUT US";
  font-family: "Josefin Sans", sans-serif;
  font-size: 3.5rem;
  color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: -1;
}
#about .page_ttl {
  margin: 0 0 32px 0;
}
#about .page_ttl::before {
  /* font-size: 3rem; */
}

@media screen and (min-width: 1024px) {
  .page_ttl {
    font-size: 2rem;
  }

  .page_ttl::before {
    font-size: 5rem;
  }
}

/* もっと見るボタン */
.more_btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: fit-content;
  margin: 32px 0 0 auto;
}

.more_btn span {
  padding: 0 8px;
}

.more_btn::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background-color: #7f7f7f;
}

.fa-chevron-right {
  display: inline-block;
  font-size: 2rem;
  color: #ffabd2;
  margin-right: 16px;
  transition: 0.3s;
}

.more_btn:hover .fa-chevron-right {
  color: #ff3e98;
  margin-right: 0;
  transition: 0.3s;
}

p {
  letter-spacing: 0.1rem;
  line-height: 1.8rem;
}

#news,
#company {
  margin-top: 100px;
  margin-bottom: 150px;
  padding: 0;
}

.news_wrapper,
.company_wrap {
  background-color: #ffffff;
  position: relative;
  padding: 40px 0;
}

.news_wrapper::before,
.news_wrapper::after,
.company_wrap::before {
  content: "";
  display: block;
  width: 100%;
  height: 100px;
  position: absolute;
  top: -100px;
  background: url(../image/wave.svg) no-repeat center center / cover;
  z-index: -19;
}

.news_wrapper::after {
  top: 100%;
  scale: -1;
}

#news .page_ttl::before,
#company .page_ttl::before {
  content: "NEWS";
  color: #fcedf4;
}

.about_illustration,
.news_illustration,
.service_illustration {
  width: 120px;
  position: absolute;
  left: 10px;
  z-index: 19;
  animation: animation 3s ease infinite;
}

.about_illustration {
  top: -100px;
}

.news_illustration {
  bottom: -150px;
}

.service_illustration {
  width: 180px;
  top: -100px;
}

@keyframes animation {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media screen and (min-width: 500px) {
  .about_illustration {
    left: 50px;
  }
  .news_illustration {
    width: 150px;
    left: 15%;
  }
  .service_illustration {
    left: 15%;
  }
}

@media screen and (min-width: 768px) {
  .about_illustration {
    width: 170px;
  }
}

@media screen and (min-width: 1024px) {
  section {
    padding: 100px 0;
  }
  .news_wrapper::before,
  .news_wrapper::after,
  .company_wrap::before {
    height: 150px;
  }
  .about_illustration {
    width: 200px;
  }
  .news_illustration {
    width: 300px;
    bottom: -220px;
  }
  .service_illustration {
    width: 400px;
    left: 5%;
  }
}

@media screen and (min-width: 1440px) {
  section {
    padding: 150px 0;
  }
  .about_illustration {
    width: 220px;
    left: 80px;
  }
  .news_illustration {
    bottom: -250px;
  }
  .service_illustration {
    left: 10%;
  }
}

/* ドロワーメニュー（SP用） */
/* .drawer_menu * {
  border: 1px solid red;
} */
.drawer_menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  background-color: #ffffffce;
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 21;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

/* ドロワーメニューが開いた状態 */
.drawer_menu.is-open {
  opacity: 1;
  visibility: visible;
}

/* メニューアイテムの初期状態 */
.drawer_menu nav ul li {
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s;
}

/* メニューアイテムのアニメーション */
.drawer_menu nav ul li.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 各メニューアイテムの遅延時間 */
.drawer_menu nav ul li:nth-child(1) {
  transition-delay: 0.1s;
}
.drawer_menu nav ul li:nth-child(2) {
  transition-delay: 0.2s;
}
.drawer_menu nav ul li:nth-child(3) {
  transition-delay: 0.3s;
}
.drawer_menu nav ul li:nth-child(4) {
  transition-delay: 0.4s;
}
.drawer_menu nav ul li:nth-child(5) {
  transition-delay: 0.5s;
}

.drawer_menu nav {
  width: 85%;
  margin-bottom: 80px;
  font-size: 1.2rem;
}
.drawer_menu nav ul li {
  margin-bottom: 24px;
}
.drawer_menu nav ul li a {
  padding: 8px 8px 8px 56px;
  border-bottom: 3px dotted #ffabd2;
  background: url(../image/icon_home.svg) no-repeat left center / 40px;
}
.drawer_menu nav ul li:nth-child(2) a {
  background-image: url(../image/icon_about.svg);
}
.drawer_menu nav ul li:nth-child(3) a {
  background-image: url(../image/icon_news.svg);
}
.drawer_menu nav ul li:nth-child(4) a {
  background-image: url(../image/icon_service.svg);
}
.drawer_menu nav ul li:nth-child(5) a {
  background-image: url(../image/icon_access.svg);
}

/* === header === */
#header {
  background: #ffffff;
  padding: 8px 24px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 70px;
  z-index: 22;
}

#header .logo {
  display: flex;
  align-items: center;
  width: 200px;
  height: 50px;
}

.header_wrap {
  display: flex;
  justify-content: space-between;
}

.hamburger {
  width: 32px;
}

.hamburger span {
  display: block;
  background: #333333;
  height: 2px;
  border-radius: 2px;
}

.hamburger span:nth-child(1),
.hamburger span:nth-child(2) {
  margin: 12px 0;
}

/* ハンバーガーメニューが開いた状態 */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(14px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-14px) rotate(-45deg);
}

/* ハンバーガーメニューのアニメーション */
.hamburger span {
  transition: 0.3s;
}

.pc_none {
  display: block;
}

.sp_none {
  display: none;
}

@media screen and (min-width: 1024px) {
  body {
    position: relative;
  }

  #header {
    width: 1024px;
    height: 100px;
    border-radius: 100px;
    margin: 0 auto;
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header_wrap {
    width: 90%;
    justify-content: space-between;
  }

  .pc_none {
    display: none;
  }

  .pc_menu {
    display: flex;
    align-items: center;
  }

  .pc_menu ul {
    display: flex;
    gap: 24px;
  }

  .pc_menu ul li a {
    font-size: 1.125rem;
    height: 100%;
    padding: 16px 4px;
    position: relative;
    transition: 0.3s;
  }

  .pc_menu ul li a:hover {
    color: #ff3e98;
    transition: 0.3s;
  }

  .pc_menu ul li a:hover::after {
    content: "";
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background-color: #ff3e98;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  #header .logo {
    /* width: 200px;
    height: 80px; */
  }

  #contents {
    margin-top: 0;
  }
}

/* === フッター === */
#footer .f_nav ul {
  text-align: center;
  margin: 16px 0 100px;
  font-size: 1.125rem;
}

#footer .f_nav ul li a {
  padding: 16px;
}

#footer .f_nav ul li {
  position: relative;
}

#footer .f_nav ul li::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin: 0 auto;
  background-color: #333333;
}

#footer .f_nav ul li:nth-child(5)::after {
  display: none;
}

#footer p {
  font-size: 0.75rem;
  background-color: #ff3e98;
  color: #ffffff;
  padding: 8px 0;
  text-align: center;
}

@media screen and (min-width: 768px) {
  #footer .f_nav ul {
    display: flex;
    justify-content: space-between;
    margin-bottom: 120px;
  }
  #footer .f_nav ul li::after {
    display: none;
  }
  #footer .f_nav ul li a:hover {
    color: #ff3e98;
    transition: 0.3s;
  }
  #footer .f_nav ul li a:hover::after {
    content: "";
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background-color: #ff3e98;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (min-width: 1024px) {
  #footer .f_nav ul {
    margin-bottom: 16px;
  }
  #footer p {
    font-size: 1rem;
  }
}

/* 運営規定ボタン */
.operating_regulations {
  text-align: center;
  background-color: #ffabd2;
  color: #ffffff;
  margin-top: 32px;
  border: 4px solid #ffffff;
  border-radius: 2rem;
  padding: 8px;
  transition: 0.3s;
}

.operating_regulations:hover {
  background-color: #ffffff;
  color: #ff3e98;
  border: 4px solid #ff3e98;
  transition: 0.3s;
}

@media screen and (min-width: 768px) {
  .operating_regulations {
    padding: 16px;
    font-size: 1.25rem;
  }
}

@media screen and (min-width: 1440px) {
  .operating_regulations {
    width: 70%;
    margin: 48px auto;
  }
}

@media screen and (min-width: 768px) {
  #about .tb_none {
    display: none;
  }
}

/* === お知らせ === */
#news {
  position: relative;
}

#news article {
  margin-bottom: 8px;
  border-bottom: 3px dotted #ffabd2;
}
#news article:last-child {
  border: none;
}

#news article a {
  /* max-width: 80%; */
  margin: 0 auto;
}

#news article a:hover {
  opacity: 0.8;
  transition: 0.3s;
}

#news article a:hover .news_img img {
  scale: 1.5;
  transition: 0.3s;
}

.news_img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 4px;
}

.news_ttl * {
  margin-bottom: 4px;
}

.news_ttl time {
  display: inline-block;
}

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

@media screen and (min-width: 768px) {
  #news article a {
    display: flex;
  }
  .news_ttl {
    font-size: 1.125rem;
    padding-left: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .news_img {
    max-width: 200px;
    margin-left: 24px;
  }
}

@media screen and (min-width: 1024px) {
  .news_img {
    margin-left: 32px;
  }
}

/* === サービス内容 === */
#service {
  position: relative;
}
#service .page_ttl::before {
  content: "SERVICE";
}

#service h3 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  line-height: 1.5rem;
}

#service h3 span:nth-child(1) {
  font-size: 1rem;
}

#service h3 span:nth-child(3) {
  color: #ff3e98;
}

.icon_area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service_icon {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #ffabd2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service_icon span {
  display: block;
  text-align: center;
  color: #ff3e98;
  padding-top: 40px;
  background: url(../image/icon_careplan.svg) no-repeat center top/40px;
}

.service_icon:nth-child(4) span {
  background-image: url(../image/icon_adjustment.svg);
  background-size: 35px;
}
.service_icon:nth-child(3) span {
  background-image: url(../image/icon_delegation.svg);
  padding-top: 55px;
}
.service_icon:nth-child(2) span {
  background-image: url(../image/icon_consultation.svg);
  background-size: 60px;
  padding-top: 50px;
}

@media screen and (min-width: 1024px) {
  .icon_area {
    margin: 32px 0;
  }
  #service h3 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  #service h3 span {
    font-size: 1.75rem;
  }
}
@media screen and (min-width: 1440px) {
  .icon_area {
    padding: 0 10%;
    justify-content: space-around;
  }
  .service_icon {
    width: 170px;
    height: 170px;
  }
  .service_icon span {
    font-size: 1.2rem;
  }
}
