@charset "utf-8";

/*------------------------------------------------------

共通設定

------------------------------------------------------*/
html {
    font-size: 100%;
}

body {
    font-family: serif;
}

main {
    background: url(../images/Bg_dotto_img.jpg);
}

a {
    text-decoration: none;
    color: #232323;
}

li {
    list-style: none;
}

.area_title {
    padding: 50px;
    text-align: center;
    font-size: 2em;
    font-weight: 600;
}

.wrap {
    width: 100%;
    max-width: 1080px;
    background: rgba(255,255,255,0.8);
    margin: 0 auto;
}

main .wrap {
    padding: 0 20px 30px 20px;
}

/*------------------------------------------------------

Header

------------------------------------------------------*/
#header {
    padding-top: 30px;
}

.container {
    display: flex;
    justify-content: space-between;
}

.header_nav ul {
    display: flex;
    justify-content: space-between;
    font-size: 1.5em;
}

.header_nav li {
    margin: 0 30px;
    padding-top: 15px;
}

/*アンダーライン
------------------------------------------------------*/
.header_nav ul li a {
    position: relative;
}

.header_nav ul li a::after {
    position: absolute;
    content: "";
    display: block;
    height: 3px;
    background-color: #ec595e;
    bottom: -6px;
    left: 0;
    width: 0;
    transition: all 0.5s ease;
}
.header_nav ul li a:hover::after {
    width: 100%;
}

/*MainVisual
------------------------------------------------------*/
.mainvisual {
    background-image: url(../images/main1_img.jpg);
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 700px;
}

.mainvisual img {
    display: block;
    width: 900px;
    margin: 0 auto;
    padding-top: 150px;
}

/*------------------------------------------------------

contents

------------------------------------------------------*/
#about_area {
    margin-bottom: 35px;
}

#about_area img {
    width: 600px;
    height: 300px;
}

.pageHd_text h3 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.35em;
    font-weight: 700;
}

.float_R {
    float: right;
    width: 400px;
    margin-left: 180px;
}
.float_L {
    float: left;
    width: 400px;
    margin-right: 180px;
}

.float_space {/* margin設定用のダミー */
    margin-bottom: 30px;
}

.clearfix:last-of-type {
    padding-bottom: 40px;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* middle_img
-------------------------------*/
.mainvisual2 {
    background-image: url(../images/main2_img.jpg);
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 500px;
}

/*------------------------------------------------------

activity_area

------------------------------------------------------*/
.slider_img h3 {
    text-align: center;
    width: 300px;
    font-size: 1.15em;
    padding-bottom: 10px;
}

.slider_img p {
    width: 300px;
    padding-top:10px;
}

/*------------------------------------------------------

news_area

------------------------------------------------------*/
#news_area {
    background: #eee;
    padding-bottom: 30px;
}

#news_area dl {
    display: flex;
    flex-wrap: wrap;
    margin-left: 150px;
}

#news_area dt {
    width: 20%;
    padding: 9px 0;
}

#news_area dd {
    width: 80%;
    padding: 9px 0;
}

/*アンダーライン
------------------------------------------------------*/
#news_area dl dd a {
    position: relative;
}

#news_area dl dd a::after {
    position: absolute;
    content: "";
    display: block;
    height: 3px;
    background-color: #ec595e;
    bottom: -9px;
    left: 0;
    width: 0;
    transition: all 0.5s ease;
}
#news_area dl dd a:hover::after {
    width: 100%;
}

/*------------------------------------------------------

footer

------------------------------------------------------*/
#footer {
    background: #ffd0af;
    text-align: center;
    padding: 50px 0 20px 0;
}

#footer p {
    font-size: 1.025em;
}

#footer p:first-child {
    font-size: 1.5em;
    font-weight: 700;
}

/*SNS_icon
-------------------------------------------------------*/
.iconGr {
    margin: 15px 0;
}

.iconGr a {
    padding: 0 15px;
}

/*footer_nav
-------------------------------------------------------*/
#footer ul li {
    display: inline-block;
    width: 150px;
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 10px;
    border-left: 2px solid #000;
}

#footer ul li:first-child {
    border: none;
}

#footer ul li:last-child {
    padding-left: 25px;
}

#footer ul li a {
    display: block;
}

/*------------------------------------------------------

mobile

------------------------------------------------------*/
@media screen and (max-width: 767px){

    h1 {
        text-align: center;
        padding: 10px 0;
    }
    
    h1 img {
        width: 120px;
        height: 120px;
    }

    #about_area {
        text-align: center;
    }

    .area_title {
        font-size: 1.3em;
    }

    #about_area .float_R,
    #about_area .float_L {
        width: 100%;
    }


    #about_area img {

        max-width: 450px;
        margin: 0 auto;
    }

    #about_area .pageHd_text p{
        width: 450px;
        text-align: left;
    }

    .container {
        display: block;
    }
    
    .pageHd_text p {
        width: 490px;
        text-align: center;
    }

    .SP_conts-body {
        position: relative;
        width: 100vw;
    }

    .SP_hamburger {
        width: 40px;
        height: 32px;
        position: absolute;
        top: 10px;
        right: 16px;
        z-index: 10;
        margin-right:44px;
        /*border: 1px solid #000;/* 確認用 */
    }
    
    .hamburger_bar {
        display: block;
        width: 100%;
        height: 4px;
        position: absolute;
        background: #000;
        transition: top 0.24s, transform 0.24s, opacity 0.24s;
    }

    /* ハンバーガーアイコン */

    .hamburger_bar:nth-child(1) {
        top: 0;
    }
      
    .hamburger_bar:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger_bar:nth-child(3) {
        top: 100%;
        transform: translateY(-100%);
    }

    .hamburger_bar.is_active:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(135deg);
    }
      
    .hamburger_bar.is_active:nth-child(2) {
        transform: translate(50%, -50%);
        opacity: 0;
    }
      
    .hamburger_bar.is_active:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-135deg);
    }
      
    /* ナビゲーションエリア */

    .header_nav {
        position: absolute;
        left: 0;
        right: 0;
        z-index: 9;
        background: #7eff75;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.24s;
        pointer-events: none;
        font-size: 1.5em;
        text-align: center;
    }
      
    .header_nav.is_active {
        opacity: 0.9;
        pointer-events: auto;
    }
      
    .SP_nav-list {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .mainvisual,
    .mainvisual2 {
        height: 350px;
    }

    /* float,clearfix解除 */

    .float_R,
    .float_L {
        float: none;
        width: 600px;
        margin: 0 auto;
    }

    .clearfix::after {
        clear: none;
    }

    .pageHd_text h3 {
        margin-top: 20px;
    }

    .pageHd_text p {
        width: 500px;
        margin: 0 auto;
    }

    .float_space {
        margin: 0;
    }

    .slider {
        margin: 0 auto;
        max-width: 767px;
        width: 50%;
      }

    .slider_img {
        width: 50%;
    }

    /* newsエリア */

    #news_area dl {
        margin-left: 30px;
    }

    .area_title {
        margin: 30px;
    }

    /* footerエリア */

    #footer ul li {
        width: 70px;
        font-size: 1em;
    }

    #footer ul li:last-child {
        width: 110px;
        padding-left: 10px;
    }
}