@charset "utf-8";
/*------------------------------------------------------------
	index
------------------------------------------------------------*/
.mainVisual {
    height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    background: url("../img/index/main_img.jpg") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}
.mainVisual .content {
    max-width: inherit;
    width: 100%;
    text-align: center;
}
.mainVisual h2 {
    position: relative;
    padding-top: 15px;
    display: inline-block;
    color: white;
    font-size: 2rem;
    letter-spacing: 0.25em;
}
.mainVisual h2 .mask {
    position: absolute;
    transform: translate(-50%,-50%);
    height: 100%;
    left: 50%;
    top: 50%;
}
.mainVisual .mask-brown {
    background-color: #b1ac9b;
}
.mainVisual .mask-white {
    background-color: #fff;
}
.mainVisual h2 .txtSpan {
    display: block;
    margin-bottom: 50px;
}
.mainVisual h2 .txtWrap {
    display: block;
    overflow: hidden;
}
.mainVisual h2 .txtInner {
    display: inline-block;
    transform: translateY(100%);
}
#scrolldown {
    padding-bottom: 90px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
#scrolldown span {
  width: 15px;
  height: 70px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: block;
  overflow: hidden; 
}
#scrolldown span::before {
    content: "";
    display: block;
    width: 1px;
    height: 70px;
    background: #fff;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
#scrolldown span::after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    box-sizing: border-box;
    border: 2px solid #fff;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -15px);
    animation: scrolldown 1.2s ease-out 0s infinite;
}
@keyframes scrolldown {
    0% {
        transform: translate(-50%, -12px); 
    }
    100% {
        transform: translate(-50%, 70px); 
    } 
}
.mainBox {
    background-color: white;
    position: relative;
    z-index: 10;
}
.about {
    padding: 120px 0 156px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.about .photoBox {
    width: 445px;
    height: 445px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(#004b9e 0%, #003269 100%);
}
.about .textBox {
    width: 52.5%;
    padding: 30px 84px 0;
    box-sizing: border-box;
}
.about p {
    letter-spacing: 0.12em;
    line-height: 2.67;
}
.service p {
    letter-spacing: 0.12em;
}
.service .txt {
    text-align: center;
    margin-bottom: 64px;
    padding-top: 10px;
}
.service .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
}
.service .inner .photoBox {
    width: calc(50% + 555px);
    margin-left: -443px;
    order: 2;
}
.service .inner .textBox {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    color: white;
    position: relative;
    z-index: 1;
}
.service .inner .textBox:after {
	width: calc(100% + 287px);  
	height: 100%;
    background: url("../img/common/bg.png") no-repeat center center;
    background-size: cover;
	position: absolute;  
	top: 0;
	right: -287px;  
	content: ""; 
    z-index: -1;
}
.service .inner .sub {
    padding: 20px 0;
    box-sizing: border-box;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
}
.service .inner .sub > div {
    width: 100%;
}
.service h4 {
    margin-bottom: 12px;
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.service .comLink02 {
    margin-right: 11px;
}
.message {
    margin-bottom: 110px;
    padding: 142px 0 100px;
    background-color: #F4F4F4;
}
.message p {
    letter-spacing: 0.12em;
    line-height: 2.67;
}
.message .txt {
    text-align: center;
    margin-bottom: 49px;
}
.message .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.message .inner .photoBox {
    width: 48.6%;
    order: 2;
    margin-left: -180px;
}
.message .inner .photoBox img {
    width: 100%;
}
.message .inner .textBox {
    margin-top: 237px;
    box-sizing: border-box;
    padding: 75px 242px 25px  82px;
    background-color: white;
    width: calc(50% + 175px);
    margin-right: auto;
}
.message .inner .textBox p {
    margin-bottom: 40px;
}
.message .inner .textBox p:last-child {
    margin-bottom: 0;
}
.message .inner .textBox .text {
    text-align: right;
    margin-right: -155px;
    padding-top: 18px;
    letter-spacing: 0.06em;
}
.ulBox {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 500;
    right: 100px;
    mix-blend-mode: difference; 
    color: white;
}
.ulBox li {
    margin-bottom: 20px;
}
.ulBox a {
    padding-left: 25px;
    color: white;
    font-size: 1.4rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    display: inline-block;
    background: url("../img/index/icon02.png") no-repeat left center;
    background-size: 16px auto;
}
.ulBox .on a {
    background-image: url("../img/index/icon01.png");
}
.posTextImg {
    position: fixed;
    top: 50%;
    left: 100px;
    z-index: 500;
    transform: translateY(-50%);
    mix-blend-mode: difference; 
    color: white;
}

@media all and (max-width: 896px) {
    .mainVisual {
        height: 500px;
        background-image: url("../img/index/sp_main_img.jpg");
        background-size: 100% auto;
    }
    .posTextImg,
    .ulBox {
        display: none;
    }
    .mainVisual h2 {
        padding-top: 43px;
        font-size: 1.4rem;
    }
    .mainVisual h2 .txtSpan {
        margin: 0 30px 20px;
    }
    #scrolldown span {
        height: 50px;
    }
    #scrolldown span::after {
        width: 7.5px;
        height: 7.5px;
        transform: translate(-50%, -7.5px);
    }
    #scrolldown {
        padding-bottom: 58px;
    }
    #scrolldown img {
        width: 7px;
        margin-left: 2px;
    }
    .about {
        padding: 50px 0;
        display: block;
    }
    .about .textBox {
        width: auto;
        padding: 0 20px 33px;
    }
    .about .photoBox {
        width: 100%;
        height: 200px;
    }
    .about .photoBox img {
        width: 118px;
    }
    .service .txt {
        padding-top: 5px;
    }
    .service .txt {
        margin-bottom: 38px;
    }
    .service .inner {
        display: block;
        position: relative;
    }
    .service .inner .photoBox {
        width: auto;
        margin: 0;
    }
    .service .inner .textBox {
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: calc(100% - 60px);
    }
    .service .inner .sub {
        width: auto;
        padding: 5px 10px 5px 50px;
        height: 120px;
        box-sizing: border-box;
    }
    .service .inner .textBox::after {
        width: 100%;
        right: 0;
    }
    .service h4 {
        margin-bottom: 5px;
        font-size: 2.5rem;
    }
    .service .comLink02 {
        margin: 0 0 0 40px;
    }
    .message {
        margin-bottom: 31px;
        padding: 54px 0 35px;
    }
    .message .headLine01 .txtSpan img {
        max-height: 41px;
    }
    .message .txt {
        margin-bottom: 40px;
    }
    .message .inner {
        display: block;
        margin: 0 -10px;
    }
    .message .inner .photoBox {
        width: 87.6%;
        margin: 0 -11px 0 auto;
    }
    .message .inner .textBox {
        width: 100%;
        margin-top: -84px;
        padding: 110px 26px 20px;
    }
    .message .inner .textBox p {
        margin-bottom: 20px;
    }
    .message .inner .textBox .text {
        margin: -9px 4px 0 0;
        padding: 0;
    }
    
    
    
}

@media all and (max-width: 374px) {
    .service .inner .sub {
        padding-left: 20px;
    }
    .mainVisual {
        height: 420px;
    }
}