/*
Theme Name: Teeth On Theme
Theme URI: http:/teeth-on
Author: b.mode
Description: Teeth On WordPressテーマ
Version: 1.0
*/

/* ----------------------------------------
 *   style.css
 * ---------------------------------------- */



html {
    scroll-behavior: smooth;
}

header div#gnav ul {
    font-weight: bold;
}


header div#gnav ul li {
    padding-bottom: 5px;
    /* テキストと下線の間隔 */
    background-image: linear-gradient(#000, #000);
    background-repeat: no-repeat;
    background-position: bottom right;
    /* 下線の初期位置 */
    background-size: 0 1px;
    /* 下線のサイズ（横幅、高さ） */
    transition: background-size 0.3s;
}


header div#gnav ul li:hover {
    background-position: bottom left;
    /* 下線のホバー時位置 */
    background-size: 100% 1px;
    /* 下線の横幅を100%にする */
}





.contact-btn {
    width: 160px;
    background-color: #00C1D2;
    color: #fff;
    text-align: center;
    border-radius: 30px;
    padding: 5px 0;
    margin-top: -5px;
    position: relative;
    transition: .3s !important;
    background-image: none !important;
}

.contact-btn a {
    color: #fff !important;
    display: block;
    background-image: none !important;
}

li.contact-btn:hover {
    opacity: .5;
    transition: .3s;
    background-image: none !important;
}


.contact-btn a img {
    float: left;
    margin-left: 5px;
    background-image: none !important;
}

.contact-btn a span {
    line-height: 29px;
}

#page-front-kv div.kv-text {
    position: absolute;
    bottom: 35px;
    right: 20px;
    font-size: 14px;
}

#contents-01 h2 {
    text-align: center;
    padding: 60px 0 100px;
    color: #3261AB;
    font-size: 60px;
    text-decoration: underline;
    text-underline-offset: 20px;
}

.worries-cta {
    margin: 80px auto;
    background-image: url(../../img/worry_back.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 330px;
    position: relative;
}

.worries-bottom-img {
    position: absolute;
    width: 148px;
    bottom: -60px;
    right: 0;
}

.admission-price {
    width: 460px;
    background-color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 40px;
    margin: 40px auto;
    box-shadow: 0px 0px 3px 2px #e6e6e6;
    font-size: 26px;
}

.admission-price span.price-text {
    color: #3261ab;
    font-size: 30px;
    font-weight: bold;
    padding-left: 20px;
}

.ad-yen {
    font-size: 20px;
    color: #3261ab;
    padding-left: 5px;
}

.tax-text {
    font-size: 12px;
}


.price-table table tr td {
    text-align: center;
    padding: 20px;
    border: solid 1px #CCCCCC;
    background-color: #fff;
    font-size: 30px;
    font-weight: bold;
    color: #3261ab;
}

.price-table table tr td img.offIcon {
    width: 60px;
    margin: -3px 0 0;
    float: right;
}

.price-table table tr td span {
    font-size: 18px;
}

.course-table p.course-btm {
    text-align: left;
    font-size: 16px;
    margin: 10px;
}

td.red-border01 {
    border: solid 4px #F35528 !important;
    border-right: none !important;
}

td.red-border02 {
    border: solid 4px #F35528 !important;
    border-left: solid 1px #CCCCCC !important;
}

div.national-exam {
    display: flex;
    background: #fff;
    font-size: 22px;
    justify-content: space-around;
    border-radius: 20px;
    margin: 100px 0;
}

.national-exam div.exam-left {
    background-color: #3284cc;
    padding: 37px 30px 30px;
    display: block;
    font-size: 28px;
    width: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    flex: 1;
    color: #fff;
    text-align: center;
    vertical-align: middle;
}

.national-exam div.exam-right {
    flex: 1;
    padding: 30px;
    text-align: center;
}

.national-exam div.exam-right span.bluetext {
    color: #3284cc;
    font-size: 16px;
    font-weight: bold;
}

.national-exam div.exam-right span.bluetext.font-big {
    font-size: 40px;
}

.national-exam div.exam-right span.tax {
    font-size: 18px;
}



#column div.column-content div.column-meta:hover {
    background-color: #2dc1d259;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    transition: .5s;
}

div.column-content a {
    text-decoration: none;
    color: #333;
}

.faq-content {
    width: 1000px;
    margin: 60px auto 40px;
}

.faq-bottom img {
    position: absolute;
    left: 10%;
    max-width: 148px;
    height: auto;
    bottom: 10px;
}

.stepcircle {
    width: 2.5em;
    height: 2.5em;
    background-color: #2c59a0;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    padding-left: 7px;
    line-height: 2.3em;
    letter-spacing: 6px;
    font-size: 2.4em;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.worries-line {
    background: url(../../themes/teeth-on-wp-theme/img/contact_back_1.png) no-repeat 0 0 / cover;
    width: 100vw;
    height: 400px;
    margin-left: calc(-50vw + 50%);
}

.worries-line.wlbtm {
    background: url(../../themes/teeth-on-wp-theme/img/contact_back_2.png) no-repeat 0 0 / cover;
    width: 100vw;
    height: 590px;
    margin-left: calc(-50vw + 50%);
}

.text-dots {
    background-image: radial-gradient(circle at center, white 20%, transparent 20%);
    background-position: top right;
    background-repeat: repeat-x;
    background-size: 1.14em 0.3em;
    padding-top: .1em;
}

.worries-line ul li:hover {
    background-color: #d3d3d3;
    transition: .3s;
}

.worries-line ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    background: url(../../themes/teeth-on-wp-theme/img/header_mail_icon.png) no-repeat 106px center / 30px auto;
    display: block;
    padding: 7px;
}

.worries-line ul li a::before {}

.worries-line-bottom {
    padding-top: 120px;
}

.worries-line-bottom:before,
.worries-line-bottom:after {
    position: absolute;
    top: 100%;
    left: 50%;
    content: "";
    height: 0;
    width: 0;
}

.worries-line-bottom:before {
    border: 16px solid;
    border-color: transparent;
    border-top-color: white;
    margin-left: -16px;
}

.worries-line-bottom:after {
    border: 14px solid;
    border-color: transparent;
    border-top-color: #75cbdf;
    margin-left: -14px;
}

.worries-line.wlbtm h3 {
    text-align: center;
    font-size: 46px;
    letter-spacing: 5px;
    color: #fff;
    padding-top: 40px;
    line-height: 80px;
}

footer {
    height: auto;
    background-color: #707070;
    color: #fff;
}

.ft-nav {
    padding: 30px 0 30px;
}

.ft-nav ul {
    display: flex;
    gap: 64px;
    justify-content: center;
}

.ft-nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding-bottom: 3px;
    background-image: linear-gradient(#FFF, #FFF);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 1px;
    transition: background-size 0.3s;
}

.ft-nav ul li a:hover {
    text-align: center;
    padding-bottom: 10px;
    background-position: bottom left;
    background-size: 100% 1px;

}

#copyrights {
    text-align: center;
    padding-bottom: 20px;
}

.legal-container {
    max-width: 1280px;
    margin: 60px auto;
    padding: 30px 20px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 107, 160, 0.05);
    border-radius: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
}

.legal-container h1 {
    font-size: 28px;
    text-align: center;
    color: #007bbf;
    margin-bottom: 40px;
    border-bottom: 2px solid #cdeaf6;
    padding-bottom: 10px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
}

.legal-table th,
.legal-table td {
    padding: 16px 12px;
    vertical-align: top;
}

.legal-table th {
    width: 30%;
    background-color: #f0faff;
    color: #007bbf;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid #cce5f0;
    vertical-align: middle;
}

.legal-table td {
    background-color: #ffffff;
    border-bottom: 1px solid #e0f2f7;
}

.legal-table a {
    color: #007bbf;
    text-decoration: underline;
}

.privacy-container {
    max-width: 1280px;
    margin: 60px auto;
    padding: 30px 20px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 107, 160, 0.05);
    border-radius: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
}

.privacy-container h1 {
    font-size: 28px;
    text-align: center;
    color: #007bbf;
    margin-bottom: 40px;
    border-bottom: 2px solid #cdeaf6;
    padding-bottom: 10px;
}

.privacy-container h2 {
    font-size: 22px;
    color: #007bbf;
    margin-top: 40px;
    margin-bottom: 16px;
    border-left: 5px solid #ccebf7;
    padding-left: 12px;
}

.privacy-container h3 {
    font-size: 18px;
    color: #007bbf;
    margin-top: 30px;
    margin-bottom: 10px;
}

.privacy-container p {
    font-size: 15px;
    margin-bottom: 16px;
    color: #333;
}

.privacy-container a {
    color: #007bbf;
    text-decoration: underline;
}

.column-kv {
    background: url(../../themes/teeth-on-wp-theme/img/contact_back_2.png) no-repeat 0 0 / cover;
    text-align: center;
    padding: 8% 0;
    color: #fff;
    font-size: 40px;
}

h1.column-head {
    margin: 70px 0 55px;
    font-size: 40px;
    border-bottom: 3px solid #2dc1d2;
}

h1.column-head span {
    display: inline-block;
    position: relative;
    padding: 0 .4em .2em;
    color: #333333;
}

h1.column-head span::before {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3261ab;
    content: '';
}

.post-date {
    text-align: right;
    margin-right: 5%;
}

.column-content {}

.linst-inner-cta {
    margin-top: 50px;
}

.inst-txt-btm {
  padding-left: 0;
  line-height: 1.6;
  word-break: keep-all;
  white-space: normal;
  overflow: hidden; 
}

.inst-txt-btm > span {
  float: left;
  width: 80px;
  font-weight: bold;
  color: #00C1D2;
  display: block;
}

.inst-txt-btm br {
  display: none;
}

.inst-txt-btm {
}

.inst-txt-btm span + text,
.inst-txt-btm span + * {
  display: block;
  margin-left: 80px;
}

.price_th01 {
  background: #c98b31 !important;
}

.pc-sp_br {
  display: unset !important;	
}

.br_pc {
  display: none;
}

.screen-reader-response {
    color: #ffffff;
    background-color: #03c1d2;
    padding: 0px 20px;
    font-size: 20px;
    font-weight: bold;
}

.wpcf7-response-output {
	    margin-top: 30px;
    color: #ffffff;
    background-color: #03c1d2;
    padding: 0px 20px;
    font-size: 20px;
    font-weight: bold;
}

.screen-reader-response ul {
	display: none;
}

.wpcf7-not-valid-tip {
	color: red;
	margin-left: 5px;
}

.cf7_att {
    font-size: 20px;
	color: red;
}

.inst-content div.inst-ph-txt div.inst-txt p.inst-txt-btm {
	font-weight: bolder;
    font-family: sans-serif;
}

.inst-content div.inst-ph-txt {
display: flex;
gap: 30px;
padding: 0 20px;
align-items: flex-start;
}

.inst-content div.inst-ph-txt div.inst-ph img {
max-inline-size: initial;
}

/* ----------------------------------------
 *  Responsive
 * ---------------------------------------- */
@media (max-width: 1280px) {
	.br_pc {
		display: unset;
	}
	
	.br_sp {
		display: none;
	}
	
    .header-contents {
        width: 100%;
        justify-content: left;
    }

    header {
        height: 140px;
    }

    header div#gnav {
        display: none;
    }

    header div#logo img {
        height: 120px;
		padding-left: 16px;
    }

    #page-front-kv {
        width: 100%;
        background-image: url(img/_kv_main.png);
        background-position: 0px;
        top: -18px;
    }

    #page-front-kv div.kv-text {
        font-size: 18px;
    }

    .main-copy {
        position: absolute;
        top: 188px;
        left: 20px;
        width: 350px;
    }

    .kv-point ul li {
        width: 230px;
    }

    .kv-point {
        bottom: 70px;
        left: 10px;
    }

    .contents-area {
        width: 100%;
    }

    .worries {
        padding: 0 16px;
    }

    .worries-3pr {
        padding: 0 16px;
        gap: 16px;
    }

    .worries-3pr div {
        width: 33%;
    }

    .worries-3pr div img {
        width: 100%;
        bottom: -50px;
    }

    .worries-3pr div p {
        width: 100%;
    }

    .worries-line-bottom {
        color: #fff;
        text-align: center;
        font-size: 30px;
    }

    .worries-bottom-img {
        width: 148px;
        bottom: -40px;
        right: 38px;
    }

    .worries-line ul {
        width: 100%;
    }

    .five-point div.fp-content span {
        font-size: 120px;
        left: 33px;
        top: -12px;
    }

    .five-point {
        width: 100%;
        display: block;
        margin: 70px auto;
        padding: 0 16px 70px 16px;
        gap: 16px;
    }

    .fp-content {
        width: 100%;
        padding: 20px 20px 30px;
        margin: 0 auto;
        position: relative;
    }

    .fp-content div img {
        width: 270px;
    }

    .bg-title h3 {
        font-size: 72px;
    }

    .bg-title h3 span {
        font-size: 92px;
        color: #3261AB;
    }

    .all-courses {
        width: 95%;
        font-size: 34px;
    }

    .course-table p {
        font-size: 36px;
    }

    .course-table p.course-btm {
        text-align: left;
        font-size: 24px;
    }

    .worries-line ul li {
        font-size: 34px;
        width: 70%;
    }

    .worries-bottom-text {
        text-align: left;
        font-family: sans-serif;
        font-size: 36px;
        letter-spacing: 3px;
        line-height: 64px;
        margin-top: 50px;
        font-weight: bold;
        padding: 30px;
    }


    .all-courses div.circle {
        display: none;
    }

    .price-table {
        width: 100%;
        padding: 0 16px;
    }

    .price-table table {
        width: 100%;
        font-size: 30px;
    }

    .price-table table tr td span {
        font-size: 25px;
    }

    .inst-content {
        margin-bottom: 16px;
    }

    .inst-content div.inst-ph-txt div.inst-ph {
        flex: 2;
		flex-shrink: 0;
    }

    .instructor-all {
        width: 100%;
        padding: 0 16px;
    }

    div.national-exam {
        margin: 100px 16px;
    }

    .fp-content-text p {
        font-size: 30px;
        line-height: 50px;
    }

    .fp-content-text h4 {
        letter-spacing: 3px;
        color: #3261AB;
        font-size: 30px;
        line-height: 50px;
    }

    .fp-content-text h4 span {
        font-size: 30px !important;
    }

    .inst-txt-top {
        font-size: 28px;
        line-height: 38px;
    }

    .inst-content div.inst-ph-txt div.inst-txt p.inst-txt-btm {
        font-size: 22px;
		word-break: normal;
    }

    .faq-content li.question {
        font-size: 30px;
    }

    .faq-content li.answer {
        font-size: 30px;
    }

    .faq-content li.question::before {
        top: 20px;
        font-size: 26px;
    }

    .faq-content li.answer::before {
        top: 20px;
        font-size: 26px;
    }

    .stepbar .stepbarwrap {
        width: 80%;
        max-width: 80%;
    }

    .faq-bottom {
        height: 250px;
    }

    .faq-bottom h4 {
        font-size: 30px;
        top: -17px;
        left: 60px;
    }

    .stepcontent .title {
        font-size: 32px;
    }

    .stepcontent .txt {
        font-size: 26px;
    }

    .stepcontent .txt-note {
        font-size: 26px;
    }

    .stepline {
        left: 3em;
        width: 2px;
        height: calc(100% + 2em);
    }

    #policy {
        position: relative;
        background-size: cover;
    }

    .policy-content p {
        width: 100%;
        margin-top: 30px;
        font-size: 30px;
    }

    .policy-title {
        width: 100%;
    }

    .policy-content {
        width: 100%;
        padding-left: 30px;
    }

    .faq-content {
        width: 100%;
        padding: 0 16px;
    }

    #column div.column-contents {
        margin: 70px auto 40px;
        display: block;
        padding: 0 16px;
    }

    #column div.column-content {
        margin-bottom: 60px;
    }

    div.column-meta h4 {
        padding: 4px 10px 30px;
    }

    #column div.column-content div.column-img img {
        width: 100%;
    }

    #column div.column-content div.column-meta {
        font-size: 40px;
    }

    div.column-link {
        margin-bottom: 100px;
        text-align: right;
        font-size: 30px;
        padding-right: 20px;
    }

    div.column-meta time {
        font-size: 28px;
        float: right;
    }

    div.column-meta div.category {
        display: none;
    }

    .legal-container h1 {
        font-size: 40px;
    }

    .legal-table,
    .legal-table tbody,
    .legal-table tr,
    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
    }

    .legal-table tr {
        margin-bottom: 20px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0, 123, 191, 0.1);
        background-color: #ffffff;
    }

    .legal-table th {
        background-color: #007bbf;
        color: #fff;
        font-size: 30px;
        padding: 12px;
        border-bottom: 1px solid #005f93;
    }

    .legal-table td {
        background-color: #f8fbfd;
        padding: 14px 12px;
        font-size: 30px;
        border-top: none;
        border-bottom: none;
        color: #333;
    }

    .privacy-container {
        padding: 20px 16px;
    }

    .privacy-container h1 {
        font-size: 40px;
    }

    .privacy-container h2 {
        font-size: 32px;
    }

    .privacy-container h3 {
        font-size: 28px;
    }

    .privacy-container p {
        font-size: 28px;
    }

    footer {
        font-size: 28px;
    }

    .ft-nav ul {
        display: block;
        text-align: right;
        margin: 0 auto;

    }


    .ft-nav ul li {
        width: 95%;
        text-align: right;
        margin-bottom: 10px;
    }


    h1.column-head {
        width: 95%;
        margin: 70px auto 55px;
    }


    .column-content {
        width: 95%;
        margin: 100px auto;
        font-size: 30px;
    }

    .post-date {
        text-align: right;
        margin-right: 5%;
        font-size: 24px;
        color: #707070;
    }
}

/* ----------------------------------------
 * ハンバーガーメニュー
 * ---------------------------------------- */
.hamburger {
    display: none;
    font-size: 6rem;
    background: none;
    border: none;
    color: #333;
    position: absolute;
    top: -20px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
}

.menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem 1rem;
    transition: right 0.3s ease;
    z-index: 1000;
}

.menu-panel a {
    color: white;
    text-decoration: none;
    display: block;
margin: 2rem 0px;
    font-size: 50px;
}

.menu-panel.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 1280px) {
    .hamburger {
        display: block;
    }
}


/******************************/
/** コンタクトフォームの装飾 **/
/******************************/
/*　フォーム全体　*/
#cf7-area {
    width: 100%;
    margin: 0 auto;
}

.cf7-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 0 1.75em;
}

.cf7-q {
    width: 30%;
    margin: 0 0 0 10px;
}

.cf7-a {
    width: 60%;
}


input[type="checkbox"] {
    width: 26px;
    height: 26px;
    margin-right: 20px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    cursor: pointer;
    position: relative;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 8px;
    width: 9px;
    height: 14px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.wpcf7-list-item label {
    background-color: #FFF;
}

/*　見出し　*/
.form-heading {
    width: 100%;
    background-color: #191970;
    border-left: 1em solid #6495ED;
    border-radius: 2px;
    color: #ffffff;
    font-weight: bold;
    padding: 1em .8em;
    margin: 0 0 2em;
}

.form-heading p {
    margin: 0;
}

/* 各項目共通 */

input {
    background: #F0F8FF !important;
    border: solid 1px;

}

.hidden-fields-container {
    border: none !important;
}

#cf7-area label {
    font-weight: bold;
}

#cf7-area input[type=”text”],
#cf7-area input[type=”email”],
#cf7-area input[type=”tel”],
#cf7-area textarea {
    background: #F0F8FF !important;
    width: 500px;
    margin-left: 10px;
}

#cf7-area input[type=”text”]:focus,
#cf7-area input[type=”email”]:focus,
#cf7-area input[type=”tel”]:focus,
#cf7-area textarea:focus {
    background: #FFE4E1 !important;
    ;
    border: 2px solid #FF1493;
    outline: 0;
}

#cf7-area input[type=”checkbox”],
#cf7-area input[type=”radio”] {
    appearance: auto;
}

#cf7-area .wpcf7-list-item {
    display: block;
}

#cf7-area textarea {
    height: 200px;
    padding: 0.625em 0.4375em;
}

.cf7-accept-check {
    text-align: center;
    margin: 50px auto;
}

.cf7-submit {
    width: 40%;
    margin: 0 auto;
    text-align: center;
}

#cf7-area input[type=”submit”] {
    width: 100%;
    background-color: #191970;
    color: #ffffff;
    border-radius: 5px;
    font-size: 1.2em;
    padding: 1em 10px;
}

#cf7-area input[type=”submit”]:hover {
    background-color: #ffffff;
    border: 2px solid #191970;
    color: #191970;
}

.cf7-btn {
    width: 40%;
    margin: 0 auto;
    text-align: center;
}

/*　必須ラベル　*/
.cf7-req {
    font-size: .8em;
    padding: 4px 6px;
    background: #eb2a2a;
    color: #ffffff;
    margin-left: 10px;
    display: inline-block;
}

@media screen and (max-width:1280px) {

    #cf7-area {
        width: 100%;
        margin: 0 auto;
        font-size: 30px;
    }

    #cf7-area p {}

    .cf7-item {
        display: block;
    }

    #cf7-area label {
        display: block;
        margin-bottom: 10px;
    }

    .cf7-q {
        width: 100%;
        margin: 0;
        font-size: 40px;
    }

    .cf7-a {
        width: 100%;
    }

    #cf7-area input[type=”text”],
    #cf7-area input[type=”email”],
    #cf7-area input[type=”tel”],
    #cf7-area textarea {
        margin-left: 0;
    }

    .cf7-submit {
        width: 90%;
    }
}