/*
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: #957bc9;
    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: #3B3B3B;
    font-size: 62px;
    text-decoration: underline;
    text-underline-offset: 20px;
}

.worries-cta {
    margin: 80px auto;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 330px;
    position: relative;
}

.worries-bottom-img {
    position: absolute;
    width: 146px;
    bottom: -36px;
    right: 32px;
}

.admission-price {
    color: #000;
    font-size: 30px;
    font-weight: bold;
    box-shadow: 0px 0px 30px #00000017;
}

span.price-text {
    color: #957BC9;
    font-size: 30px;
    font-weight: bold;
    padding-left: 20px;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
}

span.yen {
    font-size: 20px;
    color: #957BC9;
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
	font-weight: bold;
}

.exam-bottom span.time {
    color: #000;
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
    font-size: 20px;
    font-weight: bold;
}

.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;
}

.price-flex {
	display: flex;
    justify-content: space-between;
	width: auto;
    max-width: 1230px;
    margin: 0 auto;
}

.course_bottom {
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体";
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    width: auto;
    max-width: 1230px;
    margin: 0 auto;
}

div.national-exam {
    display: flex;
	flex-direction: column;
    background: #fff;
    font-size: 22px;
    justify-content: space-around;
    margin: 60px 0 20px;
	width: 100%;
    max-width: 600px;
    box-sizing: border-box;
	border-radius: 20px;
    box-shadow: 0px 0px 30px #00000017;
}

.national-exam div.exam-top {
    background-color: #B8A2E2;
    padding: 30px 30px;
    display: block;
    font-size: 28px;
    width: 100%;
    color: #fff;
    text-align: center;
    vertical-align: middle;
	border-radius: 20px 20px 0 0;
    font-weight: bold;
}

.fax {
	line-height: 2.8;
}

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

.national-exam div.exam-bottom span.icon {
    color: #B8A2E2;
    font-size: 10px;
    font-weight: bold;
}

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

span.tax {
    color: #4E4E4E;
    font-size: 13px;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体";
	font-weight: 100;
}

div.column-content{
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

#column div.column-content div.column-img {
    height: 225px;
    border-bottom: dotted 6px #f0f0f0;
}

#column div.column-content div.column-meta {
	padding: 20px;
    line-height: 30px;
}

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

#column div.column-contents {
    margin: 70px auto 40px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

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: #B8A2E2;
    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(../../../wp-content/uploads/2025/12/contact_back_1.png) no-repeat 0 0 / cover;
}

.worries-line.wlbtm {
    background: url(../../uploads/2025/12/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;
    font-weight: bold;
    background: url(../../../wp-content/uploads/2025/12/header_mail_icon.png) no-repeat 106px center / 30px auto;
    display: block;
    padding: 7px 7px 7px 42px;
	font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
	font-size: 24px;
	color: #4E4E4E;
}

.worries-line-bottom {
    padding-top: 120px;
	letter-spacing: 0.3em;
    padding-left: 20px;
    padding-right: 20px;
}

.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: 15px solid;
    border-color: transparent;
    border-top-color: #bfbac9;
    margin-left: -15px;
    margin-top: -1px;
}

.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: #8962d1;
    margin-bottom: 40px;
    border-bottom: 2px solid #b8a2e2;
    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: #8962d1;
    margin-bottom: 40px;
    border-bottom: 2px solid #b8a2e2;
    padding-bottom: 10px;
}

.privacy-container h2 {
    font-size: 22px;
    color: #8962d1;
    margin-top: 40px;
    margin-bottom: 16px;
    border-left: 5px solid #b8a2e2;
    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;
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

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%;
}


.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;
	padding-bottom: 8px;
}

.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: bold;
    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;
	width: 144px;
}

#column div.column-content {
	box-shadow: 0px 0px 6px 3px #e6e6e6;
    border-radius: 20px;
    width: 31%;
}

.trouble {
  	position: relative;
  	text-align: center;
	padding: 80px 0;
}

.trouble::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../../../wp-content/uploads/2025/12/teeth_image.png);
    background-repeat: no-repeat;
    background-size: 333.49px 368.09px;
    background-position: center;
    z-index: 0;
}

.trouble > * {
    position: relative;
    z-index: 1;
}

.trouble p {
  	font-size: 54px;
    font-weight: bold;
    margin: 0 0 28px;
    position: relative;
}

.trouble div {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	gap: 14px;
  	flex-wrap: wrap;
    margin: 24px auto;
    position: relative;
    width: auto;
    max-width: 980px;
}

.trouble span {
    background: #b9a7e6;
    color: #fff;
    padding: 12px 44px;
    border-radius: 999px;
    font-size: 30px;
    white-space: nowrap;
	font-weight: bold;
	width: auto;
    max-width: 298px;
}

.trouble i {
  	font-style: normal;
  	font-size: 48px;
}

.arrow-img-btm {
}

.course_top {
	font-size: 28px;
    color: #000;
    text-align: center;
    margin-bottom: 80px;
    font-weight: bold;
}

.new-label {
    display: inline-block;
    width: 42px;
    height: 20px;
    background-color: #FFB43B;
    color: #fff;
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    margin-left: 8px;
}

.reasons-top {
	
}

.reasons-text{
	font-size: 28px;
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
	text-align: center;
	line-height: 1.7;
	font-weight: bold;
}

/* ----------------------------------------
 *  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(../../uploads/2025/12/kv_main_sp.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: 0;
    }

    .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: 20px auto 0;
        position: relative;
    }

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

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

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

    .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: 40px auto 0;
    }

    .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: 0px;
    }

    .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 {
		width: 100%;
	}
	
    #column div.column-contents {
        margin: 70px auto 40px;
        display: flex;
        padding: 0 16px;
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    div.column-meta h4 {
        padding: 15px 10px 30px;
        line-height: 54px;
        margin-top: 40px;
    }

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

    #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;
    }


    .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;
    }
	
	.trouble div {
    	flex-direction: column;
		gap: 4px;
	}
	
	.trouble span {
		font-size: 40px;
		width: 100%;
		max-width: 800px;
	    padding: 20px 60px;
	}
	
	.trouble i {
	    font-size: 60px;
	}
	
	.worries-line-bottom {
		padding-top: 96px;
	}
	
	.price-flex {
		flex-direction: column;
	}
	
	.course_top {
		margin-bottom: 40px;
	}
	
	.course_bottom {
		margin-top: 20px;
	}
	
	.inst-content div.inst-ph-txt div.inst-ph img {
	    width: 100%;
	}
	
	.new-label {
		width: 80px;
		height: 40px;
		font-size: 30px;
		line-height: 40px;
	}
	
	.column-link a {
    	font-size: 30px;
	}
	
	.faq-bottom img {
    left: 2%;
    bottom: 64px;
	}

}

/* ----------------------------------------
 * ハンバーガーメニュー
 * ---------------------------------------- */
.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%;
    }
}
/* ----------------------------------------
 * 追加：PDFテキストボタンのスタイル（シンプル版）
 * ---------------------------------------- */
.pdf-link-section {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 60px;
    padding: 0 16px;
}

.text-link-btn {
    display: inline-block;
    
    /* 丸ゴシック設定 */
    font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", "メイリオ", Meiryo, sans-serif;
    
    /* 文字サイズ（35pxで固定） */
    font-size: 35px;
    
    color: #333;
    text-decoration: none;
    
    /* シンプルな下線（最初から表示） */
    border-bottom: 3px solid #333;
    
    padding-bottom: 5px;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.text-link-btn .arrow {
    display: inline-block;
    margin-left: 10px;
}

/* ホバー時の動き（色が変わるだけ） */
.text-link-btn:hover {
    color: #3261AB;          /* 文字を青く */
    border-bottom-color: #3261AB; /* 下線を青く */
    opacity: 0.8;
}

/* スマホ・タブレット(1280px以下)向けの調整 */
@media screen and (max-width: 1280px) {
    .pdf-link-section {
        margin-top: 60px;
        margin-bottom: 80px;
    }
    
    .text-link-btn {
        font-size: 32px; /* スマホでもサイズ維持 */
    }
}

.fit-text {
  white-space: nowrap;
  display: block;
  width: 100%;
}

.ft-nav a {
  -webkit-tap-highlight-color: transparent;
}

.ft-nav a:focus {
  outline: none;
}
