h3, h4, h5, h6{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: eff2f4;
    max-width: 720px; /* Width limited to 720px */
    margin: 0 auto; /* Center aligned */
}

header {
    text-align: center;
    background-image: url("../img/question/header_bottom.png");
    background-repeat: repeat-x;
    background-position: left bottom;
    padding-bottom: 27px;
    margin-bottom: 30px;
}

nav {
    padding: 10px;
    position: relative;
}

img {
    vertical-align: bottom;
}

#h_text {
    font-size: 12px;
    padding: 1px 1em;
}

#gnavi {
    background: #e82144;
    color: #fff;
    font-size: 12px;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Support line breaks */
    justify-content: flex-start; /* Align left */
    margin: 0;
    padding-left: 12px;
}

#gnavi li {
    margin: 6px 12px 6px 0; /* Adjust spacing */
    padding-right: 12px;
    text-align: center; /* Center align text */
    border-right: 1px solid #fff; /* Add border */
    flex: 0 1 auto; /* Natural width */
}

#gnavi li:last-child {
    border: none; /* Remove border for the last item */
}

#gnavi li a {
    text-decoration: none;
    color: #fff;
}

#gnavi li a:hover {
    color: #FFFD00;
}

.pagetitle {
    text-align: center;
    margin-bottom: 30px;
}

.qafirld {
    background-color: #fff;
    padding: 24px;
    text-align: center;
    border-radius: 12px;
}

.qafirld .imgspace {
    margin-bottom: 12px;
}
.qafirld_txt{
    text-align: left;
    padding: 0 50px;
}
.juyo{
    border: 1px solid #D1171A;
    padding: 0.4em;
    margin: 0.5em 0;
    font-weight: bold;
    color: #D1171A;
}

.subtitle {
    background-image: url("../img/question/subtitle.png");
    background-repeat: no-repeat;
    font-size: 39px;
    font-weight: bold;
    text-align: center;
    margin: 19px;
    line-height: 107px;
    background-size: cover; /* Adjust the image to cover the entire area */
}
.mapImg{
    width: 100%;
    height: auto;
    max-width: 700px;
}
.menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Support line breaks */
    justify-content: center;
    margin: 0;
}

.menu li {
    flex: 0 0 45%; /* Set width for each item */
    box-sizing: border-box; /* Include padding and border */
    margin: 0 2.5% 10px; /* Adjust spacing */
    display: flex;
    justify-content: center;
}

.menu-button {
    padding: 10px 48px 10px 20px;
    border: none;
    background-color: #54443b;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    background-image: url("../img/question/arrow.png");
    background-repeat: no-repeat;
    background-position: right 15px center;
    width: 100%; /* Set button width to 100% */
}

.menu-button:hover {
    background-color: #3A241D;
}

.accordion-container {
    width: 100%;
    max-width: 700px; /* Adjust to ensure it fits within the container */
    margin: 20px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.accordion-section {
    margin-bottom: 60px;
}

.accordion {
    border: 1px solid #000;
    border-radius: 4px;
    margin-bottom: 10px;
    background: transparent; /* Make background transparent */
    overflow: hidden; /* Ensure it does not overflow */
}

.accordion-button {
    width: 100%;
    text-align: left;
    padding: 15px;
    padding-left: 50px;
    border: none;
    background-color: transparent; /* Make background transparent */
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url("../img/question/q_icon.gif");
    background-repeat: no-repeat;
    background-position: 12px 16px;
    font-size: 20px;
    font-weight: bold;
}

.accordion-button::after {
    content: '\002B'; /* Unicode character for "+" sign */
    font-size: 20px;
    color: #000;
}

.accordion-button.active::after {
    content: '\2212'; /* Unicode character for "-" sign */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 15px;
    background-color: white;
    background-image: url("../img/question/a_icon.gif");
    background-repeat: no-repeat;
    background-position: 12px 16px;
    box-sizing: border-box;
}

.accordion-content p {
    margin: 18px 12px 18px 36px;
    line-height: 1.6em;
    letter-spacing: 0.1em;
}
#inquiry{
    margin: 0 18px;
}
#inquiry ul {
    list-style: none; /* Remove default bullet points */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    display: flex; /* Use flexbox to align items horizontally */
    flex-wrap: wrap; /* Allow items to wrap to the next line if necessary */
    justify-content: space-between; /* Distribute space between items */
    margin-bottom: 40px;
}

#inquiry ul li {
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    border-radius: 7px;
}

#inquiry ul li:nth-child(odd) {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    width: 40%;
}
.inquiry-button {
    display: inline-block;
    padding: 10px 20px; /* Adjust the padding for desired button size */
    font-size: 16px; /* Adjust the font size */
    font-weight: bold; /* Make the text bold */
    color: #fff; /* White text color */
    background-color:#094380; /* Button background color */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline from text */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    margin-top: 8px;
}

.inquiry-button:hover {
    background-color:#2E61BB; /* Darker background color on hover */
}
#inquiry ul li:nth-child(even) {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    width: 58%;
}
#inquiry ul li:nth-child(even) h3{
    font-size: 18px;
    font-weight: bold;
    color: #094380;
}
#inquiry ul li:nth-child(even) h4{
    font-size: 13px;
}

#back-to-top {
    display: none; /* Initially hidden */
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px 20px;
    background-color: #ff6347;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}

/* Mobile styles */
@media (max-width: 600px) {
    .img_size{
        width: 100%;
        height: auto;
    }
    #h_text {
        font-size: 11px;
        text-align: center;
    }
    .menu-button {
        font-size: 14px;
        padding: 8px 15px;
    }

    .menu li {
        flex: 1 1 100%;
        margin: 0 0 10px 0;
    }

    .accordion-container {
        padding: 0 5px;
    }

    .accordion-button {
        font-size: 14px;
        padding: 10px;
    }
    .accordion-button {
        padding: 15px;
        padding-left: 50px;
        background-position: 12px 16px;
        font-size: 20px;
        font-weight: bold;
    }
    .accordion-section h2 {
        text-align: center;
    }
    .subtitle {
        font-size: 26px;
        margin: 0.5em ;
        padding: 0.5em 0;
        line-height: 1.2em;
        background-image: none;
        border-bottom: 1px dashed #000000;
    }
    .qafirld_txt{
        padding: 0 0.5em;
    }
    #inquiry ul li{
        margin-bottom: 10px;
    }
    #inquiry ul li:nth-child(odd){
        width: 100%;
    }
    #inquiry ul li:nth-child(even){
        width: 100%;
    }

}