@charset "UTF-8";

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    background: #0097e0;
}

body {
    font-size: 16px;
    line-height: 1.7;
    font-family: "Noto Sans JP","ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "meiryo", Helvetica, "游ゴシック", "Yu Gothic", sans-serif;
    max-width: 1920px;
    margin: auto;
    background-color: #fff;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.header {
	position: sticky;
	top: 0;
	z-index: 9;
	background: #fff;
	box-shadow: 0 1px 5px #aaa;
}

.container {
    max-width: 1130px;
    padding: 15px;
}

.container.container--small {
    max-width: 950px;
}

.container.container--header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	width: 130px;
	display: block;
}

.contact-button {
	min-width: 300px;
	background: #0097e0;
	padding: 15px;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	border-radius: 30px;
}

.hero-section {
    padding-top: 50px;
    background: url(./img/bg1.svg) no-repeat;
    background-position: top center;
    background-size: 1920px auto;
}

.catch img {
    display: block;
}

.sub-phrase img {
    display: block;
    width: 52%;
}

.catch {
    margin-bottom: 15px;
}

.sub-phrase {
    margin-bottom: 60px;
}

.strong-message.strong-message--1 img {
    display: block;
    width: 53%;
    margin-bottom: 30px;
}

.free-advice {
    display: block;
    width: fit-content;
}

.free-advice img {
    display: block;
    width: 260px;
}

.layout1 {
    margin-top: -39%;
    width: 50%;
    margin-left: auto;
}

.layout1 img {
    display: block;
}

.worker-image1 {
    margin: 0 auto 80px;
    width: 93%;
}

.strong-message.strong-message--2 {
    margin-bottom: 0;
}

.strong-message.strong-message--2 img {
    display: block;
}

.goal-content {
    margin: 250px auto 160px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.goal-content img {
    display: block;
    width: 49%;
}

.worker1-image {
    margin-top: 28%;
}

h2 {
    font-size: 1.56em;
    font-weight: bold;
}

p {
    font-weight: bolder;
    font-size: 1.24em;
}

strong {
    font-size: 1.24em;
}

.cta {
    margin: 140px auto;
    text-align: center;
    font-size: 1.2em;
    max-width: 600px;
}

.cta-lead {
    position: relative;
    width: fit-content;
    margin: 0 auto 20px;
}

.cta-lead:before,
.cta-lead:after {
    content: "";
    display: block;
    border-left: solid 1px #000;
    position: absolute;
    top: -5px;
    height: 110%;
}

.cta-lead:before {
    left: -25px;
    transform: rotate(-25deg);
}

.cta-lead:after {
    right: -25px;
    transform: rotate(25deg);
}

.cta-button {
    width: 100%;
    display: block;
    color: #fff;
    text-decoration: none;
    background: #0097e0;
    padding: 15px;
    line-height: 1;
    border-radius: 30px;
    font-size: 1.2em;
}

.additional-services {
    position: relative;
    padding-top: 180px;
    background: url(./img/bg2.svg) no-repeat;
    background-position: top center;
    background-size: 1920px auto;
}

.service-heading img {
    display: block;
}

.service-heading {
    max-width: 410px;
    margin-bottom: 25px;
}

.worker2-image {
    float: right;
    width: 50%;
    text-align: center;
}

.additional-services-images {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 90%;
    position: relative;
    font-size: 1.2em;
    margin: 80px auto 380px;
}

.worker3-image {
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: 0;
    width: 30%;
}

.image-container.image-container--1 {
    width: 60%;
    margin: 20% 0 15%;
    display: flex;
    flex-direction: column-reverse;
}

.image-container.image-container--2 {
    width: 40%;
}

.image-container.image-container--2 img {
    border-radius: 50%;
}

.customer-voices {
    margin: 100px auto;
}

.voice-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 80%;
    max-width: 640px;
    margin-top: -30px;
}

.voice-wrap.voice-wrap--customer {
    margin-right: auto;
}

.voice-wrap.voice-wrap--worker {
    margin-left: auto;
    flex-direction: row-reverse;
}

.voice-image {
    width: 120px;
    margin: 0 20px;
}

.voice-text {
    width: calc(100% - 160px);
    padding-top: 40px;
}

.hukidashi {
    background: #eee;
    padding: 10px 20px;
    border-radius: 15px;
    position: relative;
}

.hukidashi:before {
    content: "";
    position: absolute;
    top: 8px;
    border: solid 7px #eee;
    border-right-width: 20px;
    border-left: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.hukidashi.hukidashi--worker {
    background: #eaf6fd;
}

.hukidashi.hukidashi--customer:before {
    left: -15px;
    transform: rotate(25deg);
}

.hukidashi.hukidashi--worker:before {
    right: -15px;
    transform: rotate(155deg);
    border-right-color: #eaf6fd;
}

.shuyaku {
    margin: 140px auto;
    max-width: 400px;
    width: 80%;
}

.footer {
    background: #eaf6fd;
    padding: 20px 0;
}

.footer-flex {
    display: flex;
    max-width: 660px;
    margin: auto;
}

.footer-flex > div {
    width: 50%;
    padding: 0 15px;
}

.footer-flex > div:first-child {
    border-right: solid 1px;
}

.footer-tel {
    display: block;
    font-size: 2em;
    font-weight: bold;
    line-height: 1.2;
}

.footer-mail {
    color: inherit;
    text-decoration: none;
    font-size: 1.32em;
    font-weight: bold;
}

.footer-mail img {
    width: 32px;
    margin-right: 10px;
}

.footer-logo {
    max-width: 130px;
    margin: 50px auto;
}

.copyright {
    margin: 0;
    text-align: center;
    color: #888;
    font-weight: normal;
    font-size: 0.84em;
}

@media all and (max-width: 820px){
    .hero-section {
        background-size: 190% auto;
    }
    
    .contact-button {
        font-size: 20px;
        padding: 10px 15px;
        min-width: 240px;
    }
    
    .worker2-image {
        width: 38%;
    }
}

@media all and (max-width: 480px){
    .logo {
        width: auto;
        height: 50px;
    }
    
    .contact-button {
        min-width: 0;
        width: 160px;
        font-size: 18px;
    }
    
    .container.container--header {
        padding: 10px 15px;
    }
    
    .hero-section {
        padding-top: 20px;
    }
    
    .sub-phrase img {
        width: 70%;
    }
    
    .sub-phrase {
        margin-bottom: 20px;
    }
    
    .free-advice img {
        width: 140px;
    }
    
    .layout1 {
        margin-top: -43%;
    }
    
    .worker-image1 {
        margin-bottom: 30px;
    }
    
    .goal-content {
        margin: 80px auto 80px;
        display: block;
    }
    
    .goal-content img {
        width: 68%;
        margin: 0 auto 30px;
    }
    
    h2 {
        font-size: 1.32em;
    }
    
    p {
        font-size: 0.88em;
    }
    
    .cta {
        margin: 80px auto;
        font-size: 1.08em;
    }
    
    .cta-lead {
        font-size: 0.92em;
    }
    
    .cta-lead:before, .cta-lead:after {
        top: 0px;
    }

    .additional-services {
        padding-top: 20px;
        background-size: 200% auto;
        background-position-y: 50%;
        background-position-x: center;
    }
    
    .worker2-image {
        width: 30%;
        margin-left: 10px;
    }
    
    .additional-services-images {
        margin: 40px auto 100px;
        width: 100%;
        font-size: 1em;
    }
    
    .image-container.image-container--1 {
        margin: 10% auto 15%;
    }

    section.customer-voices {
        margin: 0 auto;
    }
    
    .voice-wrap {
        width: 100%;
        margin-top: 0;
    }
    
    .voice-image {
        width: 60px;
        margin: 0 20px;
    }
    
    .voice-text {
        width: calc(100% - 80px);
        padding-top: 15px;
    }
    
    .voice-wrap.voice-wrap--customer .voice-image {
        margin-left: 0;
    }
    
    .voice-wrap.voice-wrap--worker .voice-image {
        margin-right: 0;
    }
    
    .hukidashi {
        padding: 8px 12px;
        margin-bottom: 10px;
    }
    
    .shuyaku {
        margin: 40px auto;
        width: 64%;
    }
    
    .footer {
        font-size: 0.92em;
    }
    
    .footer-flex {
        display: block;
    }
    
    .footer-flex > div {
        border: none!important;
        width: 100%;
        text-align: center;
    }
    
    .footer-flex > div + div {
        margin-top: 10px;
    }
    
    .footer-logo {
        margin: 20px auto;
        width: 100px;
    }
    
}