@charset "UTF-8";

/**** ページ全体 ****/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #2c2c2c;
    font-family: 'Noto Sans JP', sans-serif;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.container {
    width: 980px;
    margin: 0 auto;
}

h2 {
    font-size: 32px;
    width: 345px;
    border-bottom: 1px #474747 solid;
    font-family:'Open Sans', sans-serif;
}
h2 span {
    font-size: 13px;
    margin-left: 15px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* nav */
nav ul {
    display: flex;
}
nav ul li {
    list-style: none;
}
nav ul li a {
    display: inline-block;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    line-height: 1;
}
nav ul li a::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: #a4dbd5;
    margin-top: 5px;
    opacity: 0;
}
nav ul li a:hover::after {
    opacity: 100%;
}

/* button */
.button-wh {
    display: grid;
    place-items: center;
}
.button-wh a {
    width: 300px;
    padding: 17px 0;
    background-color: #fff;
    text-decoration: none;
    color: #2c2c2c;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    border: 2px #2c2c2c solid;
    border-radius: 60px;
}   
.button-wh a:hover {
    opacity: .8;
}
.button-wh img {
    width: 8px;
    height: 13px;
    margin-left: 30px;
}

/* focus */
button:focus-visible,
a:focus-visible {
    outline: 4px blue solid;
}

/** header **/
.header {
    height: 100vh;
    background-image: url(images/bg_main.jpg);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: cover;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 48px;
}
.header-logo img {
    width: 298px;
}

/* header-nav */
.header-nav li {
    margin-left: 40px;
}
.header-nav li a { 
    font-size: 18px;
    color: var(--base-color);
}

/* button-pk */
.button-pk {
    position: fixed;
    top: 100px;
    right: 20px;
    font-size: 14px;
    color: #fff;
    writing-mode: vertical-rl;
    background-color: #fe9b9b;
    border-radius: 24px;
    border: none;
    padding: 20px 12px 24px 12px;
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
.button-pk img {
    width: 16px;
    margin-bottom: 7px;
}

/** lead **/
.lead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(100vh - 100px);
}
.lead-text {
    width: 490px;
}
.lead-text h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 30px;
    line-height: 1.8;
    text-align: center;
    margin: 0 auto 15px;
    border-bottom: none;
}
.lead-text p {
    font-size: 16px;
    line-height: 1.8;
}
.lead-img {
    width: 450px;
    height: 450px;
    margin-right: 18px;
}

/** works **/
.works {
    background-color: #f5f5f5;
    padding: 60px 0;
}
.works h2 {
    margin-bottom: 40px;
}
.works-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}
.works-item {
    width: 315px;
    background-color: #fff;
}
.works-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.works-item div {
    padding: 20px 10px 15px 10px;
}
.works h3 {
    font-size: 20px;
    margin-bottom: 5px;
}
.works-item p {
    font-size: 14px;
    line-height: 1.8;
}

/** service **/
.service {
    padding: 60px 0;
}
.service h2 {
    margin-bottom: 30px;
}
.service-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.service-img {
    width: 470px;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-text {
    width: 495px;
    margin-left: 15px;
}
.service-text h3 {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    font-weight: 600;
}
.service-text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 40px;
}
.text-link a {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    color: #3c7fbe;
    font-size: 13px;
    text-decoration: none;
}
.text-link img {
    width: 7px;
    height: 11px;
    margin-left: 10px;
}

/** coconala **/
.coconala {
    background-color: #f5f5f5;
    display: flex;
    justify-content: space-between;
    padding: 10px 10px 10px 20px;
}
.coconala-text {
    width: 450px;
}
.coconala-text h3 {
    font-size: 18px;
    line-height: 1.8;
}
.coconala-text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}
.coconala .button-wh a {
    font-size: 13px;
}
.coconala-img {
    width: 470px;
    height: 190px;
    background-color: #fff;
    display: grid;
    place-items: center;
}
.coconala-img img {
    width: 273px;
}

/**** about ****/
.about {
    background-color: #ffefef;
    padding: 80px 0;
}
.about h2 {
    margin-bottom: 30px;
}
.about-inner {
    display: flex;
    justify-content: space-between;
}
.about-text {
    width: 495px;
}
.about-text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 40px;
}
.about-img {
    width: 470px;
    margin-left: 15px;
}
.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/** footer **/
.footer {
    background-color: #2c2c2c;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
}
.page-top {
    width: 31px;
    margin-bottom: 40px;
}
.footer-logo {
    width: 238px;
    margin-bottom: 40px;
}
.footer-nav {
    margin-bottom: 60px;
}
.footer-nav li a {
    color: #fff;
    font-size: 14px;
    padding: 0 28px;
}
.footer small {
    font-size: 12px;
    color: #fff;
}