@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    background-color: #FFFCF9;
    color: #232323;
    font-family: "Noto Serif JP", serif;
}

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

li {
    list-style: none;
}

a {
    color: #4F3232;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

/*----------------------------------------
PC・タブレット
----------------------------------------*/

#header {
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFFCF9;
    padding: 0 20px;
}

#header .logo {
    width: 100%;
    max-width: 150px;
}

#header .logo a {
    display: block;
}

#header .navi .menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

#header .navi .menu li {
    font-size: 16px;
}

.main-visual {
    background-image: url(../img/mainvisual.png);
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 60px;
}

.main-section {
    padding-top: 120px;
    padding-left: 190px;
}

.main-title {
    font-size: 32px;
    color: #4F3232;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 25px;
}

.main-section p {
    font-size: 18px;
    color: #4F3232;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 55px;
}

.btn-standard {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: #4F3232;
    color: white;
    width: 200px;
    height: 45px;
    border-radius: 2px;
    padding-left: 24px;
}

.btn-standard img {
    display: block;
}

#about {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: flex-start;
    margin: 0 auto 70px;
    padding: 0 2%;
}

.about-content {
    margin-right: 60px;
    flex: 0 0 auto; 
}

.section-title{
    margin-bottom: 35px;
}
.section-title h2 {
    font-size: 28px;
    color: #4F3232;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.section-title p {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.about-text-group p {
    font-size: 14px;
    letter-spacing: 0.1em;
}

.about-text-top {
    margin-bottom: 22px;
}

.about-text-under {
    margin-bottom: 40px;
}

.about-imggroup {
    position: relative;
    flex: 1;
    min-width: 400px;
    min-height: 300px;
    margin-top: 50px;
}

.about-img1 {
    position: absolute;
    width: 60%; 
}

.about-img2 {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 30%;
}

.about-img3 {
    position: absolute;
    top: 50%;
    left: -5%;
    width: 25%;
    z-index: 10;
}

.about-img4 {
    position: absolute;
    top: 11%;
    right: 15%;
    width: 12%;
    z-index: 20;
}

#works {
    width: 100%;
    background-color:white;
}

.works-content {
    max-width: 1200px;
    padding: 0 2%;
    margin: 30px auto 50px;
}

.section-title-works {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.btn-works {
    font-size: 16px;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: #232323;
    border-bottom: 1px solid #232323; /* 線の太さ、種類、色 */
    padding-bottom: 10px;           /* 文字と下線のすき間 */
}

.item-list {
    display: flex;
    gap: 40px;
}

.item-img {
    margin-bottom: 25px;
}

.item-title {
    font-size: 16px;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 5px;
}

.item-text {
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: 400;
    margin-bottom: 15px;
}

.item-price {
    font-size: 15px;
    letter-spacing: 0.1em;
}

.item-price span {
    font-size: 10px;
}

.line {
    display: none;
}

#contact  {
    background-image: url(../img/footer.png);
    width: auto;
    height: 350px;
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2%;
}

#contact .section-title {
    padding-top: 45px;
}

.contact-group p{
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.5;
    margin-bottom: 45px;
}

#contact .btn-standard {
    width: 282px;
    gap: 20px;
    letter-spacing: 0.1em;
    font-size: 16px;
}

#footer {
    background-color: #4F3232;
}

.footer-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 2% 30px;
}

.footer-wrapper .navi a {
    color: white;
}

.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-wrapper .navi .menu {
    display: flex;
    gap: 60px;
}

.copylight {
    color: white;
    font-size: 8px;
    text-align: center;
    padding-bottom: 30px;
}
/*----------------------------------------
スマートフォン
----------------------------------------*/

@media screen and (max-width:767px) {

    #header {
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        width: 100%;
        background-color: #FFFCF9;
    }

    #header .logo {
        max-width: 120px;
    }

    #header .hamburger {
        width: 50px;
        height: 50px;
        cursor: pointer;
        position: fixed;
        top: 5px;
        right: 10px;
        z-index: 30;
    }

    #header .hamburger span {
        width: 30px;
        height: 3px;
        background-color: #4F3232;
        display: inline-block;
        position: absolute;
        left: 10px;
        transition:  all 0.4s;
    }

    #header .hamburger span:nth-of-type(1) {
        top: 16px;
    }

    #header .hamburger span:nth-of-type(2) {
        top: 25px;
    }

    #header .hamburger span:nth-of-type(3) {
        top: 34px;
    }

    #header .navi {
        width: 80%;
        height: 100vh;
        background-color: #FFFCF9;
        position: fixed;
        top: 0;
        right: -80%;
        z-index: 20;
        transition: all 0.6s;
    }

    #header .navi .menu {
        width: 100%;
        height: 100vh;
        flex-direction: column;
        padding: 60px 0;
        overflow:  auto;
    }

    #header .navi .menu li {
        padding: 10px 0;
        margin-left: 0;
    }

    #header .navi.active {
        right: 0;
    }

    #header .hamburger.active span:nth-of-type(1) {
        top: 24px;
        transform: rotate(-45deg);
    }

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

    #header .hamburger.active span:nth-of-type(3) {
        top: 24px;
        transform: rotate(45deg);
    }
    .main-visual {
        width: auto;
        height: 300px;
        background-size:cover;
        background-position: center;
        margin-top: 60px;
    }

    .main-section {
        padding-top: 43px;
        padding-left: 23px;
    }

    .main-title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .main-section p {
        font-size: 14px;
        margin-bottom: 36px;
    }

    .btn-standard {
        font-size: 14px;
        gap: 15px;
        color: white;
        width: 190px;
        height: 40px;
        padding-left: 23px;
        letter-spacing: 0.1em;
    }

    .btn-standard img {
        display: block;
    }

    #about {
        flex-direction: column;
        padding: 0 5%;
    }

    .about-content {
        margin-bottom: 25px;
    }

    .section-title{
        margin-bottom: 25px;
    }
    .section-title h2 {
        font-size: 20px;
        letter-spacing: 0.2em;
    }

    .section-title p {
        font-size: 11px;
        letter-spacing: 0.2em;
    }

    .about-text-group p {
        font-size: 12px;
        letter-spacing: 0.3em;
    }

    .about-text-top {
        margin-bottom: 19px;
    }

    .about-text-under {
        margin-bottom: 25px;
    }

    .about-imggroup {
    position: relative;
    width: 300px;      /* 画面より小さい固定幅 */
    margin: 25px auto 0; /* 上マージン + 左右auto = 中央寄せ */
    min-height: 300px; /* 高さ確保(前回の対応を維持) */
}

    .about-img1 {
        position: absolute;
        width: 70%; 
    }

    .about-img2 {
        position: absolute;
        top: 20%;
        right: -5%;
        width: 50%;
    }

    .about-img3 {
        position: absolute;
        top: 70%;
        left: 0;
        width: 40%;
        z-index: 0;
    }

    .about-img4 {
        position: absolute;
        top: 12%;
        right: -10%;
        width: 12%;
    }

    .works-content {
        padding: 0 5%;
        margin: 35px auto 40px;
    }

    .btn-works {
        font-size: 12px;
    }

    .btn-works img {
        width: 20px;
    }

    .item-list {
        flex-direction: column;
        gap: 30px;
    }

    .item {
        display: flex;
        gap: 15px;
        align-items: center;
        position: relative;
    }

    .item-img {
        margin: 0;
        width: 50%;
    }

    .item-text-group {
        flex-direction: column;
        width: 50%;
    }

    .item-title {
        font-size: 14px;
    }

    .item-text {
        font-size: 10px;
        margin-bottom: 27px;
    }

    .item-price {
        font-size: 13px;
    }

    .item-price span {
        font-size: 9px;
    }

    .line {
        display: block;
        width: 50%;
        position: absolute;
        bottom: 0;
        left: 52%;
    }

    #contact  {
        background-position: center;
        height: 250px;
    }

    .contact-content {
        padding: 0 5%;
    }

    #contact .section-title {
        padding-top: 40px;
    }

    .contact-group p{
        font-size: 12px;
        margin-bottom: 20px;
    }

    #contact .btn-standard {
        width: 210px;
        gap: 10px;
        font-size: 12px;
    }

    .footer-wrapper {
        padding: 50px 5% 30px;
    }

    .footer-wrapper .navi  {
        display: none;
    }

    .footer-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .copylight {
        padding-bottom: 30px;
    }
    
}