@charset "utf-8";

/* 運営会社
-------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

img{
    max-width:100%;
    height:auto;
    vertical-align: bottom;
    margin:0;
    padding:0;
}

.static-content .container.about {
    background-color: transparent;
}

/* 船団丸とは
-------------------------------*/
.section-tb-padding.promise-s{
    padding: 50px 0;
}
.static-content.promise-s .container {
    padding: 0;
    width: 90%;
    max-width: 1240px;
    margin: auto;
    background-color: transparent;
}

.static-content.promise-s .container.promise01 {
    width: 100%;
}
.promise01{
    position: relative;
}
.promise01 .txt{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

@media only screen and (max-width:1240px){
    .promise01 .txt img{
        width: 18vw;
        height: auto;
    }
}
@media only screen and (max-width:710px){
    .promise01 {
        overflow: hidden;
        width: 100%;
        height: 65vw;
    }
    /* 横幅に合わせてリサイズ、はみ出た分をトリミング */
    .promise01 img.bg {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: auto;
        max-width: none;
        height: 100%;
    }
    .promise01 .txt{
        top: 60%;
    }
    .promise01 .txt img{
        width: 30vw;
        height: auto;
    }
}


.promise02{
    padding: 100px 0;
}
.promise02 .container{
    text-align: center;
}

@media only screen and (max-width:710px){
    .promise02{
        padding: 10vw 0;
    }
}

.promise03 ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.promise03 li{
    position: relative;
    width: 48%;
    margin-bottom: 5%;
}

.promise03 li img{
    position: relative;

}

.promise03 li p{
    font-weight: bold;
    background: #fff;
    margin: -20px auto 0;
    padding: 5%;
    width: 90%;
    box-shadow: 0 0 10px rgb(0 0 0 / 25%);
    z-index: 10;
    position: relative;
    max-width: 450px;
    font-size: 20px;
    text-align: center;
    line-height: 1.8em;
}

.promise03 li p span{
    font-weight: bold;
    display: block;
    margin: auto;
    color: #003f76;
    font-size: 35px;
    margin-bottom: 14px;
}

.promise03 li p span::before{
    font-weight: bold;
    content: "約束 ";
    font-size: 20px;
}

@media only screen and (min-width:1300px){
.promise03 li:nth-child(6) p{
    padding-bottom: 50px;
}

.promise03 li:nth-child(6) p span{
    margin-bottom: 30px;
}
}

@media only screen and (max-width:1300px){
    .promise03 ul{
        justify-content: center;
    }
    .promise03 li{
        width: 100%;
        max-width: 600px;
    }
    
}

@media only screen and (max-width:520px){
    .promise03 li p br{
        display: none;
    }
}