@charset "UTF-8";

/* --------------------------------------------------------
	common within page
-------------------------------------------------------- */
h2 {
    font-size: 190%;
    text-align: center;
    font-weight: 500;
    color: #333;
}
h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    border-bottom: 2px solid #808080;
    margin: 0.25em auto 1em;
}
h3 {
    font-size: 190%;
    font-weight: 500;
    color: #4d4d4d;
    border-left: 4px solid #3ca062;
    padding-left: 0.5em;
    text-align: left;
    margin-bottom: 0.5em;
}
section {
    text-align: left;
    padding: 0;
}
main > section {
    padding: 0 20px;
}


/* --------------------------------------------------------
	sec-hf25
-------------------------------------------------------- */

/* box-intro
-------------------------------------------------------- */
.sec-hf25 .box-intro {
    padding: 0;
    align-items: flex-start;
    margin-bottom: 2em;
}
.sec-hf25 .box-intro > div:first-child {
    width: 45%;
}
.sec-hf25 .box-intro > div:first-child div {
    background: #3ca062;
}
.sec-hf25 .box-intro > div:first-child div h2 {
    font-size: 120%;
    text-align: left;
    color: #fff;
    font-weight: 500;
    margin: 0 0 1em calc(50vw + 20px - 500px);
    padding: 0.5em 0;
}
.sec-hf25 .box-intro > div:first-child div h2::after {
    content: none;
}
.sec-hf25 .box-intro > div:first-child p.customer {
    margin-left: calc(50vw + 20px - 500px);
    margin-bottom: 0.5em;
}
.sec-hf25 .box-intro > div:first-child p.title {
    margin-left: calc(50vw + 20px - 500px);
    font-size: 150%;
    font-weight: 600;
    color: #333;
}

.sec-hf25 .box-intro > div:last-child {
    width: 53%;
}
.sec-hf25 .box-intro > div:last-child img {
    width: calc(-50vw - 20px + 500px + 100%);
}

/* memo about width 1. -50vw 500px is ajust left
                    2. and 20px is similar screen padding */

@media screen and (max-width: 999px) {
    .sec-hf25 .box-intro {
        padding: 0 20px;
    }
    .sec-hf25 .box-intro > div:first-child {
       width: 100%;
    }

    .sec-hf25 .box-intro > div:first-child div {
        margin: 0 20px 0 -20px;
    }
    .sec-hf25 .box-intro > div:first-child div h2 {
        margin: 0 0 1em 0;
        padding-left: 20px;
    }
    .sec-hf25 .box-intro > div:first-child p.customer {
        margin: 0 0 0.5em 0;
    }
    .sec-hf25 .box-intro > div:first-child p.title {
        margin: 0 0 1em 0;
    }
    .sec-hf25 .box-intro > div:last-child {
        width: 100%;
        height: auto;    
    }
    .sec-hf25 .box-intro > div:last-child img {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .sec-hf25 .box-intro {
        display: block;
        padding: 0;
        text-align: center;
    }
    .sec-hf25 .box-intro > div {
        padding: 0 20px;
    }
    .sec-hf25 .box-intro > div:first-child div {
        margin: 0;
    }
    .sec-hf25 .box-intro > div:first-child div h2 {
        padding-left: 0;
        text-align: center;
    }
    .sec-hf25 .box-intro > div:last-child {
        padding: 0;
    }
}


/* box-profile
-------------------------------------------------------- */
.sec-hf25 .box-profile {
    background: #f2f2f2;
    margin-bottom: 1.25em;
}
.sec-hf25 .box-profile > div {
    max-width: 960px;
    margin: auto;
}
.sec-hf25 .box-profile > div img {
    height: 100%;
    width: auto;
}
.sec-hf25 .box-profile > div table {
    width: 53%;
    margin-left: 1.5em;
}
.sec-hf25 .box-profile > div table th {
    text-align: left;
    text-indent: -0.5em;
    padding-bottom: 0.5em;
}
.sec-hf25 .box-profile > div table td {
    font-size: 14px;
    vertical-align: top;
    padding-bottom: 0.25em;
}
.sec-hf25 .box-profile > div table td:first-child {
    width: 8em;
}

@media screen and (max-width: 768px) {
    .sec-hf25 .box-profile > div {
        display: block;
        padding: 3em 2em;
    }
    .sec-hf25 .box-profile > div img {
        height: auto;
        width: 100%;
        margin-bottom: 1.5em;
    }
    .sec-hf25 .box-profile > div table {
        width: 100%;
        margin: 0;
    }
    .sec-hf25 .box-profile > div table td:first-child {
        width: 30%;
    }
    .sec-hf25 .box-profile > div table td:last-child {
        width: 70%;
    }
}


/* box-before-after
-------------------------------------------------------- */
.sec-hf25 .box-before-after {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    margin:0 auto 3em;
    max-width: 1000px;
}
.sec-hf25 .box-before-after dl {
    width: 50%;
    background: #e5e5e5;
    border-right: 3px solid #fff;
    position: relative;
    padding: 0 3em;
}
.sec-hf25 .box-before-after dl:first-child::after {
    content: url("../img/arrow_case_study.svg");
    position: absolute;
    margin: auto;
    width: 30px;
    height: 70px;
    right: -29px;
    top: 0px;
    bottom: 0;
    z-index: 1;
}
.sec-hf25 .box-before-after dl dt {
    font-size: 120%;
    font-weight: 600;
    color: #333;
    margin: 1em 0;
    text-align: center;
}
.sec-hf25 .box-before-after dl dd {
    margin: 0 0 0.25em 1.25em;
    text-indent: -1.25em;
}
.sec-hf25 .box-before-after dl dd::before {
    content: "● "
}
.sec-hf25 .box-before-after dl dd:last-child {
    margin-bottom: 1.5em;
}
.sec-hf25 .box-before-after dl:last-child {
    background: #d8ece0;
}

@media screen and (max-width: 768px) {
    .sec-hf25 .box-before-after {
        display: block;
    }
    .sec-hf25 .box-before-after dl {
        width: 100%;
        padding: 1em 2em;
        margin-bottom: 3px;
        border: 0;
    }
    .sec-hf25 .box-before-after dl:first-child::after {
        content: url(../img/arrow_case_study.svg);
        width: 27px;
        height: auto;
        left: 0;
        right: 0;
        top: auto;
        bottom: -52px;
        margin: auto;
        transform: rotate(90deg);
    }
    .sec-hf25 .box-before-after dl:last-child {
        margin-top: 0;
    }
}


/* box-service
-------------------------------------------------------- */
/* none settings */


/* box-history
-------------------------------------------------------- */
.sec-hf25 .box-history {
    margin-bottom: 10%;
}
.sec-hf25 .box-history dl {
    margin-bottom: 3em;
}

.sec-hf25 .box-history dl dt  {
    margin-bottom: 0.5em;
    font-size: 130%;
    font-weight: 500;
}
.sec-hf25 .box-history dl dd  {
    font-size: 14px;
    margin: 0 0 0.25em 1em;
    text-indent: -1em;
}
.sec-hf25 .box-history dl dd::before {
    content: "・";
}
.sec-hf25 .box-history dl.img-right {
    float: right;
    margin: 0 0 0 2em;
}
@media screen and (max-width: 768px) {
    .sec-hf25 .box-history > div {
        display: flex;
        flex-direction: column;
    }
    .sec-hf25 .box-history dl.img-right {
        float: none;
        margin: -2em 0 3em 0;
        text-align: center;
    }
    .sec-hf25 .box-history dl:nth-child(1) {order: 1}
    .sec-hf25 .box-history dl:nth-child(2) {order: 3}
    .sec-hf25 .box-history dl:nth-child(3) {order: 2}
    .sec-hf25 .box-history dl:nth-child(4) {order: 4}
    .sec-hf25 .box-history dl:nth-child(5) {order: 5}
    
}

/* --------------------------------------------------------
	contact
-------------------------------------------------------- */
.sec-contact h2 {
    text-align: center;
}
