@charset "UTF-8";

/*
  multi-class
========================================================================== */
/* clearfix */
.cf::after {
  display: block;
  content: '';
  clear: both;
}

.clear {
  clear: both;
}

/* fade */
.fade {
  transition: .3s ease-in-out;
}

.fade:hover {
  opacity: .5;
}

/* link */
.p-link {
  color: var(--link-color);
  text-decoration: underline;
  margin: 0 1px;
  transition: .3s ease-in-out;
}

.p-link:hover {
  opacity: .5;
}

/* font */
.gothic {
  font-family: 'San Fransisco', 'Helvetica', 'Arial', 'Yu Gothic Medium', '游ゴシック Medium', 'YuGothic', '游ゴシック体', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

.mincho {
  font-family: 'Times New Roman', 'YuMincho', 'Yu Mincho', '游明朝体', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
}

/* テキスト */
.bold {
  font-weight: bold;
}

.txt130 {
  font-size: 130%;
}

.txt120 {
  font-size: 120%;
}

.txt110 {
  font-size: 110%;
}

.txt90 {
  font-size: 90%;
}

.txt80 {
  font-size: 80%;
}

.or {
  color: #fc9b2a;
}

.re {
  color: #FF373A;
}

i.fa,
i.fas,
i.far {
  margin-right: 5px;
}

.nowrap {
  white-space: nowrap !important;
}

.underline {
  text-decoration: underline;
}

/* 画像 */
.img-border {
  box-sizing: border-box;
  padding: 3px;
  max-width: 100%;
  border: 1px solid #ccc;
  background: #fff;
}

.img-right {
  float: right;
  margin: 0 0 10px 15px;
  max-width: 300px;
}

.img-left {
  float: left;
  margin: 0 15px 10px 0;
  max-width: 300px;
}

/* object-fit */
.object-fit-img {
  object-fit: contain;
  font-family: 'object-fit: contain;';
}

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

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

.fdC {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.between {
  justify-content: space-between;
}

.justC {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-base {
  align-items: baseline;
}

.fx_grow_1 {
  flex: 1 0 auto;
}

/* align */
.center {
  text-align: center;
}

.alignR {
  text-align: right !important;
}

.alignL {
  text-align: left !important;
}

.vAlignM {
  vertical-align: middle !important;
}

.vAlignT {
  vertical-align: top !important;
}

.vAlignB {
  vertical-align: bottom !important;
}

/* display */
.dispB {
  display: block;
}

.dispI {
  display: inline;
}

.dispFr {
  display: flow-root;
}

/* 余白 */
.p10 {
  padding: 10px;
}

.pt10 {
  padding-top: 10px;
}

.pr10 {
  padding-right: 10px;
}

.pl10 {
  padding-left: 10px;
}

.pb10 {
  padding-bottom: 10px;
}

.mb5 {
  margin-bottom: 5px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb15 {
  margin-bottom: 15px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb50 {
  margin-bottom: 50px;
}

.mb60 {
  margin-bottom: 60px;
}

.mt5 {
  margin-top: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt40 {
  margin-top: 40px;
}

.mr5 {
  margin-right: 5px;
}

.mr10 {
  margin-right: 10px;
}

.mr15 {
  margin-right: 15px;
}

.mr20 {
  margin-right: 20px;
}

.mr30 {
  margin-right: 30px;
}

.ml5 {
  margin-left: 5px;
}

.ml10 {
  margin-left: 10px;
}

.ml15 {
  margin-left: 15px;
}

.ml20 {
  margin-left: 20px;
}

.ml30 {
  margin-left: 30px;
}

/* 非表示 */
.pc-none {
  display: none !important;
}

/* テーブル */
.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 0.4em;
  background-size: 10px auto;
}

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

/* 画像・レイアウト */
.img-column {
  margin-right: auto;
  margin-left: auto;
  width: 96%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(100% * .25 - 24px), 1fr));
  gap: 0 8px;
}

.img-column li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 5px 0;
}

.img-column li .img img {
  width: 100%;
}

.img-column li .caption {
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
}

/* img+textbox */
img.w300 {
  width: 300px;
}

img.w240 {
  width: 240px;
}

img.w120 {
  width: 120px;
}

div.box-img-right {
  width: 100%;
  overflow: hidden;
}

.box-img-right .img {
  margin: 0 0 10px 15px;
  width: 300px;
  float: right;
}

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

.box-img-right .img.w240 {
  width: 240px;
}

.box-img-right .img.w120 {
  width: 120px;
}

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

div.box-img-left {
  width: 100%;
  overflow: hidden;
}

.box-img-left .img {
  margin: 0 15px 10px 0;
  width: 300px;
  float: left;
}

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

.box-img-left .img.w240 {
  width: 240px;
}

.box-img-left .img.w120 {
  width: 120px;
}

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

.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 {
  margin-bottom: 10px;
  background: url('../images/common/arrow01.png') no-repeat center calc(50% + 10px);
  background-size: 36px auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0 60px;
}

.case-records li {
  max-width: 260px;
  flex: 1 0 0;
}

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

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

.case-records li img {
  display: block;
  width: 100%;
}

.case-txt {
  text-align: center;
  font-size: 12px;
}

/* 2枚画像比較 */
.compare {
  background: url('../images/common/arrow_both.png') no-repeat center;
  background-size: 66px auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0 80px;
}

.compare li {
  max-width: 260px;
  flex: 1 0 0;
}

.compare li img {
  display: block;
  width: 100%;
}

/* 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: grid;
  grid-template-columns: repeat(auto-fit, minmax(23%, 1fr));
  gap: 15px 2%;
}

.pagemenu_link .anchor > li {
  box-sizing: border-box;
  border: 1px solid var(--main-color);
}

.pagemenu_link .anchor > li a {
  box-sizing: border-box;
  display: block;
  height: 100%;
  padding: 1em;
}

.pagemenu_link .anchor > li h3 {
  padding: 12px 0 10px;
  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%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

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

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

.roop .post {
  background: #fff;
  padding: 20px 0 30px;
}

.roop .post_single {
  padding: 0;
}

.roop .post + .post {
  border-top: 1px solid #ccc;
}

.roop .post > a {
  display: flex;
  column-gap: 10px;
}

.roop .post .thumb {
  width: 200px;
  aspect-ratio: 1/1;
}

.roop .post .thumb img {
  width: 100%;
  height: 100%;
}

.roop .post_single .thumb {
  width: auto;
  aspect-ratio: auto;
  margin: 0 auto 5%;
  text-align: center;
}

.roop .post_single .thumb img {
  max-width: 600px;
  max-height: 400px;
  object-fit: contain;
}

.roop .post .txt {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.roop .post .continue {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
}

.roop .post .data {
  margin-top: auto;
  font-size: 12px;
  line-height: 1em;
  color: #9E9E9E;
}

.roop .post_single .data {
  margin-bottom: 1em;
}

.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: var(--link-color);
  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 0.3em top 0.5em no-repeat;
  background-size: 6px 6px;
}

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

.sidebar a {
  text-decoration: underline;
}

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