﻿
/* top */

.gray { background: #FBFBFC;}



/* --- slider画像指定 ----------------- */
.slide_a .src01 { background-image: url( "../image/fade-top_001.jpg"); background-position: center top;}
.slide_a .src02 { background-image: url( "../image/fade-top_002.jpg"); background-position: center top;}
.slide_a .src03 { background-image: url( "../image/fade-top_003.jpg"); background-position: center top;}


.business-img {
    max-width: 1440px;
    margin: auto;
    flex-wrap: wrap;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.business-img li {
    width: 24%;
    /* paddingと合わせてbox-sizingも指定 */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    margin-bottom: 2em;
}

/* 最後のコンテンツを左寄せにする指定 */
.business-img:after {
    content: "";
    display: block;
    width: 24%;  /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
}

.about_wrapper {
    position: relative;
    background-image: url("../image/012.jpg");
    background-repeat: no-repeat;
    background-position: top right;
    height: 0;
    padding-bottom: 120%;
}

.about_wrapper .about_box {background: rgba(255,255,255, 0.8);width: 90%;position: absolute;top: 0;bottom: 0;right: 0;left: 0;margin: auto;height: min-content;padding: 20px;}

.about_box dl {
    overflow: hidden;
}

.about_box dl:first-child {
    margin-bottom: 2em;
}
.about_box dt {
    font-size: 14px;
    position: relative;
    padding-left: 5px;
}

.about_box dt::before {
        content: "";
        display: inline-block;
        width: 1px;
        height: 2.5em;
        background-color: #2d254c;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        margin: auto;
}
.about_box dt span {
    display: block;
    font-size: 10px;
}
.about_box dd {
    font-size: 12px;
    margin-top: 0.8em;
}
.business-img-01 {
    max-width: 980px;
    margin: auto;
}
.bg_tit {
    background-image: url("../image/bg-01.png");
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding: 6% 4%;
    font-weight: normal;
}

.bg_tit span {
    display: block;
}

.business-img-01 { margin-bottom: 30px;}

#business-list ul {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
}
#business-list li {
    flex-basis: calc((100% - 10px) / 2);
    max-width:calc((100% - 10px) / 2);
    margin-top: 50px;
}

#business-list li:first-child,#business-list li:nth-of-type(2) { margin-top: 0;}
#business-list li p {
    position: relative;
    margin-bottom: 0.5em;
}
#business-list li p span {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: sideways;
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    line-height: 3;
    text-align: center;
    background-image: url(../image/bg-01.png);
    color: #fff;
    font-family: 'Sawarabi Mincho', sans-serif;
}
#business-list dl {text-align: center;}
#business-list dt { font-size: 16px; font-weight: bold;}

#business-list dd.line {position: relative;padding-bottom: 2em;}
#business-list dd.line::after{
   content:"";
   display:block;
   width:50px;
   height:1px;
   background-color:#261E47;
   position:absolute;
   bottom:0;
   left: 0;
   right: 0;
   margin: auto;
   margin-bottom: 1em;
}
#business-list dd.more { color: #EB8258; text-decoration: underline;}
#business-list dd.soon { color: #3755DF;}


@media screen and (max-width: 960px){
    #business-list dd { font-size: 10px;}
}

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

@media screen and (min-width: 960px){
    .about_wrapper {padding-bottom: 45%;}
    .about_wrapper .about_box {width: 75%;position: absolute;top: 0;bottom: 0;height: fit-content;padding: 30px;}
    .about_box dt {font-size: 24px;padding-left: 12px; float: left;}
    .about_box dt::before { width: 2px; height: 49px;}
    .about_box dt span {font-size: 12px;}
    .about_box dd {
        font-size: 18px;
        margin-left: 20%;
        margin-top: 0.5em;
    }
    
    .business-img,.business-img-01 { margin-bottom: 80px;}
    .bg_tit { font-size: 24px; padding: 2.2% 0;}
    
    
    #business-list li {
        flex-basis: calc((100% - 20px) / 2);
        max-width:calc((100% - 20px) / 2);
        margin-top: 50px;
    }
    #business-list dl { line-height: 2;}
    #business-list dt { font-size: 24px;}
    #business-list li p span {font-size: 21px;padding: 4em 0.929em 0 0.929em;letter-spacing: 2px;line-height: unset;text-align: unset;}
    
}
