@charset "UTF-8";

/* ==========================================================================

ここには下層共通のcss、追加のページ、CMS、404ページのcssを記述します。
テンプレートページのcssはwas.cssに記述します。

========================================================================== */
/*
  common
========================================================================== */
:root {
  --main-color: #9e7c5b;
  --sub-color: #8ab15a;
}

strong {
  font-weight: bold !important;
}

p em {
  font-style: italic !important;
}

p em strong,
p strong em {
  font-weight: bold !important;
  font-style: italic !important;
}

p a {
  color: #9e7c5b;
  text-decoration: underline;
  margin: 0 1px;
}

section img {
  box-sizing: border-box;
}

/* page-catch */
.page-catch {
  margin: 0 auto 40px auto;
  padding: 40px 20px 45px;
  text-align: center;
  color: #434343;
  font-family: 'Times New Roman', Times, 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', '游明朝', YuMincho, 'HG明朝E', 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', serif;
  font-size: 20px;
  line-height: 1.8;
  background: #fff;
  position: relative;
}

.page-catch::after {
  content: '';
  display: block;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  background: url('../images/common/pagecatch_frame.png') repeat;
  background-size: 6px 6px;
  position: absolute;
  top: -5px;
  left: -5px;
  z-index: -1;
}

.page-catch h2 {
  font-size: 21px;
}

.page-catch h2 + p,
.page-catch p + p {
  margin-top: 20px;
}

.page-catch .case-records-wrap {
  margin-top: 20px;
}

.page-catch .case-records-wrap + p {
  text-align: center;
  font-size: 12px;
}

.page-catch .case-records img {
  width: 250px;
}

/* 見出し */
.ttl-low {
  margin-bottom: 15px;
  padding: 12px 10px 10px 80px;
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: .1em;
  position: relative;
  overflow: hidden;
}

.ttl-low::before {
  content: '';
  display: block;
  margin: auto;
  width: 62.5px;
  height: 51px;
  background: url('../images/common/ttl-low1_ic.png') no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4px;
  z-index: 2;
}

.ttl-low1-1 {
  background: url('../images/common/ttl-low1-1_bg.png') left center no-repeat #8ab15a;
  background-size: 58px 100%;
}

.ttl-low1-2 {
  background: url('../images/common/ttl-low1-2_bg.png') left center no-repeat #9e7c5b;
  background-size: 58px 100%;
}

.ttl-low2 {
  margin-bottom: 15px;
  padding: 12px 0 10px 16px;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: .1em;
}

.ttl-low2-1 {
  color: #8ab15a;
  border-left: 4px #8ab15a solid;
}

.ttl-low2-2 {
  color: #9e7c5b;
  border-left: 4px #9e7c5b solid;
}

.ttl-low3 {
  margin-bottom: 10px;
  padding: 13px 0 11px 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: .1em;
}

.ttl-low3-1 {
  color: #8ab15a;
  border-top: 1px dashed #8ab15a;
  border-bottom: 1px dashed #8ab15a;
}

.ttl-low3-2 {
  color: #9e7c5b;
  border-top: 1px dashed #9e7c5b;
  border-bottom: 1px dashed #9e7c5b;
}

.ttl-low4 {
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: .05em;
  display: -ms-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: start;
  align-items: flex-start;
}

.ttl-low4 > span {
  margin: 2.5px 0;
}

.ttl-low4 > span:last-of-type {
  box-sizing: border-box;
  padding: 1px 0;
  width: auto;
  min-width: 0;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
}

.ttl-low4 > span:first-of-type {
  box-sizing: border-box;
  margin-right: 10px;
  padding: 2px 5px 1px 5px;
  width: auto;
  min-width: 0;
  color: #fff;
  font-size: 14px;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
}

.ttl-low4-1 > span:first-of-type {
  background: #8ab15a;
}

.ttl-low4-2 > span:first-of-type {
  background: #9e7c5b;
}

.ttl-low5 {
  margin-bottom: 15px;
  padding: 7px 5px 5px 5px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .05em;
  border-radius: 100px;
}

.ttl-low5-1 {
  background: #8ab15a;
}

.ttl-low5-2 {
  background: #9e7c5b;
}

/* コラム */
.colunm {
  padding: 30px 30px 20px;
  border: 1px solid #8ab15a;
}

.colunm .ttl-btn {
  margin-bottom: 20px;
  padding: 7px 30px 5px 90px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
  background: #8ab15a;
  border-radius: 100px;
  position: relative;
}

.colum {
  padding: 3px 24px;
  color: #8ab15a;
  font-size: 14px;
  background: #fff;
  border: 1px solid #8ab15a;
  border-radius: 100px;
  position: absolute;
  top: -2px;
  left: -14px;
  transform: rotate(-20deg);
}

.colunm .case-records {
  padding: 20px 50px;
}

/* テーブル */
.table-nocolor {
  width: 100%;
}

.table-nocolor th {
  text-align: center;
  background: #E2E2E2;
  color: #333;
  font-size: 15px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  vertical-align: middle;
}

.table-nocolor td {
  background: #fff;
  text-align: center;
  padding: 6px 12px;
  border: 1px solid #ccc;
  vertical-align: middle;
}

.table-nostyle th {
  padding: 6px 12px;
  vertical-align: middle;
}

.table-nostyle td {
  padding: 6px 12px;
  vertical-align: middle;
}

.tLayoutFixed {
  table-layout: fixed;
}

/* list */
.list-num {
  list-style-type: decimal;
  padding-left: 1.25em;
}

.list-dot li {
  padding-left: 1.25em;
  background: url('../images/common/disc.png') no-repeat left .4em;
  background-size: 10px auto;
}

.list-check li {
  padding-left: 1.25em;
  background: url('../images/common/checkmark.png') no-repeat left .5em;
  background-size: 10px auto;
}

/* 画像・レイアウト */
.img-column-wrap {
  position: relative;
  overflow: hidden;
}

.img-column {
  position: relative;
  left: 50%;
  float: left;
}

.img-column li {
  position: relative;
  float: left;
  left: -50%;
  margin-right: 10px;
}

.img-column.for-four li {
  margin-right: 6px;
}

.img-column.for-two li:nth-child(even),
.img-column.for-three li:nth-child(3n),
.img-column.for-four li:nth-child(4n),
.img-column.menu-btn-two li:nth-child(even) {
  margin-right: 0 !important;
}

.img-column li:last-child {
  margin-right: 0 !important;
}

.img-column.for-three .img-border,
.img-column.for-four .img-border {
  padding: 3px;
}

.img-column.for-two img {
  max-width: 334px;
}

.img-column.for-three img {
  max-width: 216px;
}

.img-column.for-four img {
  max-width: 160px;
}

/* img+textbox */
div.box-img-right {
  width: 100%;
  display: table;
  direction: rtl;
}

.box-img-right .img {
  margin: 0;
  width: 300px;
  display: table-cell;
  vertical-align: top;
  direction: ltr;
}

.box-img-right img {
  width: 300px;
  height: auto;
}

.box-img-right .box {
  padding: 0 15px 0 0;
  display: table-cell;
  vertical-align: top;
  direction: ltr;
  text-align: left;
}

div.box-img-left {
  width: 100%;
  display: table;
}

.box-img-left .img {
  margin: 0;
  padding: 0 15px 0 0;
  width: 300px;
  display: table-cell;
  vertical-align: top;
}

.box-img-left img {
  width: 300px;
  height: auto;
}

.box-img-left .box {
  display: table-cell;
  vertical-align: top;
}

.box-two-column .box-right {
  width: 48%;
  float: right;
}

.box-two-column .box-img-left {
  width: 48%;
  float: left;
}

.box-two-column .box-img-left img {
  width: 100%;
  height: auto;
}

.box-two-column .box-left {
  width: 48%;
  float: left;
}

.box-two-column .box-img-right {
  width: 48%;
  float: right;
}

.box-two-column .box-img-right img {
  width: 100%;
  height: auto;
}

/* 症例画像2枚並び */
.case-records {
  background: url('../images/common/arrow02.png') no-repeat center 55%;
  padding: 20px 70px;
}

.case-records li:nth-child(odd) {
  float: left;
  background: url('../images/common/before.png') no-repeat left top;
  padding-top: 20px;
}

.case-records li:nth-child(even) {
  float: right;
  background: url('../images/common/after.png') no-repeat left top;
  padding-top: 20px;
}

.case-records li img {
  display: block;
  max-width: 280px;
}

.case-comment {
  font-size: 0.7875rem;
  text-align: center;
  color: #757575;
}

/* 2枚画像比較 */
.compare {
  background: url('../images/common/arrow04.png') no-repeat center 48%;
  margin-left: 80px;
  margin-right: 80px;
}

.compare li:nth-of-type(odd) {
  float: left;
}

.compare li:nth-of-type(even) {
  float: right;
}

.compare li img {
  display: block;
  max-width: 280px;
}

/* QandA */
.qanda dt {
  box-sizing: border-box;
  margin-bottom: 4px;
  padding: 4px 0 0 34px;
  min-height: 32px;
  font-size: 16px;
  background: url('../images/common/qicon.png') no-repeat left top;
  background-size: 32px auto;
}

.qanda dd {
  box-sizing: border-box;
  margin: 0 0 20px 10px;
  padding: 5px 0 0 36px;
  min-height: 32px;
  background: url('../images/common/aicon.png') no-repeat left top;
  background-size: 32px auto;
}

/* 画像ボタン */
.pagemenu_link {
  margin-bottom: 40px;
}

.pagemenu_link .anchor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 2%;
}

.pagemenu_link .anchor > li {
  width: 31%;
  border: 1px solid var(--main-color);
}

.pagemenu_link .anchor > li a {
  display: block;
  padding: 1em 1em 50px 1em;
  position: relative;
}

.pagemenu_link .anchor > li h3 {
  padding: 12px 0 10px 0;
  text-align: center;
  color: var(--main-color);
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  border-top: 1px dashed var(--main-color);
  border-bottom: 1px dashed var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagemenu_link .anchor > li img {
  width: 100%;
  height: 150px;
}

.pagemenu_link .anchor > li .btn {
  display: block;
  margin: 5% 5% 0;
  padding: 5px 0;
  width: 90%;
  text-align: center;
  color: #fff;
  border-radius: 100px;
  background: var(--main-color);
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
}

/* underline */
.underline_bk {
  background: url('../images/common/underline_bk.png') repeat-x left bottom;
}

/*
  CMS
========================================================================== */
.roop {
  padding-bottom: 80px;
  min-height: 500px;
}

.roop .post {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 30px;
  margin: 0 0 20px 20px;
  background: #fff;
}

.roop .post .data {
  font-size: 12px;
  color: #9E9E9E;
  margin-bottom: 16px;
}

.roop .post p {
  word-break: break-all;
}

.roop .post p strong {
  font-weight: bold !important;
}

.roop .post p em {
  font-style: italic !important;
}

.roop .post img {
  max-width: 100%;
  height: auto;
}

.roop .post iframe {
  max-width: 600px;
}

.posts-btn {
  text-align: center;
  margin-top: 40px;
}

.posts-btn li {
  display: inline;
  margin-right: 30px;
}

.posts-btn li:first-child:after {
  content: '|';
  margin-left: 30px;
}

.posts-btn a {
  color: #2780bb;
  text-decoration: underline;
  vertical-align: middle;
}

.posts-btn a i {
  margin: 0 3px;
  font-size: 90%;
  vertical-align: middle;
}

/* サイドバー */
.sidebar {
  margin-bottom: 30px;
}

.sidebar:nth-child(3) {
  margin-bottom: 80px;
}

.sidebar li {
  padding: 0 10px 0 16px;
  background: url('../images/common/icon_h_sidebar.gif') left .3em top .5em no-repeat;
  background-size: 6px 6px;
}

.sidebar li + li {
  margin-top: 5px;
}

.sidebar a {
  text-decoration: underline;
}

/*
  404
========================================================================== */
.error {
  margin: 60px 0 120px 0;
  text-align: center;
  font-size: 20px;
}

/*
  追加ページのcssはここから下に記述
========================================================================== */
/*
  common
========================================================================== */
/* catch_ttl */
.page-catch .catch_ttl {
  width: 60%;
  margin: 0 auto 15px;
  padding: 5px 0 3px 0;
  text-align: center;
  color: #FFF;
  border-radius: 5px;
}

.page-catch .bg_re {
  background: #9e7c5b;
}

.page-catch .bg_yw {
  background: #8ab15a;
}

.bnr-sameday {
  margin: 40px auto;
}

.bnr-sameday img {
  width: 100%;
}

/*
  01. correct(矯正歯科)
========================================================================== */
section.correct {
  padding-bottom: 40px;
}

.correct_cont + .correct_cont {
  margin-top: 30px;
}

/* catch_ttl */
.correct .catch_ttl {
  width: auto;
  margin: 0 0 15px;
  padding: 5px;
  font-size: 120%;
  text-align: center;
  color: #FFF;
  border-radius: 5px;
}

.correct .bg_re {
  background: #9e7c5b;
}

.correct .bg_yw {
  background: #8ab15a;
}

/* anchor link */
.correct .anchor {
  margin-bottom: 40px;
  display: flex;
}

.correct .anchor li {
  width: 49%;
  margin-right: 2%;
  font-size: 120%;
}

.correct .anchor li:last-child {
  margin-right: 0%;
}

.correct .anchor li a {
  padding: 4% 0 3% 0;
  text-align: center;
  color: #FFF;
  border-radius: 5px;
  display: block;
}

.correct .anchor li:first-child a {
  background: #9e7c5b;
}

.correct .anchor li:last-child a {
  background: #8ab15a;
}

/* plan_link */
.correct .plan_link {
  display: flex;
}

.correct .plan_link li {
  margin-right: 15px;
  text-align: center;
}

.correct .plan_link li img {
  width: 100%;
}

.correct .plan_link li a {
  display: block;
}

.correct .plan_link li:last-child {
  margin-right: 0px;
}

.correct .plan_link li span {
  margin-top: 5px;
  display: block;
}

/*
  02. extrusion(抜歯を回避する治療)
========================================================================== */
section.extrusion {
  padding-bottom: 40px;
}

/* 症例画像3枚並び */
.extrusion .case_row_three {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

.extrusion .case_row_three li {
  width: 161px;
  padding-right: 7%;
  padding-left: 1%;
  text-align: center;
  font-size: 90%;
  background: url(../images/common/arrow02.png) no-repeat right 45%;
}

.extrusion .case_row_three li img {
  margin-bottom: 5px;
}

.extrusion .case_row_three li:first-child {
  padding-left: 0%;
}

.extrusion .case_row_three li:last-child {
  padding-right: 0px;
  background: none;
}

/*
  03. hozon(歯の神経を守る治療)
========================================================================== */
section.hozon {
  padding-bottom: 40px;
}

/*
  04. program(QOLプログラム)
========================================================================== */
section.program {
  padding-bottom: 40px;
}

/* btm */
.pagemenu_link .anchor > li .btm {
  position: absolute;
  bottom: -17px;
}

/* note */
.program .note {
  line-height: 1.8;
  padding: 30px 30px;
  font-size: 120%;
  text-align: center;
  border-radius: 10px;
  border: 2px #FFC004 solid;
  background: #FFF9E6;
}

.program .note > h3 {
  font-size: 120%;
  font-weight: bold;
}

/* anchor link */
.program .anchor {
  margin-bottom: 40px;
  display: flex;
}

.program .anchor li {
  width: 49%;
  margin-right: 2%;
  font-size: 120%;
}

.program .anchor li:last-child {
  margin-right: 0%;
}

.program .anchor li a {
  padding: 4% 0 3.5% 0;
  text-align: center;
  color: #FFF;
  border-radius: 5px;
  background: #C1BA8C;
  display: block;
}

.program .anchor li .fa-chevron-circle-right {
  margin-left: 5px;
}

/* btn_pg */
.program .btn_pg a {
  width: 70%;
  margin: 0 auto;
  padding: 15px 0;
  color: #fff;
  font-size: 120%;
  text-align: center;
  border-radius: 5px;
  background: #C1BA8C;
  text-decoration: none;
  display: block;
}

.program .fa-chevron-circle-right {
  margin-left: 5px;
}
