@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;500&family=Zen+Maru+Gothic:wght@300;500&display=swap");

/*--------------------------------------------------------------
デンタルモール
テンプレート：　フラット02　オレンジ
---------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-size: 15px;
  color: #54321b;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-style: normal;
}

/*--------------------------------------------------------------
変数定義
---------------------------------------------------------------*/
:root {
  --color-beige: #f9f2e8;
  --color-orange: #fd8b3a;
  --color-green: #2aa738;
  --color-brown: #54321b;
}

/* 見出し */
h1, h2, h3, h4, h5, h6 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
}

/* 本文内の強調 */
strong,
b {
  font-weight: 500;
}

/* 段落 */
.article p {
  margin-bottom: 1.0rem;
}

/*-------------------------------------------
table
-------------------------------------------*/
.article table p {
    margin: 0;
}
.article table:not(.contactTable) {
    border-collapse: collapse;
    border-left: 1px solid #ccc;
    border-spacing: 0;
    border-top: 1px solid #ccc;
    margin: 10px auto;
    width: 100%;
}
.article table:not(.contactTable) td,
.article table:not(.contactTable) th {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
}
.article table:not(.contactTable) th {
    background-color: #f7f7f7;
    text-align: center;
}

/*--------------------------------------------------------------
リスト maru
---------------------------------------------------------------*/
ul.maru {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.maru li {
  position: relative;
  padding-left: 1.2em;
}
ul.maru li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
}

/*--------------------------------------------------------------
aリンクボタン
---------------------------------------------------------------*/
a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  min-height: 45px;
  margin-top: 25px;
  padding: 7px 32px 7px 20px;
  box-sizing: border-box;
  color: #fff;
  background-color: var(--color-orange);
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s ease;
}
a.btn::after {
  content: "›";
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-64%);
}
a.btn:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
}
a.btn.btn-left {
  margin-right: auto;
}
a.btn.btn-right {
  margin-left: auto;
  margin-right: auto;
}
a.btn.btn-center {
  margin-right: auto;
  margin-left: auto;
}
a.btn.anchor::after {
  transform: translateY(-50%) rotate(90deg);
}
.article table.btn-wrap,
.article table.btn-wrap th,
.article table.btn-wrap td {
  border:none;
  text-align: center;
  width: auto;
  margin-inline: auto;
}

/*--------------------------------------------------------------
レイアウト調整
---------------------------------------------------------------*/
/* コンテンツ幅拡張 */
#title_outer, #mainContents, #footer_outer {
  width: 1024px;
  max-width: 94%;
  margin-inline: auto;
}
#mainContents {
  padding-bottom: 0;
}
#mainArticles,
#listTopics {
  width: 100%;
  max-width: 1024px;
  margin-inline: auto;
}
.mainArticles .article, .mainArticles div.gallery {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: none;
  margin-bottom: 30px;
}
.article_outer {
  width: 100%;
  max-width: 1024px;
  margin-inline: auto;
}
/* header */
#wrap_body {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}
#title {
  order: -2;
  padding: 50px 0 100px;
}
#topMenu {
  position: static;
  order: -1;
}

/*--------------------------------------------------------------
slick slider
---------------------------------------------------------------*/
.mainImage #slider li img {
  max-width: 100%;
}
#mainImage .slick-slide {
  height: auto !important;
}
#mainImage .slick-slide img {
  display: block;
  width: 100%;
  height: auto;
}
#mainImage[data-ams-editable*='"index_id":"233224"'] {
  position: relative;
}
#mainImage[data-ams-editable*='"index_id":"233224"']::after {
  content: "";
  position: absolute;
  top: 35%;
  right: 8%;
  z-index: 10;
  width: 500px;
  height: 150px;
  aspect-ratio: 975 / 210;
  background: rgba(255, 255, 255, 0.78) url("/materials/179031417065301.png") no-repeat center / 90% auto;
  pointer-events: none;
}

/*--------------------------------------------------------------
お知らせ #mainTopics
---------------------------------------------------------------*/
#mainTopics {
  width: 100vw;
  margin: 0 calc(50% - 50vw) 40px;
  padding: 30px 0 50px 0;
  background: url("/materials/179039208063201.png") center bottom -30px no-repeat;
  background-size: 130%;
}
#mainTopics_outer {
  width: 1024px;
  max-width: 100%;
  margin-inline: auto;
}
.mainTopics .topics {
  border-bottom: none;
}
#mainTopics h2 {
  border-bottom: 1px solid #e9e9e9;
  margin-bottom: 30px;
}
#mainTopics .topics li .date {
  font-size: 12px;
}
#mainTopics .topics h3 {
  font-size: 15px;
}
#mainTopics .topics h3 a {
  color: var(--color-orange);
  text-decoration: none;
}
#mainTopics .topics .description {
  font-size: 14px;
  color: var(--color-brown);
}
#mainTopics .topics li .thumb, #mainTopics .topics li .thumb img {
  max-width: 100px;
  max-height: 75px;
}
.mainTopics .topics li .more a {
  font-size: 13px;
  color: var(--color-green);
  border: 1px solid var(--color-green);
}

/*--------------------------------------------------------------
記事全幅・背景色
---------------------------------------------------------------*/
.article.full, div.gallery.full {
  width: 100vw;
  margin: 0 calc(50% - 50vw) 40px;
}
.article.beige, div.gallery.beige {
  background: var(--color-beige);
  padding-top: 50px;
  padding-bottom: 50px;
}

/*--------------------------------------------------------------
診療室・キッズコーナー
---------------------------------------------------------------*/
.article.full.beige.treatment-top {
  margin-bottom: 0;
  padding-bottom: 0;
}
div.gallery.full.beige.treatment-middle {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}
.article.full.beige.treatment-bottom {
  margin-top: 0;
  padding-top: 30px;
}

/*--------------------------------------------------------------
article margin
---------------------------------------------------------------*/
.no-margin-t {
  margin-top: 0 !important;
  padding-top: 15px !important;
}
.no-margin-b {
  margin-bottom: 0 !important;
  padding-top: 15px !important;
  padding-bottom: 0 !important;
}
.no-margin-y {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 15px !important;
  padding-bottom: 0 !important;
}


/*--------------------------------------------------------------
カラム設定
---------------------------------------------------------------*/
#mainArticles_body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#mainArticles_body > h2 {
  flex-basis: 100%;
}
.article.col2,
.article.col3 {
  width: auto;
  box-sizing: border-box;
  margin: 0 0 70px;
}
.article.col2 {
  flex-basis: 48%;
}
.article.col3 {
  flex-basis: 31%;
}
.article.col2 .image, .article.col3 .image {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
}
.article.col2.img-full .image img, .article.col3.img-full .image img {
  width: 100%;
  max-width: none;
}
.mainArticles .article_left .image {
  margin-left: 0;
}
.mainArticles .article_right .image {
  margin-right: 0;
}

/*--------------------------------------------------------------
見出し
---------------------------------------------------------------*/
#mainArticles_body > h2 {
  flex: 0 0 100vw;
  width: 100vw;
  max-width: none;
  margin: 0 0 50px calc(50% - 50vw);
  padding: 52px 0;
  box-sizing: border-box;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-orange);
  text-align: center;
  background: var(--color-beige);
  border: 0;
}
.mainContents .article h3, #mainTopics h2, #listTopics h2, .mainContents div.gallery h3 {
  font-size: 24px;
  color: var(--color-brown);
  text-align: center;
  margin-top: 0;
  margin-bottom: 35px;
}
.mainContents .article h3 strong, .mainContents div.gallery h3 strong {
  font-size: 0.5em;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: var(--color-orange);
  letter-spacing: 0.1em;
}
.article h4 {
  display: flow-root;
  font-size: 21px;
  color: var(--color-orange);
  margin-bottom: 0.6em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--color-orange);
}
.article h4.heading-marker {
  display: block;
  width: fit-content;
  margin: 0 auto 0.6em;
  padding: 0 0.15em 0.1em;
  border: 0;
  background: linear-gradient(
    transparent 55%,
    #fff078 55%
  );
  font-size: 21px;
  color: var(--color-brown);
  text-align: center;
}
.article h5 {
  font-size: 17px;
}
.article h6 {
  font-size: 15px;
}

/*--------------------------------------------------------------
title
---------------------------------------------------------------*/
#title {
  display: flex;
  width: 100%;
  padding: 20px 0;
  background-color: transparent;
  overflow: hidden;
}
#title #title_outer {
  width: 1024px;
  max-width: 96%;
  height: 100px;
  background: url("/materials/179032042668401.png") center right no-repeat;
  background-size: 250px;
  position: relative;
  margin-inline: auto;
}
#title_outer::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -100px;
  z-index: 0;
  width: 220px;
  height: 150px;
  background: url("/materials/179031833564901.png") no-repeat left top / contain;
  pointer-events: none;
}
@media only screen and (max-width: 800px) {
  #title_outer::before {
    left: -60px;
  }
}
#title_outer > * {
  position: relative;
  z-index: 1;
}
#title_body {
  display:flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}
#title h1 {
  display: block;
  width: 400px;
  aspect-ratio: 491 / 70;
  margin: 0 0 0 0;
  float: none;
}
#title h1 a {
  display: block;
  width: 100%;
  height: 100%;
  background: url("/materials/179031804194401.png") top left no-repeat;
  background-size: 100%;
  text-indent: -9000px;
  margin:0;
}
#title .description {
  color: var(--color-brown);
  margin-bottom: 7px;
}

/*--------------------------------------------------------------
topMenu
---------------------------------------------------------------*/
#topMenu {
  background-color: transparent;
}
#topMenu_outer {
  width: 1024px;
  max-width: 100%;
  background: none;
  background-color: transparent;
  margin: 0 auto;
}
#topMenu .topMenu {
  width: 1024px;
  max-width: 100%;
}
#topMenu .topMenu li {
  width: 20%;
}
#topMenu .topMenu li a {
  width: 100%;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-brown);
}

/*--------------------------------------------------------------
sideContents
---------------------------------------------------------------*/
#sideContents {
  background: var(--color-beige);
}

/*--------------------------------------------------------------
footer
---------------------------------------------------------------*/
#footer {
  background: url("/materials/179040444851201.jpg") center no-repeat;
  background-size: cover;
}
.footer * {
  font-size: 14px;
  color: var(--color-brown);
}
.footer .topMenu {
  width: 100%;
}
.footer li a {
  font-size: 14px;
  color: var(--color-brown);
}

/*--------------------------------------------------------------
医院情報テーブル
---------------------------------------------------------------*/
.article table.clinic-info {
  width: auto;
}
.article table.clinic-info th {
  color: #fff;
  background: var(--color-orange);
  width: 30%;
}
/* width 100% */
.article table.clinic-info.width100 {
  width: 100%;
}

/*--------------------------------------------------------------
お悩みに合わせた治療
---------------------------------------------------------------*/
.treatment-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.treatment-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding-bottom: 40px;
  text-align: center;
}
.treatment-item__image {
  margin-bottom: 20px;
}
.treatment-item__image img {
  display: block;
  width: 90%;
  height: auto;
  margin-inline: auto;
}
/* 既存の .article h4 を上書き */
.article .treatment-item h4 {
  display: block;
  width: fit-content;
  margin: 0 auto 0.6em;
  padding: 0 0.15em 0.1em;
  border: 0;
  font-size: 21px;
  color: #54321b;
  text-align: center;
  background: linear-gradient(
    transparent 55%,
    #fff078 55%
  );
}
.treatment-item p {
  margin: 0;
  text-align: left;
}
.treatment-item__link {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--color-orange);
  text-decoration: none;
}
.treatment-item__link::after {
  content: ">";
  display: inline-block;
  margin-left: 0.5em;
}
/* ボタン3つ並び */
.treatment-menu {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: fit-content;
  max-width: 100%;
  margin: 50px auto 0;
}
.treatment-menu__item {
  display: block;
  flex: 0 1 244px;
}
.treatment-menu__item img {
  display: block;
  width: 100%;
  height: auto;
}
.treatment-menu__item:hover {
  opacity: 0.8;
}

/*--------------------------------------------------------------
背景画像付き記事 50%幅
---------------------------------------------------------------*/
.article.bg-photo-1 {
  background: url("/materials/179040118718201.jpg") top left no-repeat;
  background-size: cover;
  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 6px;
}
.article.bg-photo-1 .article_outer {
  width: 84%;
  margin-inline: auto;
}

/*--------------------------------------------------------------
背景画像付き記事 全幅
---------------------------------------------------------------*/
.article.bg-photo-2 {
  background: url("/materials/179040048342101.jpg") top left no-repeat;
  background-size: cover;
  padding-top: 30px;
  padding-bottom: 30px;
  border-radius: 6px;
}
.article.bg-photo-2 .article_outer {
  width: 96%;
}
.article.bg-photo .article_outer h3 {
  text-align: left;
}

/*--------------------------------------------------------------
背景画像付き記事 お問い合わせ
---------------------------------------------------------------*/
.article.contact-block {
  color: #fff !important;
  background: url("/materials/179040379607701.jpg") top center no-repeat;
  background-size: cover;
  padding-top: 30px;
  padding-bottom: 50px;
}
.article.contact-block .article_outer {
  width: 96%;
}
.article.contact-block h3 {
  color: #fff;
  position: relative;
}
.article.contact-block h3::after {
  content: "";
  display: block;
  width: 2.2em;
  height: 1px;
  background: var(--color-orange);
  position: absolute;
  left: calc(50% - 1.1em);
  bottom: -0.5em;
}

/*--------------------------------------------------------------
Flow STEP
---------------------------------------------------------------*/
.flow-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.flow-item {
  position: relative;
  flex: 0 0 calc((100% - 40px) / 2);
  min-width: 0;
  box-sizing: border-box;
  border-radius: 6px;
  text-align: center;
  background: #fff;
  margin-top: 30px;
  padding: 24px;
}
.flow-item__image {
  width: 100px;
  height: auto;
  position: absolute;
  top: -40px;
  left: 10px;
  margin-bottom: 20px;
}
.flow-item__image img {
  display: block;
  width: 90%;
  height: auto;
  margin-inline: auto;
}
/* 既存の .article h4 を上書き */
.article .flow-item h4 {
  display: block;
  width: fit-content;
  margin: 0 auto 0.6em;
  padding: 0 0.15em 0.1em;
  border: 0;
  font-size: 21px;
  color: #54321b;
  text-align: center;
  background: linear-gradient(
    transparent 55%,
    #fff078 55%
  );
}
.flow-item p {
  margin: 0;
  text-align: left;
}

/*--------------------------------------------------------------
Gallery コメント
---------------------------------------------------------------*/
.gallery.gallery-custom .comment {
  min-height: 9.0em;
}
.gallery.gallery-custom.comment-narrow .comment {
  min-height: 10.0em;
}
.gallery.gallery-custom .comment span {
  display: block;
  text-align: center;
  font-weight: 500;
}

/*--------------------------------------------------------------
footer 共通クリニック案内
---------------------------------------------------------------*/
.footer-clinic-info-outer {
  display: flex;
  gap: 50px;
}
.footer-clinic-info-inner {
  flex: 1;
  min-width: 0;
}
.footer-clinic-info-inner img {
  display: block;
  max-width: 100%;
  height: auto;
}
.footer-clinic-info-inner h2 {
  margin-bottom: 18px;
}
.footer-clinic-info-inner p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 1.0em;
}
.footer-clinic-info-inner .tel-num {
  text-align: center;
  margin-top: 30px;
}
.footer-clinic-info-inner .tel-num img {
  width: 300px;
  margin-inline: auto;
}

/*--------------------------------------------------------------
GoogleMap
---------------------------------------------------------------*/
.gmap-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.gmap-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/*-------------------------------------------------------
recaptcha バッジ非表示
-------------------------------------------------------*/
.recaptcha_policy {
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 11px !important;
  color: #444 !important;
}
.recaptcha_policy a {
  font-size: 11px !important;
  color: #111 !important;
}
.grecaptcha-badge { visibility: hidden; }

/*--------------------------------------------------------------
編集画面
---------------------------------------------------------------*/
.ams-build .freeHtml_body {
    min-height: 40px;
}

/*追加：流れ*/
.flow_design05 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flow05 {
  padding-left: 0;
}
.flow05 > li {
  list-style-type: none;
  position: relative;
  padding-left: 100px;
}
.flow05 > li:not(:last-child) {
  padding-bottom: 10px;
}
.flow05 > li .icon05 {
  width: 3em;
  height: 3em;
  line-height: 3em;
  text-align: center;
  border-radius: 100vh;
  display: inline-block;
  background: #2aa738;
  color: #fff;
  position: absolute;
  left: 0;
    font-size: 24px;
    font-weight: bold;
}
.flow05 > li:not(:last-child)::before {
  content: '';
  background: #2aa738;
  width: 1px;
  height: 100%;
  position: absolute;
  top: calc(50% - -30px);
  left: 33px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
.flow05 > li dl dd {
  margin-left: 0;
}
.flow05 img{
    max-width: 200px !important;
}
.full-border{
    border: solid 1px #f0e4d4;
    border-bottom: solid 1px #f0e4d4 !important;
　　padding:30px !important;
}
.full-border .article_outer{
	padding:0 15px;
    box-sizing: border-box;
}
.table-bordered04 {
    border-collapse: collapse;
    border: solid 1px #ccc;
    width: 100%;
    background: #fff;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.7;
}
.table-bordered04 thead th {
    background: #cef9ff;
}
.table-bordered04 img{
	width:100%;
  max-width:180px;
}
#sideServices {
    width: 100%;
}
.sideServices li{
  display:inline-block;
  width: 25%;
}


/*▼追従ボタン*/
.freeHtml #contact-box{
  position:fixed;
  top:15px;
  right:0px;
  z-index:100;
  width:99px;
}

#mainTopics .listview {
    width: 40%;
    margin: 50px auto 0 auto;
}
