@charset "utf-8";

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: #3F3E3E;
    scroll-behavior: smooth;
}

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

*:hover {
    transition: all .3s cubic-bezier(0, 0, .5, 1);
}

p a {
    color: #3F3E3E;
    font-weight: bold;
}

p a:hover {
    opacity: 0.75;
}

.btn {
    position: relative;
    font-size: 17px;
    color: #3F3E3E;
    background-color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    padding: 25px;
    box-sizing: border-box;
}

.btn::after {
    content: '\02192';
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 38px;
    height: 25px;
    border-radius: 5px;
    box-sizing: border-box;
    display: grid;
    place-content: center;
    background-color: #6B4D42;
    border: 1px solid #6B4D42;
    color: #FFFFFF;
    font-weight: normal;
    font-size: 0.65rem;
}

.btn:hover {
    background-color: #BC9C73;
}

.btn:hover::after {
    background-color: #FFFFFF;
    color: #6B4D42;
}

@media print,
screen and (min-width: 769px) {
    .sp {
        display: none;
    }
}

@media print,
screen and (max-width: 768px) {
    .pc {
        display: none;
    }
}

/* header,footer start */
header {
    position: relative;
}

header .inner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
}

header .inner .left {
    padding-top: 40px;
    padding-left: 40px;
}

header .inner .right a {
    color: #FFFFFF;
    text-decoration: none;
}

header .inner .right .links {
    display: flex;
    justify-content: flex-end;
}

header .inner .right .links a {
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 15px;
    box-sizing: border-box;
    padding: 10px 19px 12px;
}

header .inner .right .links a::after {
    content: '\02192';
    width: 28px;
    height: 19px;
    border-radius: 3px;
    box-sizing: border-box;
    display: grid;
    place-content: center;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    font-weight: normal;
    font-size: 0.65rem;
}

header .inner .right .links a:nth-of-type(1) {
    background-color: #6B4D42;
}

header .inner .right .links a:nth-of-type(2) {
    background-color: #BC9C73;
}

header .inner .right .links a:nth-of-type(3) {
    background-color: #000000;
}

header .inner .right .links a:hover {
    opacity: 0.85;
}

header .inner .right .links a:hover::after {
    transform: translateX(5px);
    transition: all .3s cubic-bezier(0, 0, .5, 1);
}

header .inner .right .nav {
    padding-right: 30px;
    padding-top: 15px;
    display: flex;
    column-gap: 35px;
}

header .inner .right .nav a {
    text-shadow: 0px 3px 6px #00000040;
}

header .inner .right .nav a:hover {
    color: #BC9C73;
}

header .inner.active .right .nav a {
    color: #000000;
    transition: all .3s cubic-bezier(0, 0, .5, 1);
}

header .inner .menu-btn {
    display: none;
}

footer {
    font-size: 17px;
}

footer .inner {
    display: flex;
    justify-content: space-between;
    max-width: 1686px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
    box-sizing: border-box;
}

footer .inner .left .address {
    font-size: 13px;
    color: #8D8D8D;
    margin-top: 25px;
}

footer .inner .nav {
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 35px;
    font-weight: 500;
}

footer .inner .nav a {
    color: #3F3E3E;
    text-decoration: none;
}

footer .about {
    border-top: 1px solid #AFAFAF;
}

footer .about .inner {
    padding: 28px;
    box-sizing: border-box;
}

footer .about .inner .left {
    display: flex;
    column-gap: 30px;
}

footer .about .inner .left a {
    color: #3F3E3E;
    text-decoration: none;
}

footer .about .inner .right .copyright {
    margin: 0;
}

/* tablet */
@media print,
screen and (max-width: 1200px) {
    header .inner .menu-btn {
        display: block;
        position: fixed;
        top: 22px;
        right: 1rem;
        width: 31px;
        height: 21px;
        background: none;
        cursor: pointer;
        z-index: 10;
    }

    header .inner .menu-btn span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #2b2a27;
        border-radius: 2px;
        transition: all .5s;
        box-sizing: border-box;
    }

    header .inner .menu-btn span:nth-of-type(1) {
        top: 0;
    }

    header .inner .menu-btn span:nth-of-type(2) {
        top: 10px;
    }

    header .inner .menu-btn span:nth-of-type(3) {
        bottom: 0;
    }

    header .inner .menu-btn.active span:nth-of-type(1) {
        transform: translateY(10px) rotate(45deg);
    }

    header .inner .menu-btn.active span:nth-of-type(2) {
        opacity: 0;
    }

    header .inner .menu-btn.active span:nth-of-type(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    header .inner .right {
        position: absolute;
        top: 0;
        right: -100%;
        display: grid;
        width: 100%;
        background-color: #FFFFFF;
        padding-top: 50px;
        box-shadow: 4px 4px 6px -4px #989898;
    }

    header .inner .right.active {
        right: 0;
        transition: all .3s cubic-bezier(0, 0, .5, 1);
    }

    header .inner .right .nav {
        order: 1;
        display: grid;
        padding: 1rem 0;
    }

    header .inner .right .nav a {
        padding: 1rem 1rem;
        color: #3F3E3E;
        box-sizing: border-box;
        text-align: center;
    }

    header .inner .right .links {
        order: 2;
        display: grid;
        justify-content: normal;
    }

    header .inner .right .links a {
        justify-content: center;
    }

    header .inner .right .links a::after {
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
    }
}

/* sp */
@media print,
screen and (max-width: 768px) {
    header .inner .left {
        position: relative;
        z-index: 10;
        padding-top: 19px;
        padding-left: 12px;
    }

    header .inner .left .logo img {
        height: 29px;
    }

    footer {
        padding-bottom: 3rem;
    }

    footer .inner {
        display: block;
        padding: 25px 0 1rem;
    }

    footer .inner .left .logo {
        text-align: center;
    }

    footer .inner .left .logo img {
        max-width: 174px;
    }

    footer .inner .left .address {
        font-size: 11px;
        text-align: center;
        margin: 1rem auto;
    }

    footer .inner .nav {
        display: none;
    }

    footer .about {
        width: 90%;
        margin: 0 auto;
    }

    footer .about .inner {
        padding: 1rem 0;
    }

    footer .about .inner .left {
        column-gap: 1rem;
        justify-content: center;
        margin-bottom: 1rem;
    }

    footer .about .inner .left a {
        font-size: 1rem;
    }

    footer .about .inner .right {
        text-align: center;
        font-size: 12px;
    }

}

/* header,footer end */

main {
    overflow-x: hidden;
}

main section {
    padding: 7rem 0;
    box-sizing: border-box;
}

main p {
    font-size: 17px;
    line-height: 1.7;
}

main .fv {
    position: relative;
    padding: 0;
}

main .fv .bkimg {
    text-align: center;
}

main .fv .bkimg img {
    width: 100%;
    object-fit: cover;
    height: 100vh;
}

main .fv .fv-ttl {
    position: absolute;
    top: 39%;
    left: 7%;
    transform: translateY(-50%);
}

main .fv .fv-ttl .ttl {
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-size: 80px;
    margin: 0;
    letter-spacing: 10px;
}

main .fv .fv-ttl .ttl span {
    display: block;
    font-size: 1.5rem;
    margin-top: 1em;
    letter-spacing: 5px;
}

main .fv .scroll {
    position: absolute;
    bottom: 1rem;
    left: 3rem;
    letter-spacing: 2px;
    box-sizing: border-box;
    padding-bottom: 4rem;
}

main .fv .scroll::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    margin: 0 auto;
    border-left: 1px solid #3F3E3E;
    box-sizing: border-box;
    width: 1px;
    height: 2.5rem;
}

main .ttl-wrap {
    max-width: 1745px;
    width: 90%;
    margin: 0 auto;
    border-bottom: 1px solid #707070;
    padding-bottom: 45px;
    box-sizing: border-box;
}

main .ttl-wrap .en {
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
    font-size: 5rem;
    margin: 0;
}

main .ttl-wrap .ttl {
    position: relative;
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    padding-left: 15px;
    box-sizing: border-box;
}

main .ttl-wrap .ttl::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 7px;
    border-left: 7px solid #BC9C73;
}

main .card-inner {
    max-width: 1686px;
    width: 90%;
    margin: 45px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 33px;
    row-gap: 72px;
}

main .card-inner .card .img {
    position: relative;
    text-align: center;
}

main .card-inner .card .img .icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

main .card-inner .card .ttl {
    position: relative;
    padding-left: 10px;
    font-size: 21px;
    margin: 18px 0 0;
    box-sizing: border-box;
}

main .card-inner .card .ttl::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    border-left: 3px solid #BC9C73;
}

main .accent {
    color: #545454;
    text-align: center;
    font-size: 28px;
    text-decoration: underline;
    text-underline-position: under;
}

main .ttl3 {
    font-size: 40px;
    max-width: 1686px;
    width: 90%;
    margin: 40px auto 0;
}

main .explan {
    max-width: 1686px;
    width: 90%;
    margin: 2rem auto;
}

main .about {
    position: relative;
    background-color: #F4EFEA;
    padding: 4rem 0 10rem;
    box-sizing: border-box;
}

main .about .wrap {
    max-width: 1686px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main .about .wrap .img-box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 15px;
}

main .about .wrap .img-box .img {
    text-align: center;
}

main .about .wrap .desc-box {
    max-width: 800px;
    text-align: center;
}

main .about .wrap .desc-box .ttl {
    font-size: 34px;
}

main .about .wrap .desc-box .ttl span {
    font-size: 42px;
}

main .about .wrap .desc-box .ttl span b {
    color: #BC9C73;
    border-bottom: 3px solid;
    font-weight: bold;
}

main .about .wrap .desc-box .lead {
    font-size: 20px;
    line-height: 2;
    margin: 60px auto;
}

main .about .wrap .desc-box .accent {
    color: #BC9C73;
}

@keyframes moveLeft {
    from {
        transform: translateX(0);
    }

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

main .about .slogan {
    position: absolute;
    bottom: 0;
    left: 0;
    -webkit-text-stroke: 2px #BC9C73;
    paint-order: stroke fill;
    color: #f4efea;
    font-size: 6.5rem;
    width: max-content;
    margin: 0;
    line-height: 1.4;
    font-weight: bold;
    opacity: 0.5;
    animation: moveLeft 20s linear infinite;
    display: flex;
}

main .about .slogan span {
    flex-shrink: 0;
}

main .create {
    background: linear-gradient(0deg, rgba(244, 239, 234, 1) 97%, rgba(255, 255, 255, 1) 100%);
}

main .case {
    background-color: #E1D2C0;
}

main .inner {
    max-width: 1686px;
    width: 90%;
}

main .case .inner {
    margin: 45px auto 85px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 46px;
}

main .case .inner .box {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 27px 28px;
    box-sizing: border-box;
}

main .case .inner .box .img {
    text-align: center;
}

main .case .inner .box .img img {
    border-radius: 10px;
}

main .case .inner .box .ttl {
    font-size: 28px;
}

main .case .inner .box .ttl span {
    background-color: #F4EFEA;
    border: 1px solid #3F3E3E;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

main .case .inner .box .boxbox {
    margin-top: 30px;
    background-color: #F4EFEA;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 19px 21px;
}

main .case .inner .box .boxbox .ttl2 {
    position: relative;
    padding-left: 13px;
    box-sizing: border-box;
    color: #6B4D42;
    margin: 0;
}

main .case .inner .box .boxbox .ttl2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 7px;
    border-left: 7px solid #6B4D42;
}

main .case .inner .box .boxbox .ttl2:nth-of-type(n+2) {
    margin-top: 30px;
}

main .case .inner .box .boxbox p {
    margin: 0;
}

main .case .inner2 {
    max-width: 1200px;
    width: 90%;
    margin: 70px auto 62px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

main .case .inner2 .box {
    text-align: center;
    box-sizing: border-box;
    border-right: 1px solid #6B4D42;
}

main .case .inner2 .box:last-of-type {
    border: 0;
}

main .case .inner2 .box .img img {
    max-width: 162px;
}

main .case .inner2 .box .name {
    color: #95614D;
    font-size: 20px;
    margin: 15px auto;
}

main .case .inner2 .box .sheets {
    font-weight: bold;
    font-size: 24px;
    color: #95614D;
    margin: 0;
}

main .case .inner2 .box .sheets span {
    font-family: "Google Sans", sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1;
}

main .case .flex {
    display: flex;
    justify-content: center;
    column-gap: 4rem;
}

main .case .btn-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1686px;
    width: 90%;
    margin: 3rem auto 0;
    column-gap: 34px;
}

main .case .btn {
    font-size: 21px;
    color: #FFFFFF;
    background-color: #484038;
    text-align: center;
}

main .case .btn:hover {
    background-color: #FFFFFF;
    color: #95614D;
}

main .flow {
    background-color: #F4EFEA;
}

main .flow-inner {
    max-width: 1686px;
    width: 90%;
    margin: 45px auto 60px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 30px;
    border-bottom: 1px solid #707070;
    padding-bottom: 67px;
}

main .flow-inner .box {
    position: relative;
    counter-increment: num;
    background-color: #FFFFFF;
    margin-left: 123px;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    column-gap: 43px;
}

main .flow-inner .box::before {
    content: "0" counter(num);
    color: #BC9C73;
    font-size: 3rem;
    display: inline-block;
    position: absolute;
    left: -116px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
}

main .flow-inner .box::after {
    content: '';
    display: inline-block;
    position: absolute;
    left: -90px;
    top: calc(50% + 45px);
    transform: translateX(-50%);
    border-left: 1px solid #707070;
    height: 180px;
}

main .flow-inner .box:last-child::after {
    content: none;
}

main .flow-inner .box .img img {
    max-width: 200px;
}

main .flow-inner .box .desc .ttl {
    font-size: 28px;
    margin: 0;
}

main .flow-inner .box .desc sup {
    color: #CC0022;
}

main .flow .annotation {
    max-width: 1686px;
    width: 90%;
    margin: 0 auto;
}

main .flow .annotation p {
    margin: 0;
    text-indent: -64px;
    padding-left: 64px;
}

main .flow .annotation p span {
    color: #CC0022;
}

main .point {
    background-color: #F4EFEA;
}

main .border-top {
    position: relative;
}

main .border-top::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    max-width: 1686px;
    width: 90%;
    margin: 0 auto;
    display: inline-block;
    border-top: 6px solid #3F3E3E;
}

main .point .flow-inner {
    margin-top: 0;
    margin-bottom: 0;
    row-gap: 0;
    padding: 0;
    border: 0;
}

main .point .flow-inner .box {
    background-color: transparent;
    margin-left: auto;
    column-gap: 46px;
    padding: 40px 20px;
}

main .point .flow-inner .box::before {
    position: static;
    transform: none;
}

main .point .flow-inner .box::after {
    border-bottom: 1px solid;
    width: 100%;
    left: 0;
    top: auto;
    bottom: 0;
    transform: none;
    border-left: 0;
    height: auto;
}

main .point .flow-inner .box .img img {
    max-width: 353px;
}

main .point .flow-inner .box .desc p small {
    text-indent: -15px;
    padding-left: 15px;
    display: block;
}

main .qna {
    background-color: #F4EFEA;
}

main .qna .inner {
    margin: 0 auto;
}

main .qna .inner .box {
    position: relative;
    padding: 40px 20px;
    border-bottom: 1px solid #707070;
    box-sizing: border-box;
}

main .qna .inner .box:last-child {
    padding-bottom: 60px;
    border-bottom: 6px solid #3F3E3E;
}

main .qna .inner .box::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 40px;
    right: 37px;
    border-left: 2px solid #BC9C73;
    height: 40px;
    transition: all .3s cubic-bezier(0, 0, .5, 1);
}

main .qna .inner .box[open]::before {
    content: none;
}

main .qna .inner .box::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 56px;
    right: 20px;
    border-top: 2px solid #BC9C73;
    width: 40px;
    transition: all .3s cubic-bezier(0, 0, .5, 1);
}

main .qna .inner .box .question {
    position: relative;
    list-style-type: none;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    column-gap: 37px;
    cursor: pointer;
}

main .qna .inner .box .question::before {
    content: 'Q';
    color: #BC9C73;
    font-size: 2.5rem;
    line-height: 1;
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
}

main .qna .inner .box .question:hover {
    opacity: 0.85;
}

main .qna .inner .box .answer {
    position: relative;
    display: flex;
    margin: 2rem auto 0;
    column-gap: 37px;
}

main .qna .inner .box .answer::before {
    content: 'A';
    width: 30.17px;
    box-sizing: border-box;
    text-align: center;
    color: #6B4D42;
    font-size: 2.5rem;
    line-height: 1;
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
}

main .kamiken .inner {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

main .kamiken .inner .desc {
    width: 50%;
}

main .kamiken .inner .desc .text1 {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: #BC9C73;
    margin: 0;
}

main .kamiken .inner .desc .text1::after {
    content: '';
    display: block;
    margin-top: 30px;
    padding-bottom: 30px;
    box-sizing: border-box;
    width: 80px;
    border-top: 1px solid #707070;
}

main .kamiken .inner .desc .logo {
    position: relative;
    transform: translateX(-22px);
    margin-bottom: 6rem;
}

main .kamiken .inner .desc .ttl {
    font-size: 28px;
    margin: 0;
}

main .kamiken .inner .img-wrap {
    position: relative;
    align-self: flex-start;
    min-height: 600px;
    width: 46%;
    box-sizing: border-box;
}

main .kamiken .inner .img-wrap::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 432px;
    height: 396px;
    background-color: #BC9C73;
}

main .kamiken .inner .img-wrap .img1 {
    position: relative;
    text-align: right;
}

main .kamiken .inner .img-wrap .img1 img {
    max-width: 551px;
}

main .kamiken .inner .img-wrap .img2 {
    position: absolute;
    bottom: 0;
    left: 0;
}

main .kamiken .inner .img-wrap .img2 img {
    max-width: 333px;
}

main .kamiken .work {
    max-width: 1686px;
    width: 90%;
    margin: 7rem auto 0;
}

main .kamiken .work .en {
    color: #BC9C73;
    margin: 0 0 8px;
}

main .kamiken .work .workttl {
    font-size: 28px;
    margin: 0;
}

main .kamiken .work .content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 70px;
    margin: 50px auto;
}

main .kamiken .work .content .item {
    border-radius: 10px;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid #DFDFDF;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    padding-bottom: 22px;
    overflow: hidden;
}

main .kamiken .work .content .item:hover {
    background-color: #E1D2C0;
}

main .kamiken .work .content .item .desc {
    padding: 22px 35px 0;
    box-sizing: border-box;
    text-align: left;
}

main .kamiken .work .content .item .ttl4 {
    font-size: 24px;
    margin: 0;
}

main .kamiken .work .content .item .date {
    font-size: 13px;
    color: #8D8D8D;
    margin: 0;
    margin-top: auto;
    padding: 0 35px;
    box-sizing: border-box;
    text-align: left;
}

main .kamiken .work .content .item::after {
    top: auto;
    bottom: 20px;
    right: 33px;
}

main .kamiken .work.flex {
    display: flex;
    border-radius: 10px;
    background-color: #F4EFEA;
    align-items: stretch;
    overflow: hidden;
}

main .kamiken .work.flex .img {
    width: 40%;
}

main .kamiken .work.flex .img img {
    object-fit: cover;
    height: 100%;
}

main .kamiken .work.flex .desc {
    width: 60%;
    padding: 1rem 3.8%;
    box-sizing: border-box;
    align-self: center;
}

main .kamiken .work.flex .desc .btn-wrap {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 45px;
    column-gap: 20px;
}

main .kamiken .work.flex .desc .btn-wrap .btn {
    text-align: left;
    padding-left: 29px;
    padding-right: 72px;
    display: flex;
    align-items: center;
}

main .contact {
    background-color: #484038;
    color: #FFFFFF;
}

main .contact .inner {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

main .contact .inner .box {
    position: relative;
    border-right: 1px solid #5B544C;
    padding-right: 54px;
    display: flex;
    flex-direction: column;
}

main .contact .inner .box:last-of-type {
    border: 0;
    padding-left: 54px;
}

main .contact .inner .box .ttl {
    position: relative;
    padding-left: 10px;
    font-size: 21px;
    margin: 0 0 0;
    box-sizing: border-box;
}

main .contact .inner .box .ttl::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    border-left: 3px solid #BC9C73;
}

main .contact .inner .box .btn {
    display: block;
    width: 100%;
    margin: 25px auto 0;
}

main .contact .inner .box> :nth-child(3) {
    margin-top: 50px;
}

main .contact .inner .box a[href^="tel:"] {
    font-size: 3rem;
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none;
    line-height: 1;
    width: fit-content;
    margin: 15px 0 25px;
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
}

main .contact .inner .box .caution {
    border-top: 1px solid #5B544C;
    padding-top: 25px;
    margin-top: auto;
    margin-bottom: 0;
    font-size: 15px;
}

/* tablet */
@media print,
screen and (max-width: 1200px) {
    main .kamiken .inner .img-wrap {
        align-self: center;
        min-height: 512px;
    }

    main .kamiken .inner .img-wrap .img1 img {
        width: 90%;
    }
    
    main .kamiken .inner .img-wrap::before {
        width: 86%;
        height: 80%;
    }

    main .kamiken .work.flex .desc .btn-wrap {
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
    }
}

/* sp */
@media print,
screen and (max-width: 768px) {
    main .fv .fv-ttl {
        top: 43%;
        left: 1.5rem;
        transform: translateY(-50%);
    }

    main .fv .fv-ttl .ttl {
        font-size: 2rem;
        letter-spacing: 7px;
    }

    main .fv .fv-ttl .ttl span {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    /* common start */

    main section {
        padding: 3rem 0;
    }

    main p {
        font-size: 1rem;
    }

    main .accent {
        font-size: 17px;
        width: 90%;
        margin: 1rem auto;
    }

    main .ttl-wrap {
        padding-bottom: 25px;
    }

    main .ttl-wrap .en {
        font-size: 2.5rem;
    }

    main .ttl-wrap .ttl {
        font-size: 1rem;
    }

    main .explan {
        margin: 25px auto;
    }

    main .card-inner {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1rem;
        row-gap: 1rem;
        margin: 25px auto 40px;
    }

    main .card-inner .card .ttl {
        font-size: 17px;
    }

    main .card-inner .card .ttl::before {
        top: 4px;
        transform: none;
    }

    main .card-inner .card .img .icon {
        bottom: 6px;
        right: 6px;
    }

    main .card-inner .card .img .icon img {
        width: 25px;
    }

    .btn {
        padding: 1rem;
        font-size: 1rem;
    }

    .btn::after {
        right: 1rem;
    }

    /* common end */

    main .about {
        padding: 2rem 0 5rem;
    }

    main .about .wrap {
        display: grid;
    }

    main .about .wrap .img-box {
        order: 1;
        display: flex;
        margin-bottom: 1rem;
    }

    main .about .wrap .desc-box {
        order: 2;
    }

    main .about .wrap .desc-box .ttl {
        font-size: 21px;
    }

    main .about .wrap .desc-box .ttl span {
        font-size: 27px;
    }

    main .about .wrap .desc-box .lead {
        font-size: 17px;
        margin: 2rem auto;
        text-align: left;
    }

    main .about .slogan {
        font-size: 2rem;
        bottom: 2rem;
    }

    main .case .inner {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 25px;
        margin: 25px auto;
    }

    main .case .inner .box {
        padding: 1rem;
    }

    main .case .inner .box .ttl {
        font-size: 21px;
    }

    main .case .inner .box .boxbox {
        margin-top: 1rem;
        padding: 1rem;
    }

    main .case .inner .box .boxbox .ttl2::before {
        top: 9px;
        transform: none;
    }

    main .case .inner2 {
        grid-template-columns: repeat(1, 1fr);
        margin: 25px auto;
    }

    main .case .inner2 .box {
        border-right: 0;
        border-bottom: 1px solid #6B4D42;
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    main .case .inner2 .box:last-of-type {
        border: 0;
        margin-bottom: 0;
    }

    main .case .flex {
        display: grid;
        column-gap: 0;
        justify-content: normal;
        margin: 25px auto;
        row-gap: 0.5rem;
    }

    main .case .flex p {
        margin: 0 auto;
    }

    main .case .btn-wrap {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 0.5rem;
    }

    main .case .btn {
        font-size: 1rem;
    }

    main .ttl3 {
        font-size: 21px;
        margin: 25px auto 0;
    }

    main .flow-inner {
        margin: 25px auto 45px;
        padding-bottom: 45px;
        row-gap: 25px;
    }

    main .flow-inner .box {
        margin-left: 50px;
        display: block;
        padding: 1rem;
    }

    main .flow-inner .box::before {
        font-size: 2rem;
        left: -50px;
        transform: none;
        top: 0;
    }

    main .flow-inner .box::after {
        left: -33px;
        height: calc(100% - 30px);
        top: 53px;
    }

    main .flow-inner .box .img {
        text-align: center;
    }

    main .flow-inner .box .img img {
        max-width: 158px;
    }

    main .flow-inner .box .desc {
        margin-top: 1rem;
    }

    main .flow-inner .box .desc .ttl {
        font-size: 19px;
        text-align: center;
    }

    main .point .flow-inner .box {
        padding: 25px 1rem;
        box-sizing: border-box;
    }

    main .point .flow-inner .box .img img {
        width: 100%;
    }

    main .qna .inner .box {
        padding: 25px 0;
        box-sizing: border-box;
    }

    main .qna .inner .box::after {
        top: 45px;
        right: 5px;
        width: 30px;
    }

    main .qna .inner .box::before {
        top: 32px;
        right: 18px;
        height: 30px;
    }

    main .qna .inner .box .question {
        font-size: 19px;
        padding-right: 45px;
        column-gap: 1rem;
    }

    main .qna .inner .box .question::before {
        font-size: 2rem;
    }

    main .qna .inner .box .answer {
        column-gap: 1rem;
        margin: 1rem auto 0;
    }

    main .qna .inner .box .answer::before {
        font-size: 2rem;
        width: auto;
    }

    main .kamiken .inner {
        display: block;
    }

    main .kamiken .inner .desc {
        width: 100%;
    }

    main .kamiken .inner .desc .text1 {
        font-size: 20px;
    }

    main .kamiken .inner .desc .logo {
        transform: translateX(-15px);
        margin-bottom: 2rem;
    }

    main .kamiken .inner .img-wrap {
        margin-left: 0;
        width: 100%;
        padding-left: 45px;
        min-height: 402px;
    }

    main .kamiken .inner .img-wrap::before {
        width: 85%;
        height: 80%;
    }

    main .kamiken .inner .img-wrap .img1 img {
        width: 100%;
    }

    main .kamiken .inner .img-wrap .img2 img {
        max-width: 80%;
    }

    main .kamiken .work {
        margin: 3rem auto 0;
    }

    main .kamiken .work .workttl {
        font-size: 20px;
    }

    main .kamiken .work .content {
        margin: 25px auto;
        grid-template-columns: repeat(1, 1fr);
        row-gap: 25px;
    }

    main .kamiken .work .content .item .ttl4 {
        font-size: 21px;
    }

    main .kamiken .work.flex {
        display: block;
    }

    main .kamiken .work.flex .img {
        width: 100%;
    }

    main .kamiken .work.flex .desc {
        width: 100%;
        padding: 1rem;
    }

    main .kamiken .work.flex .desc .btn-wrap {
        row-gap: 0.5rem;
    }

    main .contact .inner {
        grid-template-columns: repeat(1, 1fr);
    }

    main .contact .inner .box {
        border-right: 0;
        border-bottom: 1px solid #5B544C;
        padding: 0;
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    main .contact .inner .box:last-of-type {
        padding: 0;
        margin: 0;
    }
}


/* createのポップアップ */
a.card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.custom-gthumbs {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 6px;
    max-width: 92vw;
    overflow-x: auto;
}

.custom-gthumbs img {
    width: 54px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.55;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.custom-gthumbs img:hover,
.custom-gthumbs img.active {
    opacity: 1;
    border-color: #fff;
}

.glightbox-clean .gslide-description {
    margin-bottom: 58px !important;
}

@media (max-width: 768px) {

    .glightbox-container .gprev,
    .glightbox-container .gnext {
        display: flex !important;
        top: 44% !important;
    }

    .glightbox-container .gprev {
        left: 8px !important;
    }

    .glightbox-container .gnext {
        right: 8px !important;
    }

    .custom-gthumbs {
        width: 92vw !important;
        max-width: 92vw !important;
        box-sizing: border-box;
        bottom: 18px !important;
        padding: 6px 8px;
        gap: 8px;
        justify-content: flex-start;
    }

    .custom-gthumbs img {
        width: 52px;
        height: 38px;
    }

    .glightbox-clean .gslide-description {
        margin-bottom: 0 !important;
    }
}