@charset "UTF-8";
@import url("layout.css?2025-0819");
@import url("blog.css");

/*
Theme Name: やんばる自然塾リクルートサイト Version01
Description: やんばる自然塾リクルートサイト公式ホームページ
Author: MIA RESORT
*/
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
/*box-sizingを全ブラウザに対応*/
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
html { font-size: 62.5%; }
body {
    /*font-family: 'Noto Sans JP', sans-serif;*/
    font-family: "Noto Sans JP", sans-serif;
	font-size: 1.6rem;
	line-height: 1.8;
    color: #333;
    background-image: url(images/logo-type-tate.png);
    background-repeat: no-repeat;
    background-position: left 10px top 150px;
    background-color: #EDFEF7;
}
#s_navi {
    display: none;
}
.img-sp {
    display: none;
}
/*===========================
  カスタムプロパティ(変数)
==========================*/
:root {
    --primary-color: #007F4B;
    --sub-color: #DADF00;
    --accent-color: #D45D47;
}
/*===========================
  header
==========================*/
/* ヘッダー固定から下りてくる */
#global-nav {
    transition: all 0.3s ease 0s;
    width: 100%;
    z-index: 100;
    margin: 0px;
}
#global-nav.m_fixed {
    position: fixed;
    top: 5px;
}
/* end */
hgroup {
    margin-right: auto;
}
hgroup h1 img {
    width: clamp(180px, 50vw, 350px);
    height: auto;
    margin-left: 60px;
    margin-top: 10px;
}
nav {
    display: flex;
    flex-wrap: wrap;
    vertical-align: middle;
    margin-right: 0px;
    padding: 15px 0px 15px 30px;
    white-space: nowrap;
}
.page-header {
    display: flex;
    justify-content: end;
    align-items: center;
    height: auto;
    padding: 0px;
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 0px 25px;
    vertical-align: middle;
    white-space: nowrap;
    margin-right: 30px;
}
.main-nav li {
    letter-spacing: 0.1rem;
    font-size: clamp(1.4rem, 1.335rem + 0.203vw, 1.7rem);
    line-height: 1;
    font-weight: 400;
    padding-top: 7px;
}
.main-nav li a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.8s;
}
.main-nav li a:hover {
	color: var(--accent-color);
}
.head-contact a {
    background-color: #42AB80;
    color: #FFF;
    font-size: 1.7rem;
    text-align: center;
    padding: 50px 35px;
    text-decoration: none;
    transition: all 0.8s;
    font-weight: 400;
    white-space: nowrap;
}
.head-contact02 a {
    background-color: #CED200;
    color: #FFF;
    font-size: 1.7rem;
    text-align: center;
    padding: 50px 35px;
    text-decoration: none;
    transition: all 0.8s;
    font-weight: 400;
    white-space: nowrap;
    margin-right: 20px;
}
.head-contact a:hover ,.head-contact02 a:hover {
    background-color: #d08e72;
}
/* TOPヘッドイメージ */
.top-head-img {
    margin: 45px 20px 0px 60px;
}
/*===========================
  TOPページ PC
==========================*/
/* トップコンテンツ やんばる自然塾って */
.top-con {
    width: 90%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0px 50px;
    margin-top: min(20%, 260px);
}
.top-con h2 img {
    width: min(90%, 500px);
}
.top-con > div:nth-of-type(1) {
    width: min(94%, 700px);
    text-align: center;
}
.top-con p {
    padding: 10px;
}
.top-con-img img {
    width: 100%;
}
/* やんばるについて */
.top-con02 {
    width: min(94%, 1400px);
    text-align: center;
    margin: min(20%, 160px) auto 0px;
}
.top-con02 img {
    width: min(80%, 400px);
}
.top-con02 > p:nth-of-type(1) {
    padding: 15px 10px 0px;
}

/* やんばるについてのスライド部分 */
:root {
  /* 表示枚数（常に4枚表示）とスクロール速度を調整可能 */
  --slides-visible: 4;
  --scroll-duration: 25s; /* 速い/遅いはここで調整 */
}
.rolling-slider{
  width: 100vw;          /* 画面幅いっぱい */
  overflow: hidden;       /* はみ出し隠す */
  margin-top: 30px;
}
.rolling-track{
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  /* 自動スクロール（無限ループ） */
  animation: rolling var(--scroll-duration) linear infinite;
}
/* ホバーで一時停止（任意） */
.rolling-slider:hover .rolling-track{
  animation-play-state: paused;
}
/* 1枚の幅＝画面幅の1/4。高さはアスペクト比8:7で自動算出 */
.rolling-track > li{
  flex: 0 0 calc(100vw / var(--slides-visible));
  aspect-ratio: 8 / 7;      /* 960:840 を維持 */
}
.rolling-track img{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* トリミングして見栄え良く */
  display: block;            /* すき間防止 */
}
/* シームレスに半分（=最初の4枚ぶん）だけ左へ移動してループ */
@keyframes rolling{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}
/* やんばるについてのスライド部分 END */

.top-con03 {
    background-image: url(images/top-img02.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 800px;
    padding: 100px 15px 160px;
}
.top-con03 p {
    background: rgba(255, 255, 255, 0.4);
    width: min(94%, 1000px);
    text-align: center;
    margin: auto;
    padding: 70px 60px;
    line-height: 2;
}
/* 事業概要 */
.top-con04 {
    width: min(94%, 1400px);
    margin: min(20%, 160px) auto 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0px 50px;
}
.top-jigyou-left {
    width: 50%;
}
.top-jigyou-left h4 {
    font-size: clamp(2rem, 1.75rem + 0.781vw, 3rem);
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1.3;
}
.top-jigyou-left h5 {
    font-size: 1.5rem;
    color: var(--sub-color);
    font-weight: 400;
    line-height: 1.3;
}
.top-jigyou-left p {
    padding: min(20%, 160px) 0px;
}
.full-link {
    display: flex;
    justify-content: space-between; /* 左テキストと右矢印を両端配置 */
    align-items: center;
    width: 100%;
    font-size: clamp(1.6rem, 1.55rem + 0.156vw, 1.8rem);
    font-weight: 400;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 3px solid var(--primary-color);
    padding: 4px 0;
    box-sizing: border-box;
    margin-top: 20px;
}
.full-link::after {
    content: "→";
    font-size: 25px;
}
.full-link:hover {
    opacity: 0.7; /* ホバー時の軽い変化 */
}
/* エコツアー5つのポイント */
.top-eco-tour {
    text-align: center;
    margin: min(20%, 160px) auto 0px;
}
/* 個人向け・団体向け */
.tour-box {
    width: min(94%, 1400px);
    margin: min(20%, 160px) auto 0px;
    display: flex;
    justify-content: center;
}
.top-kojin, .top-dantai {
    width: 50%;
    height: auto;
}
.tour-text {
    width: 85%;
    height: auto;
    margin: auto;
    position: relative;
    top: -50px;
    padding: 15px;
}
.top-kojin h4 {
    text-align: center;
    color: var(--primary-color);
    font-size: clamp(2rem, 1.875rem + 0.391vw, 2.5rem);
}
.top-dantai h4 {
    text-align: center;
    color: var(--accent-color);
    font-size: clamp(2rem, 1.875rem + 0.391vw, 2.5rem);
}
.kojin-haikei {
    background-color: #E5FFF4;
}
.dantai-haikei {
    background-color: #F8E2E2;
}
/* 求める人物像 */
.motomeru {
    margin: min(20%, 160px) auto 0px;
    background-image: url("images/logo-type.png"), url("images/top-motomeru-haikei.webp");
    background-position: center bottom, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, 70%;
    background-color: #D8F0E6;
    padding-top: 30px;
    height: 700px;
}
.motomeru-wrap {
    width: min(94%, 1400px);
    margin: auto;
}
.motomeru-wrap h4 {
    font-size: clamp(3rem, 2.25rem + 2.344vw, 6rem);
    color: var(--primary-color);
    line-height: 1.1;
}
.motomeru-wrap h5 {
    font-size: clamp(1.5rem, 1.375rem + 0.391vw, 2rem);
    color: var(--sub-color);
    font-weight: 300;
}
.motomeru-wrap p {
    text-align: center;
    font-size: clamp(1.7rem, 1.5rem + 0.625vw, 2.5rem);
}
/*===========================
  下層ページ PC
==========================*/
/* 下層ページ共通 */
.sub-con {
    width: min(94%, 1400px);
    margin: min(15%, 120px) auto 0px;
}
.midashi-logo img {
    width: 280px;
    height: auto;
}
/* 地域を元気に */
.kadai {
    margin: min(20%, 160px) auto 0px;
    display: flex;
    justify-content: space-between;
    gap: 0px 50px;
}
.kadai h3 {
    font-size: clamp(3rem, 2.5rem + 1.563vw, 5rem);
    color: var(--primary-color);
    line-height: 1.3;
}
.kadai h3 span {
    color: var(--accent-color);
}
.arrow01 {
    margin-top: 20%;
    margin-left: 10%;
}
.arrow02 {
    display: none;
}
.arrow03 {
    margin-top: 30px;
    margin-left: 60%;
}
.katari {
    width: min(100%, 650px);
    margin: min(10%, 80px) auto 0px;
    text-align: center;
}
.katari p {
    padding: 15px;
}
.img-100 {
    margin: 20px calc(50% - 50vw) 0px;
    width: 100vw;
}
.img-100 img {
    width: 100%;
}
.tanjyo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px 50px;
}
.tanjyo-box {
    width: min(100%, 750px);
    text-align: center;
}
.tanjyo-box h4 {
    font-size: clamp(3rem, 2.5rem + 1.563vw, 5rem);
    color: var(--primary-color);
    font-weight: 400;
}
.tanjyo-box p {
    padding: 15px 15px 10px;
}
.kayak-img01 {
    width: min(80%, 550px);
    margin: auto;
}
.tsunagari {
    margin: min(20%, 160px) calc(50% - 50vw) 0px;
    width: 100vw;
    background-color: #D8F0E6;
    position: relative;
}
.tsunagari-box {
    text-align: center;
    padding: min(10%, 80px)  0px;
    width: min(94%, 1400px);
    margin: auto;
}
.tsunagari-box h4 {
    font-size: clamp(2.5rem, 1.875rem + 1.953vw, 5rem);
    color: var(--primary-color);
    font-weight: 400;
}
.tsunagari-box p {
    padding: 10px;
    width: min(100%, 820px);
    margin: 0px auto 20px;
}
.kayak-img02 {
    width: min(20%, 350px);
    position: absolute;
    bottom: -80px;
    right: 5%;
}
/* 私たちの強み */
.strong-box01 {
    margin: min(20%, 160px) auto 0px;
}
.strong-box01 h3 img {
    width: min(40%, 260px);
    height: auto;
}
.strong-box01 div {
    display: flex;
    justify-content: space-between;
    gap: 0px 50px;
}
.strong-box01 div p {
    padding: 20px 10px;
}
.strong-box01 div img {
    width: min(100%, 700px);
}
.strong-box02 {
    margin: min(20%, 160px) auto 0px;
    text-align: center;
}
.strong-box02 h3 img {
    width: min(40%, 550px);
    height: auto;
}
.strong-box02 h4 {
    font-size: clamp(2rem, 1.875rem + 0.391vw, 2.5rem);
    padding: 10px;
    font-weight: 400;
}
.strong-box02 div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0px 50px;
    margin-top: 40px;
    text-align: left;
}
.strong-box02 div img {
    width: min(100%, 700px);
}
.strong-box03 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0px 50px;
    margin-top: 40px;
}
.strong-box03 img {
    width: min(100%, 700px);
}
.strong-box04 {
    margin: min(20%, 160px) auto 0px;
    text-align: center;
}
.strong-box04 h3 img {
    width: min(40%, 450px);
    height: auto;
}
.strong-box04 p {
    padding: 10px;
    text-align: center;
}
.strong-box05 {
    margin: min(20%, 160px) auto 0px;
}
.strong-box05 h3 img {
    width: min(40%, 300px);
    height: auto;
}
/* 仕事の醍醐味 */
.daigomi-box01 {
    margin: min(20%, 160px) auto 0px;
}
.daigomi-box01 h3 img {
    width: min(40%, 450px);
    height: auto;
}
.daigomi-box01 p {
    padding: 10px;
    width: min(100%, 90%);
}
.daigomi-kayak {
    width: min(80%, 600px);
    margin: min(20%, 10px) auto 0px;
}
/* 求人内容 */
.recruit-wrap {
    background-color: #FFF;
    box-shadow: 2px 2px 10px rgba(133, 133, 133, 0.2);
    margin: min(20%, 30px) auto 0px;
    padding: 60px 80px;
    border-radius: 10px;
}
.recruit-table {
    border-collapse: collapse;
    width: 100%;
}
.recruit-table th,
.recruit-table td {
    border: none;
    padding: 50px 0px;
}
.recruit-table tr {
    border-bottom: 1px solid #c7c7c7;
}
.recruit-table h3 {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 1.625rem + 0.547vw, 2.5rem);
    font-weight: 500;
}
.recruit-table h4 {
    color: var(--primary-color);
    font-size: clamp(1.6rem, 1.5rem + 0.313vw, 2rem);
    font-weight: 400;
}
/* 会社概要 */
.company-copy img {
    width: min(100%, 900px);
    margin: min(15%, 120px) auto 0px;
}
/*===========================
  footer
==========================*/
footer {
    background-image: url(images/footer-haikei.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0px 0px 0px;
    text-align: center;
    margin: min(20%, 400px) auto 0px;
}
.entry-button {
    width: min(94%, 1200px);
    margin: auto;
    position: relative;
    top: -120px;
}
.foot-con {
    width: min(90%, 800px);
    margin: auto;
    font-size: 1.5rem;
}
.foot-con p > img {
    width: 300px;
}
footer ul {
    width: min(94%, 1000px);
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
}
footer li {
    font-size: 1.6rem;
}
footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.8s;
}
footer ul li a:hover {
    color: var(--sub-color);
}
.foot-sns {
    padding: 20px;
    margin: 20px auto 0px;
    display: flex;
    justify-content: center;
    gap: 0px 30px;
    text-align: center;
    font-size: 3rem;
}
.copy {
    text-align: center;
    padding: 20px 0px 3px;
    color: var(--primary-color);
}
/*===========================
メールフォームのスタイル
==========================*/
input,textarea,select {
    /* ress.min.cssでリセットされているのでここで命令 */
    background-color: #f8f8f8;
    border: 1px solid #e2e2e2;
}
.wpcf7 input[type="submit"] {
    font-size: 1.8rem;
    padding: 0.2em 0.4em;
    background: #eee;
    color: #555;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 1px rgba(0,0,0,.2);
    border: 1px solid #ccc;
    text-shadow: -1px 1px 0 rgba(255,255,255,1);
}
.wpcf7 input[type="submit"]:hover {
    box-shadow: 0 0 1px rgba(0,0,0,.2) inset;
}
span.wpcf7-list-item {/*チェックボックス改行*/
display: block!important;
}
#form {
    width: min(100%, 1200px);
    margin: 25px auto 15px;
    background-color: #FFF;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}
#form dl {
    margin-top: 15px;
}
#form dt {
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 10px 10px;
    background-color: #dbf2dd;
}
#form dd {
    font-size: 1.5rem;
    background-color: #FFF;
    padding: 15px 0px 20px 0px;
    max-width: 100%;
}
#form dd p{
    line-height: 170%;
}
.hiss {
    font-size: 1.2rem;
    background-color: #ff677d;
    padding: 2px 5px;
    color: #FFF;
    margin-left: 15px;
}
.mail_box {
    margin: 5px 0px;
    font-size: 1.5rem;
}
.form-width {/* class:form-widthをcontact-form7へ テキストエリアの幅*/
    max-width: 100%;
}
#form p {
    padding: 0px 10px 10px;
}
/*===========================
  ブログページ
==========================*/

/* 記事一覧 */

/*/ _// _// _// _// _// _// _// _// _// _// _/
メディアクエリによる切り替え
/ _// _// _// _// _// _// _// _// _// _// _// _*/
@media only screen and (max-width: 1450px) {
hgroup h1 img {
    width: 200px;
    height: auto;
    margin-left: 60px;
    margin-top: 10px;
}
.head-contact a {
    padding: 35px 25px;
    font-size: 1.4rem;
}
.head-contact02 a {
    padding: 35px 25px;
    font-size: 1.4rem;
    margin-right: 20px;
}
.main-nav {
    gap: 0px 20px;
    margin-right: 20px;
}
.main-nav li {
    font-size: 1.4rem;
    padding-top: 7px;
}
}
@media only screen and (max-width: 1024px) { /* 1024pxとそれ以下 */
body {
    background-image: none;
}
.page-header {
    display: none;
}
.img-pc {
    display: none;
}
.img-sp {
    display: block;
}
/* TOPヘッドイメージ スマホ */
.top-head-img {
    margin: 15px 5px 0px 5px;
}

/* 下層ページ共通 */

/*===========================
  TOPページ スマホ
==========================*/
/* トップコンテンツ やんばる自然塾って */
.top-con {
    width: 100%;
    display: block;
    margin: 60px auto 0px;
    text-align: center;
}
.top-con h2 img {
    width: 90%;
    margin: auto;
}
.top-con > div:nth-of-type(1) {
    text-align: center;
    margin: auto;
}
.top-con p {
    padding: 10px;
}
.top-con-img img {
    width: 100%;
    margin-top: 15px;
}
/* やんばるについてのスライド部分 */
:root {
  /* 表示枚数（常に4枚表示）とスクロール速度を調整可能 */
  --slides-visible: 2;
  --scroll-duration: 15s; /* 速い/遅いはここで調整 */
}
/* やんばるについての背景部分 */
.top-con03 {
    background-image: url(images/top-img02.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    padding: 80px 15px 80px;
}
.top-con03 p {
    background: rgba(255, 255, 255, 0.6);
    padding: 20px 25px;
    line-height: 2;
}
/* 事業概要 スマホ */
.top-con04 {
    width: min(94%, 1400px);
    margin: min(20%, 160px) auto 0px;
    display: block;
}
.top-jigyou-left {
    width: 100%;
}
.top-jigyou-left p {
    padding: 20px 0px;
}
.top-con04 img {
    margin-top: 30px;
}
/* エコツアー5つのポイント スマホ */
.top-eco-tour {
    text-align: center;
    margin: 40px auto 0px;
}
/* 個人向け・団体向け スマホ */
.tour-box {
    margin: min(20%, 160px) auto 0px;
    display: block;
}
.top-kojin, .top-dantai {
    width: 100%;
    height: auto;
}
.tour-text {
    width: 90%;
    top: -30px;
    padding: 15px;
}
/* 求める人物像 スマホ */
.motomeru {
    margin: min(20%, 160px) auto 0px;
    background-position: center bottom, center bottom 20px;
    background-size: contain, 80%;
    padding-top: 30px;
    height: 350px;
}
.motomeru-wrap p {
    margin-top: 20px;
    font-size: 1.6rem;
}
/* 求人内容 スマホ */
.recruit-wrap {
    margin: min(20%, 30px) auto 0px;
    padding: 20px;
}
.recruit-table th,
.recruit-table td {
    padding: 30px 0px;
}
/*===========================
  下層ページ スマホ
==========================*/
/* 下層ページ共通 */
.midashi-logo img {
    width: 200px;
    height: auto;
}
/* 地域を元気に スマホ */
.kadai {
    margin: min(20%, 160px) auto 0px;
    display: block;
}
.arrow01 {
    display: none;
}
.arrow02 {
    display: block;
    width: 80px;
    margin: 15px 0px 0px 20px;
}
.arrow03 {
    width: 80px;
    margin-top: 20px;
    margin-left: 60%;
}
.tanjyo {
    display: block;
}
.kayak-img02 {
    width: 170px;
    position: absolute;
    bottom: -40px;
    right: 5%;
}
/* 私たちの強み スマホ */
.strong-box01 div {
    display: block;
}
.strong-box01 div p {
    padding: 10px 10px 15px;
}
.strong-box02 h3 img {
    width: 280px;
    height: auto;
}
.strong-box02 div {
    display: block;
    margin-top: 20px;
    text-align: left;
}
.strong-box02 p, .strong-box03 p {
    padding: 10px;
}
.strong-box03 {
    display: block;
    margin-top: 30px;
}
.strong-box04 h3 img {
    width: 240px;
    height: auto;
}
.strong-box04 p {
    padding: 10px;
    text-align: left;
}
/* 仕事の醍醐味 スマホ */
.daigomi-box01 {
    margin: min(20%, 160px) auto 0px;
}
.daigomi-box01 h3 img {
    width: min(40%, 450px);
    height: auto;
}
.daigomi-box01 p {
    padding: 10px 0px;
    width: 100%;
}
/*===========================
  footer スマホ
==========================*/
footer {
    padding: 0px 0px 0px;
    text-align: center;
    margin: 150px auto 0px;
}
.entry-button {
    width: min(94%, 1200px);
    margin: auto;
    position: relative;
    top: -20px;
}
.foot-con {
    width: min(90%, 800px);
    margin: 20px auto 0px;
}
.foot-con p > img {
    width: 220px;
    height: auto;
}
footer ul {
    margin: 10px auto 0px;
    display: block;
}
footer li {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.foot-sns {
    padding: 10px 0px;
    margin: 10px auto 0px;
}
.copy {
    padding: 15px 0px 3px;
}
/*===========================
  ブログ スマホ
==========================*/

/*===========================
  トップスライドインナビゲーション
==========================*/
.menu-trigger,
.menu-trigger span{
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    cursor: pointer;
    align-items: flex-start;
}
.menu-trigger {
    position: relative;
    width: 75px;
    height: 70px;
    background: var(--primary-color);
    z-index: 35;
    float: right;
}
.menu-trigger span {
    position: absolute;
    background: #FFF;
    width: 30px;
    height: 2px;
    left: 0;
    right: 0;
    margin: auto;
}
.menu-trigger span:nth-of-type(1){
    top: 25px;
}
.menu-trigger span:nth-of-type(2){
    top: 0;
    bottom: 0;
}
.menu-trigger span:nth-of-type(3){
    bottom: 25px;
}
.menu-trigger span:nth-of-type(4){
    color: #FFF;
    font-size: 1rem;
    bottom: 22px;
    min-width: 60px;
    background: none;
    text-align: center;
}
.menu-trigger.active span:nth-of-type(1){
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2){
    opacity: 0;
}
.menu-trigger.active span:nth-of-type(3){
    -webkit-transform: translateY(-9px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
}
.menu-trigger.active span:nth-of-type(4){
    opacity: 0;
}
nav {
    display: block;
}
.g-nav {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(238, 252, 228, 0.9);
    width: 100%;
    height: 100vh; /* 高さを画面全体に調整 */
    overflow-y: auto; /* 縦スクロールを許可 */
    z-index: 25;
    padding: 15px 20px 0px 20px;
    border-radius: 0px;
}
.tate-scroll {/* 縦スクロールをできるように */
    overflow-y: auto; /* スクロール可能にする */
    -webkit-overflow-scrolling: touch; /* 慣性スクロールを有効に */
}
.g-nav .list .item a{
    display: block;
    text-decoration: none;
    color: var(--primary-color);
    padding: 5px 0;
    font-size: 1.8rem;
}
.list {
	margin-top: 80px;
}
.list ul {
    width: 100%;
    border-top: 1px dotted var(--primary-color);
    border-bottom: 1px dotted var(--primary-color);
}
.list li {
	width: 100%;
	margin: 5px auto;
	font-size: 1.5rem;
    padding: 10px 0px 10px 5px;
}
#s_navi:after {
	content: "";
	display: block;
	clear: both;
}
#s_navi {
    display: block;
    position: static;
    top: 0px;
    width: 100%;
    z-index: 100;
    top: 0;
}
.sp-head {
    display: flex;
    align-items: center;
    padding: 10px 0px 10px 5px;
}
.sp-logo {
    z-index: 50;
    width: 180px;
    height: auto;
}
.sp-head p {
    font-size: 1.4rem;
    padding-left: 5px;
}
.menu-sp {
    padding: 30px 0px;
    display: flex;
    gap: 0px 35px;
    justify-content: start;
    align-items: center;
    line-height: 1.3;
    border-bottom: 1px dotted var(--primary-color);
    color: var(--primary-color);
}
.menu-sp a {
    color: var(--primary-color);
    font-size: 3.5rem;
}
/*===========================
メールフォームのスタイル
==========================*/
#form {
    padding: 30px 15px;
}
.form-width {/* class:form-widthをcontact-form7へ テキストエリアの幅*/
    max-width: 100%;
}
textarea,input {
    max-width: 100%;
}
.w-700 {
    width: auto;
    margin: auto;
}
}

@media only screen and (max-width: 767px) {

}
