@charset "UTF-8";

#title {
    background-image: url("../img/title.jpg");
}

.bg {
    background-image: url("../img/bg.webp");
    background-position: center bottom;
    background-size: cover;
    padding: 5em 0 5em 0;
}
.tx2 {
    position: relative;
    margin-bottom: -40px;
    z-index: 1;
}
.mainimg {
    margin-bottom: -5em;
}

.dtx section {
    display: inline-block;
    text-align: left;
    line-height: 1.5;
}

.telbox {
   background-color: #f1efe8;
   border-radius: 10px;
   padding: 30px;
   text-align: center;
   color: #111111;
}
.telbox h2 {
    font-weight: 600;
    font-size: 1.6em;
    line-height: 1.5;
    background-color: #111111;
    color: #fff;
    padding: 5px 0;
    margin-bottom: 30px;
}
.telbox h3 {
    font-weight: 600;
    font-size: 1.6em;
    line-height: 1.7;
    margin-bottom: 10px;
}
.telbox h4 {
    text-align: center;
    margin-bottom: 10px;
}
.telbox h4 span {
    display: inline-block;
    font-weight: 600;
    font-size: 3em;
    line-height: 1.3;
    letter-spacing: 1px;
    background-image: url("../../img2024/fdial2.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 50px auto;
    padding-left: 60px;
}
.tel_tx {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}
.telbox p {
    text-align: left;
    font-size: 0.84em;
    line-height: 1.7;
}

/*#header .hdlogo {
    opacity: 0;
}*/
#header .hdlogo img {
    filter: invert(0) !important;
}
/*.gfix #header .hdlogo {
    opacity: 1;
}*/

@media screen and (min-width: 500px) {
.telbox h4 a {
    pointer-events: none;
}

.table_fm tr:nth-child(3) th,.table_fm tr:nth-child(3) td,.table_fm tr:nth-child(6) th,.table_fm tr:nth-child(6) td,.table_fm tr:nth-child(7) th,.table_fm tr:nth-child(7) td {
    border-bottom-width: 0 !important;
    padding-bottom: 0 !important;
}
}

@media screen and (max-width: 499px) {
#title {
    background-image: url("../img/title_sp.jpg");
}

.bg {
    padding: 3em 0 3em 0;
}
.tx2 {
    margin-bottom: -10px;
}
.mainimg {
    margin-bottom: -1em;
}
.dtx section {
    display: block;
    font-size: 0.7em;
}


.telbox {
   padding: 30px;
}
.telbox h2 {
    font-size: 1.16em;
    line-height: 1.5;
    padding: 8px 0;
    margin-bottom: 30px;
}
.telbox h3 {
    font-size: 1.24em;
}
.telbox h4 span {
    font-size: 2em;
    background-size: 34px auto;
    padding-left: 42px;
}

}
