@charset "UTF-8";

/*すべてに適用*/
html {
    color: #333;
    font-size: 1rem;
    font-family: "arial", "Meiryo", "ヒラギノ角ゴ", sans-serif;
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
}

h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    color: #006666;
}

p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    color: #313131;
    margin: 0.5em 0 0 4em;
}

a:link {
    color: #006666;
}

a:visited {
    color: #006666;
}

a:hover {
    color: #ff6600;
}

a {
    text-decoration: none;
}

a [href$=".png"] {
    border: none
}

a [href$=".jpg"] {
    border: none
}

a [href$=".jpeg"] {
    border: none
}

.sp {
    display: none !important;
}

@media screen and (max-width: 500px) {
    .sp {
        display: block !important;
    }
}

.pad {
    display: none !important;
}

@media screen and (min-width:501px) and (max-width:779px) {
    .pad {
        display: block !important;
    }
}

.pc {
    display: block !important;
}

@media screen and (max-width: 780px) {
    .pc {
        display: none !important;
    }

    p {
    margin: 0.5em 0 0 1.2em;
}
}

/*すべてに適用ここまで*/

/*ヘッダー部分*/
header {
    width: auto;
    height: 120px;
    background-image: url(../images/header_woods.svg), url("../images/header_bg.svg");
    background-size: 60%, cover;
    background-position: right bottom, center;
    padding: 0 20px;
}

#header_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end
}

.logo_home {
    padding: 10px 0;
}

.logo_home img {
    max-height: 100px;
}

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

    header {
        height: 130px;
        background-size: 70%, cover;
    }

    #header_container {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .logo_home {
        padding: 5px 0;
    }

    .logo_home img {
        max-height: 80px;
    }
}

/*ナビ部分*/

nav ul {
    display: flex;
}

.button {
    display: block;
    padding: 10px;
}

.button p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    /* カーソルを離した際のアニメーションの速度調整 */
    transition: .5s all;
}

.button a {
    color: #006666;
    /* リンク指定した要素のスタイルを削除 */
    text-decoration: none;
}

nav:hover .button:hover>p {
    /* 回転の角度・サイズ調整 */
    transform: rotateY(360deg);
    transition: .5s;
    /* hover時の速度調整 */
}

/*ナビ部分ここまで*/
/*ヘッダー部分ここまで*/

/*フッター部分*/
footer {
    width: auto;
    height: 17%;
    background-color: #006666;
}

footer p {
    padding: 1rem 0;
    text-align: center;
    color: #fff;
}

/*フッター部分ここまで*/