p {
    font-size: 16px;
    line-height: 2em;
}
main {
    overflow-x: hidden;
}
main a {
    color: #ff7700 !important;
    font-weight: bold;
}
@media only screen and (max-width: 767px) {
     p {
        font-size: 14px;
    }
    ul li {
        font-size: 13px;
        line-height: 1.3em;
    }
}

p.notice1 {
    font-size: 16px;
    font-weight: bold;
    text-indent: -16px;
    margin-left: 16px;
    color: #ff3300;
}
p.notice1 a {
    color: #ff3300 !important;
    text-decoration: underline;
}
@media only screen and (max-width: 767px) {
    p.notice1 {
        font-size: 14px;
        text-indent: -14px;
        margin-left: 14px;
    }
}

p.caption1 {
    margin: 5px 0 0 0;
    font-size: 12px;
    line-height: 1.3em;
}
.separator1 {
    margin-top: 30px;
    margin-bottom: 30px;
    height: 1px;
    background: #ccc;
}

h2.normal1 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2em;
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
h2.normal1::after {
    content: '';
    width: 100px;
    height: 5px;
    background: var(--main-color);
    position: absolute;
    bottom: -20px;
    left: calc(50% - 50px);
}
@media only screen and (max-width: 767px) {
    h2.normal1 {
        font-size: 22px;
        letter-spacing: 0;
    }
    h2.normal1::after {
        height: 3px;
        width: 80px;
        background: var(--main-color);
        left: calc(50% - 40px);
    }
}

h3.normal1 {
    padding: 30px 0;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 1em;
    text-align: center;
    background: #444;
    border-radius: 4px;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    h3.normal1 {
        font-size: 17px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

h3.normal2 {
    color: #003344;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    h3.normal2 {
        font-size: 17px;
    }
}

.lead1 {
    color: var(--main-color);
    font-size: 26px;
    font-weight: bold;
    line-height: 1.7em;
    text-align: center;
}
@media only screen and (max-width: 767px) {
    .lead1 {
        font-size: 17px;
        line-height: 1.5em;
    }
}

.column1 {
    padding: 30px;
    box-sizing: border-box;
    background: #f0f0f0;
    border-radius: 10px;
}
.column1 h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
    .column1 {
        padding: 15px;
    }
    .column1 h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }
}

table.table1 {
    width: 100%;
}
table.table1 tr th {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5em;
    text-align: left;
    border-top: 1px solid #aaa;
}
table.table1 tr td {
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.5em;
    vertical-align: middle;
    border-top: 1px solid #aaa;
}
table.table1 tr td p {
    font-size: 16px;
    line-height: 1.5em;
}
@media only screen and (max-width: 767px) {
    table.table1 {
        margin: 10px 0 0 0;
    }
    table.table1 tr th {
        padding: 8px 0 8px 3px;
        font-size: 13px;
    }
    table.table1 tr td {
        padding: 8px 5px;
        font-size: 13px;
    }
    table.table1 tr td p {
        font-size: 13px;
    }
}





/* レイアウト共通
=================================================================================== */
.main_bg {
    padding: 80px 0;
}
.gray_bg {
    padding: 80px 0;
    background: #f0f0f0;
}
@media only screen and (max-width: 767px) {
    .main_bg {
        padding: 50px 0;
    }
    .gray_bg {
        padding: 50px 0;
    }
}

/* ページヘッダー */
#page_header_nophoto {
    background: var(--main-color);
    position: relative;
}
#page_header_nophoto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(../img/kobe_bg.png) repeat-x bottom; /* repeat-xで横方向にループ */
    background-size: auto 70%;
    opacity: 0.2;
    mix-blend-mode: multiply;
    pointer-events: none;
    animation: scroll-bg 80s linear infinite; /* 20秒で1ループ、速度調整可能 */
}
@keyframes scroll-bg {
    from {
        background-position-x: 0 100%;
    }
    to {
        background-position: -1000px 100%;
    }
}
#page_header_nophoto .title {
    padding: 100px 0;
}
#page_header_nophoto .page_header_nophoto_en {
    font-family: 'bebas';
    font-size: 80px;
    line-height: 1em;
    letter-spacing: 10px;
    color: rgb(255,255,255,0.3);
    text-align: center;
}
#page_header_nophoto .title h1 {
    margin-top: -20px;
    font-style: bold;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
}
@media only screen and (max-width: 767px) {
    #page_header_nophoto .title {
        display: block;
        padding: 40px 0;
    }
    #page_header_nophoto .page_header_nophoto_en {
        font-size: 20px;
        letter-spacing: 10px;
    }
    #page_header_nophoto .title h1 {
        margin-top: -8px;
        font-size: 26px;
        text-align: center;
    }
}




/* FLEX */
.wrap {
    width: calc(100% + 10px);
    margin-left: -5px;
    display: flex;
    flex-wrap: wrap;
}
.wrap .box1 {
    width: calc(100% - 10px);
    margin: 0 5px 50px 5px;
    position: relative;
}
.wrap .box2 {
    width: calc(50% - 10px);
    margin: 0 5px 10px 5px;
    position: relative;
}
.wrap .box3 {
    width: calc(33.3333% - 10px);
    margin: 0 5px 10px 5px;
    position: relative;
}
.wrap .box4 {
    width: calc(25% - 10px);
    margin: 0 5px 10px 5px;
    position: relative;
}
.wrap .photo {
    text-align: center;
}
.wrap .photo img {
    width: 100%;
}
.wrap .text {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 10px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    background: #000;
}
.wrap .text {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 10px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    background: #000;
}
.wrap .text_large {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 50px;
    color: #fff;
    font-size: 19px;
    font-weight: bold;
    background: #000;
}
.wrap.center {
    justify-content: center;
}
.wrap .box1_desc {
    margin-top: 15px;
    padding: 0 100px;
}
.wrap .box_desc {
    margin-top: 15px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.5em;
}
@media only screen and (max-width: 767px) {
    .wrap .box2, .wrap .box3, .wrap .box4 {
        width: calc(50% - 10px);
        margin: 0 5px 10px 5px;
    }
    .wrap .box2 .text, .wrap .box3 .text, .wrap .box4 .text {
        font-size: 12px;
    }
    .wrap .text_large {
        padding: 0 30px;
        font-size: 15px;
    }
    .wrap.SP_box1 {
        width: 100%;
        margin-left: 0;
        display: block;
    }
    .wrap.SP_box1 .box2, .wrap.SP_box1 .box3, .wrap.SP_box1 .box4 {
        width: 100%;
        margin: 0 0 10px 0;
    }
    .wrap .box_desc, .wrap .box1_desc {
        margin-top: 10px;
        padding: 0 10px;
        font-size: 13px;
        line-height: 1.5em;
    }
}




/* 会社概要
=================================================================================== */
.philosophy {
    font-family: "Noto Serif JP", serif;
    text-align: center;
    font-size: 40px;
    letter-spacing: -2px;
    font-weight: 500;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    .philosophy {
        font-size: 22px;
    }
}





/* 事業内容
=================================================================================== */
.business_bg {
    margin-top: -50px;
    padding: 80px 40px;
    background: #f0f0f0;
    border-radius: 8px;
}

.business_bg .cont_wrap {
    margin-top: 30px;
    display: flex;
}
.business_bg .cont_wrap .text {
    width: calc(100% - 80px);
    margin-left: 20px;
}
.business_bg .cont_wrap .text .lead {
    font-size: 19px;
    font-weight: bold;
}
.business_bg .num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    color: #fff;
    font-family: bebas;
    font-size: 20px;
    font-weight: 600;
    background: var(--main-color);
}
@media only screen and (max-width: 767px) {
    .business_bg .cont_wrap .text {
        width: calc(100% - 50px);
        margin-left: 10px;
        line-height: 1.5em;
    }
    .business_bg .cont_wrap .text p {
        line-height: 1.5em;
    }
    .business_bg .cont_wrap .text .lead {
        font-size: 17px;
        line-height: 1.5em;
        margin-bottom: 10px;
    }
    .business_bg .num {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.business_bg .point {
    margin-top: 30px;
    padding: 30px;
    background: #fff;
}
.business_bg .point h3 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
.business_bg .point .point_wrap {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
}
.business_bg .point .point_wrap .box {
    width: calc(50% - 40px);
    margin: 0 20px 20px 20px;
    border-top: 1px solid #ccc;
}
.business_bg .point .point_wrap .box .photo {
    text-align: center;
}
.business_bg .point .point_wrap .box h4 {
    padding-top: 10px;
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: bold;
}
@media only screen and (max-width: 767px) {
    .business_bg .point .point_wrap {
        margin-top: 0;
        display: block;
    }
    .business_bg .point .point_wrap .box {
        width: 100%;
        margin: 0 0 20px 0;
    }
    .business_bg .point .point_wrap .box .photo img {
        width: 60%;
    }
    .business_bg .point .point_wrap .box h4 {
        font-size: 17px;
    }
}

.business_bg .point ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 10px;
    line-height: 1.8em;
}
.business_bg .point ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--main-color);
}
@media only screen and (max-width: 767px) {
    .business_bg {
        margin-top: 10px;
        padding: 20px 20px;
    }
    .business_bg .point {
        padding: 15px;
        margin-top: 20px;
    }
    .business_bg .point h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .business_bg .point ul li {
        margin-bottom: 5px;
    }
}





/* お問い合わせ
=================================================================================== */
.contact_tel {
    padding: 50px 0;
    border-radius: 10px;
    border: 3px solid #f0f0f0;
}
.contact_tel p {
    text-align: center;
}
.contact_tel .title {
    font-size: 175%;
    font-weight: bold;
}
.contact_tel .tel {
    margin-top: 20px;
    font-family: bebas;
    font-size: 60px;
    text-align: center;
    line-height: 1em;
}
.contact_tel .tel small {
    font-size: 50%;
}
.contact_tel .tel a {
    color: var(--main-color) !important;
    line-height: 0;
    font-weight: normal;
}
@media only screen and (max-width: 767px) {
    .contact_tel {
        padding: 20px;
    }
    .contact_tel .tel {
        font-size: 30px;
    }
    .contact_tel .title {
        font-size: 125%;
    }
}

.privacypolicy {
    padding: 20px;
    height: 200px;
    overflow-y: scroll;
    background: #fff;
    border: 1px solid #aaa;
    box-sizing: border-box;
}
.privacypolicy p {
    font-size: 13px;
    line-height: 1.3em;
}
.privacypolicy h3 {
    font-weight: bold;
    margin-bottom: 10px;
}
.privacypolicy h4 {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
}
@media only screen and (max-width: 767px) {
    .privacypolicy {
        padding: 10px;
        height: 150px;
    }
    .privacypolicy p {
        font-size: 11px;
    }
    .privacypolicy h3 {
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 5px;
    }
    .privacypolicy h4 {
        font-size: 13px;
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 5px;
    }
}
