@charset "utf-8";

html{
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

::before,
::after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
ul,
ol{
    list-style: none;
}
a{
    color: inherit;
    text-decoration: none;
}

body{
    font-family: sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1;
    background-color: #ffffff;
}
img{
    max-width: 100%;
}


/* ヘッダー */
.logo{
    width: 50px;
    margin-right: 10px;
}
.header-inner h1{
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size:30px;
    font-weight:900;
    max-width:100%;
    width:300px;
}

.header-inner{
    margin-left:auto;
    margin-right:auto;
    padding-left:40px;
    padding-right:40px;
    display:flex;
    justify-content:space-between;
    max-width:1200px;
    height:110px;
    align-items:center;
}

.site-menu-button{
    display:none;
}



.header{
    height:100px;
}

.site-menu ul{
    display:flex;
}

.site-menu ul li{
    margin-left:20px;
    margin-right:20px;
}
.site-menu ul li a{
    font-family: 'Montserrat', sans-serif;
    font-weight:bold;
}
@media (max-width:800px) {
    .logo{
        width: 30px;
        margin-right: 10px;
    }
    .header-inner h1{
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size:23px;
        font-weight:900;
        max-width:100%;
        width:300px;
    }
    .site-menu ul {
        display:block;
        text-align:center;
    }

    .site-menu li {
        margin-top:20px;
    }

    .header {
        position:fixed;
        top:0;
        left:0;
        right:0;
        background-color:#ffffff;
        height: 70px;
        z-index:10;
        box-shadow:0 3px 6px rgba(0,0,0,0.1);
    }

    .header-inner {
        padding-left:20px;
        padding-right:20px;
        height:100%;
        position:relative;
    }

    .header h1 {
        width: 100%;
    }

    .header-site-menu {
        height: calc(100vh - 50px);
        position:absolute;
        top: 100%;
        left:0;
        right:0;
        color:#ffffff;
        background-color:rgba(0,0,0,0.9);
        padding-top:30px;
        padding-bottom:50px;
        display:none;
    }

    .site-menu-button {
        display:block;
        width:44px;
        height:34px;
        background-image:url("../../assets/img/icon-menu.png");
        background-size:50%;
        background-position:center;
        background-repeat:no-repeat;
        background-color: transparent;
        border:none;
        border-radius:0;
        outline:none;
    }

    .header-site-menu.is-show {
        display: block;
    }

    .first {
        padding-top: 50px;
    }
}





/*一言理念*/
.first-view{
    height:calc(100vh - 110px);
    background-image:url("../../assets/img/22285088_l (1).jpg");
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    display:flex;
    align-items:center;
}
.first-view-text{
    width:100%;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
    padding-left:40px;
    padding-bottom:80px;
    color:#ffffff;
    font-weight:bold;
    text-shadow: 1px 1px 10px #4b2c14;
}
.first-view-text h2{
    font-family:sans-serif;
    font-size:70px;
    line-height:72px;
    padding-bottom: 20px;
}
.first-view-text h3{
    font-family:sans-serif;
    font-size:60px;
}
.lead{
    max-width:1200px;
    margin:60px auto;
}
.lead p{
    line-height:2;
    text-align: center;
    font-size:18px;
    letter-spacing: 0.1em;
    font-weight:bold;
    margin-top:30px;
    margin-bottom:30px;
}

@media (max-width:800px){
    .first-view{
        position:relative;
        height:50vh;
        background-image:url("../../assets/img/22285088_l (1).jpg");
        align-items:flex-start;
    }
    .first-view-text{
        position:absolute;
        top:50%;
        transform: translate3d(0,-50%,0);
        padding-top:0;
        padding-left:20px;
        padding-bottom: 0;
    }
    .first-view-text h2{
        font-size:40px;
        margin-top:15px;
        line-height:20px;
    }
    .first-view-text h3{
        font-size:30px;
        margin-top:5px;
    }
    .lead{
        padding-left:20px;
        padding-right:20px;
    }
    .lead p{
        text-align:center;
    }
}
@media (max-width:480px){
    .first-view{
        position:relative;
        height:50vh;
        background-image:url("../../assets/img/22285088_l (1).jpg");
        align-items:flex-start;
    }
    .first-view-text{
        position:absolute;
        top:50%;
        transform: translate3d(0,-50%,0);
        padding-top:0;
        padding-left:20px;
        padding-bottom: 0;
    }
    .first-view-text h2{
        font-size:30px;
        margin-top:15px;
    }
    .first-view-text h3{
        font-size:20px;
        margin-top:0;
    }
    .lead{
        padding-left:20px;
        padding-right:20px;
    }
    .lead p{
        text-align:center;
    }
}













/*サービス*/
.service{
    margin-bottom:100px;
    display:block;
}
.service-bg{
    height:200px;
    background-image:url("../../assets/img/photo.jpg");
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#ffffff;
    text-shadow:1px 1px 10px #4b2c14;
}
.service-bg h2{
    font-family: 'Montserrat', sans-serif;
    font-size:40px;
    font-weight:bold;
}
.service-bg h3{
    font-family: 'Montserrat', sans-serif;
    font-size:30px;
    margin-top:15px;
}
.service-a{
    display:flex;
    justify-content:space-between;
    width:930px;
    max-width:90%;
    margin-top:75px;
    margin-left:auto;
    margin-right:auto;
    align-items:flex-start;
}
.service-a img{
    width:360px;
}
.service-text{
    max-width:500px;
    margin-right:40px;
}
.service-text h2{
    font-size:30px;
    font-weight:bold;
    line-height:30px;
    margin-bottom: 10px;
}
.service-text h2::after{
    display:block;
    width:36px;
    height:3px;
    background-color:#000000;
    margin-top:20px;
}
.service-text h3{
    font-size:22px;
    font-weight:bold;
    line-height:30px;
}
.service-text h3::after{
    content:'';
    display:block;
    width:36px;
    height:3px;
    background-color:#000000;
    margin-top:20px;
}
.service-text p:first-of-type{
    margin-top:25px;
}
.service-text p{
    font-size:15px;
    line-height:28px;

}

@media (max-width:800px){
    .service-a{
        display:block;
        width:500px;
        margin-top:45px;
    }
    .service-text{
        margin-right:0;
    }
    .service-a img{
        width:100%;
        height:auto;
        margin-top:25px;
    }
}
@media (max-width: 480px){
    .service-bg{
        height:100px;
        background-image:url("../../assets/img/photo.jpg");
        background-repeat:no-repeat;
        background-position:center center;
        background-size:cover;
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        color:#ffffff;
        text-shadow:1px 1px 10px #000000;
    }
    .service-bg h2{
        font-family: 'Montserrat', sans-serif;
        font-size:24px;
        font-weight:bold;
    }
    .service-bg h3{
        font-family: 'Montserrat', sans-serif;
        font-size:20px;
        margin-top:15px;
    }
}

/*経営理念*/
.philosophy{
    background-color:#eeeeee;
    padding-top: 50px;
    padding-bottom:80px;
}
.philosophy-heading {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000000;
}
.philosophy-heading h2{
    font-family: 'Montserrat', sans-serif;
    font-size:40px;
    font-weight:bold;
}
.philosophy-heading h3{
    font-family: 'Montserrat', sans-serif;
    font-size:30px;
    margin-top:15px;
}
.philosophy-text{
    width:930px;
    max-width:90%;
    margin-top:20px;
    margin-left:auto;
    margin-right:auto;
    align-items:flex-start;
}
.philosophy-text h4{
    font-size:22px;
    font-weight:bold;
    text-align: center;
    letter-spacing: 0.2em;
    padding-bottom:30px;
    position: relative;
}
.philosophy-text h4::after{
    content:'';
    display: block;
    position: absolute;
    bottom:0;
    left:50%;
    height:2px;
    width:60px;
    background-color:#333333;
    transform:translateX(-50%);
}
.philosophy-text h4 span{
    display: block;
    font-size:18px;
    margin-top:10px;
    font-weight: normal;
}
.philosophy-text p{
    line-height:2;
    text-align: center;
    margin-top:30px;
}
@media (max-width:800px){
    .philosophy-text{
        display:block;
        width:500px;
        margin-top:45px;
    }
    .philosophy-text p{
        text-align:left;
    }
}
@media (max-width: 480px){
    .philosophy-heading {
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #000000;
    }
    .philosophy-heading h2{
        font-family: 'Montserrat', sans-serif;
        font-size:24px;
        font-weight:bold;
    }
    .philosophy-heading h3{
        font-family: 'Montserrat', sans-serif;
        font-size:20px;
        margin-top:15px;
    }
}







/* 代表挨拶 */
.greeting{
    margin-bottom:40px;
    padding-top: 50px;
}
.greeting-representative{
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000000;
}
.greeting-representative h2{
    font-family: 'Montserrat', sans-serif;
    font-size:40px;
    font-weight:bold;
}
.greeting-representative h3{
    font-family: 'Montserrat', sans-serif;
    font-size:30px;
    margin-top:15px;
}
.greeting-start{
    display:flex;
    justify-content:space-between;
    width:930px;
    max-width:90%;
    margin-top:20px;
    margin-left:auto;
    margin-right:auto;
    align-items:flex-start;
}
.representative{
    width:360px;
}
.greeting-text {
    margin-left:40px;
    margin-right:0;

}
.greeting-text p{
    font-size:15px;
    line-height:28px;
    margin-top:0;
    margin-bottom: 20px;
}
.greeting-name-rap{
    text-align: right;
}
.greeting-name{
    width:100%;
    max-width:60%;

}


@media (max-width:800px){
    .greeting-start{
        display:block;
        width:500px;
        margin-top:45px;
    }
    .greeting-text{
        margin-right:0;
        margin-top:20px;
        margin-left:0;
    }
    .greeting img{
        width:100%;
        height:auto;
        margin-top:25px;
    }
    .greeting-name-rap{
        text-align: right;
    }
    .greeting-name{
        width:100%;
        max-width:60%;
        margin-top: 10px;
    }
}
@media (max-width:480px){
    .greeting-representative{
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #000000;
    }
    .greeting-representative h2{
        font-family: 'Montserrat', sans-serif;
        font-size:24px;
        font-weight:bold;
    }
    .greeting-representative h3{
        font-family: 'Montserrat', sans-serif;
        font-size:20px;
        margin-top:15px;
    }
    .greeting-name-rap{
        text-align: right;
    }
    .greeting-name{
        width:100%;
        max-width:60%;
        margin-top: 10px;
    }
}




/* 会社概要 */
.company{
    margin-bottom:100px;
}
.company-overview{
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000000;
}
.company-overview h2{
    font-family: 'Montserrat', sans-serif;
    font-size:40px;
    font-weight:bold;
}
.company-overview h3{
    font-family: 'Montserrat', sans-serif;
    font-size:30px;
    margin-top:15px;
}
.company-table{
    display:flex;
    justify-content:space-between;
    width:930px;
    max-width:90%;
    margin-top:0;
    margin-left:auto;
    margin-right:auto;
    align-items:flex-start;
}

.table{
    width:100%;
    line-height: 1.5em;
}
.table th,
.table td{
    border:1px solid #ccc;
    padding:20px;

}
.table th{
    font-weight:bold;
    background-color:#dedede;
}


@media screen and (max-width: 800px) {
    .table{
        max-width: 500px;
        margin: 0 auto;
    }
    .table tbody{
        width:100%;
    }

    .table,
    .table tr,
    .table td,
    .table th {display:block;}
    .table th {width:auto;}
    .table{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;


    }

}
@media (max-width:480px){
    .company-overview h2{
        font-family: 'Montserrat', sans-serif;
        font-size:24px;
        font-weight:bold;
    }
    .company-overview h3{
        font-family: 'Montserrat', sans-serif;
        font-size:20px;
        margin-top:15px;
    }
}




/*フッター*/
.footer{
    padding-top:15px;
    padding-bottom:15px;
    display:flex;
    flex-direction:column;
    align-items:center;
    background-color: #333333;
}
.copyright{
    color: #ffffff;
    font-size:14px;
    margin-top:15px;
    margin-bottom: 15px;
}


/* css 追加 */
.service img{
    box-shadow: 2px 4px 10px 1px rgba(0,0,0, .1);
}
.philosophy{
    position: relative;
    background-color: #fdf2fa;
}
.philosophy_bg{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index: 0;
    overflow: hidden;
}
.philosophy-text,
.philosophy-heading{
    z-index: 20;
    position: relative;
}
.philosophy_bg .circle_container {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 10px;
    transform-origin: left center;
    z-index:10;
}
.philosophy_bg .circle_container .circle {
    position: absolute;
    border-radius: 100%;
    background: rgba(255, 255, 255, 0.7);
    left: 0;
    opacity: 0;
    -webkit-animation-name: move;
    animation-name: move;
    -webkit-animation-duration: 20s;
    animation-duration: 20s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@-webkit-keyframes move {
    0% {
        transform: translateX(0px);
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(150vmin);
        opacity: 0;
    }
}

@keyframes move {
    0% {
        transform: translateX(0px);
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(150vmin);
        opacity: 0;
    }
}
.philosophy_bg .name_container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80vmin;
    height: 80vmin;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100%;
    box-shadow: inset 0px 0px 30px 30px rgba(200, 200, 200, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.philosophy_bg .name_container > div {
    font-family: "Pacifico", cursive;
    color: rgba(255, 255, 255, 0.7);
}
.philosophy_bg .name_container .name {
    font-size: 5.5vmax;
}
.philosophy_bg .name_container .designation {
    margin-top: 10px;
    font-size: 2vmax;
}

.company{
    background-color: rgba(222, 222, 222, 0.2);
    padding-bottom: 100px;
    margin-bottom:0;
}
.company .table td{
    background-color:#ffffff;
}

.site-menu ul{
    align-items: center;
}
.site-menu ul li{
    margin:0 15px;
}
.site-menu ul li a svg{
    height:24px;
    width:auto;
    fill: #333333;
}
@media (min-width: 801px){
    .site-menu ul li a span{
        display: none;
    }
}
@media (max-width: 800px){
    .site-menu ul li:first-child a{
        border-top: solid 1px rgba(255, 255, 255, 0.6);
    }
    .site-menu ul li a {
        display: block;
        padding: 15px;
        border-bottom: solid 1px rgba(255, 255, 255, 0.6);
    }
    .site-menu ul li a svg{
        display: none;
    }
}

.first-view-text h2{
    letter-spacing: 0.1em;
}
.first-view-text h3{
    font-size:40px;
    font-weight:normal;
    letter-spacing: 0.1em;
}
@media (max-width: 800px){
    .first-view-text h3{
        font-size:24px;
    }
}
@media (max-width: 480px){
    .first-view-text h3 {
        font-size: 20px;
        margin-top: 0;
    }
}