﻿@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
body {
    margin: 0;
    -webkit-text-size-adjust: 100%;
}

main {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: #333333;
    background-color: #F8F8F8;
    /*background-image: url(../image/background/beige-gray.webp);*/
}

.main_header {
    margin: 75px auto 0 auto;
    text-align: center;
    max-height: 200px;
    overflow: hidden;
}

#header_img {
    width: 100vw;
    height: 200px;
}

h1 {
    margin: 0 auto;
    text-align: center;
    background: -moz-linear-gradient(to bottom,#17219B,#172155 50%,#17219B); 
    background: -webkit-linear-gradient(to bottom#17219B,#172155 50%,#17219B); 
    background: linear-gradient(to bottom,#17219B,#172155 50%,#17219B); 
    color: white;
    font-weight: 500;
    width: 100%;
    height: 65px;
    line-height: 1.9;
}

h2 {
    padding: 0 3%;
    margin: 100px auto;
    max-width: 1200px;
    font-weight: 500;
}

.text_left, .text_right {
    /* コンテンツを横並び */
    display: flex;
    /* 「display: flex;」のプロパティを用いて横並びにしたコンテンツ間のスペース幅を指定 */
    justify-content: space-around;
    /* 「display: flex;」のプロパティを用いて横並びにしたコンテンツを上下中央揃えにする */
    align-items: center;
    /* コンテンツの上下に100pxのスペースを作り横はautoで中央揃え */
    margin: 100px auto;
    /* コンテンツ幅の最大値を1200pxに指定 */
    max-width: 1200px;
    /* テキストを均等割り付け */
    text-align: justify;
}

.text_area_l, .text_area_r {
    width: 550px;
    letter-spacing: 0.1em;
    line-height: 2em;
}

.text_title {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 0;
    position: relative;
    padding-bottom: 12px;
    width: 100%;
    /* border-bottom: 3px solid  #D0CECE; */
    border-bottom: 3px solid  #D5D0C9;
}
/* title部分の色バイカラー部分 */
.text_title:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: 3px solid  #172177;
    bottom: -3px;
    /* widthを増やすとエナジーブルー部分が多くなる */
    width: 24%;
}

.ceo_name {
    text-align: right;
    width: 100%;
}

#last_contents {
    margin-bottom: 0;
    padding-bottom: 100px;
}

#summary_multi, #h2_multi {
    display: none;!important;
}

.summary_img {
    width: 550px;
    height: 367px;
    box-shadow: 10px 10px 0 #E0DCD6, 20px 20px 0 #D5D0C9;
}

#carrier_img_area {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

#carrier_img {
    margin: 0 auto;
}

.intoroduction_link {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.intoroduction_title {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 0;
    /* padding-left:35px; */
    position: relative;
    padding-bottom: 12px;
    width: 100%;
    /* border-bottom: 3px solid  #D5D0C9; */
}

/* .intoroduction_title:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: 3px solid  #172177;
    bottom: -3px;
    width: 24%;
} */

#intoroduction_link_area {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.senior_img {
    width: 267px;
    height: 400px;
}

.senior_img_area:hover {
    opacity: 0.6;
    transform: scale(1.1, 1.1);
    transition: 1s all;
}

.senior_img_area {
    position: relative;
    height: 400px;
}

.senior_info_area {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.senior_info {
    margin: 0;
    text-align: center;
}

/* ページトップ機能 */
.btn-top {
    position: fixed;
    z-index: 1;
    right: 50px;
    bottom: 440px;
    width: 45px;
    height: 45px;
}

.btn-top img {
    position: relative;
    display: block;
    width: 100px;
    height: 100px;
    cursor: pointer;
}


@media all and (-ms-high-contrast: none) {
    #carrier_img {
        margin: 0;
    }
}

@media screen and (max-width: 1200px) and (orientation:landscape){
    #summary_multi, #h2_multi {
        display: none;
    }
    .summary_img {
        width: 450px;
        height: 300px;
    }
    .text_area_l, .text_area_r {
        width: 450px;
    }
    .text_left, .text_right {
        width: 1000px;
    }
    #carrier_img {
        width: 90vw;
    }
    .senior_info_area{
        width: 267px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape){
	.intoroduction_title {
	font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    padding-left:70px;
    }
    #intoroduction_link_area {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: auto 30px;
    }
}


@media screen and (max-width: 1023px) , (orientation: portrait) {
    #summary_multi, #h2_pc {
        display: block !important;
    }
    #summary_pc, #h2_pc {
        display: none !important;
    }
    #summary_pc, #h2_multi {
        display: none;
    }
    h2{
        max-width: 90vw;
        padding: 0;
    }
    #carrier_img {
        max-width: 700px;
        max-height: 467px;
    }
    .contents_block {
        margin: 100px auto;
    }
    .text_title_multi {
        text-align: center;
        font-weight: 500;
        font-size: 2rem;
        margin: 2rem 0 1rem;
        /* border-bottom: 3px solid  #D0CECE; */
        /* border-bottom: 3px solid  #D5D0C9; */
        /* border-bottom:none; */
        position: relative;
        padding-bottom: 12px;
    }
    /* title部分の色バイカラー部分 */
     .text_title_multi:after {
        position: absolute;
        /* content: " ";
        display: block; 
        border-bottom: 3px solid  #172177; 
        border-bottom:none;
        bottom: -3px;
        width: 24%;  */
    } 
    .text_title_multi:before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -3px;
        display: inline-block;
        width: 650px;
        /* width: 68%; */
        height: 4px;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        background-color: #D5D0C9;
        border-radius: 2px;
    }
    /* .text_title_multi:after {
        content: '';
        position: absolute;
        bottom: -3px;
        display: inline-block;
        width: 208px;
        height: 4px;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        background-color: #172177;
        border-radius: 2px;
        left: 2%;
    } */
    .img_block {
        width: 550px;
        height: 367px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .summary_img_multi {
        width: 550px;
        height: 367px;
        box-shadow: 10px 10px 0 #E0DCD6, 20px 20px 0 #D5D0C9;
    }
    .summary_img_multi_vertical {
        height: 550px;
        width: 367px;
    }
    .text_block {
        width: 650px;
        margin: 25px auto;
        letter-spacing: 0.1em;
        line-height: 2em;
        text-align: justify;
    }
    .ceo_name {
        width: 90vw;
        margin-bottom: 25px;
    }

    .intoroduction_title {
    font-size: 2rem;
    font-weight: 500;
    margin-left: -52px;
    
    }

    .intoroduction_link {
        margin: 100px auto 0;
        text-align: center;
    }
    #intoroduction_link_area{
        display: block;
    }
    .senior_img_area {
        margin: 50px auto 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
    }
    .link_area{
        position: relative;
        height: 400px;
        margin: 0 auto;
    }
    .senior_img {
        position: relative;
        left: -1px;
    }
    .senior_info_area {
        width: 267px;
    }
}


@media screen and (max-width:550px) {
    h1 {
        font-weight: 500;
        font-size: 1.5rem;
        height: 50px;
        line-height: 2.0;
    }     
    .main_header {
        margin: 55px auto 0 auto;
        height: 100px;
    }
    #header_img {
        width: 100vw;
        height: 100px;
    }
    .text_title_multi {
        text-align: center;
        font-weight: 500;
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
        /* border-bottom: 3px solid  #D0CECE; */
        /* border-bottom: 3px solid  #D5D0C9; */
        border-bottom:none;
        margin-bottom: 1em;
        position: relative;
        padding-bottom: 12px;
    }
    .text_title_multi:before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -3px;
        display: inline-block;
        width: 90%;
        height: 3px;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        background-color: #D5D0C9;
        border-radius: 2px;
    }
    .text_title_multi:after {
        content: '';
        position: absolute;
        /* left: 50%; */
        left: 18%;
        /* bottom: -16px; */
        display: inline-block;
        /* width: 141px; */
        width:26%;
        height: 3px;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        background-color: #172177;
        border-radius: 2px;
        /* left: 102px; */
    }
    /* title部分の色バイカラー部分 */
     .text_title_multi:after {
        /* position: absolute;
        content: " ";
        display: block; 
        border-bottom: 3px solid  #172177; */
        border-bottom: none; 
        bottom: -3px; 
        /* widthを増やすとエナジーブルー部分が多くなる */
        /* width: 24%;*/
    }  

    h1 {
        margin-bottom: 50px;
    }
    #h2_multi {
        max-width: 90vw;
        margin: 0 auto;
        font-size: 1rem;
    }
    #carrier_img_area{
        display: none;
    }
    #carrier_img {
        /* max-width: 350px;
        max-height: 233px;
        margin: 0 auto;  */
        display: none;
    }
    .contents_block {
        margin: 50px auto;
    }
    .summary_img_multi {
    width: 90vw;
    height: auto;
    box-shadow: none;
	}
    .img_block {
        width: 90vw;
        height: auto;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .text_block {
        width: 90vw;
        padding: 0;
        margin: 1rem auto;
        text-align: justify;
        letter-spacing: 0;
        line-height: normal;
    }
    #summary_multi, #h2_multi {
        display: block;
    }
    #summary_pc, #h2_pc {
        display: none;
    }
    .ceo_name {
        width: auto;
        margin: 1.5rem
    }
    .intoroduction_link{
        max-width: 300px;
        margin: 100px auto 0;
        text-align: center;
        padding-bottom: 0;
    }
    .intoroduction_title{
        margin:0  0 -50px -40px;
    }
    #intoroduction_link_area{
        display: block;
    }
    .senior_img_area {
        margin: 100px auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .senior_img {
        margin: 0 auto;
    }
    .senior_info_area {
        width: 267px;
    }
    #last_contents {
        padding-bottom: 50px;
    }
    .btn-top {
        display:none !important
     }
     
     .btn-top img {
         display:none !important
     }
}

/* @media screen and (max-width:1023px), (orientation:portrait) {
    #summary_multi, #h2_multi {
        display: block !important;
    }
    #summary_pc, #h2_pc {
        display: none !important;
    }
} */