@charset "UTF-8";

/*PCサイズレスポンシブ*/
@media(min-width:1000px) {
    body {
        min-width: 1000px;
    }

    .container {
        width: 100%;
    }

    a {
        text-decoration: none;
    }

    .header {
        width: 100%;
        display: flex;
    }

    .header1 {
        width: 35%;
        margin: 2.5% 0 2% 6%;
    }

    .header1 h1 {
        font-size: 30px;
    }

    .header2 {
        width: 65%;
        margin: 3.5% 0 2% 6%;
    }

    .header2 a {
        font-size: 18px;
        color: black;
    }

    .header2 ul {
        display: flex;
        list-style: none;
    }

    .header2 li {
        margin-left: 25px;
    }

    .video {
        text-align: center;
    }

    .video video {
        width: 95%;
    }

    .text h2 {
        font-size: 38px;
        margin: 50px 0 10px 0;
        text-align: center;
    }

    .text p {
        font-size: 20px;
        text-align: center;
    }

    .title {
        margin: 130px 0 50px 0;
        text-align: center;
    }

    .title h2 {
        font-size: 36px;
    }

    /*スライダー*/
    .slide-container {
        width: 95%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .slide-wrapper {
        display: flex;
        animation: slide-flow 20s infinite linear 1s both;
    }

    .slide {
        width: 300px;
        object-fit: cover;
        border: 1px solid #ddd;
    }

    @keyframes slide-flow {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    .main {
        width: 85%;
        margin: 0 auto;
    }

    .main img {
        width: 90%;
    }

    .main ul {
        display: flex;
        list-style: none;
    }

    .main p {
        font-size: 20px;
        text-align: center;
    }

    .profile {
        width: 100%;
        display: flex;
        margin-bottom: 130px;
    }

    .profile1 {
        width: 40%;
        text-align: right;
    }

    .profile1 img {
        width: 70%;
    }

    .profile2 {
        width: 60%;
        text-align: left;
        margin: 40px 0 0 30px;
    }

    .profile2 h2 {
        font-size: 30px;
    }

    .profile2 p {
        font-size: 20px;
    }

    .contact {
        position: relative;
        width: 100%;
        font-size: 20px;
        text-align: center;
    }

    .contact1 {
        position: absolute;
        margin: 130px 0 0 110px;
    }

    .contact1 p {
        margin-bottom: 20px;
    }

    .contact1 a {
        padding: 10px 30px;
        background-color: rgb(38, 179, 38);
        border-radius: 30px;
        color: #fff;
    }

    .contact1 a:hover {
        border: 1px solid rgb(38, 179, 38);
        background: #fff;
        color: rgb(38, 179, 38);
    }

    .contact2 img {
        width: 95%;
    }

    .map {
        display: flex;
        width: 80%;
        margin: 0 auto;
    }

    .map1 {
        width: 50%;
        background-color: beige;
        text-align: left;
        padding: 100px 0 100px 50px;
        
    }

    .map h3 {
        font-size: 25px;
        margin-bottom: 3px;
    }

    .map p {
        font-size: 20px;
    }

    .map2 {
        width: 50%;
    }

    .map2 iframe {
        width: 100%;
        height: 100%;
    }

    .footer {
        margin: 100px 0 20px 0;
        font-size: 12px;
        text-align: center;
    }
}

/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
    body {
        min-width: 600px;
        max-width: 999px;
    }

    .container {
        width: 100%;
    }

    a {
        text-decoration: none;
    }

    .header {
        width: 100%;
        display: flex;
    }

    .header1 {
        width: 30%;
        margin: 20px 0 5px 30px;
    }

    .header1 h1 {
        font-size: 17px;
    }

    .header2 {
        width: 70%;
        margin: 23px 0 20px 0;

    }

    .header2 a {
        font-size: 13px;
        color: black;
    }

    .header2 ul {
        display: flex;
        list-style: none;
    }

    .header2 li {
        margin-left: 20px;
    }

    .video {
        text-align: center;
    }

    .video video {
        width: 95%;
    }

    .text {
        width: 100%;
    }

    .text h2 {
        font-size: 25px;
        margin: 50px 0 10px 0;
        text-align: center;
    }

    .text p {
        font-size: 12px;
        text-align: center;
    }

    .title {
        margin: 130px 0 50px 0;
        text-align: center;
    }

    .title h2 {
        font-size: 25px;
    }

    /*スライダー*/
    .slide-container {
        width: 95%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .slide-wrapper {
        display: flex;
        animation: slide-flow 20s infinite linear 1s both;
    }

    .slide {
        width: 300px;
        object-fit: cover;
        border: 1px solid #ddd;
    }

    @keyframes slide-flow {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    .main {
        width: 80%;
        margin: 0 auto;
    }

    .main img {
        width: 95%;
    }

    .main ul {
        display: flex;
        list-style: none;
    }

    .main p {
        font-size: 11px;
        text-align: center;
    }

    .profile {
        width: 100%;
        display: flex;
        margin-bottom: 130px;
    }

    .profile1 {
        width: 40%;
        text-align: right;
    }

    .profile1 img {
        width: 90%;
    }

    .profile2 {
        width: 60%;
        text-align: left;
        margin: 10px 0 0 15px;
    }

    .profile2 h2 {
        font-size: 17px;
    }

    .profile2 p {
        font-size: 13px;
    }

    .contact {
        position: relative;
        width: 100%;
        font-size: 13px;
        text-align: center;
    }

    .contact1 {
        position: absolute;
        margin: 50px 0 0 50px;
    }

    .contact1 p {
        margin-bottom: 15px;
    }

    .contact1 a {
        padding: 10px 30px;
        background-color: rgb(38, 179, 38);
        border-radius: 30px;
        color: #fff;
    }

    .contact1 a:hover {
        border: 1px solid rgb(38, 179, 38);
        background: #fff;
        color: rgb(38, 179, 38);
    }

    .contact2 img {
        width: 95%;
    }

    .map {
        display: flex;
        width: 90%;
        margin: 0 auto;
    }

    .map1 {
        width: 50%;
        background-color: beige;
        padding: 40px 0 40px 40px;
    }

    .map h3 {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .map p {
        font-size: 13px;
    }

    .map2 {
        width: 50%;
    }

    .map2 iframe {
        width: 100%;
        height: 100%;
    }

    .footer {
        margin: 100px 0 20px 0;
        font-size: 12px;
        text-align: center;
    }

}

/*SPサイズレスポンシブ*/
@media (max-width:599px) {
    body {
        max-width: 599px;
    }

    .container {
        width: 100%;
    }

    a {
        text-decoration: none;
    }

    .header {
        width: 100%;
        display: flex;
    }

    .header1 {
        width: 30%;
        margin: 20px 0 5px 20px;
    }

    .header1 h1 {
        font-size: 11px;
    }

    .header2 {
        width: 70%;
        margin: 15px 0 20px 0;

    }

    .header2 a {
        font-size: 8px;
        color: black;
    }

    .header2 ul {
        display: flex;
        list-style: none;
    }

    .header2 li {
        margin-left: 8px;
    }

    .video {
        text-align: center;
    }

    .video video {
        width: 95%;
    }

    .text {
        width: 95%;
        margin: 0 auto;
    }

    .text h2 {
        font-size: 16px;
        margin: 30px 0 10px 0;
        text-align: center;
    }

    .text p {
        font-size: 9px;
        text-align: center;
    }

    .title {
        margin: 80px 0 50px 0;
        text-align: center;
    }

    .title h2 {
        font-size: 16px;
    }

    /*スライダー*/
    .slide-container {
        width: 95%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .slide-wrapper {
        display: flex;
        animation: slide-flow 20s infinite linear 1s both;
    }

    .slide {
        width: 300px;
        object-fit: cover;
        border: 1px solid #ddd;
    }

    @keyframes slide-flow {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    .main {
        width: 90%;
        margin: 0 auto;
    }

    .main img {
        width: 90%;
    }

    .main ul {
        display: flex;
        list-style: none;
    }

    .main p {
        font-size: 8px;
        text-align: center;
    }

    .profile {
        width: 100%;
        margin-bottom: 70px;

    }

    .profile1 {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .profile1 img {
        width: 60%;
    }

    .profile2 {
        width: 100%;
        text-align: center;
    }

    .profile2 h2 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .profile2 p {
        font-size: 9px;
    }

    .contact {
        position: relative;
        width: 100%;
        font-size: 10px;
        text-align: center;
    }

    .contact1 {
        position: absolute;
        margin: 30px 0 0 30px;
        font-size: 9px;
    }

    .contact1 p {
        margin-bottom: 15px;
        
    }

    .contact1 a {
        padding: 5px 20px;
        background-color: rgb(38, 179, 38);
        border-radius: 30px;
        color: #fff;
    }

    .contact1 a:hover {
        border: 1px solid rgb(38, 179, 38);
        background: #fff;
        color: rgb(38, 179, 38);
    }

    .contact2 img {
        width: 95%;
    }

    .map {
        display: flex;
        width: 90%;
        margin: 0 auto;
    }

    .map1 {
        width: 50%;
        background-color: beige;
        padding: 30px 0 30px 15px;
    }

    .map h3 {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .map p {
        font-size: 10px;
    }

    .map2 {
        width: 50%;
    }

    .map2 iframe {
        width: 100%;
        height: 100%;
    }

    .footer {
        margin: 100px 0 20px 0;
        font-size: 8px;
        text-align: center;
    }
}