/*
Theme Name: Mae Project Theme
*/
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: rgb(36, 32, 27);
    color: #fff;
    text-align: center;
}

.min {
    font-family: 'Shippori Mincho', serif;
}
.gold {
    color: #C9AF8A;
}

header {
    background-color: transparent;
    padding: 12px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer {
    background-color: rgb(57, 52, 48);
    padding: 40px 0;
    text-align: center;
    font-size: 12px;
    color: #fff;
}
footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
footer ul li {
    font-size: 12px;
    letter-spacing: 0.15em;
}
footer ul li:not(:last-child)::after {
    content: "|";
    font-size: 18px;
    font-weight: normal;
}
footer ul li a {
    display: inline-block;
    padding: 10px 25px;
}
footer .copyright {
    font-size: 10px;
    letter-spacing: 0.15em;
}

h1 {
    z-index: 9999;
}
h2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #C9AF8A;
}

h2 + p {
    font-size: 12px;
    margin-top: 10px;
    padding-bottom: 10px;
    position: relative;
}
h2 + p:after {
    content: "";
    display: block;
    width: 82px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

a {
    transition: all 0.3s;
}
a:hover {
    opacity: 0.5;
}   

.br-sp {
    display: none;
}
@media (max-width: 768px) {
    footer {
        padding: 50px 0 20px;
    }
    footer ul {
        flex-direction: column;
        margin-bottom: 50px;
    }
    footer ul li {
        margin-bottom: 10px;
    }
    footer ul li:not(:last-child)::after {
        content: "";
    }
    h3 {
        font-size: 18px;
        line-height: 30px;
    }

    .br-sp {
        display: block;
    }
}

/*--------------------------------------
    ハンバーガーメニュー
---------------------------------------*/
.menu-navigation ul {
    display: flex;
}
.menu-navigation ul li {
    font-size: 12px;
    letter-spacing: 0.15em;
}
.menu-navigation ul li:not(:last-child)::after {
    content: "|";
    font-size: 18px;
    font-weight: normal;
}
.menu-navigation ul li a {
    display: inline-block;
    padding: 10px 25px;
}

@media (max-width: 768px) {
    .menu-container {
        position: relative;
    }

    .menu-icon {
        width: 30px;
        height: 20px;
        position: fixed; /* ← fixedにして常に左上固定 */
        top: 15px;
        right: 20px;
        cursor: pointer;
        z-index: 3;
        display: inline-block;
    }

    .menu-icon span {
        display: block;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: 0.4s;
    }
    .menu-icon span:not(:last-child) {
        margin: 0 0 6px;
    }

    /* ハンバーガーがXに変形 */
    #menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    #menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* オーバーレイ背景 */
    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        pointer-events: none;
        transition: 0.4s;
        z-index: 1;
    }

    #menu-toggle:checked ~ .overlay {
        opacity: 1;
        pointer-events: auto;
    }

    /* メニュー本体（左から出す） */
    .menu-navigation {
        position: fixed;
        top: 0;
        right: -360px;
        width: 360px;
        height: 100%;
        background: rgb(36, 32, 27);
        box-shadow: 2px 0 8px rgba(0,0,0,0.2);
        transition: right 0.4s ease;
        z-index: 2;
    }
    
    .menu-navigation ul li:not(:last-child)::after {
        content: "";
    }

    #menu-toggle:checked ~ .menu-navigation {
        right: 0; /* ← 開いたときは左0へ */
    }

    .menu-navigation ul {
        list-style: none;
        padding: 60px 20px;
        display: block;
    }
    .menu-navigation ul li a {
        display: block;
        font-size: 14px;
        padding: 30px 0 30px 30px;
        border-bottom: 1px solid #fff;
        text-align: left;
        letter-spacing: 0.15em;
    }
}

/*--------------------------------------
    main visual
---------------------------------------*/
.main-visual {
    width: 100%;
    padding-top: 56.25%;
    background: url('assets/img/mv.jpg') no-repeat center center / cover;
    position: relative;
    margin-bottom: 120px;
}
.main-visual .main-visual-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main-visual .main-visual-container h2 + p::after {
    content: none;
}
.main-visual .main-visual-container .main-visual-subtitle {
    font-size: 18px;
}

@media (max-width: 768px) {
    .main-visual {
        padding-top: 185%;
        position: relative;
        margin-bottom: 60px;
    }
    .main-visual::after {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        background: rgba(36, 32, 27, 0.6);
        position: absolute;
        top: 0;
        left: 0;
    }
    .main-visual .main-visual-container {
        z-index: 1;
        width: 100%;
    }
    .main-visual .main-visual-container .main-visual-subtitle {
        font-size: 14px;
    }
}

/*--------------------------------------
    about
---------------------------------------*/
.about {
    padding: 100px 0;
    background: url('assets/img/bg_about.jpg') no-repeat center center / cover;
    margin-bottom: 120px;
}
.about .about-container {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
    padding: 70px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(36, 32, 27, 0.5);
}
.about .about-container h3 {
    max-width: 440px;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 0 0 10px;
    border-bottom: 1px solid #fff;
}
.about .about-container h3 + p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 15px;
}
.about .about-container .about-detail {
    max-width: 440px;
    font-size: 12px;
    line-height: 20px;
    padding: 10px 0;
    border: 1px solid #fff;
}

@media (max-width: 768px) {
    .about {
        padding: 50px 0;
        margin-bottom: 60px;
    }
    .about .about-container {
        padding: 50px 25px;
    }
    .about .about-container h3 + p {
        font-size: 12px;
    }
    .about .about-container .about-detail{
        width: 100%;
        font-size: 11px;
    }
}

/*--------------------------------------
    service
---------------------------------------*/
.service {
    margin-bottom: 120px;
}
.service .service-list {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 350px 350px;
    grid-template-rows: auto;
    justify-content: center;
    gap: 50px 100px;
}
.service .service-list .service-item h3 {
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
    margin: 30px 0 15px;
}
.service .service-list .service-item h3 span {
    display: block;
}
.service .service-list .service-item h3 + p {
    font-size: 14px;
    line-height: 24px;
}

@media (max-width: 768px) {
    .service {
        margin-bottom: 60px;
    }
    .service .service-list {
        grid-template-columns: 350px;
        gap: 50px 0;
        margin-top: 30px;
    }
    .service .service-list .service-item h3 {
        font-size: 18px;
        margin: 20px 0 10px;
    }
    .service .service-list .service-item h3 + p {
        font-size: 12px;
    }
}

/*--------------------------------------
    prices
---------------------------------------*/
.prices {
    margin-bottom: 120px;
}
.prices .prices-container {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    background-color: rgb(57, 52, 48);
    padding: 100px 0;
}
.prices .prices-container .prices-detail {
    border: 1px solid #fff;
    width: 90%;
    max-width: 415px;
    margin: 50px auto 0;
    padding: 10px 0;
}
.prices .prices-container .prices-detail p {
    font-size: 18px;
    line-height: 1.3em;
}
.prices .prices-container .prices-detail p span {
    display: block;
    font-size: 12px;
}
.prices .prices-container .price-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    margin: 40px auto 0;
    max-width: 720px;
}
.prices .prices-container .price-list .price-item {
    padding: 25px 0;
}
.prices .prices-container .price-list .price-item:nth-of-type(1) {
    grid-area: 1 / 1 / 2 / 3; 
}
.prices .prices-container .price-list .price-item:nth-of-type(2) {
    grid-area: 2 / 1 / 3 / 3;
}
.prices .prices-container .price-list .price-item:nth-of-type(3) {
    grid-area: 3 / 1 / 4 / 3;
}
.prices .prices-container .price-list .price-item:nth-of-type(4) {
    grid-area: 4 / 1 / 5 / 2; 
}
.prices .prices-container .price-list .price-item:nth-of-type(5) {
    grid-area: 4 / 2 / 5 / 3;
}
.prices .prices-container .price-list .price-item:nth-of-type(1),
.prices .prices-container .price-list .price-item:nth-of-type(2),
.prices .prices-container .price-list .price-item:nth-of-type(3) {
    border-bottom: 1px solid #fff;
}
.prices .prices-container .price-list .price-item:nth-of-type(3) {
    margin-bottom: 30px;
}
.prices .prices-container .price-list .price-item:nth-of-type(4) {
    border-right: 1px solid #fff;
}
.prices .prices-container .price-list .price-item dl dt {
    font-size: 20px;
    margin-bottom: 15px;
}
.prices .prices-container .price-list .price-item dl dd {
    font-size: 18px;
    line-height: 24px;
}
.prices .prices-container .price-list .price-item dl dd p {
    font-size: 14px;
}
.prices .prices-container .price-list .price-item dl dd span {
    display: block;
    font-size: 12px;
}

@media (max-width: 768px) {
    .prices {
        margin-bottom: 60px;
    }
    .prices .prices-container {
        padding: 50px 0;
    }
    .prices .prices-container .prices-detail {
        width: 81.25%;
        margin: 40px auto 0;
    }
    .prices .prices-container .price-list {
        display: block;
        width: 81.25%;
    }
    .prices .prices-container .price-list .price-item {
        padding: 20px 0;
    }
    .prices .prices-container .price-list .price-item:nth-of-type(3) {
        margin-bottom: 0;
    }
    .prices .prices-container .price-list .price-item:nth-of-type(4) {
        border-right: none;
        border-bottom: 1px solid #fff;
    }
    .prices .prices-container .price-list .price-item dl dd p {
        font-size: 12px;
    }
}

/*--------------------------------------
    ceo
---------------------------------------*/
.ceo {
    padding: 100px 0;
    background: url('assets/img/bg_ceo.jpg') no-repeat center center / cover;
    margin-bottom: 120px;
}
.ceo .ceo-container {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 70px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(36, 32, 27, 0.5);
}
.ceo .ceo-container .ceo-profile {
    max-width: 745px;
    display: flex;
    margin: 45px auto 0;
    gap: 0 75px;
}
.ceo .ceo-container .ceo-profile .ceo-img .ceo-position {
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 10px;
}
.ceo .ceo-container .ceo-profile .ceo-img .ceo-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}
.ceo .ceo-container .ceo-profile .ceo-detail {
    text-align: left;
}
.ceo .ceo-container .ceo-profile .ceo-detail dl dt {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 5px;
}
.ceo .ceo-container .ceo-profile .ceo-detail dl dd {
    font-size: 13px;
    line-height: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #fff;
}
.ceo .ceo-container .ceo-profile .ceo-detail dl dd:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .ceo {
        padding: 50px 0;
        margin-bottom: 60px;
    }
    .ceo .ceo-container {
        padding: 50px 0;
    }
    .ceo .ceo-container .ceo-profile {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .ceo .ceo-container .ceo-profile .ceo-detail {
        width: 81.25%;
        margin-top: 20px;
        text-align: center;
    }
}

/*--------------------------------------
    company
---------------------------------------*/
.company {
    margin-bottom: 120px;
}
.company .company-container {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    background-color: rgb(57, 52, 48);
    padding: 100px 0;
}
.company .company-container dl {
    max-width: 568px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0 30px;
    text-align: left;
}
.company .company-container dl dt {
    width: 100px;
    font-size: 14px;
    font-weight: bold;
    padding: 15px 0 15px 5px;
    border-bottom: 1px solid #fff;
}
.company .company-container dl dd {
    width: calc(100% - 130px);
    font-size: 14px;
    line-height: 24px;
    padding: 15px 0 15px 5px;
    border-bottom: 1px solid #fff;
}
.company .company-container .company_map {
    max-width: 568px;
    margin: 30px auto 0;
}
.company .company-container .company_map a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 162px;
    height: 34px;
    margin-left: auto;
    padding: 15px;
    background-color: rgb(201, 175, 138);
    font-size: 14px;
    font-weight: bold;
    color: #24201B;
}

@media (max-width: 768px) {
    .company {
        margin-bottom: 60px;
    }
    .company .company-container {
        padding: 50px 0;
    }
    .company .company-container .company-detail {
        width: 81.25%;
        margin: 45px auto 0;
    }
    .company .company-container .company-detail dl {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .company .company-container .company-detail dl dt {
        border-bottom: none;
        padding-bottom: 0;
        padding-left: 0;
        width: 100%;
    }
    .company .company-container .company-detail dl dd {
        width: 100%;
        padding: 5px 0 15px;
    }
    .company .company-container .company_map a {
        width: 235px;
        height: 50px;
        margin: auto;
    }
}

/*--------------------------------------
    contact
---------------------------------------*/
.contact {
    margin-bottom: 120px;
}
.contact .contact-detail {
    max-width: 500px;
    margin: 30px auto 0;
}
.contact .contact-detail p {
    font-size: 16px;
    font-weight: bold;
}
.contact .contact-detail p + p {
    font-size: 14px;
    line-height: 24px;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 40px;
}
.contact .contact-detail form p {
    font-size: 14px;
    text-align: left;
}
.contact .contact-detail form input[type="text"],
.contact .contact-detail form input[type="email"] {
    height: 2.4em;
    width: 100%;
    padding: 0 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    margin-top: 10px;
}
.contact .contact-detail form input[type="text"]:focus,
.contact .contact-detail form input[type="email"]:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}
.contact .contact-detail form textarea {
    display: block;
    width: 100%;
    padding: 4px 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    resize: vertical;
    background-color: #fff;
    margin-top: 10px;
}
.contact .contact-detail form textarea:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}
.contact .contact-detail form .contact-btn {
    position: relative;
}
.contact .contact-detail form .contact-btn::after {
    content: "→";
    font-size: 18px;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-105%);
    color: #24201B;
}
.contact .contact-detail form .contact-btn input[type="submit"] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 162px;
    height: 34px;
    margin-left: auto;
    padding: 0 15px;
    background-color: rgb(201, 175, 138);
    font-size: 14px;
    font-weight: bold;
    color: #24201B;
    transition: all 0.3s;
}
.contact .contact-detail form input[type="submit"]:hover {
    opacity: 0.5;
}
.contact .contact-detail .contact-privacy {
    font-size: 12px;
    line-height: 22px;
    text-align: left;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .contact {
        margin-bottom: 60px;
    }
    .contact .contact-detail p {
        line-height: 30px;
    }
    .contact .contact-detail p + p {
        margin-top: 15px;
        margin-bottom: 0;
    }
    .contact .contact-detail form {
        width: 90%;
        margin: 0 auto;
    }
    .contact .contact-detail form  p,
    .contact .contact-detail form  p + p {
        margin-top: 25px;
    }
    .contact .contact-detail form .contact-btn {
        width: 235px;
        height: 50px;
        margin: auto;
    }
    .contact .contact-detail form .contact-btn::after {
        transform: translateY(-50%);
    }
    .contact .contact-detail form .contact-btn input[type="submit"] {
        width: 100%;
        height: 100%;
    }
    .contact .contact-detail .contact-privacy {
        text-align: center;
    }
}