@charset "utf-8";

/*Font Awesomeの読み込み*/
/*---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み*/
/*---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');



/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）*/
/*---------------------------------------------------------------------------*/
:root {
  --space-large: 8vw;
  /*主に余白の一括管理用。画面幅100%＝100vwです。*/
}

/*fadeInのキーフレーム設定（汎用的）*/
/*---------------------------------------------------------------------------*/
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


/*fadeOutのキーフレーム設定（汎用的）*/
/*---------------------------------------------------------------------------*/
@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}


/*全体の設定*/
/*---------------------------------------------------------------------------*/
body * {
  box-sizing: border-box;
}

html,
body {
  font-size: 13px;
  height: 100%;
  overflow-x: hidden;
}

/*画面幅1200px以上の追加指定*/
@media screen and (min-width:1000px) {

  html,
  body {
    font-size: 14px;
  }

}

/*追加指定ここまで*/

/*画面幅1600px以上の追加指定*/
@media screen and (min-width:1600px) {

  html,
  body {
    font-size: 1vw;
  }

}

body {
  overflow-x: clip;
}

/*追加指定ここまで*/

body {
  margin: 0;
  padding: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
  -webkit-text-size-adjust: none;
  background: var(--base-color);
  color: var(--base-inverse-color);
  line-height: 2;
}

/*リセット他*/
figure {
  margin: 0;
}

dd {
  margin: 0;
}

nav ul {
  list-style: none;
}

nav,
ul,
li,
ol {
  margin: 0;
  padding: 0;
}

p {
  display: block;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
  text-align: center;
}

.text {
  font-size: 1rem;
  align-items: center;
}

/*table全般の設定*/
table {
  border-collapse: collapse;
}

/*画像全般の設定*/
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/*videoタグ*/
video {
  max-width: 100%;
}

/*iframeタグ*/
iframe {
  width: 100%;
}

/*input*/
input {
  font-size: 1rem;
}

/*content-wrapper*/
.content-wrapper {
  padding: 0 10rem;
  padding-bottom: 2.5rem;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
    .content-wrapper {
      padding: 0 2rem;
      padding-bottom: 2.5rem;
    }
}

/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .content-wrapper {
      padding: 0 5rem;
      padding-bottom: 2.5rem;
    }
}

/*リンクテキスト全般の設定*/
/*---------------------------------------------------------------------------*/
a {
  color: inherit; /* 親要素の文字色を継承 */
  transition: 0.3s;
  text-decoration: none;
}

/*マウスオン時*/
a:hover {
  text-decoration: none;
  opacity: 0.9;
}


/*container（サイト全体を囲むボックス）*/
/*---------------------------------------------------------------------------*/
#container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*header（ロゴが入った最上段のブロック）*/
/*---------------------------------------------------------------------------*/
header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  height: clamp(65px, 10vw, 100px);
  background-color: #f4e9d8;
  display: flex;
  align-items: center;
}

.header_container {
  width: 100%;
  padding: 0 15px;
}

.top-message {
  font-size: clamp(0.6rem, 1.2vw, 0.85rem);
  margin-bottom: 0.5%;
  font-weight: bolder;
  width: 100%;
}

.hd_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: -1rem;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  header {
    height: 60px;
    flex-direction: column;
    justify-content: center;
  }

  .hd_wrap {
    align-items: center;
    padding: 0.7rem 0;
  }

  .top-message {
    font-size: 0.5rem;
    text-align: left;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  header {
    height: 100px;
  }

  .hd_wrap {
    padding: 1rem 0;
  }

  .top-message {
    font-size: 0.85rem;
  }
}

/*ロゴ画像*/
.hd_logo {
  display: flex;
  margin: 0;
}

.hd_logo img {
  width: clamp(130px, 22vw, 200px);
}

/* メニューバー 
---------------------------------------------------------------------------*/
.flex {
  display: flex;
}

@media (max-width: 1024px) {
  #menubar_pc {
    display: none !important;
  }
}

#menubar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menubar a {
  display: block;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.1em;
  font-weight: bold;
  transition: color 0.3s ease;
}



@media screen and (min-width: 768px) and (max-width: 1024px) {
  #menubar_sp #menubar a {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  #menubar_sp #menubar a {
    font-size: 1.2rem;
  }
}

/*表示/非表示切替*/
.db {
  display: block !important;
}

.dn {
  display: none !important;
}

/* PCメニュー */
/* 横並び */
#menubar_pc #menubar ul.flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#menubar_pc #menubar a {
  position: relative;
  font-size: clamp(0.85rem, 1vw, 1rem);
  padding: 5px clamp(8px, 1vw, 15px);
}

@media (hover: hover) and (pointer: fine) {
  #menubar_pc #menubar a:hover {
    color: #e97e53;
  }
}

@media (max-width: 1315px) {
  #menubar_pc #menubar a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.95rem;
  }
}


/* SPメニュー*/
/* SPメニュー基本スタイル */
#menubar_sp {
  position: fixed;
  overflow: hidden;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #ffccc6;
  color: #333;
  -webkit-overflow-scrolling: touch;
}

/* 中身をスライドさせる */
#menubar_sp #menubar {
  height: 100%;
  padding: 70px 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

/* 開いたとき */
#menubar_sp.db #menubar {
  transform: translateX(0);
}

/* 閉じている時 */
#menubar_sp.dn #menubar {
  transform: translateX(100%);
}

#menubar_sp.db ul {
  flex-direction: column;
  align-items: flex-start;
}

/* 応募するボタン共通スタイル */
a.formbtn {
  display: inline-block;
  text-decoration: none;
}

.hd_form {
  background-color: #ff7f6a;
  color: #ffffff;
  font-weight: bolder;
  padding: 0.5rem 1rem;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

i.fas.fa-envelope-open-text {
  color: #ffffff;
  margin-right: 0.5rem;
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  a.formbtn:hover .hd_form {
    background-color: #ffffff;
    color: #ff7f6a;
    border-color: #ff7f6a; 
  }
  a.formbtn:hover i.fas.fa-envelope-open-text {
    color: #ff7f6a;
  }
}

/* タブレット */
@media screen and (max-width: 1279px) {
  a.formbtn {
    margin-right: 2rem; 
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  a.formbtn {
    margin-right: 3rem; 
  }
}

/* スマホ */
@media screen and (max-width: 1024px) {
  #menubar_sp #menubar a {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    padding: 15px;
  }
}


/*ハンバーガーメニュー
---------------------------------------------------------------------------*/
#menubar_hdr.db {
  display: flex !important;
}

/*３本バーを囲むブロック*/
#menubar_hdr {
  position: fixed;
  z-index: 999999999;
  cursor: pointer;
  right: 0%;
  padding: 16px 14px;
  width: 46px;
  height: 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*バー１本あたりの設定*/
#menubar_hdr span {
  display: block;
  transition: 0.3s;
  border-top: 2px solid #333;
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
  transform-origin: center center;
  width: 20px;
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1) {
  transform: rotate(45deg) translate(3.8px, 5px);
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3) {
  transform: rotate(-45deg) translate(3.8px, -5px);
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2) {
  display: none;
}


/* index以外のページのpadding */
main.main2 {
  padding-top: 100px;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  main.main2 {
    padding-top: 60px;
  }
}

/*メインビジュアル
---------------------------------------------------------------------------*/
aside.mainimg {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100vh;
}

.slide0 {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide0_img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* ベーススタイル（PC/共通） */
.slide0 .img_com {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央配置の基本 */
  text-align: center;
  z-index: 2;
  white-space: pre-wrap;
  width: 90%; /* 横幅いっぱいに広がらないようガード */
}

.slide0 .img_com p {
  padding: 10px;
  font-size: 3.5rem;
  font-weight: bold;
  z-index: 1;
  line-height: 1.4;
}

.emphasis {
  background-image: linear-gradient(rgba(0 0 0 / 0) 70%, #e8a46f 70%);
}

/* タブレット (768px 〜 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .slide0 .img_com {
    /* 必要に応じて位置を微調整 */
    transform: translate(-50%, -50%); 
  }
  .slide0 .img_com p {
    font-size: 2.5rem; /* PCより少し小さく */
  }
}

/* スマートフォン (〜 767px) */
@media screen and (max-width: 767px) {
  .slide0 .img_com {
    transform: translate(-50%, 85%); 
    font-weight: bold;
    display: block;
  }
  .slide0 .img_com p {
    font-size: 2rem;
    padding: 5px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px #fff;
  }
  
  .emphasis {
    background-image: linear-gradient(rgba(0 0 0 / 0) 60%, #e8a46f 60%);
  }
}

/* inner */
.inner {
  margin: 0 auto;
  padding: 1% 7% 9%;
}
@media screen and (min-width: 769px) {
  .inner {
    padding: 1% 10% 5%;
  }
}

/* セクションタイトルの基本スタイル */
.section_title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    padding-bottom: 30px;
    text-align: center;
}

.section_title::before,
.section_title::after {
    content: '';
    width: 3px;
    height: 40px;
    background-color: #fda15a;
    flex-shrink: 0;
}

.section_title::before {
    margin-right: 30px;
    transform: rotate(-35deg);
}

.section_title::after {
    margin-left: 30px;
    transform: rotate(35deg);
}

/* --- タブレット (768px 〜 1024px) --- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .section_title {
        font-size: 1.5rem;
        padding-bottom: 25px;
    }
    .section_title::before,
    .section_title::after {
        height: 35px;
    }
    .section_title::before {
        margin-right: 20px;
    }
    .section_title::after {
        margin-left: 20px;
    }
}

/* --- スマートフォン (767px以下) --- */
@media screen and (max-width: 767px) {
    .section_title {
        font-size: 1.3rem;
        padding-bottom: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .section_title::before,
    .section_title::after {
        width: 2px;
        height: 25px;
    }
    .section_title::before {
        margin-right: 15px;
        transform: rotate(-30deg);
    }
    .section_title::after {
        margin-left: 15px;
        transform: rotate(30deg);
    }
}

/* セクション背景色のスタイル */
section.bgLY {
  background-color: #fff6eb;
}

/* セクションもっと見るボタン */
.btnarrow4{
	position: relative;
  display: inline-block;
	padding: 0 20px;
  color: #333;
  text-decoration: none;
  outline: none;
}

.btnarrow4::before{
  content: '';
	position: absolute;
  bottom:-8px;
  left:15%;    
  width: 85%;
  height: 1px;
	background:#333;
  transition: all .3s;
}

.btnarrow4::after{
  content: '';
	position: absolute;
  bottom:-3px;
  right:0; 
  width: 15px;
  height:1px;
	background:#333;
  transform: rotate(35deg);
  transition: all .3s;
}

@media (hover: hover) and (pointer: fine) {
  .btnarrow4:hover::before{
      left:20%;
  }

  .btnarrow4:hover::after{
      right:-5%;
  }
}

/* indexマザーライクとは写真スタイル */
.image-list {
    margin-left: -10%;
    margin-right: -10%;
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 5rem;
}

.image-list img {
    width: 19%;
    height: auto;
    display: block;
    box-sizing: border-box;
    transition: margin-top 0.3s ease;
}

.image-list img:nth-child(odd) { margin-top: 0; }
.image-list img:nth-child(even) { margin-top: 6rem; }

/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .image-list {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        margin-top: 3rem;
    }

    .image-list img {
        width: 19%;
        margin-bottom: 3rem;
    }

    .image-list img:nth-child(odd) { margin-top: 0; }
    .image-list img:nth-child(even) { margin-top: 4rem; }
}

/* スマートフォン */
@media screen and (max-width: 767px) {
    .image-list {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        margin-top: 2rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .image-list img {
        width: 48%;
        margin-bottom: 2rem;
    }

    .image-list img:nth-child(odd) { 
        margin-top: 0; 
    }

    .image-list img:nth-child(even) { 
        margin-top: 4rem; 
    }
}

/* index応募するボタン */
.image-overlay-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    /* ▼高さも固定(340px)ではなく、画面幅に合わせて可変にする */
    /* スマホで150px、PCで最大340pxになるよう滑らかに変化 */
    height: clamp(150px, 40vw, 340px); 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.image-overlay-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.image-overlay-container .background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay-container .overlay-text {
    position: absolute;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    z-index: 2;
    width: 90%;
    /* ▼文字サイズを可変にする（メディアクエリを不要に） */
    /* 最小2rem（スマホ）、推奨6vw、最大5rem（PC） */
    font-size: clamp(2rem, 6vw, 5rem);
    transition: transform 0.3s ease;
}

.image-overlay-container .overlay-text a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.image-overlay-container .overlay-text a .fas {
    margin-right: 0.3em;
}

/* ホバーエフェクト */
@media (hover: hover) and (pointer: fine) {
  .image-overlay-container:hover::before {
      background-color: rgba(0, 0, 0, 0.4);
  }
  .image-overlay-container:hover .overlay-text {
      transform: scale(1.03);
  }
}

/* お知らせ部分スタイル */
ul {
    list-style: none;
}

/* ページトップボタン -*/
.pagetop {
    position: fixed;
    right: clamp(15px, 2vw, 30px);
    bottom: clamp(15px, 2vw, 30px);
    z-index: 1000;
}

.pagetop a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(50px, 6vw, 70px);
    height: clamp(50px, 6vw, 70px);
    background-color: #fe7200;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.pagetop-text {
    font-size: clamp(9px, 0.8vw, 11px);
    font-weight: bold;
    margin-top: 2px;
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
    .pagetop {
        right: 15px;
        bottom: 15px;
    }
    .pagetop a {
        width: 50px;
        height: 50px;
    }
}

/* フローティングバナー */
.floating-banner {
  position: fixed;
  z-index: 999;
  right: clamp(15px, 2vw, 30px);
  bottom: calc(clamp(15px, 2vw, 30px) + clamp(50px, 6vw, 70px) + 15px);
}

.floating-banner img.floating-banner_img {
  width: clamp(160px, 22vw, 380px);
  height: auto;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .floating-banner a:hover {
    opacity: 0.8;
  }
}

/* タブレット・スマホ表示（1024px以下） */
@media screen and (max-width: 1024px) {
  body {
    padding-bottom: 60px;
  }

  .floating-banner {
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .floating-banner a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    background-color: #ff7f6a;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  }

  .floating-banner img.floating-banner_img {
    display: none;
  }

  .floating-banner a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f25a";
    font-weight: 900;
    margin-right: 0.5rem;
    font-size: 1.2rem;
  }

  .floating-banner a::after {
    content: "応募する";
  }

  /* スマホ表示時にヘッダー側の応募ボタンを非表示にする場合は有効化 */
  a.formbtn {
    display: none;
  }
}