@charset "UTF-8";

.first-image {
    width: 100%;
    height: 80vh;
    margin: 0 0 50px;
    padding: 0;
    position: relative;
    background-image: url("../img/about/about1.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #00AFCC;
}

h1 {
    width: 100%;
    font-family: "FOT-筑紫明朝 Pr6N M";
    padding-left: 5%;
    box-sizing: border-box;
    font-size: 25px;
    text-align: left;
    line-height: 2.2em;
    letter-spacing: 0.2em;
    margin-bottom: 50px;
}
h2 {
    font-family: "FOT-筑紫明朝 Pr6N L";
    font-size: 23px;
    font-weight: normal;
    letter-spacing: 0.1em;
    padding: 0;
    margin: 0;
    line-height: 1.8em;
}
h3 {
    font-family: "Arial Black", Gadget, sans-serif;
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 2.5em;
    text-align: left;
    background-image: url(../img/h3-icon.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 40px auto;
    padding: 0 0 0 50px;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
h4 {
    font-family: "Arial Black", Gadget, sans-serif;
    font-size: 21px;
    font-weight: normal;
    letter-spacing: 0.1em;
    line-height: 1.8em;
    background-image: url(../img/h4-icon.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 23px auto;
    padding: 40px 0 0 0px;
    margin: 0 3% 0 0;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    float: left;
}
p{
    font-family: "FOT-筑紫明朝 Pr6N LB";
    font-size: 14px;
    text-decoration: none;
    font-weight: lighter;
    line-height: 1.5em;
    letter-spacing: 1px;
}
.container {
    width: 90%;
    max-height: 400px;
    display:table;
    margin: 0 auto -250px;
    padding: 0;
}
.container2 {
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    background-color: #f8f6e7;
    display:inline-block;
}
.info {
    width: 100%;
    height: 400px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}
.content-l {
    box-sizing: border-box;
    position: relative;
    float: left;
    width: 60%;
    padding-top: 30px;
    padding-right: 50px;
    padding-bottom: 30px;
    margin: 0;
    padding-left: 5%;
    background-color: rgba(244,244,244,0.75);
    z-index: 10;
}
.content-l p {
    font-family: "FOT-筑紫明朝 Pr6N M";
    font-size: 13px;
    line-height: 2.0em;
    letter-spacing: 0.1em;
    text-align: left;
}
.content-r {
    box-sizing: border-box;
    position: relative;
    min-height: 300px;
    float: right;
    width: 40%;
    margin: 0 5% 0 0;
    padding-top: 20px;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-left: 20px;
}
.content-r p {
    font-family: "FOT-筑紫明朝 Pr6N M";
    font-size: 13px;
    line-height: 2.0em;
    letter-spacing: 0.1em;
    text-align: left;
    margin-left: 60px;
}
.l-image {
    width: 55%;
    height: 400px;
    margin: 0;
    padding: 0;
    float: left;
    position: relative;
    overflow: hidden;
}
.r-image {
    width: 50%;
    height: 400px;
    margin: 0;
    padding: 0;
    float: right;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}
.l-image img, .r-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}

.info-container-l, .info-container-r {
    box-sizing: border-box;
    position: relative;
    min-height: 300px;
    float: left;
    width: 50%;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    margin-left: 5%;
    padding-left: 0px;
}

.info-container-l p {
    max-width: 60%;
    padding-right: 30px;
    display: inline-block;
    font-family: "FOT-筑紫明朝 Pr6N M";
    font-size: 13px;
    line-height: 2.0em;
    letter-spacing: 0.1em;
    text-align: left;
    position: absolute;
    left: 150px;
    bottom: 30px;
}
.info-container-r p {
    font-family: "FOT-筑紫明朝 Pr6N M";
    font-size: 13px;
    line-height: 2.0em;
    letter-spacing: 0.1em;
    text-align: left;
    position: absolute;
    margin-left: 60px;
}

.back-image {
    display: block;
    background-color: #e4007f;
    text-align: center;
    position: relative;
    margin: 150px 0 50px;
}
.back-image div {
    width: 80%;
    height: 70vh;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.back-image div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.center {
    font-family: "FOT-筑紫明朝 Pr6N L";
    font-size: 13px;
    text-align: center;
    line-height: 2.0em;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
}
.company-img {
    width: 93%;
    float: right;
    margin-top: 45px;
}
.map {
    width: 93%;
    height: 350px;
    float: right;
    margin-top: 45px;
}
.gaiyo {
    border: 1px solid #ccc;
    width: 93%;
    border-collapse: collapse;
    font-size: 13px;
    font-family: "FOT-ロダン ProN L";
    letter-spacing: 2px;
    line-height: 2.0em;
    box-sizing: border-box;
    margin-bottom: 50px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    float: right;
}
.gaiyo tr {
    border-bottom: 1px solid #ccc;
}

.gaiyo td {
    border: none;
    font-family: "FOT-ロダン ProN M";
    font-size: 13px;
    text-align: left;
    vertical-align: middle;
    padding-top: 17px;
    padding-right: 15px;
    padding-left: 20px;
    padding-bottom: 15px;
}

.gaiyo th {
    font-family: "FOT-ロダン ProN DB";
    font-size: 13px;
    text-align: center;
    padding-top: 17px;
    padding-bottom: 15px;
    width: 22%;
    font-weight: normal;
    border-right: 1px solid #ccc;
}

@media only screen and (max-width: 899px) {
.first-image {
    width: 100%;
    height: 70vh;
    margin: 0 0 30px;
    padding: 0;
    position: relative;
    background-image: url("../img/about/about1_sp.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    background-color: #00AFCC;
}
h1 {
    width: 90%;
    font-size: 25px;
    text-align: left;
    line-height: 2.0em;
    letter-spacing: 0.1em;
    padding: 0;
    margin:0 auto 20px;
}
h2 {
    font-size: 23px;
    margin: 0 0 15px 0;
    padding: 0;
    float: none;
    -ms-writing-mode: lr-tb;
	writing-mode: horizontal-tb;
}
h3 {
    font-size: 14px;
    float: none;
    margin: 0;
    background-size: 30px auto;
    padding: 0 0 0 40px;
}
h4 {
    font-size: 18px;
    background-size: 23px auto;
    padding: 40px 0 0 0px;
    margin: 0 2% 0 0;
}
.content-l, .content-r {
    min-height: auto;
    float: none;
    width: 90%;
    padding: 30px;
    margin: -50px auto 0;
    background-color: rgba(244,244,244,0.90);
}
.content-l p, .content-r p {
    font-family: "FOT-筑紫明朝 Pr6N M";
    font-size: 13px;
    line-height: 2.0em;
    letter-spacing: 0.1em;
    text-align: left;
    margin: 0;
    padding: 0;
}
.l-image, .r-image {
    width: 100%;
    height: 40vh;
    max-width: 100%;
    margin: 0;
    padding: 0;
    float:none;
    position: relative;
    overflow: hidden;
}
.back-image div {
    width: 90%;
    height: 60vh;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
#pc, #pc2 {
    display: none;
}
.company-img {
    width: 85%;
}
.map {
    width: 85%;
}
.gaiyo {
    width: 85%;
}
.gaiyo th {
    padding: 10px 20px;
    display: block;
    width: 100%;
    font-size: 13px;
    box-sizing: border-box;
    text-align: left;
    border-bottom: 1px solid #ccc;
    background-color: #EEEEEE;
}
.gaiyo td {
    font-size: 13px;
    padding: 10px 20px;
	display:block
}
    
}
