@charset "utf-8";

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
    background: linear-gradient(0deg, rgba(251, 255, 234, 1) 0%, rgba(255, 242, 216, 1) 50%, rgba(251, 255, 234, 1) 100%);
}

header,
footer {
    flex-shrink: 0;
    width: 100%;
}

.subpage {
    max-width: 950px;
    margin-top: 0;
    padding-top: 80px;
    margin-left: auto;
    margin-right: auto;
}

.title_wrap {
    padding: 20px;
    overflow: hidden;
    max-width: 900px;
    margin: 20px auto;
    background-color: #fff;
}

.title_wrap h1,
.title_wrap p {
    margin-top: 0;
    margin-bottom: 0;
}

.title_wrap h1 {
    border-bottom: 3px solid #000000;
    padding-bottom: 5px;
}

.title_wrap p {
    text-align: right;
    color: #32a040;
    padding-top: 5px;
}

.main-visual {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.sec-01_wrap .sec-title,
.sec-04_wrap .sec-title,
.sec-06_wrap .sec-title,
.sec-07_wrap .sec-title,
.sec-08_wrap .sec-title,
.sec-09_wrap .sec-title {
    font-size: 1.25em;
    border-bottom: 1px solid #000000;
    padding-bottom: 5px;
    color: #715d56;
}

.sec-01_wrap p .bold {
    font-weight: bolder;
}

.sec-01_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 25px 15px;
}

.sec-01_text {
    width: 60%;
}

.sec-01_image {
    width: 40%;
}

.sec-01_image img {
    max-width: 100%;
    margin: 0 auto;
    height: auto;
    display: block;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 25px 15px;
}

.flexbox_img {
    width: 20%;
}

.flexbox_img img {
    max-width: 100%;
    margin: 0 auto;
    height: auto;
    display: block;
}

.flexbox_txt {
    width: 80%;
}

.flexbox_img .media-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 5px;
}

.flexbox_img .media-figure .caption {
    font-size: 0.8em;
    color: #333;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.4;
}

.flexbox-cap .flexbox_img img {
    margin-bottom: 5px;
}

.flexbox-reverse {
    flex-direction: row-reverse;
}

.pic-txt {
    color: #a82424;
}

.pic-txt_l {
    color: #a82424;
    font-weight: bolder;
}

.sec-02_container {
    display: block;
    padding: 25px 15px;
}

.sec-02_text {
    width: 100%;
    margin-bottom: 20px;
}

.sec-02_text p {
    margin-top: 0;
    margin-bottom: 0;
}

.sec-02_image {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.sec-02_image img {
    width: calc((100% - 20px) / 3);
    height: auto;
    display: block;
    object-fit: cover;
}

.sec-03_container {
    display: block;
    padding: 25px 15px;
}

.sec-03_text {
    width: 100%;
    margin-bottom: 20px;
}

.sec-03_image_group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.image-item {
    width: calc((100% - 20px) / 3);
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-bottom: 5px;
}

.image-item .caption {
    font-size: 0.8em;
    text-align: center;
    color: #333;
    margin: 0;
}

.gallery-2col {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 20px;
}

.gallery-item-captioned {
    width: 25%;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.gallery-item-captioned img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 5px;
}

.gallery-item-captioned .caption {
    font-size: 0.8em;
    color: #333;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

.color-box-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 950px;
    margin: 30px auto;
}

.color-box {
    width: calc((100% - 30px) / 2);
    padding: 20px;
    box-sizing: border-box;
}

.color-box h4 {
    margin: 0 auto 1em;
    font-size: 1.1em;
    text-align: center;
}

.box-left {
    background-color: #ccffcc;
}

.box-right {
    background-color: #ecd58f;
}

.int-txt {
    padding: 0 15px 20px;
}

.sec-04_wrap {
    margin-bottom: 20px;
}

.sec-04_photo_gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sec-04_photo_gallery img {
    width: calc((100% - 30px) / 4);
    height: auto;
    display: block;
    object-fit: cover;
}

.sec-04_main_text {
    padding: 15px 20px;
}

.sec-04_footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sec-04_note {
    width: 100%;
    font-size: 0.8em;
    color: #999;
    text-align: left;
    margin-top: 0;
    margin-bottom: 5px;
    padding: 0 15px;
}

.sec-04_link_btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #38761D;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
}

.sec-05_card_list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px auto;
    max-width: 800px;
}

.sec-05_card {
    width: calc((100% - 30px) / 2);
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
}

.sec-05_card .card-image {
    width: 100%;
    margin-bottom: 10px;
}

.sec-05_card .card-image img {
    width: 60%;
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.sec-05_card .card-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #db819f;
    margin: 5px 0 10px 0;
    line-height: 1.4;
}

.sec-05_card .card-description {
    font-size: 0.85em;
    color: #333;
    text-align: left;
    margin: 0;
    line-height: 1.5;
}

.sec-06_wrap {
    margin-bottom: 20px;
}

.sec-06_main_text {
    margin: 15px 15px 25px;
}

.sec-06_gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item-3col {
    width: calc((100% - 30px) / 3);
    display: flex;
    flex-direction: column;
    max-width: 250px;
    box-sizing: border-box;
    text-align: center;
}

.gallery-item-3col img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 5px;
}

.gallery-item-3col .caption {
    font-size: 0.8em;
    color: #666;
    text-align: center;
    margin: 0;
}

.sec-07_wrap {
    margin-bottom: 20px;
}

.sec-07_main_text {
    padding: 0;
    margin: 15px 15px 30px;
}

.sec-07_list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.group-type-1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sec-07_item {
    display: flex;
    gap: 20px;
    padding: 15px;
    border: 1px solid #db819f;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #fff;
}

.sec-07_item .item-media {
    width: 35%;
    flex-shrink: 0;
    display: flex;
    gap: 5px;
}

.sec-07_item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.media-1col img {
    width: 100%;
}

.media-2col img {
    width: calc((100% - 5px) / 2);
}

.sec-07_item .item-body {
    width: 65%;
    display: flex;
    flex-direction: column;
}

.sec-07_item .item-title {
    color: #db819f;
    font-size: 1.1em;
    border-bottom: 2px solid #db819f;
    padding-bottom: 3px;
    margin-top: 0;
    margin-bottom: 10px;
}

.sec-07_item .item-description {
    margin-bottom: auto;
}

.sec-07_item .item-note {
    font-size: 0.75em;
    margin-top: 5px;
    margin-bottom: 0;
}

.sec-08_wrap {
    margin-bottom: 20px;
}
.sec-08_content {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    max-width: 900px;
    margin: 30px auto;
}

.sec-08_media {
    flex-shrink: 0;
}

.sec-08_media img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.sec-08_body ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    margin-bottom: 0;
}

.sec-08_body ul li {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.sec-08_body ul li:before {
    content: "・";
    color: #38761D;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    position: absolute;
    left: 0;
}

.sec-08_subimg {
    text-align: center;
}


.contact-table {
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
    border-collapse: collapse;
    font-size: 1em;
}

.contact-table td {
    border: 1px solid #ccc;
    padding: 10px 15px;
    text-align: left;
    vertical-align: middle;
}

.contact-table .main-category {
    width: 15%;
    text-align: center;
    font-weight: bold;
    background-color: #F8F4E5;
}

.contact-table tr td:last-child {
    white-space: nowrap;
    text-align: right;
    width: 25%;
}


.sec-10_gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px; 
    margin: 30px auto; 
    padding-bottom: 30px;
}
.sec-10_gallery_item {
    width: calc((100% - 40px) / 3);
    display: flex;
    flex-direction: column; 
    align-items: center;
    box-sizing: border-box; 
}

.sec-10_gallery_item img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 5px;
    border-radius: 4px;
}
.sec-10_gallery_item .caption {
    font-size: 0.9em;
    color: #333; 
    text-align: center;
    margin: 0;
}

.sec-10_gallery_item.empty-slot {
    visibility: hidden;
}
.sec-10_gallery_item .caption {
    font-size: 0.9em;
    text-align: left;
    margin: 0;
    width: 100%;
}
.sec-10_gallery_item .caption-title {
    display: block;
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 2px;
    text-align: center;
}
.sec-10_gallery_item .caption-desc {
    display: block;
    font-weight: normal;
    font-size: 0.9em;
    color: #666;
    text-align: left;
    padding: 0 5px;
}

@media (max-width: 768px) {
    .title_wrap {
        width: 80%;
    }

    .sec-01_wrap .sec-title {
        padding: 0 20px 5px;
    }

    .sec-01_container {
        flex-direction: column;
    }

    .sec-01_text,
    .sec-01_image {
        width: 100%;
    }

    .sec-01_image {
        text-align: center;
        order: -1;
    }

    .sec-02_image {
        flex-direction: column;
        gap: 20px;
    }

    .sec-02_image img {
        width: 60%;
        margin: 0 auto;
    }

    .sec-03_image_group {
        flex-direction: column;
        gap: 20px;
    }

    .sec-04_photo_gallery {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }

    .sec-04_photo_gallery img {
        width: calc((100% - 20px) / 2);
        max-width: 150px;
        margin-bottom: 10px;
    }

    .sec-04_footer {
        align-items: center;
    }

    .sec-04_note {
        text-align: center;
    }

    .sec-05_card_list {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .sec-05_card {
        width: 100%;
        margin: 0 auto;
    }

    .sec-05_card .card-image img {
        width: 50%;
        max-width: 120px;
    }

    .sec-06_content {
        padding: 0 15px;
        box-sizing: border-box;
    }

    .sec-06_main_text {
        margin-left: 0;
        margin-right: 0;
    }

    .sec-06_gallery {
        justify-content: space-around;
        gap: 10px;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .sec-07_main_text {
        padding: 0 15px;
        box-sizing: border-box;
    }

    .sec-07_item {
        flex-direction: column;
        padding: 15px;
    }

    .sec-07_list {
        padding: 0 15px;
        gap: 20px;
    }

    .sec-07_item .item-media {
        width: 100%;
        margin-bottom: 10px;
    }

    .media-2col img {
        width: calc((100% - 10px) / 2);
    }

    .sec-07_item .item-body {
        width: 100%;
    }

    .sec-07_item .item-description {
        margin-bottom: 10px;
    }

    .sec-08_content {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
        box-sizing: border-box;
        gap: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .sec-08_media,
    .sec-08_body {
        width: 100%;
    }

    .sec-08_media {
        text-align: center;
    }

    .sec-08_media img {
        max-width: 80%;
        margin: 0 auto;
    }

    .contact-table {
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
        display: block;
        overflow-x: auto;
    }

    .contact-table tbody {
        display: block;
        min-width: 400px;
    }
    
    .sec-10_gallery {
        padding: 0 15px; 
        gap: 15px;
        max-width: none;
    }

    .sec-10_gallery_item {
        width: calc((100% - 15px) / 2);
        margin-bottom: 10px;
    }
    .sec-10_gallery_item img {
        width: 100%;
    }


    .gallery-item-3col {
        width: calc(50% - 5px);
        margin-bottom: 15px;
        max-width: 150px;
    }

    .image-item {
        width: 100%;
    }

    .flexbox {
        flex-direction: column;
    }

    .flexbox_img,
    .flexbox_txt {
        width: 100%;
    }

    .gallery-2col {
        flex-direction: column;
        padding: 0 15px;
        box-sizing: border-box;
        gap: 15px;
        align-items: center;
    }

    .gallery-item-captioned {
        width: 80%;
        max-width: 300px;
    }

    .color-box-wrap {
        flex-direction: column;
        padding: 0 15px;
        box-sizing: border-box;
        gap: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .color-box {
        width: 100%;
    }
}