/*index.htmlここから*/

html {
    width: 100%;
    min-width: 1200px;
    scroll-behavior: smooth;
}

body {
    background-image: url("../img/pattern3.png");
    background-repeat: repeat;
    color: #fff;
    font-family: Arial, メイリオ;
    -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
    animation: fadeIn 1.5s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

header {
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #a73836;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
}

.top {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    padding: 10px 0;
    justify-content: space-between;
    background-color: #a73836;
}

.top h1 {
    width: 15%;
}

.top nav {
    width: 60%;
    font-size: 1.2em;
    margin-top: 40px;
}

.top nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style-type: none;
}

.top nav ul li a {
    position: relative;
    text-decoration: none;
    color: #fff;
    padding: 10px;
}

.top nav ul li a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
    border-bottom: 2px solid #fff;
}

.top nav ul li a:hover::after {
    transform: scale(1, 1);
}

article {
    margin: 100px auto 150px auto;
}

article h1 {
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 50px;
}

article section h2 {
    font-size: 1.5em;
    padding: 20px 0;
    text-align: center;
}

article section h3 {
    text-align: center;
    padding: 20px 0;
    font-size: 1.5em;
}

article section p {
    line-height: 1.5em;
    text-align: left;
}

article img {
    width: 100%;
    border-radius: 30px;
}

#keyvisual img {
    width: 100%;
}

#catchcopy {
    padding: 20px 0;
    background: #fff;
    color: #a73836;
    line-height: 1.5em;
    font-weight: 500;
    font-size: 1.2rem;
    text-align: center;
}

#catchcopy p {
    width: 90%;
    margin: 0 auto;
}

.flex_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin: 100px 0;
    padding-bottom: 20px;
    position: relative;
    z-index: 0;
}

.flex_box::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 90%;
    background-color: #fff;
    top: 10%;
    z-index: -1;
}

.reverse {
    flex-direction: row-reverse;
}

.reverse .flex_text {
    margin: 0 0 0 auto;
}

.flex_img {
    width: 40%;
    margin: 0 auto;
    text-align: center;
}

.flex_text {
    width: 40%;
    margin: 0 auto 0 0;
    text-align: center;
}

.flex_text {
    color: #a73836;
}

.flex_img img {
    position: relative;
    z-index: 1;
}

.flex_text a {
    text-decoration: none;
    text-align: center;
    color: #fff;
    background-color: #a73836;
    padding: 20px;
    border: 1px solid #fff;
    display: block;
    margin-top: 20px;
    display: inline-block;
    text-align: center;
}

footer {
    text-align: center;
    width: 100%;
    background-color: #a73836;
    height: auto;
    line-height: 1.5em;
    position: relative;
}

.footer_menu {
    position: fixed;
    bottom: 0;
    right: 0;
    border: 1px solid #a73836;
    z-index: 4;
}

.footer_menu p a {
    display: block;
    text-decoration: none;
    color: #a73836;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #a73836;
    writing-mode: vertical-rl;
}

.footer_menu p:last-child a {
    border-bottom: none;
}

.footer_menu a:hover {
    opacity: 0.8;
}

footer .pagetop {
    text-align: center;
}

footer .pagetop a {
    display: block;
    text-decoration: none;
}

footer .copy {
    display: block;
    text-align: center;
    width: 100%;
    padding: 20px 0;
}

/*index.htmlここまで*/

/*about.htmlここから*/

.sub_wrap section h2 {
    border-bottom: 2px solid #fff;
    font-size: 1.5em;
    text-align: left;
    width: 90%;
    margin: 0 auto;
}

/*about.htmlここまで*/

/*menu.htmlここから*/

#menu {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin: 50px 0;
}

#menu li {
    list-style-type: none;
    background-color: #a73836;
    border: 1px solid #fff;
    margin: 5px;
    width: 20%;
}

#menu li a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 1.5em;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
}

.menu_box {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 100px auto;
    text-align: center;
}

.menu_flex {
    width: 40%;
    margin: 0 auto 50px auto;
}

.menu_text {
    background: #fff;
    color: #a73836;
    padding: 20px 0;
    /* margin: 20px auto; */
}

.menu_text h3 {
    padding: 0;
    padding-bottom: 20px;
}

.menu_flex p {
    text-align: center;
}

/*menu.htmlここまで*/

/*access.htmlここから*/

.map {
    width: 90%;
    max-width: max-content;
    margin: 100px auto;
}

.map p {
    text-align: center;
}

/*access.htmlここまで*/

/*contact.htmlここから*/

.contact {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.contact form {
    text-align: left;
    color: #fff;
    display: inline-block;
}

.contact_center {
    text-align: center;
}

.contact_left p label input {
    width: 100%;
    padding: 10px 0;
}

.contact_center p input {
    color: #a73836;
    background-color: #fff;
    border: none;
    padding: 10px 0;
    width: 100%;
    font-size: 1em;
}

.contact form p {
    padding: 10px;
}

.contact textarea {
    width: 100%;
    height: 250px;
    overflow-y: scroll;
}

/*contact.htmlここまで*/


/*レスポンシブここから*/

/*index.html*/

@media screen and (max-width:768px) {

    html {
        min-width: initial;
    }

    #keyvisual img {
        width: 100%;
    }

    article {
        font-size: 1em;
    }

    article section {
        width: 100%;
    }

    .top h1 {
        width: 100%;
        text-align: center;
    }

    .top nav {
        margin-top: 0;
        width: 100%;
    }

    .top nav ul li a {
        padding: 20px;
    }

    .top nav ul li a::after {
        border: 0;
    }

    /*ハンバーガーボタン*/
    .hamburger {
        display: block;
        position: fixed;
        z-index: 3;
        right: 13px;
        top: 12px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: #fff;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        top: 10px;
    }

    .hamburger span:nth-child(2) {
        top: 20px;
    }

    .hamburger span:nth-child(3) {
        top: 30px;
    }

    /* ナビ開いてる時のボタン */
    .hamburger.active span:nth-child(1) {
        top: 16px;
        left: 6px;
        background: #fff;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 16px;
        background: #fff;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    nav.globalMenuSp {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        color: #fff;
        background: rgba(0, 0, 0, 0.8);
        text-align: center;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height .6s ease;
    }

    nav.globalMenuSp ul {
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }

    nav.globalMenuSp ul li {
        list-style-type: none;
        padding: 0;
        width: 100%;
        transition: .4s all;
    }

    nav.globalMenuSp ul li:last-child {
        padding-bottom: 0;
    }

    nav.globalMenuSp ul li:hover {
        background: #a73836;
    }

    nav.globalMenuSp ul li a {
        display: block;
        color: #fff;
        padding: 1em 0;
        text-decoration: none;
    }

    /* このクラスを、jQueryで付与・削除する */
    nav.globalMenuSp.active {
        height: 296px;
    }

    .flex_box {
        margin: 50px 0;
    }

    .flex_box p {
        width: 90%;
        margin: 0 auto;
    }

    .flex_box::after {
        top: 15%;
    }

    .flex_img,
    .flex_text {
        width: 100%;
    }

    footer {
        font-size: 1em;
    }

    footer #footer_wrap #info1,
    footer #footer_wrap #info2 {
        padding-right: 0;
    }

    .footer_menu {
        display: flex;
        width: 100%;
        border: none;
        border-top: 1px solid #a73836;
    }

    .footer_menu p a {
        border-right: 1px solid #a73836;
        border-bottom: none;
        writing-mode: horizontal-tb;
    }

    .footer_menu p:last-child a {
        border-right: none;
    }

    .footer_menu .yoyaku {
        width: 40%;
    }

    .footer_menu .pagetop {
        width: 20%;
    }

    /*about.html*/

    /*menu.html*/

    #menu li {
        width: 40%;
    }

    .menu_box {
        margin: 50px auto;

    }

    .menu_flex {
        width: 100%;
        margin: 0;
        margin-bottom: 50px;
    }

    /*access.html*/

    .map {
        width: 90%;
        max-width: max-content;
        margin: 50px auto;
    }


    /*contact.html*/

}

/*レスポンシブスマホ用ここから*/

@media screen and (max-width:480px) {

    /*index.html*/

    #catchcopy p {
        font-size: 0.8rem;
    }

    /*about.html*/

    /*menu.html*/

    /*access.html*/

    /*contact.html*/

}

/*レスポンシブここまで*/