@import url("destyle.css");
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200&display=swap');

body {
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.6em;
    color: #666;
    font-family: "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
}

a {
    transition: 0.2s;
}

a:hover {
    opacity: 0.4;
}

.tb,
.tbsp,
.sp {
    display: none;
}

@media screen and (max-width:800px) {
    .tbsp.tb {
        display: block;
    }

    .pc {
        display: none;
    }
}

@media screen and (max-width:480px) {
    .pctb {
        display: none;
    }

    .sp {
        display: block;
    }
}


/* ボディ内 */
header {
    width: 100vw;
    height: 450px;
    position: relative;
}

@media screen and (max-width:480px) {
    header {
        height: 300px;
    }
}

.slide-container {
    position: absolute;
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: end;
}

.slide {
    width: 70%;
    height: 100%;
    background-size: cover;
    background-position: bottom center;
}

@media screen and (max-width:800px) {
    .slide {
        width: 100%;
    }
}

.paint {
    position: absolute;
    width: 60vw;
    height: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    padding: 0;
    margin: 0;
}

.paint img {
    height: 100%;
    width: auto;
}

.paint img:nth-child(3) {
    transform: scale(-1, 1);
    /*3番目の画像左右反転*/
}

@media screen and (max-width:480px) {
    .paint {
        width: 40vw;
    }
}

.logo {
    width: 90%;
    max-width: 1200px;
    height: 450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.logo img {
    width: 30vw;
    max-width: 450px;
    z-index: 100;
}

.sp-logo {
    width: 100%;
    background-color: #f5a102;
}

.sp-logo img {
    width: 70%;
    display: block;
    margin: 0 auto;
    padding: 16px 0;
}

@media screen and (max-width:800px) {
    .logo {
        align-items: flex-start;
    }

    .logo img {
        width: 40vw;
        margin-top: 35px;
    }

}

@media screen and (max-width:680px) {
    nav {
        display: none;
    }
}

nav ul {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-evenly;
}

nav ul li a::before {
    content: '＋ ';
    color: #f5d302;
}

.inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.inner>p:first-child {
    font-size: 40px;
    padding: 50px 0 10px;
}

.inner>p:nth-child(2) {
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.inner .flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media screen and (max-width:800px) {
    .inner .flex {
        align-items: flex-start;
    }
}

.align-center {
    display: flex;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    font-size: 1.5em;
    line-height: 2em;
}

.flex-item {
    margin-bottom: 40px;
}

.flex-item:nth-child(odd) {
    width: 56%;
}

.flex-item:nth-child(even) {
    width: 38%;
}

@media screen and (max-width:480px) {
    .inner .flex {
        flex-direction: column;
    }

    .flex-item:nth-child(odd) {
        width: 100%;
    }

    .flex-item:nth-child(even) {
        width: 100%;
    }
}

.partition {
    width: 100%;
    background-color: #f5d302;
    display: flex;
    overflow: hidden;
}

.partition div {
    display: flex;
    padding-top: 20px;
}

.partition div img {
    width: auto;
    height: 6vh;
    min-height: 70px;
}

@keyframes loop {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}

.partition div:first-child {
    animation: loop 200s -100s linear infinite;
}

.partition div:last-child {
    animation: loop2 200s linear infinite;
}

.kodawari {
    font-size: 40px;
    margin: 10px -5px 30px;
}


.menu .flex p:first-child {
    font-size: 24px;
    margin-bottom: 20px;
    color: #a84525;
}

.menu .flex p:first-child::before {
    content: '';
    background-image: url(../images/priceicon.jpg);
    background-size: contain;
    width: 50px;
    height: 50px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.menu .flex p:nth-child(2) {
    font-size: 18px;
    margin-bottom: 20px;
}

.menu .flex hr {
    border: #ccc solid 0.5px;
    margin: 20px 0;
}

.menu .price {
    font-size: 26px;
    margin-top: 10px;
}

.menu .price span {
    font-size: 12px;
}

/* 社長あいさつ */
.greeting .flex-item{
    height: 100%;
}

/* 会社概要 */
.company table {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.company table tr {
    border-bottom: #ccc solid 1px;
    border-top: #ccc solid 1px;
}

.company table th {
    padding: 10px 0;
    width: 100px;
    background-color: #ffffda;
    text-align: center;
    vertical-align: middle;
}

.company table td {
    padding: 10px 0 10px 15px;
    vertical-align: middle;
}

.contact .tel {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.contact .tel::before {
    content: '';
    display: inline-block;
    background-image: url(../images/freedial.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    width: 50px;
    height: 50px;
    margin-right: 5px;
}

.contact .mail {
    text-align: center;
    margin-bottom: 40px;
}

.contact a {
    color: #f5a102;
    text-decoration: underline;
}

/* 個別の */
.futura {
    font-family: 'Plus Jakarta Sans',
        Arial;
}

.bg-yellow {
    background-color: #ffffda;
}

.orange {
    color: #f5a102;
    font-size: 26px;
}

.min {
    font-family: 'Times New Roman', Times, serif;
}

.bg-stripe1 {
    background-size: auto auto;
    background-color: rgba(255, 218, 124, 1);
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(0, 0, 0, 0.06) 8px, rgba(0, 0, 0, 0.06) 13px);
}

.bg-stripe2 {
    background-size: auto auto;
    background-color: rgba(155, 211, 218, 1);
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(0, 0, 0, 0.06) 8px, rgba(0, 0, 0, 0.06) 13px);
}

.bg-stripe3 {
    background-size: auto auto;
    background-color: rgba(255, 238, 253, 1);
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(0, 0, 0, 0.06) 8px, rgba(0, 0, 0, 0.06) 13px);
}




footer {
    text-align: center;
    background-color: #f5d302;
    color: #FFF;
    padding: 4em 0 1em;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 2em;
}

footer div {
    width: 90%;
    margin: 0 auto;
}

@media screen and (max-width:480px) {
    footer {
        text-align: left;
        font-size: 16px;
    }
}

.copyright {
    text-align: center;
    padding: 1.5em 0;
}