@charset "utf-8";

body{
	color: #333;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	word-wrap: break-word;
}

body.appear{
    background:#fbfbfb;
}

*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

img{
    /*width: 100%;*/
    height: auto;
}

/* font-family */

h2.heading{
    font-size: 70px;
    color: #3074BB;
    animation-delay: 0.3s;
}

h3.heading{
    font-size: 60px;
    color: #3074BB;
}

@media screen and (max-width:960px) {

}

@media screen and (max-width:530px) {

h2.heading {
}

h3.heading {
}

}

#container{
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
  }

/* header */

#header{
    background:#fff;
    opacity: .7;
}

#header h1{
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    position: absolute;
    top: 5px;
    left:50%;
    transform: translateX(-50%);
    color:#3074BB;
}

#g-nav ul{
    display: flex;
    padding: 0 0 0 5%;
}

#g-nav ul li{
  letter-spacing: 0.1em;
    white-space: nowrap;
}

#g-nav ul li a{
    /*display: block;*/
    padding:6px 15px;
}

@media screen and (max-width:1300px) {
#g-nav ul{
    /*display: block;*/
    padding: 0;
}

#g-nav ul li a{
    padding:6px 15px;
}
}

#header ul#utility-navi{
    position: fixed;
    top:0;
    right:0;
    z-index: 999;
    display: flex;
    font-size: 0.8rem;
}

#header ul#utility-navi li{
    text-align: center;
}

#header ul#utility-navi li span{
    display: block;
}

#header ul#utility-navi li a{
    color: #fff;
    padding: 20px 0;
    display: block;
    width:60px;
    height: 60px;
    transition: all .5s;
}

#header ul#utility-navi li img{
    width:35%;
}

#header ul#utility-navi li:first-child a{
    background:#3074BB;
}

#header ul#utility-navi li:first-child a:hover{
    background:#005EBD;
}

#header ul#utility-navi li:last-child a{
    background:#005EBD;
}

#header ul#utility-navi li:last-child a:hover{
    background:#3074BB;
}

@media screen and (max-width:768px) {

#header h1{
    top:9px;
    transform: translateX(-70%);
}


#header ul#utility-navi li span{
    display:none;
}

#header ul#utility-navi li a{
    width: 60px;
    height: 60px;
    padding: 20px 0;
}

#header ul#utility-navi li img {
    width: 45%;
    margin: 17px 0 0 0px;
}

}

@media screen and (max-width:530px) {

#header h1{
    font-size: 1.3rem;
    transform: translateX(-50%);
}

#g-nav ul li:last-child{
     display: block;
}

#header ul#utility-navi li:first-child{
    display: none;
}

#header ul#utility-navi li:last-child a{
     background:#666;
     padding: 20px 0;
}

#header ul#utility-navi li:last-child a:hover{
     background:#888;
}
}
/* lead */

#lead{
    position: relative;
    padding: 0 0 0 0;
    /*height: 100vh;*/

}

#keyVisualArea{
    width: 100%;
    height: auto;
    /*max-height: 50vh;*/
    position: relative;
    top: 0;
    left:0;
    z-index: -1;
}

#keyVisualArea #slider{
    width:100%;
    /*height: 80vh;*/
}

#lead h2.heading{
     position: absolute;
    top:200px;
     right:10%;
}

#lead .lead{
    position: absolute;
    top:320px;
    right:4%;
    font-size: 2rem;
    letter-spacing: 0.2em;
    line-height: 1.6;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    white-space: nowrap;
}

#lead .lead span{
     display: block;
    padding: 100px 0 0 0;
}

@media screen and (max-width:1200px) {
    #lead .lead{
        font-size:1.8rem;
        right: 2.5%;
    }
}

@media screen and (max-width:960px) {
    #lead .lead{
        font-size:1.6rem;
        right: 3%;
    }
}

@media screen and (max-width:768px) {

#keyVisualArea {
    width: 100%;
   /* height: 50vh; */
    left: 0;
}

#lead h2.heading{
    top: 160px;
}

#lead{
    padding: 0 0 0 0;
}

#lead .lead{
    right:7%;
    top:260px;
}

#news{
/* position: absolute;
    left: 20px;
    bottom: -40px;
    width: 90%;
    padding: 20px; */
}

}

@media screen and (max-width:600px) {

#keyVisualArea {
   /* height: 50vh; */
}

#lead .lead {
    font-size: 1.3rem;
    right:5%;
}

#news{
/* position: absolute;
    left: 20px;
    bottom: -60px;
    width: 90%;
    padding: 20px; */
}

}

@media screen and (max-width:350px) {
#lead .lead {
    right:2%;
}

}

/* business */

#business{
    position: relative;
    text-align: center;
    padding: 0px;
}

#business h2.heading,
#business h3.heading {
    margin-bottom: -12px;
    font-style: italic;
}

#business header{
    background:#3074BB;
    color: #fff;
    width: 100%;
    padding: 40px 0 20px;
    z-index: 1;
}

#business header h2{
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    letter-spacing: 0.1em;
}

#business header p{
    margin: 0 0 30px 0;
}

#business header p br{
     display: none;
}

#business .business-area{
    background:#fff;
    padding: 70px;
    width: 80%;
    position: relative;
    top:-50px;
    left: auto;
    z-index: 2;
    border-radius: 16px;
    box-shadow: 0px 4px 4px rgba(220,220,220,.6);
    -webkit-filter: drop-shadow(0px 4px 4px rgba(220,220,220,.6));
    filter: drop-shadow(0px 4px 4px rgba(220,220,220,.6));
}


#business .business-area ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    transform:  translate3d(0, 0, 0);
}

#business .business-area ul li{
    opacity: 0;
    width: 28%;
    padding: 0px;
}

#business .business-area ul li a{
    /*display: block;*/
}

@media screen and (max-width:960px) {
    #business header{
        width:100%;
    }
    #business .business-area{
        width:80%;
        left: 0%;
        padding: 60px 40px 50px;
    }
#business .business-area ul li{
    width: 100%;
    }

#business header p br{
     display:block;
}
}

@media screen and (max-width:768px) {
    #business{
        padding: 0 0 0 0;
    }
}

@media screen and (max-width:550px) {
    #business .business-area{
    width: 90%;
    left: 0%;
    }

    #business .business-area ul li {
    width: 80%;
}

}

@media screen and (max-width:400px) {
    #business .business-area{
    width:100%;
    left:0;
    font-size: 0.9rem;
}

}

/* company / message */

#company,
#message,
#aboutus,
#history {
    position: relative;
    padding: 100px 70px;

}

#company h2,
#message h2{
    position: absolute;
    top: 12%;
    left: 14%;
    z-index: 2;
}

.company-area,
.message-area{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

/*
.company-area::after,
.message-area::after{
content:'';
 position: absolute;
 width: 85%;
 height: 70%;
 padding-bottom: 30px;
 background:#D5E3F1;
 right: 10%;
 top: 20%;
 z-index: -1;
}*/

.company-img{
    background:url("https://marukita17.co.jp/wp/wp-content/uploads/2021/08/IMG_1146-scaled.jpg") no-repeat center;
    background-size: cover;
    /*height: 50vh;*/
    width:38%;
}

.message-img{
    background:url("https://marukita17.co.jp/wp/wp-content/uploads/2021/08/IMG_1159-scaled.jpg") no-repeat center;
    background-size: cover;
    /*height: 50vh;*/
    width:38%;
}


.company-content,
.message-content{
    display: flex;
    justify-content: center;
    padding:80px 0 80px;
    width:50%;
}

.aboutus-content{
    display: flex;
    justify-content: center;
    padding:80px 0 80px;
    width:50%;
}


.company-content h3,
.message-content h3{
    font-size:1.5rem;
    line-height: 2.5;
}

_:-ms-lang(x)::-ms-backdrop, .company-content h3,
_:-ms-lang(x)::-ms-backdrop, .message-content h3{/*IE11用ハック*/
    width:30%;
}

.company-content p,
.message-content p,
.aboutus-content p{
    line-height: 2;
    margin: 0 0 32px 0px;
}

_:-ms-lang(x)::-ms-backdrop, .company-content p,
_:-ms-lang(x)::-ms-backdrop, .message-content p{/*IE11用ハック*/
    width:60%;
}

_:-ms-lang(x)::-ms-backdrop, .company-content .company-btn,
_:-ms-lang(x)::-ms-backdrop, .message-content .message-btn{/*IE11用ハック*/
    width:10%;
}

.company-box,
.message-box,
.aboutus-box{
    margin-top: 16px;
}

@media screen and (max-width:1280px) {

.company-content h3,
.message-content h3,
.aboutus-content h3{
    font-weight: bold;
    line-height: 2;
    margin: 0 0 0 10px;
}

.company-content p,
.message-content p,
.aboutus-content p{
    line-height: 2.5;
    margin: 0 0 32px 0px;
}

}

@media screen and (max-width:1000px) {

.company-content p,
.message-content p,
.aboutus-content p{
    line-height: 2;
}
}


@media screen and (max-width:768px) {

#company,
#message,
#aboutus,
#history {
    padding: 0 30px;
}

#company h2,
#message h2{
    left: 0%;
}

#company h2,
#message h2,
#aboutus h2{
    position: relative;
    right: inherit;
    top: 40px;
}

.company-img,
.company-content,
.message-img,
.message-content,
.aboutus-img,
.aboutus-content{
    width:100%;
}

.company-img,
.message-img,
.aboutus-img{
    height:40vh;
}

.company-content,
.message-content{
    padding:50px 8px;
}

.aboutus-content{
    padding:50px 8px;
    display: flex;
    justify-content: center;
}

.company-content h3,
.company-content p,
.company-content .company-btn,
.message-content h3,
.message-content p,
.message-content .message-btn,
.aboutus-content h3,
.aboutus-content p,
.aboutus-content .aboutus-btn{
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 32px 0;
}

_:-ms-lang(x)::-ms-backdrop, .company-content h3,
_:-ms-lang(x)::-ms-backdrop, .company-content p,
_:-ms-lang(x)::-ms-backdrop, .company-content .company-btn,
_:-ms-lang(x)::-ms-backdrop, .message-content h3,
_:-ms-lang(x)::-ms-backdrop, .message-content p,
_:-ms-lang(x)::-ms-backdrop, .message-content .message-btn{/*IE11用ハック*/
    width:100%;
}

.company-content h3,
.message-content h3,
.aboutus-content h3{
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
}

.company-box,
.message-box,
.aboutus-box{
    display: block;
}

.company-box .btn,
.message-box .btn,
.aboutus-box .btn{
    padding: 10px;
    display: block;
}

.company-area::after,
.message-area::after{
 width: 90%;
 height: 45%;
}

}

@media screen and (max-width:430px) {

.company-content h3,
.company-content p,
.company-content .company-btn,
.message-content h3,
.message-content p,
.message-content .message-btn{
    margin: 30px 0 30px 0;
}

.company-img,
.message-img{
    height:20vh;
}

}

@media screen and (max-width:370px) {

.company-content p br,
.message-content p br {
    display: none;
    }
}

/* about us */


#aboutus h2{
    position: absolute;
    top: -3%;
    right: 20%;
    z-index: 2;
}

.aboutus-area{
    display: flex;
    flex-wrap: wrap;
}

/*
.aboutus-area::after{
    content:'';
     position: absolute;
     width: 85%;
     height: 70%;
     padding-bottom: 30px;
     background:#D5E3F1;
     left: 10%;
     top: 20%;
     z-index: -1;
}*/

.aboutus-img{
    background:url("https://marukita17.co.jp/wp/wp-content/uploads/2021/08/MARUKITA-scaled.jpg") no-repeat center;
    background-size: cover;
    /*height: 50vh;*/
    width: 38%;
}


@media screen and (max-width:768px) {
    #aboutus{
        padding: 0 30px;
    }
    #aboutus h2 {
        position: relative;
        right: inherit;
        top: 40px;
    }
        .aboutus-img,
        .aboutus-content{
            width:100%;
        }

        .aboutus-img{
            height:40vh;
        }

        .aboutus-content{
        padding:50px 8px;

        }

        .aboutus-area::after{
            width: 90%;
            height: 45%;
            left:10%;
            top: 18%;
       }

    }

    @media screen and (max-width:430px) {

        .aboutus-img{
            height:20vh;
        }
    }


/* history */

#history h2{
    position: absolute;
    right:30%;
    z-index: 2;
}

.history-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.history-img{
    background:url("//marukita17.co.jp/wp/wp-content/uploads/2021/08/defune02.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.history-content{
    width:45%;
    padding: 0px 0;
}


@media screen and (max-width:768px) {

#history{
    padding: 0 30px;
}

#history h2 {
    position: relative;
    right: inherit;
    top: 40px;
}

.history-box {
    margin-top: 2em !important;
}

    .history-img,
    .history-content{
        width:100%;
    }

    .history-img{
        height:40vh;
    }

    .history-content{
    padding:50px 0;
    }

}

@media screen and (max-width:430px) {

    .history-img{
        height:20vh;
    }

}

/* footer */

#footer{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;
    flex-direction: row-reverse;
}

#footer .footer-r{
    width:70%;
    padding: 40px;
    background:#3074BB;
    color: #fff;
}

#footer .footer-r .map-address{
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer .footer-r .map-address address{
     font-style: normal;
    margin: 0 0 30px 0;
}

#footer .footer-r .map-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 100px 0;
}

#footer .footer-r .map-area h2{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1.3rem;
    width:10%;
    height: 10em;
    letter-spacing: 0.3em;
    text-align: center;
}

#footer .footer-r .map-address{
    width:30%;
}

#footer .footer-r .map-block{
    width:50%;
}

#footer .footer-r .iframe-area {
  position: relative;
  padding-bottom: 51.65%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

#footer .footer-r .iframe-area iframe,
#footer .footer-r .iframe-area object,
#footer .footer-r .iframe-area embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#footer .footer-link{
    font-size: 0.9rem;
    padding: 0 0 0 50px;
}

#footer .footer-link li{
     display: inline-block;
}

#footer .footer-link a{
    color: #fff;
}

#footer .footer-link a::after{
    content:'/';
    padding: 0 10px;
}

#footer .footer-link li:last-child a::after{
    content:'';
    padding: 0;
}

#footer .footer-l{
    width:30%;
    background:#333333;
}

#footer .footer-l .footer-contact{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #cccccc;
    height: 40vh;
}

#footer .footer-l .footer-contact-area h2{
    font-size: 1.4rem;
    margin: 0 0 20px 0;
    letter-spacing: 0.1em;
}

#footer .footer-l .footer-contact-area a{
    font-size: 1.5rem;
    padding: 0 0 20px 0;
    display: inline-block;
}

#footer #copyright{
    background:#333333;
    color: #ccc;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
}

#footer #page-top{
    position: absolute;
    bottom:0;
    right: 0;
    width:80px;
    height:80px;
    background:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#footer #page-top span{
    display: inline-block;
  width: 13px;
  height: 13px;
  border-top:2px solid #3074BB;
  border-left: 2px solid #3074BB;
  transform: rotate(45deg);
}

@media screen and (max-width:1045px) {

#footer .footer-r,
#footer .footer-l{
    width:100%;
}

#footer .footer-l .footer-contact,
#footer #copyright{
    height: inherit;
    padding: 40px 0;
}

#footer .footer-r .map-area h2{
    width:5%;
}

#footer .footer-link{
    text-align: center;
}

}

@media screen and (max-width:768px) {
    #footer .footer-r{
        padding:80px 30px;
    }

    #footer .footer-r .map-area{
        margin: 0;
    }
    #footer .footer-link{
        display: none;
    }

#footer .footer-r .map-area h2{
    width:100%;
    height: inherit;
    margin: 0 0 50px 0;
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
}

#footer .footer-r .map-address{
        width:48%;
}

#footer #page-top{
        width:60px;
        height: 60px;
}

}

@media screen and (max-width:560px) {

#footer .footer-r .map-address,
#footer .footer-r .map-block{
        width:100%;
}

#footer .footer-r .map-address{
        margin: 0 0 50px 0;
}
}