@charset "utf-8";
/*-------- 各下層ページのレイアウトcss --------*/

/* モバイルレイアウト : 480 px およびそれ以下. */

/* --------------------------------------------------------
#mainImg
-------------------------------------------------------- */

/* --------------------------------------------------------
#toc ページ内リンク(自動取得)
-------------------------------------------------------- */
#toc ul {
  a {
    border: #536679 1px solid;
    color: #536679;
  }
  a:before {
    background-color: #536679;
  }
}
.att {
  margin-bottom: 5%;
}
/* --------------------------------------------------------
main  -  section
-------------------------------------------------------- */
/* 背景色あり 基本形 */
.bgBox {
  background-color: #f5f5f5;
}

/* 背景色あり フルスクリーン */
.bgBox-full {
  background-color: #f5f5f5;
}

/* section 見出し */
.sectionTitle {
  h2 {
    background-color: #536679;
  }
}

.contentBox {
  width: 100%;
}
.whiteBox {
  margin-bottom: 8%;
}
h3 {
  color: var(--color-navy);
}
.whiteBox h3 {
  font-size: 2.5rem;
  border-bottom: var(--color-navy) 1px dotted;
}
/* --------------------------------------------------------
section #link1 インプラントとは
-------------------------------------------------------- */
#link1 img {
  display: block;
  margin: 0 auto 8%;
}
#link1 .pcFlexBox02 p{
  padding-bottom: 15%;
  position: relative;
}
#link1 .pcFlexBox02 p::before{
      content: "";
    position: absolute;
    bottom: -8%;
    right: 0;
    z-index: -1;
    width: 45vw;
    height: 45vw;
    background: url(/implant/img/bg_img_01.webp) no-repeat;
    background-size: contain;
}

#link1 a{
  display: block;
  margin: 8% auto 0;
  padding: 5% 0;
  width: 80%;
  color: var(--color-navy);
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: var(--color-navy) 2px solid;
  background-color: var(--bg-color-white);
  line-height: 1.5;
}

#link1 a span {
  font-size: 1.7rem;
  display: block;
}
/* --------------------------------------------------------
section #link2 メリット・デメリット
-------------------------------------------------------- */
.merit h3, .demerit h3{
  border-bottom: var(--color-navy) 1px dashed;
}
.colorBox{
  background-color: var(--bg-color-main);
  padding: 5%;
  margin-top: 8%;
}
.colorBox h4 {
    position: relative;
    z-index: 1;
    margin: 1em auto;
    width: fit-content;
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--main-color);
    font-family: "Zen Kaku Gothic Antique", "メイリオ", "Meiryo", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "ＭＳ Ｐゴシック", "MS PGothic", "MS UI Gothic", Helvetica, Arial, sans-serif;
  }
.colorBox h4:before {
    content: "";
    position: absolute;
    top: 0;
    left: 3%;
    transform: translate(-40%, -12%);
    z-index: -1;
    width: 50px;
    height: 50px;
    background-color: var(--bg-color-white);
    border-radius: 100%;
  }
.colorBox .whiteBox{
  margin: 5% 0;
  list-style-type: none;
  }
 .colorBox .whiteBox li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--color-navy);
  margin-bottom: 0.5em;
}
.colorBox .whiteBox li .number{
  color: var(--color-white);
  background-color: var(--main-color);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px; 
  border-radius: 50%;
  font-size: 2rem;
  line-height: 35px;
  flex-shrink: 0;
}
.colorBox .whiteBox li .number span {
  /* 数字だけ上下調整 */
  transform: translateY(-1px); 
  display: inline-block;
}
.colorBox .whiteBox li p{
  margin: 0;
}
.colorBox .att{
  margin-bottom: 0;
}
#link2 .companyBox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  margin: 5% 0;
}
#link2 figure a {
  color: #4b4b4b;
}
#link2 figure figcaption {
  color: #4b4b4b;
  font-size: 1.4rem;
}
#link2 .instructor {
  margin-top: 10%;
}

#link2 .instructor dl dd{
  color: var(--color-navy);
  font-size: 2rem;
  margin-bottom: 5%;
  font-family: var(--YuMincho);
}
#link2 .instructor dl dd span{
  display: block;
}
#link2 .instructor dl dd::before{
  content: "■";
}
#link2 .instructor dl dt{
  margin-bottom: 5%;
}
/* --------------------------------------------------------
section #link3 治療の流れ
-------------------------------------------------------- */
#link3 {
  width: 100%;
}
#link3 .container .sectionTitle,
#link3 .container .arr_contentBox{
  width: 90%;
  margin: 0 auto 10%;
}
#link3 .container .arr_contentBox{
  margin-bottom: 15%;
}
#link3 .lineBox{
  border: #536679 1px solid;
}
#link3 .lineBox a img{
  display: flex;
  justify-content: right;
  margin-right: 0;
  margin-top: 5%;
}
#link3 .bgBox-full{
  padding: 10% 0;
}
#link3 .bgBox-full .whiteBox{
  width: 90%;
  margin: 0 auto;
}
#link3 .bgBox-full h3{
  display: flex;
  align-items: center;
  font-size: 2.2rem;
  gap: 0.3em;
  padding-bottom: 0.3em;
}
#link3 .bgBox-full h3,#link3 .bgBox-full p{
  max-width: 1200px;
  margin: 0 auto 1.33em;
}

/* --------------------------------------------------------
section #link4 他の治療法との比較
-------------------------------------------------------- */
#link4 .info{
  width: fit-content;
  margin: 0 auto;
}
.zen-kaku-gothic-antique-medium{
  margin-bottom: 5%;
}
#link4 .table {
  overflow-x: auto;
  width: 100%;
}

#link4 .table th:first-child {
  width: 22%;
}
#link4 .table table {
  border-collapse: collapse;
  min-width: fit-content;
  table-layout: fixed;
}
#link4 .table th,
#link4 .table td {
  padding: 15px 10px;
  white-space: nowrap;
}
#link4 table thead tr th{
  background-color: #828D99;
  color: var(--color-white);
  border-right: var(--color-white) 1px solid;
}
#link4 table thead tr th:last-child{
  border-right: #828D99 1px solid;
}
#link4 table thead tr th:first-child{
  border-left: #828D99 1px solid;
}
#link4 table tbody tr th{
  background-color: #EFEFEF;
  color: var(--color-navy);
}
#link4 table tbody tr td{
  text-align: center;
  vertical-align: top; 
}
#link4 table tbody tr td span{
  display: block;
}
#link4 table tbody tr th,
#link4 table tbody tr td{
  border: var(--color-navy) 1px solid;
}
#link4 table tbody tr:first-child th,
#link4 table tbody tr:first-child td{
  border-top: none;
}
#link4 table tbody tr th:first-child{
  text-align: left;
  padding: 15px 20px;
}
/* タブレットレイアウト : 981 px～。モバイルレイアウトからスタイルを継承。 */

@media print, screen and (min-width: 768px) {
  /* --------------------------------------------------------
main  -  section
-------------------------------------------------------- */
  .linkBox {
    display: flex;
  }
  .whiteBox {
    margin-bottom: 80px;
  }
    /* --------------------------------------------------------
section #link1 インプラントとは
-------------------------------------------------------- */
#link1 .sectionTitle p{
  text-align: center;
}
#link1 img {
  margin: 0 auto 60px;
}
#link1 .pcFlexBox02 p{
    padding-bottom: 80px;
  position: relative;
}

#link1 .pcFlexBox02 p::before{
  top: 30%;
    right: 0;
    z-index: -1;
    width: 30vw;
    height: 30vw;
}
  #link1 .linkBox {
    max-width: 900px;
    gap: 30px;
    justify-content: space-between;
    align-items: stretch;
    margin: 0 auto;
  }
  #link1 a{
    margin: 80px auto 0;
    padding: 20px 0;
    max-width: 360px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #link1 a:first-child{
  margin-top: 80px;
}
  #link1 a:nth-of-type(2) {
    display: block;
  }
  /* --------------------------------------------------------
section #link2 メリット・デメリット
-------------------------------------------------------- */
.whiteBoxInner{
  max-width: 1200px;
  margin: 0 auto;
}
.colorBox{
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 30px;
margin-top: 60px;
}

.colorBox h4:before {
    left: 0;
  }
.colorBox .whiteBox{
  margin: 30px 0;
  padding: 40px 30px;
  }
#link2 .companyBox {
  display: flex;
  gap: 30px;
  align-items: center;
}
#link2 .company, #link2 .instructor{
  max-width: 1200px;
  margin: 0 auto;
}

#link2 .instructor {
  margin-top: 80px;
}
#link2 .instructor dl dd{
  margin-bottom: 1em;
  font-size: 2.2rem;
}
#link2 .instructor dl dd span{
  display: inline-block;
  margin-left: 1em;
}
#link2 .instructor dl dt{
  margin-bottom: 30px;
}
  /* --------------------------------------------------------
section #link3 治療の流れ
-------------------------------------------------------- */
#link3{
  width: 100%;
  max-width: none;
}
#link3 .container .sectionTitle,
#link3 .container .arr_contentBox{
  margin: 0 auto 60px;
  max-width: 1400px;
}
#link3 .lineBox a img{
  margin-top: 30px;
}
#link3 .container .arr_contentBox{
  margin-bottom: 120px;
}
#link3 .bgBox-full{
  padding: 120px 0;
}
#link3 .bgBox-full .whiteBox{
  max-width: 1400px;
  margin: 0 auto;
}
#link3 .bgBox-full h3{
  font-size: 2.5rem;
}

  /* --------------------------------------------------------
section #link4 他の治療法との比較
-------------------------------------------------------- */
#link4{
  max-width: 1400px;
}
.att{
  margin-bottom: 60px;
}
#link4 .price{
  margin-top: 80px;
}
}
@media print, screen and (min-width: 981px) {
    /* --------------------------------------------------------
section #link1 インプラントとは
-------------------------------------------------------- */
#link1 img {
  margin: 0;
}
#link1 .pcFlexBox02{
  align-items: center;
  gap: 50px;
  padding-bottom: 80px;
}
#link1 .pcFlexBox02 p{
  padding: 0;
}


  /* --------------------------------------------------------
section #link2 メリット・デメリット
-------------------------------------------------------- */
.colorBox{
  padding: 60px 50px;
}
#link2 .pcFlexBox02{
  gap: 50px;
}
#link2 .pcFlexBox02 .merit ,
#link2 .pcFlexBox02 .demerit {
  width: 50%;
}

  /* --------------------------------------------------------
section #link3 治療の流れ
-------------------------------------------------------- */

.arrBox:first-child h3{
  background-image: url(/implant/img/arr_01.webp);
  height: 340px;
}
.arrBox:nth-child(3) h3{
  background-image: url(/implant/img/arr_02.webp);
  height: 568px;
}
.arrBox:nth-child(5) h3{
  background-image: url(/implant/img/arr_03.webp);
  height: 295px;
}
.arrBox:nth-child(7) h3{
  background-image: url(/implant/img/arr_04.webp);
  height: 385px;
}
.arrBox:nth-child(9) h3{
  background-image: url(/implant/img/arr_05.webp);
  height: 295px;
}
.arrBox:nth-child(11) h3{
  background-image: url(/implant/img/arr_06.webp);
  height: 386px;
}
.arrBox:nth-child(13) h3{
  background-image: url(/implant/img/arr_07.webp);
  height: 478px;
}
.arrBox:last-child h3{
  background-image: url(/implant/img/arr_08.webp);
  height: 340px;
}
#link3 .container .sectionTitle,
#link3 .container .arr_contentBox{
  width: 85%;
}
#link3 .bgBox-full .whiteBox{
  width: 85%;
}

}
@media print, screen and (min-width: 1100px){
  /* --------------------------------------------------------
section #link4 他の治療法との比較
-------------------------------------------------------- */
.zen-kaku-gothic-antique-medium{
  display: none;
}
#link4 .table table {
  border-collapse: collapse;
  min-width: auto;
  width: 100%;
}
#link4 .table th,
#link4 .table td {
  padding: 15px 10px;
}
#link4 table tbody tr td span{
  font-size: 1.5rem;
}
}
@media print, screen and (min-width: 1280px) {
    /* --------------------------------------------------------
section #link1 インプラントとは
-------------------------------------------------------- */
#link1 .pcFlexBox02 p::before{
  top: 0;
    right: -5%;
    z-index: -1;
    width: 20vw;
    height: 20vw;
}
  /* --------------------------------------------------------
section #link4 他の治療法との比較
-------------------------------------------------------- */
.zen-kaku-gothic-antique-medium{
  display: none;
}
#link4 .table table {
  border-collapse: collapse;
  min-width: a;
  width: 100%;
}
#link4 .table th,
#link4 .table td {
  padding: 15px 20px;
}
#link4 table tbody tr td span{
  font-size: 1.7rem;
}
}

/* デバイスが横向きの場合の記述 */
@media (orientation: landscape) {
}
