@charset "UTF-8";

body {
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    margin: 0 auto;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: black;
}

p {
    text-align: justify;
}

/* TOPページ */


/* 【ナビゲーション】 PC*/

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 10px 0;
    background: #fff;
    position: relative;
    z-index: 1000;
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0;

}

.logo {
    width: 20%;
}

.logo img {
    width: 100%;
    margin-top: 60px;
}

/* ---------- ナビゲーション ---------- */
.nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav li {
    margin: 0 5px;
    position: relative;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    white-space: nowrap;
}

.boder:hover {
    border-bottom: 2px solid #3EAD9C;
    padding-bottom: 2px;
    color: #3EAD9C;
    transition: 0.3s;
}

.square {
    color: #3EAD9C;
}

.sub-menu {
    display: none;
    position: absolute;
    background-color: #e6f5f3;
    top: 25px;
    left: 0;
    list-style: none;
    width: auto;
    height: auto;
    padding: 10px;
    margin: 0;
    border: 1px solid #ddd;
    width: 250px;
    /* 好きな幅に変更（例：200px） */
    min-width: 180px;
    /* 内容が長いときの保険 */
    box-sizing: border-box;
    text-align: left;
    /* テキストを左寄せ */
}

.sub-menu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    /* 改行を防止 */
}

.sub-menu li a:hover {
    background-color: #3EAD9C;
    color: #f0f8f6;
    transition: .4s;

}

.nav li:hover>.sub-menu {
    display: block;
}

/* ---------- ハンバーガーボタン ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 30px;
    height: 22px;
    gap: 6px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #3EAD9C;
    border-radius: 3px;
    transition: 0.3s;
}

/* ---------- ハンバーガーON時のアニメーション ---------- */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* 【ナビ】FUL */
@media (min-width:2301px) and (max-width:2560px) {

    .logo img {
        width: 100%;
        margin-top: 160px;
    }

    .nav li {
        font-size: clamp(18px, 1.8vw, 25px);
    }

    .sub-menu {
        width: 400px;
    }
}

@media (min-width:1920px) and (max-width:2300px) {

    .nav li {
        font-size: clamp(18px, 1.8vw, 25px);
    }

    .logo img {
        width: 100%;
        margin-top: 140px;
    }

    .sub-menu {
        width: 350px;
    }
}

/* 【ナビ】TAB/SP */
@media (min-width:769px) and (max-width:1025px) {

    header {
        height: 60px;
    }

    .logo {
        width: 30%;
    }

    .logo img {
        margin-top: 70px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
        border-top: 1px solid #ccc;
    }

    .nav.active {
        display: flex;
    }

    .nav li {
        margin: 10px 0;
    }

    .sub-menu {
        position: static;
        border: none;
        margin-top: 7px;
    }

    .nav li:hover>.sub-menu {
        display: none;
        /* ホバー無効 */
    }

    .nav li.open>.sub-menu {
        display: block;
    }

}

@media screen and (min-width:431px) and (max-width:768px) {

    header {
        height: 60px;
    }

    .logo {
        width: 30%;
    }

    .logo img {
        margin-top: 40px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
        border-top: 1px solid #ccc;
    }

    .nav.active {
        display: flex;
    }

    .nav li {
        margin: 10px 0;
    }

    .sub-menu {
        position: static;
        border: none;
        margin-top: 7px;
    }

    .nav li:hover>.sub-menu {
        display: none;
        /* ホバー無効 */
    }

    .nav li.open>.sub-menu {
        display: block;
    }

}


@media screen and (max-width: 431px) {

    header {
        height: 50px;
    }

    .logo {
        width: 30%;
    }

    .logo img {
        margin-top: 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
        border-top: 1px solid #ccc;
    }

    .nav.active {
        display: flex;
    }

    .nav li {
        margin: 10px 0;
    }

    .sub-menu {
        position: static;
        border: none;
        margin-top: 7px;
    }

    .nav li:hover>.sub-menu {
        display: none;
        /* ホバー無効 */
    }

    .nav li.open>.sub-menu {
        display: block;
    }
}

/* プライバシーポリシー */

.color-box-1 {
    background-color: #3EAD9C;
    height: 5rem;
    margin-top: 100px;
}

h2 {
    margin-top: 5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2 span {
    font-size: clamp(25px, 1.8vw, 40px);
    border-bottom: 3px solid #3EAD9C;
    padding-bottom: 7px;
}

.box{
    text-align: justify;
    width: 60%;
    margin: 0 auto;
}

h3{
  padding: 1em;/*文字周りの余白*/
  border-left: solid 5px #3EAD9C;/*左線（実線 太さ 色）*/
  font-size: clamp(18px, 1.8vw, 20px);
  margin-top: 4rem;
  margin-bottom: 2rem;
}

h4{
font-size: clamp(14px, 1.8vw, 18px);
margin-top: 2rem;
margin-bottom: 1rem;
white-space: nowrap
}

.date{
    margin-top: 2rem;
    text-align: right;
    font-size: clamp(12px, 1.8vw, 16px);
}

.dite{
    font-size: clamp(12px, 1.8vw, 16px);
}

@media screen and (max-width: 1025px) {
.box{
    width: 80%;
}
}

@media screen and (max-width: 430px) {
    .color-box-1 {
        height: 3rem;
    margin-top: 30px;
}

.box{
    width: 90%;
}

h4{
margin-bottom: 0.5rem;
}
}



/* 【フッター】PC*/
.upper-part {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.company {
    margin-top: 30px;
    text-align: center;

}

.log {
    width: 40%;
}

.address {
    display: inline-block;
    text-align: left;
    font-size: clamp(16px, 1.8vw, 25px);
    margin-left: 0;
    margin: 0 auto;
    line-height: 1.5;
}

.f-tel{
       display: inline-block;
    text-align: left;
    font-size: clamp(16px, 1.8vw, 25px);
    margin-left: 0;
    margin: 0 auto;
    padding-top: 1rem;
}

.star {
    margin-top: 20px;
    width: 20%;
}

.bottom-part {
    text-align: center;
    color: #ffffff;
    background-color: #3EAD9C;
    padding: 30px 0;
}

/* 【フッター】TAB*/
@media (min-width: 1026px) and (max-width: 1534px) {
    .upper-part {
        display: block;
    }

    .log {
        width: 20%;
        margin-bottom: 20px;
    }

    .address {
        display: inline-block;
        text-align: left;
        font-size: clamp(20px, 1.8vw, 40px);
        margin-left: 0;
        margin: 0 auto;
    }

    .star {
        margin-top: 30px;
        width: 10%;
        margin-bottom: 40px;
    }

    iframe {
        width: 100%;
        height: auto;
    }

    .bottom-part {
        margin-bottom: 0;
    }
}


@media (min-width: 769px) and (max-width: 1025px) {

    .company {
        text-align: center;
    }

    .upper-part {
        display: block;
    }


    .log {
        width: 30%;
        margin-bottom: 40px;
    }

    .address {
        display: inline-block;
        text-align: left;
        font-size: clamp(25px, 1.8vw, 40px);
        margin-left: 0;
        margin: 0 auto;
    }

    .star {
        margin-top: 50px;
        width: 15%;
        margin-bottom: 40px;
    }

    iframe {
        width: 100%;
        height: auto;
    }

    .bottom-part {
        margin-bottom: 0;
    }


}

@media (min-width: 431px) and (max-width: 768px) {

    .upper-part {
        display: block;
    }

    .log {
        width: 25%;
    }

    .address {
        text-align: left;
        font-size: 14px;
        margin-left: 10px;
    }

    .star {
        margin-top: 20px;
        width: 12%;
        margin-bottom: 40px;
    }

    iframe {
        width: 100%;
        height: auto;
    }

    .bottom-part {
        height: 100px;
        margin-bottom: 70px;
        padding: 30px 0 50px 0;
    }



}

/* 【フッター】 SP*/
@media screen and (max-width: 430px) {

    footer {
        margin-bottom: 0;
    }

    .upper-part {
        display: block;
    }

    .company {
        margin-top: 30px;
        text-align: center;

    }

    .log {
        width: 35%;
    }

    .address {
        text-align: left;
        font-size: 12px;
        line-height: 1.5;
        margin-left: 20px;
        margin-top: 20px;
    }

    .star {
        margin-top: 20px;
        margin-bottom: 20px;
        width: 15%;
    }

    iframe {
        width: 98%;
        height: 100%;
        margin-bottom: 10px;
    }

    .bottom-part {
        padding: 15px 0 25px 0;
        margin-bottom: 57px;
    }

    .bottom-part span {
        font-size: 10px;
    }
}

@media (max-width: 320px) {
    footer {
        margin-bottom: 0;
    }

    .bottom-part {
        margin-bottom: 55px;
    }
}