@charset "utf-8";

/* 共通部分 */
* {
    box-sizing: border-box;
}

body,
h1,
h3,
h2,
p {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

.heading {
    text-align: center;
    padding: 50px 0;
}

.heading h2 {
    border-bottom: #3b0175 5px solid;
    display: inline-block;
    font-size: 40px;
}

.heading span {
    font-size: 20px;
    padding-left: 30px;
}

.fade_item {
    opacity: 0;
    transition: all 1s;
    transform: translateY(50px);
    visibility: hidden;
}

.is_show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ここからヘッダー */
.header_wrapper {
    width: 100%;
    background-color: #ffffff;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
    z-index: 999;
    height: 100px;
}

.header_wrapper img {
    height: auto;
}

.header_wrapper a img:hover {
    opacity: 0.5;
}

.main_navi ul {
    display: flex;
    list-style: none;
}

.main_navi ul li a {
    margin-right: 20px;
    border-bottom: 5px solid #3b0175;
    color: #000000;
    position: relative;
    padding: 5px 5px;
}

.main_navi ul li a:hover {
    color: #fff;
}

.main_navi ul li a::before {
    background: #3b0175;
    content: "";
    display: block;
    width: 100%;
    height: 0%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.main_navi ul li a:hover::before {
    transition: 0.5s;
    height: 100%;
}

.top_catch {
    padding: 200px 0;
    display: flex;
    padding-bottom: 50px;
    animation: fadeIn 2.0s ease-in;
}
.top_catch h1{
    font-size: 40px;
}

.line_bar {
    background-color: #3b0175;
    width: 10px;
    margin: 0 30px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ここからセクション４（問い合わせ、アクセスのリンクボタン） */
/* 問い合わせのリンクボタン */
.contact_wrapper{
    margin-top:50px;
} 
.contact_container {
    padding: 0 20px;
    height: 600px;
    background-image: url(../img/process_2.png);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 0.7;
    background-size: cover;
    background-position: center;
}

.contact_container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    opacity: 0.3;
}

.contact_container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3b0175;
    opacity: 0.8;
    z-index: 2;
}

/* メールでのお問い合わせ */
.mail_box {
    width: 100%;
    height: 250px;
    border: 5px solid #ffffff;
    z-index: 99;
}

.mail_box:hover {
    opacity: 0.5;
    transition: 0.5s;
    background-color: #ffffff24;
}

.contact_frm_link {
    color: #ffffff;
    align-content: center;
    /* リンク領域設定 */
    width: 100%;
    height: 100%;
    text-align: center;
}

.contact_frm_link h3 {
    font-size: 25px;
    padding-bottom: 30px;
}

/* 電話番号のボックス*/
.other_box {
    width: 100%;
    height: 250px;
    display: flex;
    gap: 20px;
    z-index: 99;
}

.tel_box {
    width: 50%;
    border: 5px solid #ffffff;
    color: #ffffff;
    align-content: center;
    text-align: center;
}

.tel_box h3 {
    font-size: 30px;
    padding-bottom: 20px;
}

/* アクセスのリンクボタン */
.access_box {
    width: 50%;
    border: 5px solid #ffffff;
    text-align: center;
}

.access_link {
    /* リンクボタン領域 */
    width: 100%;
    height: 100%;
    color: #ffffff;
    align-content: center;
}

.access_link:hover {
    opacity: 0.5;
    transition: 0.5s;
    background-color: #ffffff24;
}

.access_link h3 {
    font-size: 40px;
    text-decoration: underline;
}

.access_link p {
    padding-top: 30px;
    font-size: 25px;
}

/* ここからフッター */
.footer_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
}

.footer_wrapper img {
    height: auto;
}

.footer_wrapper a img:hover {
    opacity: 0.5;
}

.sub_navi ul {
    display: flex;
    list-style: none;
}

.sub_navi ul li a {
    color: #000000;
    margin-right: 20px;
    border-bottom: 5px solid #3b0175;
    position: relative;
    padding: 5px 5px;

}

.sub_navi ul li a:hover {
    color: #ffffff;
}

.sub_navi ul li a::before {
    background: #3b0175;
    content: "";
    display: block;
    width: 100%;
    height: 0%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.sub_navi ul li a:hover::before {
    transition: 0.5s;
    height: 100%;
}

@media screen and (max-width:960px) {
    .main_navi {
        transform: translateX(150px);
        transition: 0.5s;
        opacity: 0;
        padding: 30px;
        right: 0;
        top: 0;
        height: auto;
        overflow: hidden;
        width: 50%;
        position: absolute;
        background-color: #3b0175;
    }

    .main_navi.open {
        transform: translateX(0);
        opacity: 1;
    }

    .main_navi ul {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
    }

    .main_navi ul li a {
        font-size: 20px;
        border: none;
        color: #ffffff;
        padding: 5px 5px;
    }

    .main_navi ul li a:hover {
        text-decoration: underline;
        opacity: 0.5;
    }

    .main_navi ul li a::before {
        display: none;
    }

    .hamburger_btn {
        position: absolute;
        top: 20px;
        right: 16px;
        margin: 18px 10px 0 0;
        z-index: 9999;
    }

    .hamburger_btn:hover {
        cursor: pointer;
    }

    .hamburger_btn span {
        display: block;
        position: relative;
        height: 2px;
        width: 30px;
        background-color: #3b0175;
        z-index: 999;
        transition: 0.5s;
    }

    .hamburger_btn span:nth-child(2) {
        margin: 8px 0;
    }

    .hamburger_btn.open span:nth-child(1) {
        top: 10px;
        transform: rotate(45deg);
        background-color: #ffffff;
    }

    .hamburger_btn.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger_btn.open span:nth-child(3) {
        top: -10px;
        transform: rotate(-45deg);
        background-color: #ffffff;
    }
    .contact_container{
        height:700px;
        flex-direction: column;
        gap:30px;
    }
    .mail_box {
        width: 100%;
        border: 5px solid #ffffff;
        z-index: 99;
        height:auto;
        padding: 20px;
    }
    .mail_box img{
        width:100px;
    }
    .mail_box:hover {
        opacity: 0.5;
        transition: 0.5s;
        background-color: #ffffff24;
    }
    .other_box{
        flex-direction: column;
        gap:30px;
        height:auto;
    }
    .tel_box{
        padding:20px;
        width:100%;
        height:auto;
    }
    .access_box{
        padding: 20px;
        width:100%;
        height:auto;
    }
    .tel_box h3 {
    font-size: 20px;
    padding-bottom: 20px;
    }
    .access_link h3{
        font-size: 30px;
    }
 
    .contact_frm_link h3 {
        font-size: 20px;
        padding-bottom: 30px;
    }

    .sub_navi {
        display: none;
    }
}
@media screen and (max-width:480px) {
    .header_wrapper img {
        width:80%;
        height:auto;
    }
    .top_catch{
        padding-top:100px;
    }
    .top_catch h1{
        font-size: 25px;
    }
    .main_navi{
        padding-left:0;
        padding-right: 0;
        padding-top:70px;
    }
        .main_navi ul li a{
            font-size: 16px;
        }
        
    .heading h2{
        font-size: 30px;
    }
     .tel_box h3 {
    font-size: 20px;
    padding-bottom: 20px;
    }
    .access_link h3{
        font-size: 30px;
    }
    .contact_frm_link h3 {
        padding-bottom: 30px;
        font-size: 18px;
    }
    .footer_wrapper{
        text-align: center;
    }
    .footer_wrapper img{
        width:80%;
        height: auto;
    }
}