/* 全体 */
body {
    margin: 0;
    background-color: #F9F9F8;
}

/* header */
header {
    background-color: #001C3C;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;      /* ← これで縦中央揃え */
    justify-content: space-between; /* 左右でロゴとメニューを分ける */
}

/* ロゴ */
.header-logo {
    display: flex;
    align-items: center; /* ← これが大事！縦中央揃え */
    gap: 1rem;
    height: 120px;  /* headerの高さに合わせる */
}

.header-logo img {
    width: 14vw;
    margin-top: 0;
}

.sns-icons {
    display: flex;
    max-width: 180px;
    min-width: 100px;
    gap: 0.2rem;  /* 詰めたいならさらに小さく */
}

.sns-icons img {
  width: 3rem;
  height: auto;
  margin-top:4.5rem;
}

/* メニュー全体 */
.header-menuber {
    display: flex;
    align-items: center;
    height: 100%;
}


/* ナビメニュー */
.header-nav {
    list-style:none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-right:2vw;
    margin-top:1rem;
}


.header-navgation,
.header-login {
    position: relative;
}

.header-navgation ul {
    display: none;
    position: absolute;
    top: 3rem;
    /*left: 0;*/
    background: #fff;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 100;
    white-space: nowrap;
    font-size: 1rem;
}

.header-navgation:hover ul,
.header-navgation.active ul {
    display: block;
    padding-top: 1vw;
    padding-left:1.5vw;
    padding-bottom: 1.5vw;
    padding-right: 1.7vw;
}

/* メニューのテキスト */
.header-navgation > span,
.header-login > span {
    display: flex;             /* ← フレックスボックスに */
    align-items: center;       /* ← 垂直方向（縦）の中央揃え */
    height: 100%;              /* ← 親要素（li）の高さに合わせる */
    cursor: pointer;
    white-space: nowrap;
    color: #F9F9F8;
    font-size: 1rem;
}

.header-navgation > span {
    display: flex;
    align-items: center;
    height: 100%;
    color: #F9F9F8;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    padding-left: 0.5rem;  /* ← ここで左寄せに微調整 */
    padding-right: 0.5rem; /* ← 必要ならこちらも少し減らす */
}

/* ハンバーガーメニュー */
.header-menu-toggle {
    display: none;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: white;
    cursor: pointer;
    font-size: 1rem;
}

a.no-link {
  color:#001C3C;          /* 色を親要素に合わせる（白や黒など） */
  text-decoration: none;    /* 下線消す */
  cursor: default;          /* 手カーソル → 普通の矢印に */
}

a.no-link:hover {
  color:#001C3C;
  text-decoration: none;
  cursor: default;
  margin-top:2rem;
}

/* ▼ li の・（黒ポチ）を消す */
.header-nav,
.nav_clab {
    list-style: none;
}

/* ▼ a タグの下線を消す */
.header-span a{
    text-decoration: none;
    color: #F9F9F8;  /*リンクの文字色（必要に応じて変更） */
}


/* スマホ対応 */
@media (max-width: 768px) {
    header {
        height: 4rem;
    }

    .header-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #013168;
        padding: 1.5rem;
        border-radius: 4px;
        width: 15vw;
        max-width: 300px;
        z-index: 999;
        margin-top:0;
        margin-bottom: 0;
        padding-top: 2vw;
        padding-bottom:2vw;
    }

    .header-nav.active {
        display: flex;
    }

    .header-navgation ul {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        font-size: 0.8rem;
    }

    .header-navgation span{
        font-size:0.5rem;
    }

    .header-logo img {
        width: 30vw;
        margin-top: 0;
    }

    .sns-icons {
        display: flex;
        max-width: 180px;
        min-width: 100px;
        gap: 0.2rem;  /* 詰めたいならさらに小さく */
    }

    .sns-icons img {
        width: 2rem;
        height: auto;
        margin-top:1rem;
    }

    .header-navgation > span,
    .header-login > span {
        display: block;
        color: white;
        font-size: 0.6rem;
        margin: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .header-span a {
        font-size: 0.6rem;
    }
}

@media (max-width: 450px) {
    .header-navgation > span,
    .header-login > span {
        display: block;
        color: white;
        font-size: 0.5rem;
        margin: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .header-span a {
        font-size: 0.5rem;
    }

    .sns-icons {
        display: flex;
        max-width: 180px;
        min-width: 100px;
        gap: 0.2rem;  /* 詰めたいならさらに小さく */
    }

    .sns-icons img {
        width: 1.5rem;
        height: auto;
        margin-top:2.5rem;
    }
}

/*---------------------------------------------------------------------------------------------------------------------*/
/*main*/
.yobi{
    color:#F9F9F8;
}

.annai{
    margin-top:5%;
    margin-left:2vw;
    font-size:1vw;
}

.club-gaiyo{
    height:2000px;
}

@media(max-width:765px){
    .yobi{
        font-size:3.5vw;
    }
    .club-gaiyo {
        height:2000px;
    }
}

@media(max-width:600px){
    .yobi{
        font-size:3.7vw;
    }

    .club-gaiyo {
        height:2000px;
        margin-bottom:5vw;
        margin-left:0vw;
    }
}

@media(max-width:500px){
    .yobi{
        font-size:3.7vw;
    }

    .club-gaiyo {
        height:2000px;
        margin-left:3vw;
    }
}

@media(max-width:470px){
    .yobi{
        font-size:4vw;
    }

    .club-gaiyo {
        height:2050px;
        margin-left:3vw;
    }
}

@media(max-width:410px){
    .yobi{
        font-size:4vw;
    }

    .club-gaiyo {
        height:2100px;
        margin-left:3vw;
    }
}

@media(max-width:390px){
    .yobi{
        font-size:4.6vw;
    }

    .club-gaiyo {
        height:2200px;
        margin-left:3vw;
    }
}

@media(max-width:375px){
    .yobi{
        font-size:4.6vw;
    }

    .club-gaiyo {
        height:2300px;
        margin-left:3vw;
    }
}

@media(max-width:317px){
    .yobi{
        font-size:5.8vw;
    }

    .club-gaiyo {
        height:2400px;
        margin-left:3vw;
    }
}



.clubgaiyo-h1{
    font-size:3vw;
    margin-left:3vw;
    margin-bottom:1vw;
}

.clubjouhou-line{
    width:90%;
    margin:0;
    padding:0;
    margin-left:3vw;
}

@media(max-width:765px){
    .yobi{
        margin-bottom:1vw;
    }
    .annai{
        margin-top:2vw;
        font-size:1.5vw;
    }
}

/* フォームのラッパー：比率固定でレスポンシブ対応 */
.form-wrapper {
    position: relative;
    width: 100%;
    height:600px;
    padding-top: 1500px;  /* ←フォームの縦横比（ここは調整可能。150%なら縦長） */
    margin-bottom:-1100px;
    overflow: hidden;
}

/* iframeを枠内にぴったり入れる */
.form-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1800px;
    border: none;
}
/*
.form-wrapper {
    height:900px;
    margin-bottom:5vw;
    margin-left:15vw;
    display: flex;
    justify-content: center;
    padding: 1em;
}

.form-wrapper iframe {
    width: 90%;
    max-width: 500px;
    height: 1500px;
    border: none;
}*/
/*
@media(max-width:1400px){
    .form-wrapper {
        margin-bottom:-900px;
    }
}

@media(max-width:1330px){
    .form-wrapper {
        margin-bottom:-800px;
    }
}

@media(max-width:1260px){
    .form-wrapper {
        margin-bottom:-700px;
    }
}

@media(max-width:1190px){
    .form-wrapper {
        margin-bottom:-600px;
    }
}

@media(max-width:1120px){
    .form-wrapper {
        margin-bottom:-500px;
    }
}

@media(max-width:1050px){
    .form-wrapper {
        margin-bottom:-400px;
    }
}

@media(max-width:980px){
    .form-wrapper {
        margin-bottom:-300px;
    }
}

@media(max-width:910px){
    .form-wrapper {
        margin-bottom:-200px;
    }
}

@media(max-width:840px){
    .form-wrapper {
        margin-bottom:-100px;
    }
}

@media(max-width:770px){
    .form-wrapper {
        margin-bottom:0px;
    }
}

@media(max-width:700px){
    .form-wrapper {
        margin-bottom:100px;
    }
}

@media(max-width:630px){
    .form-wrapper {
        margin-bottom:200px;
    }
}
@media(max-width:490px){
    .form-wrapper {
        margin-bottom:300px;
    }
}

@media(max-width:420px){
    .form-wrapper {
        margin-bottom:400px;
    }
}

@media(max-width:350px){
    .form-wrapper {
        margin-bottom:500px;
    }
}

@media(max-width:280px){
    .form-wrapper {
        margin-bottom:600px;
    }
}

@media(max-width:210px){
    .form-wrapper {
        margin-bottom:700px;
    }
}

@media(max-width:180px){
    .form-wrapper {
        margin-bottom:800px;
    }
}

/*.form {
    height: 10vw;
    width: 100%;       /* 親要素を画面いっぱいに広げる
    max-width: none;   /* 幅制限を解除
}

.form-ggl {
    width: 140vw;  /* HTML属性と合わせる 
    height: 60vw; /* iframeの高さに合わせる
    max-width: 100%; /* 画面幅より大きくならないように*
}*/

@media(max-width:765px){
    .form-wrapper {
        height:1800px;
        margin-bottom:5vw;
        margin-left:15vw;
        display: flex;
        justify-content: center;
        padding: 1em;
    }

    .form-wrapper iframe {
        width: 90%;
        max-width: 500px;
        height: 1950px;
        border: none;
    }
}

@media(max-width:600px){
    .form-wrapper {
        height:1900px;
        margin-bottom:5vw;
        margin-left:8vw;
    }

    .form-wrapper iframe {
        width: 90%;
        max-width: 500px;
        height: 1950px;
        border: none;
    }
}

@media(max-width:500px){
    .form-wrapper {
        height:1850px;
        margin-left:3vw;
    }

    .form-wrapper iframe {
        width: 90%;
        max-width: 500px;
        height: 1900px;
        border: none;
    }
}

@media(max-width:470px){
    .form-wrapper {
        height:1950px;
        margin-left:3vw;
    }

    .form-wrapper iframe {
        width: 90%;
        max-width: 500px;
        height: 2000px;
        border: none;
    }
}

@media(max-width:410px){
    .form-wrapper {
        height:2000px;
        margin-left:3vw;
    }

    .form-wrapper iframe {
        width: 90%;
        max-width: 500px;
        height: 2050px;
        border: none;
    }
}

@media(max-width:390px){
    .form-wrapper {
        height:2050px;
        margin-left:3vw;
    }

    .form-wrapper iframe {
        width: 90%;
        max-width: 500px;
        height: 2100px;
        border: none;
    }
}

@media(max-width:375px){
    .form-wrapper {
        height:2200px;
        margin-left:3vw;
    }

    .form-wrapper iframe {
        width: 90%;
        max-width: 500px;
        height: 2250px;
        border: none;
    }
}

@media(max-width:317px){
    .form-wrapper {
        height:2250px;
        margin-left:3vw;
    }

    .form-wrapper iframe {
        width: 90%;
        max-width: 500px;
        height: 2300px;
        border: none;
    }
}



.main-sponser-line{
    margin-bottom:10vw;
}

/*お問い合わせ*/
.main-toiawase{
    margin-top:10vw;
    padding-top:8vw;
    background-color:#d3fcda;
    height:43vw;
}

.main-toiawase-h3 {
  font-size: 5vw;
  color: #05931d;
  font-family: 'Rampart One';

  display: flex;              /* ← 中央寄せ用にFlexを使う */
  justify-content: center;    /* ← 横方向中央 */
  align-items: center;        /* ← 縦方向中央（必要なら） */

  border: 5px solid #00be20;  /* ← 枠線 */
  padding: 1vw 3vw;
  width: fit-content;         /* ← 枠を文字サイズに合わせる */
  margin: 0 auto;             /* ← 本体を中央に配置 */
  border-radius: 9px;         /* ← おしゃれに角丸（任意） */
}

.main-toiawase-h4{
    padding-top:3vw;
    font-size:2vw;
    text-align:center;
}

.main-toiawase-h5{
    text-align:center;
}

.main-toiawase-h3,.main-toiawase-h4,.main-toiawase-h5{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.main-toiawase-h3.active,.main-toiawase-h4.active,.main-toiawase-h5.active{
    opacity: 1;
    transform: translateY(0);
}

.toiawase-button{
    display:block;
    font-size:3vw;
    text-align:center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.toiawase-button.active{
    opacity: 1;
    transform: translateY(0);
}

.floating-btn1 {
  position: fixed;
  font-size:20px;
  bottom: 20px;
  right: 10px;
  background-color: #f04e4e;
  color: white;
  padding: 12px 18px;
  border-radius: 3px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  font-weight: bold;
  z-index: 999;
  transition: 0.3s ease;
}

.floating-btn1:hover {
  background-color: #d03939;
}

.floating-btn2 {
  position: fixed;
  font-size:20px;
  bottom: 20px;
  right: 10px;
  background-color: #f04e4e;
  color: white;
  padding: 12px 18px;
  border-radius: 3px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  font-weight: bold;
  z-index: 999;
  transition: 0.3s ease;
  bottom: 120px;
}

.floating-btn2:hover {
  background-color: #d03939;
}

@media(max-width:765px){
    .main-toiawase{
        margin-top:10vw;
        padding-top:8vw;
        background-color:#d3fcda;
        height:43vw;
    }

    .main-toiawase-h3 {
        font-size: 3vw;
    }

    .main-toiawase-h4{
        font-size:2vw;
    }

    .main-toiawase-h5{
        font-size:2.5vw;
    }

    .floating-btn1 {
        font-size:3vw;
        padding: 1vw 1vw;
    }

    .floating-btn2 {
        font-size:3vw;
        padding: 1vw 1vw;
        bottom: 18vw;
    }
}

/*footer*/
footer{
    height:60vw;
    background-color:#F9F9F8;
    padding-top:1vw;
    color:#000000;
}

.footer-content{
    margin-top:10vw;
    position:relative;
}

.footer-img{
    display:block;
    margin:0 auto;
    height:10vw;
}

.footer-info-line{
    margin-top:3vw;
    margin-bottom:3vw;
    width:70%;
}

.footer-map {
    height:20vw;
    width:25vw;
    margin-left:10vw;
}

.footer-info{
    position:absolute;
    top:15vw;
    left:50vw;
    margin:0;
    padding:0;
}

.footer-info h3{
    font-size:1.8vw;
    margin-bottom:0.5vw;
    font-family:'HGP行書体';
}

.footer-info p{
    font-size:1vw;
    margin-bottom:0.3vw;
}

.footer-info ul{
    display:inline;
    font-size:0.8vw;
    list-style:none;
}

/*@media(max-width:768px){
    .footer-info-line{
        width:90%;
    }

    iframe{
        height:300px;
        width:300px;
        left:30px;
    }

    .footer-info{
        left:350px;
    }

    .footer-info p{
        font-size:13px;
    }

    .footer-links{
        top:350px;
        left:310px;
    }
    
}*/

@media(max-width:450px){
    footer{
        height:100vw;
        background-color:#F9F9F8;
        padding-top:1vw;
        color:#000000;
    }

    .footer-content{
        margin-top:10vw;
        position:relative;
    }

    .footer-img{
        display:block;
        margin:0 auto;
        height:15vw;
    }

    .footer-info-line{
        margin-top:3vw;
        margin-bottom:3vw;
        width:70%;
    }

    .footer-map {
        height:40vw;
        width:55vw;
        margin-left:10vw;
    }

    .footer-info{
        position:absolute;
        top:65vw;
        left:20vw;
        margin:0;
        padding:0;
    }

    .footer-info h3{
        font-size:2.5vw;
        margin-bottom:0.5vw;
        font-family:'HGP行書体';
    }

    .footer-info p{
        font-size:1.5vw;
        margin-bottom:0.3vw;
    }

    .footer-info ul{
        position: relative;
        top:-6vw;
        display:inline;
        font-size:1.3vw;
        list-style:none;
    }

    /*@media(max-width:768px){
        .footer-info-line{
            width:90%;
        }

        iframe{
            height:300px;
            width:300px;
            left:30px;
        }

        .footer-info{
            left:350px;
        }

        .footer-info p{
            font-size:13px;
        }

        .footer-links{
            top:350px;
            left:310px;
        }
        
}*/

}


