@charset "utf-8";
:root {
    --main-blue: #002896;
    --skyBlue: #00a0f0;
    --skyBlue2: #42a0ea;
    --orange: #f59600;
    --comBlue: #002896;
    --subBlue: #CEEDFD;
    --palegray: #eff4f7;
}
.toiawase {
    font-size: 16px;
}
.toiawase, .toiawase * {
    font-family: 'Noto Sans JP',sans-serif;
    box-sizing: border-box;
}
.toiawase a {
    font-size: inherit;
}
sup {
    font-size: smaller;
    vertical-align: super;
}
.ib {
    display: inline-block;
}
.font13 {
    font-size: 13px;
}
/* .contentwrap {
    width: 100%;
    max-width: 1206px;
} */
#page-trail, #page-trail a {
    font-size: 12px;
    margin-bottom: 8px;
}
#title {
    background-color: transparent;
    max-width: 1206px;
    margin: 0 auto;
    border: none;
    padding-bottom: 19px;
}
#title a {
    text-decoration: none;
}
#title a:hover {
    opacity: 0.8;
}
#title h1 {
    text-align: center;
    font-size: 38px;
    color: var(--main-blue);
    font-weight: bold;
    line-height: 1;
    margin-bottom: 30px;
}
#title h1 .title-upper {
    font-size: 16px;
    color: #515151;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 12px;
}
#title h1 + p {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
}
#title .info {
  display: flex;
  justify-content: center;
  align-items: center;
}
#title .info p{
  display: inline-block;
  border: 1px solid var(--main-blue);
  padding: 16px 32px;
  margin-bottom: 0;
}
.goriyouchu-link {
    text-align: right;
    color: var(--main-blue);
    margin-top: 32px;
}
.goriyouchu-link a {
    font-size: 16px;
    letter-spacing: 1.6px;
    font-weight: 500;
}
.goriyouchu-link a::after {
    display: inline-block;
    content: '';
    height: 7px;
    width: 7px;
    margin-left: 5px;
    border-top: 2px solid var(--main-blue);
    border-right: 2px solid var(--main-blue);
    transform: rotate(45deg) translateY(-1px);
}

#maincontent.toiawase-content {
    background-color: #EFF4F7;
    padding: 36px 24px 93px;
    width: 100%;
}
.toiawase-cont {
    max-width: 1206px;
    margin: 0 auto;
}
.local-link {
    display: flex;
    column-gap: 25px;
    row-gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.local-link a {
    color: #000;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
}
.local-link a:hover {
    color: var(--main-blue);
}
.local-link a::after {
    content: '';
    display: inline-block;
    height: 7px;
    width: 7px;
    border-right: 1px solid var(--main-blue);
    border-bottom: 1px solid var(--main-blue);
    transform: rotate(45deg) translateY(-4px);
    margin-left: 6px;
}
.toiawase-h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 16px;
}
.toiawase-item {
    margin-bottom: 48px;
}
.toiawase-item li {
    width: 100%;
    background-color: #fff;
    display: flex;
    border-top: 1px solid #AABDC9;
}
.toiawase-item li.style2 {
    align-items: center;
}
.toiawase-item li:last-child {
    border-bottom: 1px solid #AABDC9;
}
.toiawase-item-hd {
    width: 431px;
    padding: 21px 25px 19px;
    background-color: #E5F4FC;
}
.toiawase-item-hd h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}
.toiawase-item-hd h3:nth-of-type(n+2) {
    padding-top: 16px;
}
.toiawase-item-hd span {
    font-size: 18px;
}
.toiawase-item-hd a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.toiawase-item-hd a:hover {
    text-decoration: none;
    opacity: 0.8;
}
.toiawase-item-hd a[target="_blank"]::after {
    content: url(../img/ico_link.svg);
    display: inline-block;
    margin-left: 8px;
    border: none;
    transform: none;
}

.toiawase-item-hd a::after {
    display: inline-block;
    content: '';
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-top: 1px solid var(--main-blue);
    border-right: 1px solid var(--main-blue);
    transform: rotate(45deg) translateY(-2px);
}
.toiawase-item-hd a.to-site::after {
    border: none;
    transform: translateY(5px);
    height: 16px;
    width: 16px;
    background-image: url(../images/ico_link.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: 18px;
}
.toiawase-item-content {
    padding: 30px 0 11px;
    display: flex;
    width: 775px;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 10px;
    align-items: center;
}
a.btn01, a.btn02 {
    box-sizing: border-box;
    display: flex;
    position: relative;
    align-items: center;
    width: 267.58px;
    height: 50px;
    padding-right: 24.16px;
    padding-left: 24px;
    border: 2px solid;
    border-radius: 25px;
    /* box-shadow: 3px 5px 0px rgb(0 40 150 / 27%); */
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}
a.btn01::before,
a.btn02::before {
    position: absolute;
    content: '';
    right: 24px;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
a.btn02.comBlue::before {
    border-color: #012896;
}
a.btn01 {
    color: #fff;
}
a.btn02 {
    background-color: #fff;
}
a.btn01.comBlue {
    border-color: #00248b;
    background-color: var(--main-blue);
}
a.btn02.comBlue {
    border-color: #00248b;
    color: var(--main-blue);
}
a.btn01.comBlue:hover {
    border: 2px solid var(--main-blue);
    background-color: #c8d3f5;
    color: var(--main-blue);
}
a.btn02.comBlue:hover {
    border: 2px solid #00248b;
    background-color: var(--main-blue);
    color: #fff;
}
a.btn01.comBlue:hover::before {
    border-color: #00248b;
}
a.btn02.comBlue:hover::before {
    border-color: #fff;
}

.toiawase-item-content a {
    margin-bottom: 16px;
}
.toiawase-item-content .air {
    width: 267.58px;
    height: 0;
    margin-bottom: 0!important;
}

.toiawase-item.item2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 40px 0 50px;
    margin-top: 80px;
}
.toiawase-item.item2 h2 {
    font-size: 30px;
    font-weight: bold;
}
.faq .ura {
    font-size: 12px;
    line-height: 20px;
    color: #000;
    padding-left: 30px;
    width: 326px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.faq .ura:hover {
    text-decoration: none;
}
.faq .ura .tel-num {
    font-size: 30px;
    line-height: 45px;
    display: block;
    font-weight: bold;
    line-height: 1.6;
}
.faq .ura .font15 {
    font-size: 15px;
    line-height: 1;
}
.faq .ura a {
    display: inline-block;
    color: #000;
    margin-bottom: 0;
}
.faq .ura .spacer {
    height: 28px;
}
@media screen and (min-width:600px) {
        .faq a[href^="tel:"] {
        pointer-events: none;
    }
}

@media screen and (max-width:900px) {
    #page-trail{
        margin-bottom: 16px;
    }
    .contentwrap {
        width: 100%;
    }
    #title {
        width: 100%;
        padding: 0 24px 20px;
    }
    #title h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    #title h1 .title-upper {
        font-size: 14px;
    }
    #title h1 + p {
        font-size: 12px;
        line-height: 1.6;
        margin-top: 0;
    }
    #title .info p{
      font-size: 12px;
      padding: 8px 16px;
    }
    .goriyouchu-link {
        margin-top: 48px;
    }
    .goriyouchu-link a {
        font-size: 14px;
        letter-spacing: normal;
    }

    .local-link {
        display: none;
    }

    #maincontent.toiawase-content {
        padding-top: 24px;
    }
    .toiawase-item-content {
        padding-top: 24px;
        padding-bottom: 8px;
    }
    .toiawase-item {
        margin-bottom: 40px;
    }
    .toiawase-item li {
        flex-wrap: wrap;
    }
    .toiawase-item-hd, .toiawase-item-content {
        width: 100%;

    }
    .toiawase-item-hd {
        padding-left: 23px;
        padding-right: 23px;
    }
    .toiawase-h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }
    .toiawase-item-hd h3 {
        font-size: 20px;
    }

    .toiawase-item.item2 {
        padding: 36px 24px;
        margin-top: 50px;
    }
    .toiawase-item.item2 h2 {
        font-size: 22px;
    }
    .toiawase-item.item2 p {
        text-align: center;
    }

    a.btn01, a.btn02 {
        width: 240px;
        height: 40px;
    }

    .faq .ura {
        text-align: center;
        padding: 0;
    }
}
@media screen and (max-width:600px) {
    .faq .ura .tel-num {
        font-size: 26px;
    }
}

/* モーダル関連 */
.js-modalContent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.5);
    z-index: calc(infinity);
    backdrop-filter: blur(3px);
}
.js-modalContent.open {
    display: flex;
}
.modalContent-wrap {
    background-color: #F0F6FC;
    width: 90%;
    max-width: 1126px;
    padding: 45px 38px;
    position: relative;
}
.modalContent-wrap h3 {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}
.modal-link-wrap {
    display: flex;
    justify-content: center;
    gap: 10%;
}
.modal-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.modal-link-item h4 {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.3;
    height: 78px;
    border: 1px solid #002896;
    background-color: #fff;
    width: 280px;
}
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}
html:has(.js-modalContent.open),body:has(.js-modalContent.open) {
    overflow: hidden;
}

@media screen and (max-width:768px) {
    .modal-link-wrap {
        flex-direction: column;
        gap: 36px;
    }
    .modalContent-wrap h3 {
        font-size: 22px;
    }
    .modal-link-item {
        gap: 20px;
    }
    .modal-link-item h4 {
        font-size: 18px;
        height: 60px;
    }
  .toiawase-item-hd span {
      font-size: 15px;
  }
}

.font18 {
	font-size: 18px;
}
@media screen and (max-width:768px) {
	.sp-font14 {
		font-size: 14px;
	}
}
