@charset "utf-8";
:root {
    --main-color: #EE7800;
}
html, * {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: "A1 Mincho", serif;
    color: #595757;
    padding-top: 270px; 
}
@media(max-width: 1024px) {
    body {
        padding-top: 110px;
    }
}
a {
    transition: .2s;
}
a:hover {
    opacity: 0.8;
}
.kerning {
    display: inline-block;
}
@font-face {
    font-family: "DF KaiSho Md";
    src:
    url("/assets/font/DF-KaiSho-Md.ttf") format("truetype"),
    url("/assets/font/DF-KaiSho-Md.woff") format("woff");
}

/* header */
header {
    position: fixed; /*← fixedで固定 */
    width: 100%; 
    height: 270px; 
    padding: 20px 60px; 
    box-sizing: border-box;
    top: 0; 
    left: 0; 
    display: flex; 
    align-items: center; 
    color: #595757;
    background: rgba(255,255,255, .9);
    z-index: 1000;
    background-image: url(/assets/img/bg01.jpg);
   background-position: top;
}

.header__inner {
    max-width: 1536px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 3% 50px 2%;
    margin-right: 0;
}
.logo img {
    height: 180px;
}
.nav {
    display: flex;
    flex-direction: row-reverse;
    gap: 4em;
}
.nav a {
    text-decoration: none;
    font-size: 20px;
    transition: .2s;
    position: relative;
    padding-top: 6.5%;
    font-family: "DF KaiSho Md", serif;
}
.nav a:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background-image: url('/assets/img/menu_gray-icon.svg');
    width: 20px;
    height: 20px;
    transition: .2s;
}
.nav a:hover {
    opacity: .8;
}
.nav a:hover:before {
    background-image: url('/assets/img/menu_orange-icon.svg');
}
.sec__first-view {
    position: relative;
    width: 100%;
}
.sec__first-view img {
    width: 100%;
}
.menu-toggle { visibility: hidden;}
@media(min-width: 1024px) {
    .menu-toggle {
        min-width: 220px;
    }
    .nav {
        margin-right: 4em;
    }
}
@media(max-width: 1200px) and (min-width: 1024px) {
     .menu-toggle { display: none; }   

}
@media(min-width: 1025px) {
    .nav a {
        -webkit-writing-mode: vertical-rl;
        -moz-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        -ms-writing-mode: vertical-rl;
        writing-mode: vertical-rl;
    }
     .nav a span {
        display: inline-block;
        transform: rotate(90deg);  
        -moz-transform: rotate(180deg);
    }
}
@media (max-width: 1024px) {
    .header {
        height: 110px;
        padding-right: 0;
        padding-left: 0;
    }
    .header__inner {
        padding-left: 10px;
        padding-right: 20px;
        padding-top: 3px;
        padding-bottom: 0px;
    }
    .logo img {
        height: auto;
        width: 107px;
    }
    .nav {
        display: none;
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255,255,255, .9);
        padding: 10px 0;
        transition: .2s;
        padding-top: 60px;
        cursor: pointer;
        transition: .2s;
    }
    .nav a {
        display: block;
        width: 100%;
        margin-bottom: 2em;
        writing-mode: normal;
        padding-top: 0;
        padding-left: 60px;
    }
    .nav a:before {
        left: 20px;
    }
    .menu-toggle {
        display: block;
        border: none;
        color: inherit;
        font-size: 24px;
        cursor: pointer;
        visibility: visible
    }
    .nav.active {
        display: block;
        transition: .2s;
    }
    .nav.active:after {
        position: fixed;
        right: 20px;
        top: 20px;
        content: '✕';
        width: 40px;
        height: 40px;
        z-index: 999;
        color: inherit;
        cursor: pointer;
        font-size: 24px;
    }
}
@media (max-width: 768px) {
    .header {
        background-position: center top;
    }
}

/* footer */
footer {
    text-align: center;
    padding: 6% 5% 0;
}
footer h2 {
    font-size: 28px;
}
footer img {
    max-width: 380px;
    margin: .25em auto 1em;
    width: 80%;
}
footer p {
    letter-spacing: 1.5px;
    line-height: 2;
}
footer p img {
    width: 40px;
}
footer .address {
    font-size: 25px;
}
footer .tel {
    font-size: 21px;
    letter-spacing: 3px;
}
footer .tel a {
    margin-left: .5%;
}
footer .insta-txt {
    font-size: 19px;
    margin-top: 1.5%;
    letter-spacing: 3px;
    margin-bottom: 4%;
}
footer .insta-txt img {
    vertical-align: middle;
    margin-left: .4em;
    display: inline-block;
    position: relative;
    top: 0px;
}
footer .copyright {
    font-size: 10px;
    position: relative;
    bottom: 0;
    padding: 1% 0;
}
@media(max-width: 767px) {
    footer {
        padding-top: 3em;
    }
    footer h2 {
        font-size: 20px;
    }
    footer img {
        width: 72%;
        margin-bottom: .5em;
    }
    footer .address {
        margin-top: .5em;
        font-size: 18px;
        line-height: 1.5;
    }
    footer .tel {
        font-size: 16px;
        line-height: 1.5;
        margin-top: 1em;
    }
    footer .insta-txt {
        margin-top: 2em;
        font-size: 14px;
        line-height: 1;
        margin-bottom: 2em;
    }
    footer .insta-txt img {
        width: 30px;
    }
}

/* common */
h2 {
    font-size: 32px;
    margin-bottom: .5em;
    font-weight: normal;
    letter-spacing: 3px;
}
@media(max-width: 768px) {
    h2 {
        font-size: 28px;
    }
}
.news-btn {
   border: 1px solid var(--main-color);
   background: #fff;
   padding: 5px;
   max-width: 500px;
   width: 95%;
   display: block;
   margin: 2.5em auto;
   transition: .2s;
   box-sizing: border-box;
   text-align: center;
}
.news-btn span {
    background: var(--main-color);
    color: #fff;
    font-family: "DF KaiSho Md", serif;
    padding: 2%;
    font-size: 27px;
    display: block;
}
@media(max-width: 768px) {
    .news-btn {
        width: 84%;
        margin-top: 20px;
        margin-bottom: 40px;
    }
    .news-btn span {
        font-size: 20px;
        line-height: 1;
        padding: 3%;
        letter-spacing: 1px;
    }
}
.cm__sec {
    position: relative;
    padding-top: 7%;
    padding-bottom: 7%;
}
@media(max-width: 767px) {
    .cm__sec {
        padding-top: 3.5em;
        padding-bottom: 3.5em;
    }
}
.cm__sec:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    background-position: top;
    background-size: cover;
    z-index: -1;
}

/* sec__topics */
.sec__topics {
    position: relative;
    font-family: "DF KaiSho Md", serif;
    text-align: center;
    font-size: 23px;
    line-height: 1.6;
    letter-spacing: 1.5px;
    padding-top: 2.5em;
    padding: 2.5em 5%;
}
.sec__topics, footer { position: relative; }
.sec__topics:before, footer:before {
     position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/img/bg01.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -99;       
}
.sec__topics:before {
    background-position: center;
}
.sec__topics p {
    max-width: 765px;
    margin: 0 auto;
    line-height: 1.8;
}
@media(max-width: 768px) {
    .sec__topics {
        font-size: 18px;
    }
}

/* sec__feature */
.sec__feature {
    background-image: url('/assets/img/feature_bg.jpg');
}
h2.vertical-txt {
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-align: center;
    margin:  0 auto;
    position: relative;
    padding-top: 30px;
}
h2.vertical-txt img {
    position: relative;
    top: -30px;
    width: 38px;
}
@media(max-width: 767px) {
    h2.vertical-txt img {
        top: -20px;
        width: 35px;
    }
}
.white__box {
    background-color: rgba(255,255,255, .6);
    max-width: 1000px;
    margin: 5% auto;
    width: 95%;
    padding: 6% 5% 5%;
}
.white__box h3 {
    color: #E17F24;
    text-align: center;
    margin-bottom: 3%;
    font-size: 26px;
    line-height: 1.5;
    font-weight: normal;
}
.white__box p {
    max-width: 780px;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 1.5px;
    margin: 0 auto 6%;
    width: 90%;
}
@media(max-width: 767px) {
    .white__box {
        padding: 3em 5% 1em;
        margin-top: 3em;
    }
    .white__box h3 {
        font-size: 22px;
    }
    .white__box p {
        font-size: 18px;
        margin-bottom: 2em;
        width: 100%;
        letter-spacing: 1px;
    }
}


/* sec__forcompany */
.sec__forcompany {
    background-image: url('/assets/img/forcompany_bg.jpg');
}
.sec__forcompany h2.vertical-txt {
    vertical-align: top;
    text-align: left; /* 文字列の左揃え */
    color: #fff;
    position: relative;
    line-height: 1.8;
    padding-top : 70px;
}
.sec__forcompany h2.vertical-txt img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
}
.sec__forcompany .white__box {
    background: rgba(255,255,255, .9);
}

.vertical-center {
    text-align: center;
}
.vertical-center h2 {
    display: inline-block;
}

/* sec__gallery */
.sec__gallery {
    display: flex;
}
.sec__gallery img {
    width: calc(100%/5);
}
@media(max-width: 460px) {
    .sec__gallery {
        flex-wrap: wrap;
    }
    .sec__gallery img {
        width: calc(100%/2);
    }
    .sec__gallery img:last-child {
        width: 100%;
    }
}