@charset "UTF-8";

/* font
---------------------------------------------------------- */
html {
    font-size: 62.5%;
}
body {
    text-align: left;
    color: #444444;
    line-height: 2.6;
    background: #fff;
    font-family: YuMincho, "ヒラギノ明朝 Pro W6", "Hiragino Mincho Pro", "游明朝","HGS明朝B", "HGS明朝E","メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: normal;
    font-size: 1.8rem;
}

/* common
---------------------------------------------------------- */
a {
    color: #9cd1c3;
}
a:link,
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    transition: .5s;
}
a.line:link,
a.line:visited {
    text-decoration: underline;
}
a.line:hover {
    text-decoration: none;
}
body {
    position: relative;
    -webkit-text-size-adjust: 100%;
}
button {
    cursor: pointer;
}
strong span {
    font-weight: bold;
}
p {
    margin-bottom: 25px;
}

.sp_none {
    display: block;
}
.pc_none {
    display: none;
}
table {
    width: 100%;
}
table td,table th {
    border-bottom: solid 1px #eee;
    padding: 2rem;
}
table th {
    width: 30%;
}

/*--------------------
form
--------------------*/
/* 共通 */
input[type="submit"],
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input,
select,
textarea {
    font-family: YuGothic, Osaka, "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
    font-size: 1.2rem;
}
input[type="file"] {
    font-size: .875rem;
}

/* layout
---------------------------------------------------------- */
#wrapper {
    display: flex;
    justify-content: space-between;
    background: url(../img/main_bg2.png) left top repeat;
}
#header {
    position: fixed;
    box-shadow: 0px 0px 2px 2px rgba(130,130,130,0.1);
    height: 100%;
    background: #fff;
}
#contents {
    margin-left: 14%;
    width: 86%;
    background: url(../img/main_bg1.png) right top no-repeat;
}
#main {
    margin: 0 0 0 16.5%;
    width: 1070px;
}

/* header
---------------------------------------------------------- */
#header {
    padding: 40px 0 40px 40px;
    position: fixed;
    z-index: 10000;
    width: 14%;
}
#header p {
    margin-bottom: 0;
}
.header_logo {
    margin-bottom: 45px;
    margin-right: 40px;
    text-align: center;
}
.header_logo img {
    margin-bottom: 45px;
    width: 50%;
}
.header_logo img:last-child {
    margin-bottom: 0;
    width: 20%;
}

/*header_nav*/
.header_nav li {
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
    z-index: 98;
}
.header_nav li a {
    display: block;
    box-sizing: border-box;
    color: #444444;
    font-size: 1.6rem;
    position: relative;
}
.header_nav li a:hover {
    opacity: 0.8;
}

.header_nav > ul > li:nth-child(2):hover {
    background: url(../img/ic_arrow01.svg) 95% center no-repeat;
    background-size: 15%;
}

/* main
---------------------------------------------------------- */
/*--------------------
Top
--------------------*/
.main_image {
    padding-top: 117px;
    width: 1340px;
}
#slide_wrapp {
    position: relative;
    overflow: hidden;
}
#slide_wrapp .slide_item {
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s linear, transform 10s linear;
    position: relative;
    z-index: 1;
}
#slide_wrapp .slide_item:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
}
#slide_wrapp .slide_item.show_ {
    opacity: 1;
}
#slide_wrapp .slide_item.zoom_ {
    transform: scale(1.1);
}
#slide_wrapp .slide_item img {
    display: block;
}
.tit1 {
    margin-top: 9rem;
    text-align: center;
    font-size: 4rem;
    padding-bottom: 3rem;
    background: url(../img/ico1.png) center bottom no-repeat;
}
#sec1 {
    display: flex;
    justify-content: flex-end;
    flex-direction: row-reverse;
}
#sec1 h3 img {
    width: 45px;
}

#sec1 p {
    writing-mode: vertical-rl;
    padding: 0 4rem;
}
#sec1,#sec2,#sec3,#sec4,#sec5 {
    margin-top: 60px;
}
#sec2 ul,#sec3 ul {
    display: flex;
    flex-wrap: wrap;
}
#sec2 ul li,#sec3 ul li {
    margin-bottom: 50px;
    width: 18%;
    margin-right: 2%;
}
#sec2 ul li:nth-last-child(5n),#sec3 ul li:nth-last-child(5n) {
    margin-right: 0;
}
#sec2 ul li:last-child,#sec2 ul li:nth-last-of-type(2){
    margin-bottom: 0;
}
#sec3 p {
    text-align: right;
    margin-bottom: 1rem;
}

.margin-top01{
    margin-top: 100px;
}

#sec4 .sec4_box1 {
    display: flex;
    justify-content: space-between;
}
#sec4 .sec4_box1 h3 {
    margin-bottom: 1rem;
}
#sec4 .sec4_box1 p {
    margin: 2rem 0 3rem 0;
}
#sec4 .sec4_box1 p a {
    color: #444;
}
.sec4_box3 {
    display: flex;
    justify-content: space-between;
}
#sec5 p {
    background: #ececec;
    padding: 1rem;
    text-align: center;
    margin-bottom: 4.5rem;
}
.warau_btn a {
    display: inline-block;
    color: #fff !important;
    background: url(../img/ic_link.svg) no-repeat 20% center #393859;
    background-size: 8%;
    text-align: center;
    padding: 1rem 2rem;
    width: 200px;
}
.warau_btn a:hover {
    opacity: 0.8;
}


.warau_btn02 a {
    display: inline-block;
    color: #fff !important;
    background: url(../img/ic_link.svg) no-repeat 10% center #333;
    background-size: 8%;
    text-align: center;
    padding: 1rem 2rem;
    width: 200px;
}
.warau_btn02 a:hover {
    opacity: 0.8;
}




/* お問い合わせ
---------------------------------------------------------- */
.contact .sub_main {
    background: url(../img/sub_contact.png) center top no-repeat;
}
.contact .sub_contents {
    padding-bottom: 95px;
}
.contact_comment {
    text-align: center;
    font-size: 16px;
    background: #f5f5f5;
    padding: 20px;
    margin: 130px 0 80px;
}
.nini {
    background: #eee;
    color: #333;
    display: inline-block;
    line-height: 1;
    font-size: 12px;
    padding: 3px;
}
.mfp_element_submit, .mfp_element_reset {
    background: #800e15;
    color: #fff;
    font-family: YuMincho, "ヒラギノ明朝 Pro W6", "Hiragino Mincho Pro", "游明朝","HGS明朝B", "HGS明朝E","メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.mfp_element_submit:hover, .mfp_element_reset:hover {
    background: #800e15;
    color: #fff;
    opacity: 0.8;
}


#contents.contact_contents {
    background: none;
    padding: 10rem 0 0 0;
}
.sub_main h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}
.sub_contents {
    writing-mode: horizontal-tb;
}
.sub_contents a {
    color: #444;
}

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

footer {
    margin: 10rem 0 0 0;
    padding: 4.5rem 0 0 0;
    background: #800e15;
    color: #fff;
}
.footer_box1 {
    width: 1070px;
    margin: 0 auto;
}
footer a {
    color: #fff;
    line-height: 1;
}
footer a:hover {
    opacity: 0.7;
}
.footer_nav1 nav ul {
    display: flex;
    justify-content: space-between;
    padding: 0 45px 35px 45px;
    border-bottom: solid 1px #fff;
}
#address {
    padding-top: 30px;
    margin-bottom: 0;
     text-align: center;
}
/*pagetop*/
#pagetop {
    position: fixed;
    right: 1rem;
    bottom: 0rem;
    transition: .5s;
    width: 2.5%;
}