@charset "UTF-8";

/*---------------------------------------------
  共通指定
----------------------------------------------*/

html * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ",sans-serif;
    max-width: 2000px;
    margin: 0 auto;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}
#wrap {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

a { color: #333; }

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.main {
    width: 100%;
    margin: 0 auto;
}
.main_teaser { margin-bottom: 50px; }

/* list */
.list_flex {
    display: flex;
    justify-content: space-between;
    width: 800px;
    margin: 0 auto 70px;
  }
  .list_img {
    width: 40%;
  }
  .flex_ul {
    width: 50%;
    margin-left: 10%;
  }
  .flex_ul li {
    padding-bottom: 1em;
  }
  .li_title {
    font-size: 1.2em;
    font-weight: bold;
  }

/*---------- header ----------*/
#header {
    width: 100%;
    height: 150px;
    background: none #e1e1e1;
    opacity: 0.8;
    position: absolute;
    z-index: 99;
}
.header_name {
    padding-top: 20px;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
}
#nav {
    width: 700px;
    margin: 20px auto 0;
}
#nav ul {
    display: flex;
    justify-content: space-between;
}
#nav ul li {
    display: flex;
    align-items: center;
}
#nav ul li:last-child { margin-right: 0; }
#nav ul li a {
    display: flex;
    padding: 0 10px;
    font-size: 22px;
}
#nav ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
#nav ul li a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #333;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
#nav ul li a:hover::after {
  transform: scale(1, 1);
}

/*---------- content ----------*/

.content {
    width: 100%;
}
.content_box  {
    width: 960px;
    margin: 0 auto;
    padding: 30px 0 40px;
}

.h2_title {
    width: 700px;
    height: 90px;
    line-height: 90px;
    margin: 0 auto 30px;
    text-align: center;
}
.h2_title {
    font-size: 36px;
    font-weight: bold;
}
.h3_title {
    height: 60px;
    line-height: 60px;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto 40px;
}
.h3_title span{
     position: relative;
     display: inline-block;
     padding: 0 0.5em;
}
.h3_title span::before, .h3_title span::after{
     position: absolute;
     top: 50%;
     content: '';
     width: 1.5em;
     height: 1px;
     background-color: black;
}
.h3_title span::before { left: 100%; }
.h3_title span::after { right: 100%; }
.h4_title {
    height: 40px;
    line-height: 40px;
    margin: 0 auto 30px;
    padding-left: 20px;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    border-bottom: solid 1px #333;
}
.h5_title {
    background: none transparent;
    padding: 0;
    margin-bottom: 10px;
}
.h6_title {
    background: none #e1e1e1;
    padding: 7px 7px 7px 20px;
    margin-bottom: 20px;
}

p { margin: 0; }

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
.image {
    margin: 0 auto 20px auto;
}
.text {
    width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
}

.h6_text {
    width: 780px;
    margin: 0 0 50px 20px;
}

ul { list-style: none; }

.mb_10 { margin-bottom: 10px; }
.mb_20 { margin-bottom: 20px; }
.mb_30 { margin-bottom: 30px; }
.mb_0 { margin-bottom: 0; }

.tw_btn_center { text-align: center; }


/*---------- キャプション 共通 ----------*/

.flex_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

figure {
    position: relative;
    overflow: hidden;
    width: 300px;
    margin-bottom: 50px;
}
figure h3 {
    height: auto;
    line-height: normal;
    margin: 0 0 5px;
    padding-left: 0;
    font-size: 18px;
    border: none;
}

figcaption {
    position: absolute;
    bottom: -60px;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 60px;
    background: rgba(0,0,0,.6);
    -webkit-transition: .3s;
    transition: .3s;
    color: #fff;
    padding: 0.3em 0 0 0.7em;
}
figure:hover figcaption {
    bottom: 0;
}

.icon {
    width: 50px;
    margin: 0 auto;
}



/*---------- トップに戻るボタン ----------*/

.topBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: block;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 25px;
    color: #333;
    width: 90px;
    height: 90px;
    text-align: center;
    line-height: 22px;
}
.topBtn:before {
    content: '\f102';
    position: absolute;
    width: 25px;
    height: 25px;
    top: -40px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}
.topBtn::after{
    content: 'PAGE TOP';
    font-size: 13px;
    color: #fff;
    position: absolute;
    top: 45px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    color: #333;
}
.topBtn:hover {
    opacity:0.7;
}




/*---------- footer ----------*/

#footer {
    width: 100%;
    height: 300px;
    margin: 0;
    background: none #e1e1e1;
    text-align: center;
}
.footer_box {
    width: 700px;
    height: 250px;
    margin: 0 auto;
    padding: 90px 0 0;
    display: flex;
    justify-content: space-between;
}
.footer_name {
    margin-bottom: 15px;
    font-size: 30px;
    font-weight: bold;
    text-align: left;
}
.footer_mail {
    font-size: 16px;
}

#footer .footer_navbox { width: 150px; }
#footer .footer_navbox ul li { display: flex; }
#footer .footer_navbox ul li a {
    display: flex;
    margin-bottom: 10px;
}
#footer .footer_navbox ul li a:hover { font-weight: bold; }

#footer .footer_mail a {
    display: flex;
}
#footer .footer_mail a img {
    width: 24px;
    height: 19px;
    margin-left: 10px;
}

.copyright {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    font-size: 12px;
}


/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 30px;
    top: 11px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}




/*---------- レスポンシブ ----------*/

@media screen and (max-width: 1200px){
    #header {
        height: 13vw
    }
    .header_name {
        padding-top: 1vw;
        font-size: 2.3em;
    }
    #nav {
        width: 50%;
        margin: 1vw auto 0;
    }
    #nav ul li a {
        font-size: 1.2em;
    }

    .flex_content {
        width: 90%;
        margin: 0 auto;
        justify-content: space-around;
    }

}/*1200*/

@media screen and (max-width: 960px){
    .content_box {
        width: 100%;
    }

}/*960*/


@media screen and (max-width: 768px){
/*タブレット用*/
    body {
        width: 100%;
    }

    .header_name {
        padding-top: 0.8vw;
        font-size: 1.5em;
    }
    #nav {
        margin: 0.8vw auto 0;
    }
    #nav ul li:last-child {
        display: block;
        padding: 3.5vw 0;
    }
    #nav ul li a {
        font-size: 1.1em;
    }
    #nav ul li a::after {
        display: none;
    }
    .main_teaser { margin-bottom: 5vw; }
    .content {
        width: 90%;
        margin: 0 auto;
    }
    .content_box {
        width: 100%;
        padding: 5vw 0 0;
    }

    .h2_title {
        width: 100%;
        height: auto;
        line-height: normal;
        margin: 0 auto 4vw;
        font-size: 2em;
    }
    .h3_title {
        height: auto;
        line-height: normal;
        font-size: 1.4em;
        margin: 4vw auto;
    }
    .h4_title {
        height: auto;
        line-height: normal;
        font-size: 1.1em;
        margin: 0 auto 2.5vw;
        padding-left: 0.5em;
    }
    .text {
        width: 95%;
        margin: 0 auto 3vw;
        font-size: 0.9em;
    }
    .h6_text {
        width: 95%;
        margin: 0 0 4vw 3vw;
    }

    .flex_content {
        width: 100%;
        margin: 0 auto 5vw;
    }
    figure {
        position: static;
        margin-bottom: 3.5vw;
    }
    figcaption {
        position: static;
        padding: 0.6em 0 0 0;
        background: none transparent;
        color: #333;
    }

    #footer {
        height: 27vw;
    }
    .footer_box {
        width: 80%;
        height: 20vw;
        padding: 5vw 0 0;
    }
    .footer_name {
        font-size: 1.5em;
        margin-bottom: 2vw;
    }
    .footer_mail {
        font-size: 1em;
    }
    #footer .footer_mail a img {
        width: 3.2vw;
        height: 2.5vw;
        margin-left: 1.5vw;
    }
    #footer .footer_navbox ul li {
        font-size: 1em;
    }
    #footer .footer_navbox ul li a {
        margin-bottom: 1vw;
    }
    .copyright {
        font-size: 0.7em;
    }

    /*---------- ハンバーガーメニュー ----------*/
    #header {
        height: 50px;
        position: fixed;
    }
    #mobile_head {
        width: 100%;
        height: 50px;
        background: none #e1e1e1;
        position: relative;
        z-index: 999;
    }
    #header.fixed .header_name,
    #header .header_name {
        padding-top: 0;
        position: absolute;
        top: 7px;
        left: 30px;
    }
    #nav {
        margin: 0 auto;
        position: absolute;
        top: -506px;
        background: #333;
        width: 100%;
        text-align: center;
        padding: 2vw 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #nav ul {
        display: block;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 0.9em;
    }
    #header #nav ul li a,
    #header.fixed #nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 3.5vw 0;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #nav スライドアニメーション */
    .open #nav {
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }

}/*768*/


@media screen and (max-width: 480px){
/*スマホ用*/
    #header {
        top: 0;
    }
    #nav-toggle {
        top: 10px;
        right: 12px;
    }
    #header.fixed .header_name,
    #header .header_name {
        font-size: 16px;
        top: 12px;
        left: 12px;
    }

    .content {
        width: 90%;
        margin-bottom: 8vw;
    }

    .h2_title {
        font-size: 1.6em;
    }
    .h3_title {
        font-size: 1.3em;
        margin: 0 auto 7vw;
    }
    .h4_title {
        margin: 0 auto 6vw;
        padding: 0 0 1vw;
        font-size: 1em;
        text-align: center;
    }
    .text {
        width: 100%;
        margin-bottom: 5vw;
    }

    figure {
        width: 80%;
        margin-bottom: 5.5vw;
    }
    figure img {
        width: 100%;
        height: auto;
    }
    
    #footer { height: 10vw; }
    .footer_box { display: none; }
    .copyright {
        font-size: 0.5em;
    }

    .topBtn {
        right: 10px;
        bottom: 5px;
        width: 70px;
        height: 50px;
        line-height: 16px;
    }
    .topBtn::after {
        top: 20px;
    }

}/*480*/

