@charset "utf-8";

.wrap {
    overflow-x: hidden;
    padding-top: 20px;
}

/* タイトルタグ
-------------------------------------*/

.lower h2 {
    font-size: 24px;
    text-align: center;
    color: #8DA5A0;
    margin-bottom: 30px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: bold;
}

.lower h3 {
    font-size: 20px;
    text-align: center;
    color: #91c5c0;
    margin-bottom: 25px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: bold;
}

.lower h4 {
    text-align: left;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
    color: rgba(108, 145, 142, 1);
}

@media (min-width: 960px) {
    .lower h2 {
        font-size: 30px;
    }

    .lower h3 {
        font-size: 24px;
    }

    .lower h4 {
        font-size: 20px;
    }
}

/* 2カラム
-------------------------------------*/

.column2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.column2 > div {
    margin-bottom: 20px;
}
.column2 > div:nth-child(1) {
    padding: 20px;
    background: rgba(145,197,192,0.1);
}
.column2 > div:nth-child(2) {
    padding: 20px;
    background: rgba(197,221,35,0.1);
}
.column2 > div > ul {
    margin-bottom: 20px;
}
.column2 > div > ul:last-child {
    margin-bottom: 0;
}
@media (min-width: 960px){
    .column2 > div { 
        margin-bottom: 0;
    }
}

/* ご挨拶
-------------------------------------*/

.greeting_page {
 position: relative;
}
.greeting_page::before {
    content: "";
    z-index: -1;
    pointer-events: none;
    left: 50%;
    width: 100vw;
    translate: -50% 0;
    background: rgba(145, 197, 192, 0.3);
    position: absolute;
    top: -20px;
    bottom: 0;
}

.greeting_page .post_custom_box {
    margin-bottom: 0;
}

.ownername {
    font-size: 110%;
    font-family: "ab-ootori", sans-serif;
}
.ownername .potision {
    font-size: 90%
}

@media (min-width: 960px) {
    .greeting_page .post_custom_box {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .greeting_page .post_custom_box .post_custom_img,
    .greeting_page .post_custom_box .post_custom_content {
        float: none;
    }
    .greeting_page .post_custom_box .post_custom_content {
        margin-bottom: 20px;
    }
    .greeting_page .post_custom_box .post_custom_img {
        align-self: end;
    }

    .greeting_page .post_custom_box.post_custom_type03::after,
    .greeting_page .post_custom_box.post_custom_type04::after {
        content: none;
    }

    .greeting_page .post_custom_type04 .post_custom_img {
        order: 2;
    }
}

/* グーグルマップ
-------------------------------------*/
.googlemap_container iframe {
    width: 100%;
    height: 400px;
}

.google_map_map_parking {
    position: relative;
    overflow: hidden;
    padding-top: 70%;
}
.google_map_map_parking iframe {
    top: -60px;
    position: absolute;
    height: calc(100% + 60px);
    left: 0;
    right: 0;
}

/* インプラントなど
-------------------------------------*/
.flowstyle01 > dl {
    padding-bottom: 90px;
    position: relative;
}
.flowstyle01 > dl > dt {
	margin-bottom: 10px;
	color: rgb(141,165,160);
	font-weight: bold;
}
.flowstyle01 > dl > dd {
	padding: 20px;
	background: rgba(145,197,192,0.2);
}

.flowstyle01 > dl::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 40px;
    background: rgb(141,165,160);
    left: 50%;
    margin: 0 0 20px -50px;
    bottom: 0;
    clip-path: polygon(0 0 , 100% 0%, 50% 100%);
}
.flowstyle01 > dl:last-child {
    padding-bottom: 0;
}
.flowstyle01 > dl:last-child::after {
    content: none;
}



/* 初診の流れ
-------------------------------------*/
.post_custom_content:has(.flow_box_table) {
    position: relative;
    padding-bottom: 60px;
}
.post_custom_content:has(.flow_box_table)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    translate: -50% 0;
    pointer-events: none;
    background: rgba(145, 197, 192, 0.2);
    z-index: -1;
}
.post_box:has(.flow_box_table):last-child .post_custom_box {
    margin-bottom: 0;
}

.flow_box_table {
  margin: 0 auto;
  max-width: 500px;
}
.flow_box_table tr {
    position: relative;
 }
.flow_box_table tr::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 80px;
    height: 24px;
    clip-path: polygon(0% 0%,100% 0, 50% 100%);
    background: #fff;
    translate: -50% -1px;
}
.flow_box_table tr::has(.title)::after {
    content: none;
}
.flow_box_table tr:last-child::after {
    content: none; 
}
.flow_box_table .title {
    padding-top: 40px;
    color: #000;
    font-size: 20px;
    padding-bottom: 10px;
    color: #8da5a0;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.flow_box_table .img {
    padding: 20px;
    background: #fff;
    vertical-align: top;
}
.flow_box_table .text {
    background: #fff;
    padding: 0 20px 20px;
    vertical-align: top;
}
@media (min-width: 960px){
    .flow_box_table {
        max-width: 100%;
    }
    .flow_box_table .img {
        width: 35%;
    }
    .flow_box_table .text {
        width: calc(65% - 20px);
        padding: 20px 20px 20px 0;
    }
}
@media (max-width: 959px){
    .flow_box_table tr,
    .flow_box_table .title,
    .flow_box_table .img,
    .flow_box_table .text {
        display: block;
    }
} 


/* お問い合わせ
-------------------------------------*/

.contactForm_box {
  max-width: fit-content;
  margin: auto;
}
.input-box {
  margin-bottom: 30px;
}
.input-box .error-message {
  display: none;
  color: #f00;
  font-size: 90%;
}
.input-box .wpcf7-not-valid-tip {
  display: none;
}
.input-box:has(.wpcf7-not-valid-tip) .error-message {
  display: block;
}
.input-wrappr {
  position: relative;
  width: 100%;
  max-width: 400px;
  border: 1px solid #c8ccd4;
}
.post_custom_content .input-wrappr p {
  margin-bottom: 0;
}
.input-wrappr input[type="text"], .input-wrappr input[type="email"], .input-wrappr input[type="tel"], .input-wrappr input[type="date"] {
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  font-family: inherit;
  padding: 0.5em;
  height: 2.5em;
  font-size: 16px;
  font-weight: 500;
  background: none;
  border-radius: 0;
  transition: all 0.15s ease;
}
.input-wrappr .input-name {
  position: absolute;
  inset: 0em auto auto 1em;
  transform-origin: 0 0;
  transition: all 0.2s ease;
}
.input-wrappr:has(textarea) .input-name, .input-wrappr:has(select) .input-name, .input-wrappr:has(input:focus) .input-name, .input-wrappr:has(input:hover) .input-name, .input-wrappr:has(input:not(:placeholder-shown)) .input-name {
  font-size: .8em;
  /*    inset -1em; auto auto 1em;*/
  inset: -1em auto auto 1em;
  background: #fff;
  padding: 0 .5em;
}
.input-wrappr select {
  border: 0;
  padding: 15px 0.2em 10px 0.2em;
  width: 100%;
}
.input-wrappr textarea {
  border: 0;
  padding: 15px 0.2em 10px 0.5em;
  width: 100%;
  height: 200px;
}
hr.space {
  border: 0;
  margin: 20px;
}
.input-wrappr:has(input[type="checkbox"]), .input-wrappr:has(input[type="radio"]) {
  border: 0;
  padding-top: 20px;
}
.wpcf7-checkbox .wpcf7-list-item {
  margin-left: 0;
  display: block;
  margin-bottom: 0.5em;
}
.contactForm_box input[type="checkbox"] {
  display: none;
}
.contactForm_box input[type="checkbox"] + .wpcf7-list-item-label {
  padding-left: 30px;
  position: relative;
}
.contactForm_box input[type="checkbox"] + .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
}
.contactForm_box input[type="checkbox"] + .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 8px;
  height: 15px;
  border: 2px solid #000;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  opacity: 0;
}
.contactForm_box input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}
.contactForm_box_btn {
  text-align: center;
}
.contactForm_box_btn input {
  -webkit-appearance: none;
  padding: 15px 20px;
  background: #8da5a0;
  border: 0;
  color: #fff;
  min-width: 200px;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
}
.contactForm_box_btn input:hover {
  opacity: 0.7;
}
.contactForm_box_btn .remove_btn {
  border: 1px solid #333;
  background: #fff;
  color: #333;
  margin-top: 40px;
}
.contactForm_box table {
  margin-bottom: 30px;
}
.contactForm_box table th, .contactForm_box table td {
  padding: 0.8em 1em;
  text-align: left;
}
.contactForm_box table tr:nth-child(2n+1) th, .contactForm_box table tr:nth-child(2n+1) td {
  background: #eee;
}
.contactForm_box .wpcf7-spinner {
  position: absolute;
}



/* ================================================
Q&A
================================================ */
.qa_box dl {
	margin-bottom: 1em;
	position: relative;
}
.qa_box dt {
	position: relative;
	padding: 0.7em 2em 1em 4.5rem;
	border-bottom: 1px solid;
	border-bottom-color: currentcolor;
	font-weight: bold;
}
.qa_box dd {
	position: relative;
	background: rgba(141,165,160,0.2);
	overflow: hidden;
	transition: 0.3s;
	height: 0;
}
.qa_box_contens {
	padding: 1.5em 2em 2em 4.5rem;
}
.qa_box dt::before,
.qa_box dt::after{
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 20px;
	height: 2px;
	background: #666;
	transition: 0.3s;
}
.qa_box dt::after{
	transform: translateY(-50%) rotate(90deg);
}
.qa_box dl.active dt::before,
.qa_box dl.active dt::after{
	transform: translateY(-50%) rotate(180deg);
}

.qa_box_title {
	position: relative;
	display: inline-block;
}
.qa_box_title::before {
	content: "Q";
	position: absolute;
	font-size: 20px;
    left: -3rem;
    line-height: 1;
	background: #8DA5A0;
	color: #fff;
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	display: grid;
	justify-content: center;
	align-items: center;
	font-family: 'Tilt Warp', cursive;
	letter-spacing: 0;
	top: 50%;
	transform: translateY(-50%);
}

.qa_box dd::before {
	content: "A";
	position: absolute;
	font-size: 20px;
    left: 20px;
    top: 1.8rem;
    line-height: 1;
	color: #8DA5A0;
	border: 2px solid #8DA5A0;
	background: #fff;
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	display: grid;
	justify-content: center;
	align-items: center;
	font-family: 'Tilt Warp', cursive;
	letter-spacing: 0;
}
.qa_box dt {
	border-color: #8DA5A0;
	font-size: 110%;
	transition: 0.3s;
}
.qa_box dt:hover {
	color: rgba(141,165,160,0.5);
}
@media (max-width: 559px){
	.qa_box dl::before {
		top: 50%;
		transform: translateY(-50%);
	}
}


.staff_comments {
    padding: 20px 20px  20px 100px;
    position: relative;
    display: grid;
    align-items: center;
    min-height: 80px;
    line-height: 1.2;
    font-size: 18px;
    margin-bottom: 30px;
    font-family: "noto sans jp", sans-serif;
}
.staff_comments::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-blend-mode: soft-light;
}
.staff_comments_name {
    font-weight: bold;
}
.staff_comments_en {
    font-size: 80%;
    font-family: yuji-syuku;
    letter-spacing: 0.05px;
}
.staff_comments01::before {
  background: url("https://alphazeal.xtwo.jp/kanumadai02/wp-content/uploads/2025/11/img_owner.webp") 50% 50% / contain no-repeat;
}