/*
 Theme Name:   Twenty Twenty Three Child
 Description:  Twenty Twenty Three Child Theme
 Author:       ourslv
 Template:     twentytwentythree
 Text Domain:  twenty-twenty-three-child
*/

header {
    width: 100%;
    margin: auto;
    margin-top: 1rem;
}
.header_btn {
    display: none;
}
.global-nav {
    width: 100%;
    background-color: black;
}
.global-nav_list {
    list-style-type: none;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    margin: 0 auto;
    flex-wrap: wrap;
    width: 80%;
}
.global-nav_item {
    padding: 0.5rem 0.5rem;
}
.global-nav_item a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.global-nav_item a:hover {
    text-decoration: underline;
}

#header_top {
    display: flex;
    align-items: baseline;
    width: 80%;
    margin: auto;
    justify-content: space-between;
}
#header_top h3 {
    font-weight: bold;
    margin: 0;
    transition: 0.3s;
    font-size: 2rem;
}
#header_top h3:hover {
    text-decoration: underline;
}
#header_top p {
    font-size: 1.7rem;
    margin: 0;
}
#header_top p a {
    text-decoration: none;
}
#header_des {
    text-align: left;
    width: 80%;
    margin: auto;
    margin-bottom: 1rem;
}
#header_des p {
    color: #999;
    margin: 0.3rem 0;
    font-size: 1rem;
}
#header_img {
    width: 100%;
    transition: 0.3s;
}
#header_img img {
    width: 100%;
    vertical-align: bottom;
}

.top_date {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    justify-content: space-between;
}
.top_date .wp-block-group {
    width: 48%;
}
.top_key {
    margin-bottom: 5rem;
}
.news_title {
    font-size: 1.3rem!important;
    background-color: #eaeaea;
    padding: 1%;
}
.wp-block-group:nth-of-type(n+3) .news_title {
    margin-top: 3rem;
}
#fudo_top_r-9 {
    margin-bottom: 5rem;
}

.wp-site-blocks {
    width: 80%;
    margin: auto;
    padding-top: 1rem;
    max-width: 1200px;
}
.widget-title {
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: solid 2px #000000;
    margin-bottom: 2rem;
}
#fudo_top_r-2 .widget-title:after {
    content: "\A\2605\5951\7D04\6642\306B\5FC5\8981\306A\5165\5C45\8CBB\7528\306E\8A73\7D30\3082\63D0\793A\3057\3066\3044\307E\3059\FF01";
    color: green;
}
#fudo_top_r-4 .widget-title:after {
    content: "\A\2605\300C\5F0A\793E\3067\300D\3054\5951\7D04\9802\3044\305F\5834\5408\306B\9650\308A\3001\6210\7D04\8A18\5FF5\306B2\968E3\90E8\5C4B\5206\306E\30A8\30A2\30B3\30F3\3092\3001\30B5\30FC\30D3\30B9\8A2D\7F6E\81F4\3057\307E\3059\FF01\4F46\3057\30013\53F0\3068\3082\5F0A\793E\306E\6307\5B9A\6A5F\7A2E\306B\9650\308A\307E\3059\FF01";
    color: green;
}
.widget_fudo_search form {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.widget_fudo_search form input {
    width: 60%;
}

.top_contents {
    width: 100%;
    margin: auto;
    margin-bottom: 5rem;
}
.top_contents p {
    margin: 1rem auto;
    width: 90%;
}
.top_contents p {
    margin: 1rem auto;
    width: 100%;
    font-size: 1rem;
}
.contents_title {
    font-size: 1.5rem!important;
    font-weight: bold;
    border-bottom: solid 2px #000000;
    margin-bottom: 1rem;
}
.contents_title:nth-of-type(n+2) {
    margin-top: 8rem;
}
.top_contents img, .top_contents a img {
    width: 100%;
    vertical-align: bottom;
}
.top_banner {
   transition: 0.3s;
   width: 50%;
}
.top_banner:hover {
    opacity: 0.5;
}

.link_banner {
    width: 100%;
    margin: 5rem auto;
}
.link_banner h3 {
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: solid 2px #000000;
    margin-bottom: 2rem;
}
.link_banner_img {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    flex-wrap: wrap;
}
.link_banner_img a {
    width: 22%;
    margin-right: 4%;
    line-height: 60px;
}
.link_banner_img a:nth-of-type(4n) {
    margin-right: 0;
}
.link_banner_img img {
    width: 100%;
    vertical-align: baseline;
}


.wp-block-table td, .wp-block-table th {
    border: none;
}
.about_top {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 5vh;
}
.about_top figure {
    margin: 0;
    width: 45%;
}
.about_table {
    text-align: left;
    width: 100%;
    font-weight: normal;
}
.about_table tr {
    width: 100%;
}
.about_table th, .about_table td {
    padding: 0.5rem;
    border-bottom: 1px solid #DDD;
    vertical-align: middle;
    line-height: 2rem;
    font-weight: normal;
}
.about_table tr th:nth-child(1) {
    padding-right: 3rem;
}


.wpvr-cardboard {
    max-width: 1200px !important;
    height: 600px !important;
    margin-top: 6rem !important;
}
.wpvr-cardboard::before {
    /* content: "360\5EA6\753B\50CF"; */
    content: "360度画像（↑をクリックすると他の部屋も見られます）";
    font-size: 1.5rem!important;
    font-weight: bold;
    border-bottom: solid 2px #000000;
    text-align: left;
    position: absolute;
    top: -4rem;
    width: 100%;
}
.about_bottom>div:has(>iframe), .entry-content>div:has(>iframe) {
    padding-top: 50% !important;
    max-width: 1200px;
    margin-top: 6rem !important;
}
.about_bottom>div:has(>iframe)::before, .entry-content>div:has(>iframe)::before {
    content: "\5730\56F3";
    font-size: 1.5rem!important;
    font-weight: bold;
    border-bottom: solid 2px #000000;
    display: block;
    text-align: left;
    position: absolute;
    top: -4rem;
    width: 100%;
    z-index: 10;
}


#syousai_box {
    width: 100%;
}
#syousai_box ul {
    width: 100%;
    flex-wrap: nowrap;
}
#syousai_box ul li {
    width: 20%;
}

ul.grid-content li.grid_count4 {
	margin-right: 0 !important;
}
ul.syousai-content li:last-child {
    margin-right: 0 !important;
}

.list_detail {
    line-height: 1.8;
}
.widget {
    margin-bottom: 2rem;
}
.wpcf7-form > p {
    margin-bottom: 3rem;
}
.wpcf7-form-control {
    width: 98%;
}
.wpcf7-submit {
    width: 30%;
}
.navigation {
    margin-bottom: 5rem;
}
.articles {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: auto;
}
.articles_item {
    width: 30%;
    margin: 0 5% 2rem 0;
}
.articles_item:nth-child(3n) {
    margin-right: 0;
}
.articles_image img {
    width: 100%;
    height: 100%;
}
.articles_item h3 {
    margin: 1rem 0 0.5rem 0;
    border-bottom: solid 1px #000;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
}
.articles_content p {
    margin: 0.5rem auto;
    font-size: 1rem;
}
.articles_content img {
    display: none;
}

.entry-title {
    font-size: 1.5rem;
}
.hentry:first-child .entry-title {
    margin-top: 3rem;
}

#list_other_table {
    /* margin-bottom: 6rem; */
}
.entry-content {
    /* text-align: center; */
    width: 100%;
    margin: auto;
}
.entry-content>h2 {
    margin-bottom: 4rem;
    text-align: left;
}

.entry-content table tbody>tr>td:first-of-type,
.entry-content table tfoot>tr>td:first-of-type {
    width: 20%;
}
.entry-content table tbody>tr>td:nth-of-type(2),
.entry-content table tfoot>tr>td:nth-of-type(2) {
    width: 20%;
}
.entry-content table tbody>tr>td:last-of-type,
.entry-content table tfoot>tr>td:last-of-type {
    width: 60%;
}
@media only screen and (max-width:425px) {
    .entry-content table tbody>tr>td:first-of-type,
    .entry-content table tfoot>tr>td:first-of-type {
        width: 25%;
    }
    .entry-content table tbody>tr>td:nth-of-type(2),
    .entry-content table tfoot>tr>td:nth-of-type(2) {
        width: 30%;
    }
    .entry-content table tbody>tr>td:last-of-type,
    .entry-content table tfoot>tr>td:last-of-type {
        width: 45%;
    }
}

.entry-content div {
    /* margin: auto; */
}
.entry-content div:nth-child(2) {
    /* margin: 2rem auto; */
}
#X_sharebtn {
    text-align: right;
}
.list_picsam {
    margin-top: 1rem;
}
.articles_content .wp-block-media-text {
    grid-template-columns: 0;
}
.wp-block-template-part {
    display: none;
}
.form_jsearch th {
    width: 19%;
    background-color: #eaeaea;
}

#list_simplepage2 .list_detail #list_other .cost_table_all {
    max-width: 60vw;
    overflow-x: scroll;
}
#list_simplepage2 .list_detail #list_other .cost_table {
    border-collapse: collapse;
    border: none;
    text-align: right;
    table-layout: fixed;
}
#list_simplepage2 .list_detail #list_other .cost_table caption {
    text-align: left;
    white-space: nowrap;
}
#list_simplepage2 .list_detail #list_other .cost_table tr {
    line-height: 1.8rem;
}
#list_simplepage2 .list_detail #list_other .cost_table tr th {
    background: none;
    border: none;
    padding: 0;
    width: auto;
    white-space: nowrap;
}
#list_simplepage2 .list_detail #list_other .cost_table tr td {
    border: none;
    padding: 0;
    width: auto;
}
#list_simplepage2 .list_detail #list_other .cost_table tr td:nth-child(2) {
    white-space: nowrap;
}
#list_simplepage2 .list_detail #list_other .cost_table tr td:nth-child(3) {
    text-align: left;
    padding-left: 1rem;
    white-space: nowrap;
    width: 60%;
}
#list_simplepage2 .list_detail #list_other .cost_table .cost_table_total {
    border-top: 2px solid black;
}


footer {
    text-align: left;
    width: 80%;
    margin: 5rem auto 2rem auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: solid 2px #999;
    padding-top: 2rem;
}
footer div {
    width: 48%;
}
footer div p {
    width: 100%;
    margin: auto;
}
#nendebcopy {
    background-color: black;
    width: 80%;
    color: white;
    padding: 1rem 10% 1rem 10%;
}
#nendebcopy a {
    color: white;
}

.parking_tel {
    margin-bottom: 2rem;
    background-color: #eaeaea;
    padding: 2%;
}
.parking_tel p {
    font-size: 1.1rem;
    vertical-align: baseline;
    margin: 0;
}
.parking_tel p a {
    padding-left: 1rem;
    font-weight: bold;
    font-size: 1.3rem;
}


@media only screen and (max-width:767.9px) {
    .header_btn {
        display: block;
        transition: 0.3s;
        position: fixed;
        right: 15px;
        top: 15px;
        width: 26px;
        height: 26px;
        border-radius: 5px;
        background-color: #000;
        z-index: 4;
        color: #fff;
        padding: 2px;
    }
    .header_btn.open {
        background-color: #fff;
    }
    .header_btn span {
        width: 24px;
        height: 2px;
        background-color: #fff;
        border-radius: 1.5px;
        transition: all 0.3s;
        right: 18px;
        position: fixed;
        margin: auto;
        border-radius: 3px;
        transition: 0.3s;
    }
    .header_btn span.open {
        background-color: #000;
    }
    .header_btn span:nth-child(1) {
        top: 21px;
    }
    .header_btn span:nth-child(2) {
        top: 29px;
    }
    .header_btn span:nth-child(3) {
        top: 37px;
    }
    .header_btn.open span:nth-child(1) {
        top: 25px;
        transform: rotateZ(45deg);
    }
    .header_btn.open span:nth-child(2) {
        opacity: 0;
    }
    .header_btn.open span:nth-child(3) {
        top: 25px;
        transform: rotateZ(-45deg);
    }
    .header_btn.open span {
        background-color: #000;
    }

    .global-nav {
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 3;
    }
    .global-nav.open {
        opacity: 1;
        visibility: inherit;
        top: 0;
        right: 0;
        position: fixed;
        background-color: #fff;
        width: 100vw;
        height: 100vh;
        transition: 0.3s;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-around;
    }
    .global-nav_list {
        list-style-type: none;
        font-size: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: auto;
        padding: 0;
        width: 50%;
        height: 100%;
        background-color: #fff0;
        align-items: flex-start;
    }
    .global-nav_item {
        line-height: 50px;
        transition: 0.3s;
    }
    .global-nav_item a {
        text-decoration: none;
        color: #000000;
        transition: 0.3s;
    }

    #header_top {
        flex-direction: column;
        width: 90%;
    }
    #header_top h3 {
        font-size: 1.3rem;
    }
    #header_top p {
        font-size: 1rem;
    }
    #header_des {
        width: 90%;
        text-align: left;
        margin-bottom: 0.5rem;
    }
    #header_des p {
        font-size: 0.6rem;
    }

    #header_img {
        width: 100%;
        margin: auto;
    }
    .top_date {
        flex-direction: column;
    }
    .top_date .wp-block-group {
        width: 100%;
    }

    .wp-site-blocks {
        width: 90%;
    }
    .list_detail_bottom_info {
        font-size: 1rem;
        font-weight: bold;
    }

    .top_banner {
        width: 100%;
    }
    #fudo_top_r-4 .widget-title:after, #fudo_top_r-2 .widget-title:after {
        font-size: 1.5rem;
        white-space: break-spaces;
    }
    .about_top {
        flex-direction: column;
    }
    .about_top figure {
        width: 100%;
        margin-bottom: 2rem;
    }
    #syousai_box ul {
        flex-wrap: wrap;
    }
    .about_table tr th:nth-child(1) {
        padding-right: 0;
    }
    
    .about_bottom>div:has(>iframe), .entry-content>div:nth-child(5) {
        padding-top: 75% !important;
    }

    .link_banner_img {
        flex-direction: column;
    }
    .link_banner_img a {
        width: 100%;
        margin-right: 0;
    }

    .widget_fudo_search form {
        flex-direction: column;
        align-items: center;
    }
    .widget_fudo_search form input {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .articles {
        flex-direction: column;
    }
    .articles_item {
        width: 90%;
        margin: 0 auto 2rem;
    }
    .articles_item:nth-child(3n) {
        margin-right: auto;
    }

    .wpvr-cardboard {
        height: 400px !important;
    }

    .form_jsearch th {
        width: calc(100% - 1rem);
    }
    .form_jsearch th, .form_jsearch td {
        display: block;
    }
    .wpcf7-form-control {
        width: 95%;
    }

    .wpcf7-form > p {
        width: 95%;
    }

    .parking_tel p a {
       display: block;
       padding-left: 0;
    }

    #toiawasesaki div {
        font-size: 0.8rem;
    }
    footer {
        font-size: 0.5rem;
        width: 90%;
    }

    #list_simplepage2 .list_detail #list_other .cost_table_all {
        overflow-x: scroll;
        max-width: 70vw;
    }
    #list_simplepage2 .list_detail #list_other .cost_table {
        table-layout: auto;
    }
    #list_simplepage2 .list_detail #list_other .cost_table tr td:nth-child(3) {
        width: auto;
    }
}


.top_keyword .cat-item-5,
.top_keyword .cat-item-4 {
    margin-bottom: 1rem;
}
.top_keyword .cat-item .children {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 0.5rem;
    margin-top: 0.3rem;
}