@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}

body {
    font-family: "Yu Gothic Medium",
        "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3";
    line-height: 1.7;
    color: #202020;
}

/* フォント */
a,
h1,
h2,
h3,
h4,
p,
ul,
li,
button,
small {
    font-family: Zen Kaku Gothic New, sans-serif;
}

/* 画面サイズ*/
.contents-weight {
    width: 1000px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

/* ボタン */
.button {
    width: auto;
    height: 40px;
    padding: 0 20px;
    background: #000000;
    margin: 0 auto;
    font-size: 15px;
    letter-spacing: 0px;
    color: #ffffff;
    text-align: center;
}

.button-item {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 40px;
}

.button:hover {
    background: #5a5a5a;
}

.required::after {
    content: "*必須";
    color: #cc0000;
    font-size: 0.8em;
    margin-left: 5px;
}

.alert-text {
    color: #721c24;
    font-size: 0.5em;
    background: #f8d7da;
    padding: 0.5em;
    border-radius: 0.5em;
    border-color: #f5c6cb;
    margin-left: 0.3em;
}

a:hover {
    text-decoration: none;
    color: #a8a8a8;
}

/* HEADER
------------------------------- */
#header.fixed {
    z-index: 999;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
}

#header.fixed a:hover {
    color: #a8a8a8;
}

#header {
    border-top-width: 20px;
    border-color: #202020;
    position: fixed;
    width: 100%;
    z-index: 999;
}

#header h1 {
    font: normal normal bold 40px Kosugi;
}

.page-header {
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 0;
    height: 100px;
}

nav {
    margin: auto 0;
}

.main-nav {
    text-transform: uppercase;
    list-style: none;
    align-items: center;
    letter-spacing: -0.6px;
    font: normal normal 600 14px Zen Kaku Gothic New;
}

.nav-text {
    margin-right: 15px;
}

#header h1:hover {
    color: #a8a8a8;
}

.main-nav a:hover {
    color: #a8a8a8;
}

footer .main-nav img {
    background-color: #FFF;
    margin-right: 1px;
}

.main-nav img {
    height: 30px;
    padding: 5px;
}

.bg-cr img {
    padding: 0px;
    height: 30px;
    margin-left: 7.5px;
}

/* TITLE
------------------------------- */
#title {
    height: 120px;
}

/* TOP_SLIDE
------------------------------- */
.slider4-wrap {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.slider-4 .slick-slide {
    height: 100%;
    overflow: hidden;
}

.slider-4 .slick-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dots-4 .slick-dots {
    position: unset;
    text-align: center;
}

ul#js-slider-4 {
    margin-bottom: 0;
}

.dots-4 .slick-dots li {
    display: inline-block;
}

.dots-4 .slick-dots button {
    display: block;
    width: 10px;
    height: 10px;
    margin: 6px;
    font-size: 0;
    padding: 0;
    border: 0;
    outline: none;
    cursor: pointer;
    background: #bcbcbc;
    border-radius: 50%;
}

.dots-4 .slick-dots .slick-active button {
    background: #0a467d;
}

.progress_bar {
    width: 100%;
    background: #eaeaea;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.progress_bar .bar {
    width: 0%;
    height: 4px;
    background: #0a467d;
}

/* ABOUT_ME
------------------------------- */
.item_name {
    display: inline-block;
    width: 60px;
}

.item_text {
    display: inline-block;
}

.back-color {
    margin: 50px auto 0;
    /* margin: 100px auto 0; */
    background-color: #f7f7f7;
    width: 1000px;
    height: 600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
}

.about-container {
    /* width: 470px; */
    width: 600px;
    height: 600px;
    /* padding: 0 15px; */
    padding: 0 25px;
    display: grid;
    grid-template-columns: 215px 215px;
    grid-template-rows: 50px 80px 50px 50px 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 10px;
}

.prof-pic {
    margin: auto;
    /* width: 525px;
    height: 400px; */
    width: 400px;
    height: 600px;
    display: block;
}

.prof-pic-mbl {
    display: none;
}

.about_head {
    grid-area: 1 / 1 / 2 / 3;
}

.about_name {
    grid-area: 2 / 1 / 3 / 3;
    display: block;
}

.prof-1 {
    grid-area: 3 / 1 / 4 / 2;
}

.prof-2 {
    grid-area: 3 / 2 / 4 / 3;
}

.prof-3 {
    grid-area: 4 / 1 / 5 / 2;
}

.prof-4 {
    grid-area: 4 / 2 / 5 / 3;
}

.about-text {
    grid-area: 5 / 1 / 6 / 3;
}

.about-description {
    grid-area: 1 / 1 / 2 / 2;
}

.prof-pic {
    grid-area: 1 / 2 / 2 / 3;
}

.about-text {
    font: normal normal normal 12px/22px Zen Kaku Gothic New;
    padding-top: 15px;
}

h2 {
    text-align: left;
    font: normal normal normal 30px Zen Kaku Gothic New;
    letter-spacing: 0.72px;
    opacity: 1;
    position: relative;
    margin-top: 20px;
}

h2::after {
    content: "";
    display: block;
    position: absolute;
    width: 100px;
    /* 下線の幅 */
    height: 2px;
    /* 下線の太さ */
    background-color: #ffe900;
    /* 下線の色 */
}

h3 {
    font: normal normal bold 22px Zen Kaku Gothic New;
    letter-spacing: 2px;
    margin-top: 15px;
}

h4 {
    letter-spacing: 2px;
}

.item_box {
    display: flex;
    align-items: center;
    border-left: solid 8px #202020;
    border-bottom: solid 2px #202020;
    padding-left: 5px;
    background-color: #fff;
}

/* RESULT
------------------------------- */
.result-container {
    margin: 100px auto 0;
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

#result h2 {
    grid-area: 1 / 1 / 2 / 2;
}

#result ul {
    padding-top: 30px;
    grid-area: 1 / 2 / 2 / 3;
}

#result li {
    font: normal normal normal 12px/18px Zen Kaku Gothic New;
    padding-top: 15px;
}

#result li.year {
    font-weight: bold;
}

/* CAR
------------------------------- */
#car {
    background-color: #ebebeb;
    margin-top: 100px;
    padding-top: 50px;
}

.model_box {
    color: white;
    background-color: black;
    width: 300px;
    padding: 5px 20px;
    margin-bottom: 20px;
}

.car_item .title {
    font: normal normal 600 14px Zen Kaku Gothic New;
}

.car_item .name {
    font: normal normal 600 14px Zen Kaku Gothic New;
    padding-left: 14px;
}

.maker_item {
    font: normal normal 600 12px Zen Kaku Gothic New;
    color: #bcbcbc;
}

#car h2 {
    margin-bottom: 30px;
}

#car img {
    vertical-align: bottom;
    /*画像の下にできる余白を削除*/
}

/*メイン画像下に余白をつける*/
.car-gallery img {
    width: 1000px;
    height: 700px;
    margin-bottom: 5px;
}

.car-gallery li {
    list-style: none;
}

/*選択するサムネイル画像の設定*/
.car-choice-btn li {
    cursor: pointer;
    outline: none;
    background: #333;
    width: 200px !important;
    list-style: none;
    column-gap: 5px;
}

.car-choice-btn li img {
    opacity: 0.4;
    /*選択されていないものは透過40%*/
    width: 200px;
}

.car-choice-btn li.slick-current img {
    opacity: 1;
    /*選択されているものは透過しない*/
}

.car-choice-btn .slick-track {
    transform: unset !important;
    /*画面幅サイズ変更に伴うサムネイル固定*/
}

.car-description {
    padding: 20px 0;
    font: normal normal normal 18px/30px Zen Kaku Gothic New;
}

#car p {
    padding: 20px;
    height: 300px;
    background-color: #fff;
}

/* PHOTO
------------------------------- */
#photo {
    padding-bottom: 40px;
    border-bottom: 2px solid #ebebeb;
}

.photo-slider img {
    width: 100%;
}

/*スライド左右の余白調整*/
.photo-slider .slick-slide {
    margin: 0 10px;
    /*スライド左右の余白調整*/
}

#photo h2 {
    margin: 50px 0 40px 0;
}

.photo-slider {
    padding: 20px 0;
    background-color: #f7f7f7;
}

#photo button {
    width: 155px;
    height: 48px;
    background: #ffeb00 0% 0% no-repeat padding-box;
    text-align: center;
    font: normal normal 600 14px/20px Zen Kaku Gothic New;
}

#photo button:after {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: -3px 0 0 5px;
    background: url("../img/icon/right-arrow.png") no-repeat;
    background-size: contain;
    vertical-align: middle;
}

.photo-button {
    margin-top: 15px;
    justify-content: flex-end;
}

#photo a:hover {
    color: rgb(87, 87, 87);
}

#photo button:hover {
    background: #fff372;
}

/* GOODS
------------------------------- */
#goods {
    padding-bottom: 70px;
}

#goods h2 {
    margin: 50px 0 30px 0;
}

.goods_img {
    width: auto;
    height: 300px;
}

.goods-container {
    display: grid;
    grid-template-columns: 1fr 630px;
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
}

.sale_text {
    grid-area: 1 / 1 / 2 / 2;
}

.sale_img {
    grid-area: 1 / 2 / 2 / 3;
}

.sale_link img {
    margin: 20px;
    height: 40px;
}

.sale_link {
    align-items: center;
    vertical-align: middle;
    margin-top: 40px;
}

.sale_link p {
    text-align: center;
}

.sale_link p:after {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: -3px 0 0 5px;
    background: url("../img/icon/right-arrow.png") no-repeat;
    background-size: contain;
    vertical-align: middle;
}

/* WORK
------------------------------- */
.contents-weight-work {
    width: 1000px;
    margin: 0 auto;
    /* width: fit-content;
    margin: 50px auto 0 auto; */
}

.work_img {
    width: auto;
    height: 500px;
}

.work_link img {
    margin: auto;
    width: 40%;
    /* margin: 10px;
    height: 40px; */
}

.work_link {
    align-items: center;
    vertical-align: middle;
    margin-top: 50px;
}

.work_link p {
    font-size: 28px;
    text-align: center;
}

.work_link p:after {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: -3px 0 0 5px;
    /* background: url("../img/icon/right-arrow.png") no-repeat; */
    background-size: contain;
    vertical-align: middle;
}

/* フッター
------------------------------- */
footer {
    background: #202020;
    text-align: center;
    width: 100%;
    color: #ffffff;
    flex-direction: column;
}

footer small {
    color: #fff;
}

.footer-container {
    justify-content: space-between;
    margin: 0 30px;
    padding-top: 30px;
}

footer .main-nav {
    font: normal normal 600 10px Zen Kaku Gothic New;
    letter-spacing: -0.6px;
    color: #909090;
}

footer .nav-text {
    display: block;
}

footer p {
    font: normal normal bold 30px Kosugi;
}

footer p:hover {
    color: #a8a8a8;
}

.copyright {
    text-align: left;
    margin-left: 10%;
    padding: 30px 0;
}

.copyright small {
    color: #909090;
}

/*リンクの形状*/
#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #302f2f;
    border-radius: 5px;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    font: normal normal 600 0.6rem Zen Kaku Gothic New;
}

#page-top a:hover {
    background: #777;
}

/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
}

/*　上に上がる動き　*/
#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/
#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(100px);
    }
}

/* 個別ページ用設定
------------------------------- */
.page-title {
    text-align: center;
}

.page-title::after {
    margin: auto;
    left: 0;
    right: 0;
}

#contact h3,
#confirm h3,
#thanks h3 {
    text-align: center;
    margin: 40px auto;
}

#confirm h4 {
    text-align: center;
    font: normal normal 400 16px/20px Zen Kaku Gothic New;
}

/* PHOTO
------------------------------- */
ul.photo_page {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.photo_page {
    padding: 50px 0 180px 0;
    /*ギャラリー左右に余白をつける*/
    margin: 0;
}

.photo_page li {
    list-style: none;
}

/*ギャラリー内のイメージは横幅100%にする*/
.photo_page img {
    width: 230px;
    height: 230px;
    vertical-align: bottom;
    /*画像の下にできる余白を削除*/
}

/* CONTACT
------------------------------- */
#contact {
    width: 100%;
    padding-bottom: 30px;
}

form.php-form {
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

#contact .item {
    width: 800px;
}

form div {
    margin-bottom: 5px;
}

label {
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
}

input,
textarea {
    background: rgba(255, 255, 255, 0.5);
    border: 1px #707070 solid;
    border-radius: 5px;
    padding: 3px 5px;
    font-size: 0.8rem;
    width: 100%;
}

#postal_code,
#tel {
    width: 300px;
}

textarea {
    width: 100%;
    height: 150px;
    resize: none;
}

input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
}

label {
    text-align: left;
    font: normal normal 400 14px/20px Zen Kaku Gothic New;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-left: 5px solid #000;
    padding-left: 5px;
    margin-top: 10px;
}

#contact .button {
    margin: 30px 0;
}

/* CONFIRM-CONTACT
------------------------------- */
#confirm {
    text-align: left;
    margin: 0 auto 50px;
    padding: 50px;
    top: 252px;
    left: 0px;
    width: 800px;
    height: auto;
    background: #fff;
}

#confirm .item {
    width: 800px;
    margin: 0 auto;
    font: normal normal 400 14px/20px Zen Kaku Gothic New;
}

#confirm label {
    text-align: left;
    font: normal normal 400 14px/20px Zen Kaku Gothic New;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-left: 5px;
    margin-top: 10px;
}

#confirm form.php-form {
    flex-direction: column;
    align-items: normal;
}

#confirm .button {
    margin: 0;
}

#confirm .back {
    background-color: #f28888;
}

#confirm .back:hover {
    background-color: #f7c3c3;
}

/* THANKS-CONTACT
------------------------------- */
#thanks {
    text-align: center;
}

#thanks p {
    margin-top: 30px;
    font: normal normal 400 18px/20px Zen Kaku Gothic New;
}

#thanks .button {
    margin: 100px 0;
}

/* タブレット版
------------------------------- */
@media only screen and (max-width: 1200px) {

    /* 共通部分
------------------------------- */
    /* 画面サイズ*/
    .contents-weight {
        width: 600px;
    }

    /* ボタン */
    .button {
        height: 40px;
        padding: 0 20px;
        font-size: 15px;
    }

    .button-item {
        gap: 10px;
        padding-top: 40px;
    }

    .required::after {
        font-size: 0.8em;
        margin-left: 5px;
    }

    .alert-text {
        font-size: 0.5em;
        padding: 0.5em;
        border-radius: 0.5em;
        margin-left: 0.3em;
    }

    /* HEADER
------------------------------- */
    #header {
        border-top-width: 15px;
    }

    #header h1 {
        font: normal normal bold 25px Kosugi;
    }

    .page-header {
        padding: 0 10px 0;
        height: 80px;
    }

    .main-nav {
        font: normal normal 600 10px Zen Kaku Gothic New;
        letter-spacing: -0.6px;
    }

    .nav-text {
        margin-right: 8px;
    }

    .main-nav img {
        height: 25px;
        padding: 5px;
    }

    .bg-cr img {
        padding: 0px;
        height: 25px;
        margin-left: 6.3px;
    }

    /* TITLE
------------------------------- */
    #title {
        height: 80px;
    }

    /* TOP_SLIDE
------------------------------- */
    .slider4-wrap {
        width: 100%;
        margin: 0 auto;
        position: relative;
    }

    .slider-4 .slick-slide {
        height: 100%;
        overflow: hidden;
    }

    .slider-4 .slick-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .dots-4 .slick-dots {
        position: unset;
        text-align: center;
    }

    ul#js-slider-4 {
        margin-bottom: 0;
    }

    .dots-4 .slick-dots li {
        display: inline-block;
    }

    .dots-4 .slick-dots button {
        display: block;
        width: 10px;
        height: 10px;
        margin: 6px;
        font-size: 0;
        padding: 0;
        border: 0;
        outline: none;
        cursor: pointer;
        background: #bcbcbc;
        border-radius: 50%;
    }

    .dots-4 .slick-dots .slick-active button {
        background: #0a467d;
    }

    .progress_bar {
        width: 100%;
        background: #eaeaea;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 1;
    }

    .progress_bar .bar {
        width: 0%;
        height: 4px;
        background: #0a467d;
    }

    /* ABOUT_ME
------------------------------- */
    .item_name {
        width: 40px;
        font-size: 11px;
    }

    .item_text {
        font-size: 11px;
    }

    .back-color {
        margin: 100px auto 0;
        width: 630px;
        height: 466px;
    }

    .about-text {
        font: normal normal normal 10px/20px Zen Kaku Gothic New;
        padding-top: 0;
    }

    .about-name {
        margin-top: 0;
    }

    .about-en {
        margin-top: 0;
    }

    .about-container {
        width: 290px;
        /* width: 300px; */
        height: 400px;
        padding: 0 5px;
        /* padding: 0 10px; */
        grid-template-columns: 137px 137px;
        grid-template-rows: 35px 40px 25px 25px 1fr;
        grid-column-gap: 5px;
        grid-row-gap: 5px;
    }

    .prof-pic {
        width: 310px;
        height: auto;
        /* height: 400px; */
        /* width: 300px;
        height: 400px; */
        display: block;
    }

    .prof-pic-mbl {
        display: none;
    }

    .about-text {
        font: normal normal normal 10px Zen Kaku Gothic New;
        padding-top: 10px;
    }

    .about_name {
        font-size: 12px;
        display: flex;
        align-items: baseline;
        gap: 10px;
        margin-top: 10px;
    }

    h2 {
        font: normal normal normal 20px Zen Kaku Gothic New;
        letter-spacing: 0.72px;
        margin-top: 10px;
    }

    h2::after {
        width: 80px;
        /* 下線の幅 */
        height: 2px;
        /* 下線の太さ */
    }

    h3 {
        font: normal normal bold 15px Zen Kaku Gothic New;
        letter-spacing: 1px;
        margin-top: 15px;
    }

    h4 {
        letter-spacing: 2px;
        margin-top: 3px;
    }

    .item_box {
        border-left: solid 8px #202020;
        border-bottom: solid 2px #202020;
        padding-left: 2px;
    }

    /* RESULT
------------------------------- */
    .result-container {
        margin-top: 50px;
        grid-template-columns: 180px 1fr;
    }

    #result li {
        font: normal normal normal 11px/9px Zen Kaku Gothic New;
        padding-top: 10px;
    }

    #result h2 {
        padding-left: 20px;
    }

    /* CAR
------------------------------- */
    #car {
        margin-top: 70px;
        padding-top: 30px;
    }

    .model_box {
        width: 400px;
        padding: 5px 10px;
        margin-bottom: 10px;
        margin-left: 20px;
    }

    .car_item .title {
        font-size: 12px;
        width: 60px;
    }

    .car_item .name {
        padding-left: 5px;
        font-size: 12px;
    }

    .maker_item {
        font-size: 10px;
    }

    #car h2 {
        margin-bottom: 30px;
        padding-left: 20px;
    }

    /*メイン画像下に余白をつける*/
    .car-gallery img {
        width: 600px;
        height: 420px;
        margin-bottom: 5px;
    }

    /*選択するサムネイル画像の設定*/
    .car-choice-btn li {
        width: 120px !important;
    }

    .car-choice-btn li img {
        width: 120px;
    }

    .car-description {
        padding: 10px 0 20px;
        font: normal normal normal 12px/20px Zen Kaku Gothic New;
    }

    #car p {
        padding: 10px;
        height: 200px;
    }

    /* PHOTO
------------------------------- */
    #photo {
        padding-bottom: 40px;
    }

    .photo-slider img {
        width: 100%;
    }

    /*スライド左右の余白調整*/
    .photo-slider .slick-slide {
        margin: 0 5px;
        /*スライド左右の余白調整*/
    }

    #photo h2 {
        margin: 50px 0 40px 20px;
    }

    .photo-slider {
        padding: 15px 0;
    }

    #photo button {
        width: 110px;
        height: 30px;
        font: normal normal 600 12px Zen Kaku Gothic New;
    }

    #photo button:after {
        width: 10px;
        height: 10px;
        margin: -3px 0 0 5px;
    }

    .photo-button {
        margin-top: 10px;
    }

    /* GOODS
------------------------------- */
    #goods {
        padding-bottom: 70px;
    }

    #goods h2 {
        margin: 50px 0 30px 20px;
    }

    .goods_img {
        width: auto;
        height: 260px;
    }

    .goods-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 110px 1fr;
        grid-row-gap: 0px;
        margin-bottom: 20px;
    }

    .sale_text {
        grid-area: 1 / 1 / 2 / 2;
        font: normal normal normal 12px Zen Kaku Gothic New;
        margin-left: 20px;
    }

    .sale_img {
        grid-area: 2 / 1 / 3 / 2;
        margin: 0 auto;
    }

    .sale_link {
        align-items: center;
        vertical-align: middle;
        margin-top: 5px;
    }

    .sale_link img {
        height: 40px;
    }

    .sale_link p {
        text-align: center;
    }

    .sale_link p:after {
        content: "";
        display: inline-block;
        width: 12px;
        height: 12px;
        margin: -3px 0 0 5px;
        background: url("../img/icon/right-arrow.png") no-repeat;
        background-size: contain;
        vertical-align: middle;
    }

    /* WORK
------------------------------- */
    .contents-weight-work {
        width: 600px;
        /* width: fit-content;
        margin: 50px auto 0 auto; */
    }

    .work-box-pad {
        margin: auto;
    }

    .work_link img {
        margin: auto;
        width: 70%;
        /* margin: 10px;
        height: 40px; */
    }

    .work_link {
        align-items: center;
        vertical-align: middle;
        margin-top: 40px;
    }

    .work_link p {
        font-size: 28px;
        text-align: center;
    }

    .work_img {
        width: auto;
        height: 750px;
    }

    .work-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 110px 1fr;
        grid-row-gap: 0px;
        /* margin-bottom: 20px; */
    }

    /* フッター
------------------------------- */
    footer {
        text-align: center;
        width: 100%;
        flex-direction: column;
    }

    .footer-container {
        justify-content: space-between;
        margin: 0 10px;
        padding-top: 30px;
    }

    footer .main-nav {
        font: normal normal 600 8px Zen Kaku Gothic New;
        letter-spacing: -0.6px;
    }

    footer .nav-text {
        display: block;
    }

    footer p {
        font: normal normal bold 25px Kosugi;
    }

    .copyright {
        margin-left: 10px;
        padding: 30px 0;
    }

    #page-top a {
        width: 50px;
        height: 50px;
    }

    /* 個別ページ用設定
------------------------------- */
    #contact h3,
    #confirm h3,
    #thanks h3 {
        margin: 40px auto;
    }

    #confirm h4 {
        font: normal normal 400 13px/20px Zen Kaku Gothic New;
        letter-spacing: 0.1em;
    }

    /* PHOTO
------------------------------- */
    ul.photo_page {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .photo_page {
        columns: 4;
        /*段組みの数*/
        padding: 50px 0 100px 0;
        /*ギャラリー左右に余白をつける*/
        margin: 0 auto;
        width: 580px;
    }

    /*ギャラリー内のイメージは横幅100%にする*/
    .photo_page img {
        width: 137px;
        height: 137px;
    }

    /* CONTACT
------------------------------- */
    #contact {
        width: 100%;
        padding-bottom: 20px;
    }

    form.php-form {
        padding-top: 20px;
    }

    #contact .item {
        width: 550px;
    }

    form div {
        margin-bottom: 5px;
    }

    label {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    input,
    textarea {
        border-radius: 5px;
        padding: 3px 5px;
        font-size: 0.8rem;
        width: 100%;
    }

    #postal_code,
    #tel {
        width: 100%;
    }

    textarea {
        width: 100%;
        height: 150px;
    }

    input[type="submit"] {
        line-height: 1;
    }

    label {
        text-align: left;
        font: normal normal 400 14px/20px Zen Kaku Gothic New;
        letter-spacing: 1px;
        text-transform: uppercase;
        border-left: 5px solid #000;
        padding-left: 5px;
        margin-top: 10px;
    }

    #contact .button {
        margin: 30px 0;
    }

    /* CONFIRM-CONTACT
------------------------------- */
    #confirm {
        margin: 0 auto 50px;
        padding: 10px;
        top: 252px;
        left: 0px;
        width: 600px;
    }

    #confirm .item {
        width: 590px;
        margin: 0 auto;
        font: normal normal 400 14px/20px Zen Kaku Gothic New;
    }

    #confirm label {
        text-align: left;
        letter-spacing: 1px;
        text-transform: uppercase;
        padding-left: 5px;
        margin-top: 10px;
    }

    #confirm form.php-form {
        flex-direction: column;
        align-items: normal;
    }

    #confirm .button {
        margin: 0;
    }

    #confirm .back {
        background-color: #f28888;
    }

    #confirm .back:hover {
        background-color: #f7c3c3;
    }

    /* THANKS-CONTACT
------------------------------- */
    #thanks p {
        margin-top: 30px;
        font-size: 12px;
    }

    .thanks-page {
        width: 580px;
    }

    #thanks .button {
        margin: 100px 0;
    }
}

/* モバイル版
------------------------------- */
@media screen and (max-width: 600px) {

    /* 画面サイズ*/
    .contents-weight {
        width: 360px;
    }

    /* ボタン */
    .button {
        height: 40px;
        padding: 0 20px;
        font-size: 15px;
    }

    .button-item {
        gap: 10px;
        padding-top: 40px;
    }

    .required::after {
        font-size: 0.8em;
        margin-left: 5px;
    }

    .alert-text {
        font-size: 0.5em;
        padding: 0.5em;
        border-radius: 0.5em;
        margin-left: 0.3em;
    }

    /* HEADER
------------------------------- */
    #header {
        border-top-width: 15px;
    }

    #header h1 {
        font: normal normal bold 25px Kosugi;
    }

    .page-header {
        padding: 0 10px 0;
        height: 60px;
    }

    .main-nav {
        font: normal normal 600 10px Zen Kaku Gothic New;
        letter-spacing: -0.6px;
    }

    .main-nav li {
        margin-left: 8px;
    }

    .main-nav img {
        height: 25px;
        padding: 5px;
        background-color: #FFF;
    }

    .bg-cr img {
        height: 25px;
        padding: 0px;
    }

    header #nav ul {
        /*ナビゲーション天地中央揃え*/
        display: block;
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*アクティブクラスがついたら位置を0に*/
    header #nav.panelactive {
        top: 0;
    }

    header #nav {
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: -120%;
        left: 0;
        width: 100%;
        height: 100%;
        /*ナビの高さ*/
        background: rgba(0, 0, 0, 0.9);
        /*動き*/
        transition: all 0.6s;
        text-align: center;
    }

    header .nav-text {
        list-style: none;
        text-align: center;
        margin: 20px;
    }

    header .nav-icon {
        display: inline-block;
    }

    header #nav li a {
        color: #fff;
        text-decoration: none;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
        font-size: 12px;
    }

    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all 0.4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #000;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span {
        background-color: #fff;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    /* TITLE
------------------------------- */
    #title {
        height: 80px;
    }

    /* TOP_SLIDE
------------------------------- */
    .slider4-wrap {
        width: 100%;
        margin: 0 auto;
        position: relative;
    }

    .slider-4 .slick-slide {
        height: 100%;
        overflow: hidden;
    }

    .slider-4 .slick-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .dots-4 .slick-dots {
        position: unset;
        text-align: center;
    }

    ul#js-slider-4 {
        margin-bottom: 0;
    }

    .dots-4 .slick-dots li {
        display: inline-block;
    }

    .dots-4 .slick-dots button {
        display: block;
        width: 10px;
        height: 10px;
        margin: 6px;
        font-size: 0;
        padding: 0;
        border: 0;
        outline: none;
        cursor: pointer;
        background: #bcbcbc;
        border-radius: 50%;
    }

    .dots-4 .slick-dots .slick-active button {
        background: #0a467d;
    }

    .progress_bar {
        width: 100%;
        background: #eaeaea;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 1;
    }

    .progress_bar .bar {
        width: 0%;
        height: 4px;
        background: #0a467d;
    }

    /* ABOUT_ME
------------------------------- */
    .item_name {
        width: 50px;
        font-size: 11px;
    }

    .item_text {
        font-size: 11px;
    }

    .back-color {
        margin: 20px auto 0;
        width: 360px;
        height: auto;
        display: block;
    }

    .about-container {
        width: 340px;
        height: auto;
        padding: 0 10px;
        align-items: center;
        display: grid;
        grid-template-columns: 165px 165px;
        grid-template-rows: 50px 1fr 50px 30px 30px 250px;
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }

    .about_head {
        grid-area: 1 / 1 / 2 / 3;
    }

    .about_name {
        grid-area: 3 / 1 / 4 / 3;
        display: flex;
        align-items: center;
        margin: 0 auto;
        gap: 10px;
    }

    .prof-1 {
        grid-area: 4 / 1 / 5 / 2;
    }

    .prof-2 {
        grid-area: 4 / 2 / 5 / 3;
    }

    .prof-3 {
        grid-area: 5 / 1 / 6 / 2;
    }

    .prof-4 {
        grid-area: 5 / 2 / 6 / 3;
    }

    .about-text {
        grid-area: 6 / 1 / 7 / 3;
    }

    /* .about-description {
        grid-area: 1 / 1 / 2 / 2;
    } */
    .prof-pic-mbl {
        grid-area: 2 / 1 / 3 / 3;
        display: block;
        width: 250px;
        margin: 0 auto;
    }

    .prof-pic {
        display: none;
    }

    .about_head h2 {
        text-align: center;
    }

    .about-text {
        font: normal normal normal 10px/18px Zen Kaku Gothic New;
        padding-top: 0;
    }

    .about-name {
        margin-top: 0;
    }

    .about-en {
        margin-top: 0;
    }

    h2 {
        font: normal normal normal 20px Zen Kaku Gothic New;
        letter-spacing: 0.72px;
        margin-top: 10px;
        text-align: center;
        padding-left: 0;
    }

    h2::after {
        width: 50px;
        /* 下線の幅 */
        height: 2px;
        /* 下線の太さ */
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }

    h3 {
        font: normal normal bold 15px Zen Kaku Gothic New;
        letter-spacing: 1px;
        margin-top: 15px;
    }

    h4 {
        letter-spacing: 2px;
        margin-top: 3px;
    }

    .item_box {
        height: 30px;
        border-left: solid 8px #202020;
        border-bottom: solid 2px #202020;
        padding-left: 2px;
    }

    /* RESULT
------------------------------- */
    .result-container {
        margin-top: 50px;
        display: block;
        padding: 0 25px;
    }

    #result li {
        font: normal normal normal 10px/15px Zen Kaku Gothic New;
        padding-top: 10px;
    }

    #result h2 {
        padding-left: 0;
    }

    /* CAR
------------------------------- */
    #car {
        margin-top: 70px;
        padding-top: 30px;
    }

    .model_box {
        width: 360px;
        padding: 5px 15px;
        margin-bottom: 2px;
        margin-left: 0;
    }

    .car_item .title {
        font-size: 12px;
    }

    .car_item .name {
        padding-left: 10px;
        font-size: 12px;
        letter-spacing: 0.2rem;
    }

    .maker_item {
        font-size: 10px;
        letter-spacing: 0.2rem;
    }

    #car h2 {
        margin-bottom: 30px;
        padding-left: 20px;
    }

    /*メイン画像下に余白をつける*/
    .car-gallery img {
        width: 360px;
        height: 252px;
        margin-bottom: 2px;
    }

    /*選択するサムネイル画像の設定*/
    .car-choice-btn li {
        width: 72px !important;
    }

    .car-choice-btn li img {
        width: 72px;
    }

    .car-description {
        padding: 10px 0 20px;
        font: normal normal normal 10px/12px Zen Kaku Gothic New;
    }

    #car p {
        padding: 10px;
        height: 150px;
    }

    /* PHOTO
------------------------------- */
    #photo {
        padding-bottom: 40px;
    }

    .photo-slider img {
        width: 100%;
    }

    /*スライド左右の余白調整*/
    .photo-slider .slick-slide {
        margin: 0 5px;
        /*スライド左右の余白調整*/
    }

    #photo h2 {
        margin: 30px 0 20px 20px;
    }

    .photo-slider {
        padding: 15px 0;
    }

    #photo button {
        width: 110px;
        height: 30px;
        font: normal normal 600 12px Zen Kaku Gothic New;
    }

    #photo button:after {
        width: 10px;
        height: 10px;
        margin: -3px 0 0 5px;
    }

    .photo-button {
        margin-top: 10px;
        margin-right: 10px;
    }

    /* GOODS
------------------------------- */
    #goods {
        padding-bottom: 70px;
    }

    #goods h2 {
        margin: 50px 0 30px 20px;
    }

    .goods_img {
        width: auto;
        height: 150px;
    }

    .goods-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 110px 1fr;
        grid-row-gap: 0px;
        margin-bottom: 20px;
    }

    .sale_text {
        grid-area: 1 / 1 / 2 / 2;
        font: normal normal normal 12px Zen Kaku Gothic New;
        margin-left: 20px;
    }

    .sale_img {
        grid-area: 2 / 1 / 3 / 2;
        margin: 0 auto;
    }

    .sale_link {
        align-items: center;
        vertical-align: middle;
        margin-top: 5px;
    }

    .sale_link img {
        height: 40px;
        margin: 20px;
    }

    .sale_link p {
        text-align: center;
    }

    .sale_link p:after {
        content: "";
        display: inline-block;
        width: 12px;
        height: 12px;
        margin: -3px 0 0 5px;
        background: url("../img/icon/right-arrow.png") no-repeat;
        background-size: contain;
        vertical-align: middle;
    }

    /* WORK
------------------------------- */
    .contents-weight-work {
        width: 360px;
        /* width: fit-content;
    margin: 50px auto 0 auto; */
    }

    #work h2 {
        margin: 50px 0 30px 20px;
    }

    .work_img {
        width: auto;
        height: 300px;
    }

    .work_link {
        align-items: center;
        vertical-align: middle;
        margin-top: 15px;
    }

    .work_link img {
        /* height: 23px;
        margin: 20px; */
        width: 70%;
    }

    .work_link p {
        font-size: 20px;
        text-align: center;
    }

    .work_link p:after {
        content: "";
        display: inline-block;
        width: 12px;
        height: 12px;
        margin: -3px 0 0 5px;
        /* background: url("../img/icon/right-arrow.png") no-repeat; */
        background-size: contain;
        vertical-align: middle;
    }

    /* フッター
------------------------------- */
    footer {
        text-align: center;
        width: 100%;
        flex-direction: column;
    }

    .footer-container {
        justify-content: space-between;
        margin: 0 10px;
        padding-top: 30px;
    }

    footer .main-nav {
        font: normal normal 600 8px Zen Kaku Gothic New;
        letter-spacing: -0.6px;
    }

    footer .main-nav img {
        margin-right: 0;
    }

    .nav-icon {
        margin: 0 !important;
    }

    footer .nav-text {
        display: none;
    }

    footer p {
        font: normal normal bold 25px Kosugi;
    }

    .copyright {
        margin-left: 10px;
        padding: 30px 0;
    }

    footer .main-nav li {
        margin-left: 1px;
    }

    #page-top a {
        width: 40px;
        height: 40px;
    }

    /* 個別ページ用設定
------------------------------- */
    #contact h3,
    #confirm h3,
    #thanks h3 {
        margin: 40px auto;
    }

    #confirm h4 {
        font: normal normal 400 13px/20px Zen Kaku Gothic New;
        letter-spacing: 0.1em;
    }

    /* PHOTO
------------------------------- */
    .photo_page {
        columns: 3;
        /*段組みの数*/
        padding: 50px 0 80px 0;
        /*ギャラリー左右に余白をつける*/
        margin: 0 auto;
        width: 340px;
    }

    ul.photo_page {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    /*ギャラリー内のイメージは横幅100%にする*/
    .photo_page img {
        width: 105px;
        height: 105px;
    }

    /* CONTACT
------------------------------- */
    #contact {
        width: 340px;
        padding-bottom: 20px;
    }

    form.php-form {
        padding-top: 20px;
    }

    #contact .item {
        width: 330px;
    }

    form div {
        margin-bottom: 5px;
    }

    label {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    input,
    textarea {
        border-radius: 5px;
        padding: 3px 5px;
        font-size: 0.8rem;
        width: 100%;
    }

    #postal_code,
    #tel {
        width: 100%;
    }

    textarea {
        width: 100%;
        height: 150px;
    }

    input[type="submit"] {
        line-height: 1;
    }

    label {
        text-align: left;
        font: normal normal 400 14px/20px Zen Kaku Gothic New;
        letter-spacing: 1px;
        text-transform: uppercase;
        border-left: 5px solid #000;
        padding-left: 5px;
        margin-top: 10px;
    }

    #contact .button {
        margin: 30px 0;
    }

    /* CONFIRM-CONTACT
------------------------------- */
    #confirm {
        margin: 0 auto 50px;
        padding: 10px;
        top: 252px;
        left: 0px;
        width: 360px;
    }

    #confirm .item {
        width: 340px;
        margin: 0 auto;
        font: normal normal 400 14px/20px Zen Kaku Gothic New;
    }

    #confirm label {
        text-align: left;
        letter-spacing: 1px;
        text-transform: uppercase;
        padding-left: 5px;
        margin-top: 10px;
    }

    #confirm form.php-form {
        flex-direction: column;
        align-items: normal;
    }

    #confirm .button {
        margin: 0;
    }

    #confirm .back {
        background-color: #f28888;
    }

    #confirm .back:hover {
        background-color: #f7c3c3;
    }

    /* THANKS-CONTACT
------------------------------- */
    #thanks p {
        margin-top: 20px;
        font-size: 10px;
    }

    .thanks-page {
        width: 300px;
        margin: 0 auto;
    }

    #thanks .button {
        margin: 50px 0;
    }
}