@charset "UTF-8";
/*レイアウト*/
body {
  height: 100%;
  background: url("../img/top_sp_ba.jpg") no-repeat center fixed;
  background-size: 100% auto; }
  @media screen and (min-width: 768px) {
    body {
      background: url("../img/top_ba.jpg") no-repeat center fixed;
      background-size: cover; } }

main {
  width: 100%;
  margin: 0 auto; }

.wrapper {
  min-height: 100vh;
  position: relative;
  /*←相対位置*/ }

@media screen and (min-width: 768px) {
  .sp_only {
    display: none; } }

.pc_only {
  display: none; }
  @media screen and (min-width: 768px) {
    .pc_only {
      display: block; } }

/* font 14px~16px */
:root {
  font-size: calc(0.875rem + ((1vw - 4.8px) * 0.1389));
  line-height: 1.5;
  text-align: justify;
  color: #666666;
  font-family: source-han-sans-japanese, sans-serif;
  font-style: normal;
  font-weight: 100; }
  @media screen and (min-width: 768px) {
    :root {
      font-size: 20px; } }

p {
  line-height: 1.8;
  width: 100%;
  max-width: 690px;
  margin: 0 auto;
  padding: 2rem; }

span {
  background: #FFFCCC; }

.mt {
  margin-top: 2rem; }

/*リンク*/
.search img {
  margin: 0 auto;
  padding: 0 5px;
  transition: 0.5s; }
  .search img:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)"; }

a.text_link {
  display: block;
  padding: 5px 10px;
  text-align: center;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  background: #A78E23;
  color: #fff;
  transition: 0.5s;
  font-size: 0.8rem;
  border-radius: 10px; }
  a.text_link:hover {
    background: #E5DDBD; }
  @media screen and (min-width: 768px) {
    a.text_link {
      z-index: 100;
      position: relative; } }

/*ヘッダー*/
header {
  width: 100%; }
  @media screen and (min-width: 768px) {
    header .pc_only {
      background: url("../img/top_02.jpg") no-repeat bottom;
      width: 100%;
      padding-bottom: 100px; } }

.top {
  -webkit-clip-path: polygon(0 0, 100% 0%, 100% 50%, 0 67%);
  clip-path: polygon(0 0, 100% 0%, 100% 50%, 0 67%);
  background: url("../img/index.jpg") no-repeat;
  background-position: top;
  height: 900px; }
  .top img {
    height: 550px;
    margin-right: 30%; }

.top_logo {
  position: relative;
  z-index: 1;
  margin-top: -400px; }

.top_text {
  position: relative;
  z-index: 2;
  margin-top: 100px; }

h2, h3, h4, h5 {
  background-image: url("../img/pc_ba.png");
  background-repeat: repeat-y; }

.box {
  background: url("../img/kagi_keft.png"), url("../img/kagi_right.png");
  background-position: top left, bottom right;
  background-repeat: no-repeat, no-repeat;
  padding: 30px 40px;
  margin: 2rem; }
  .box p {
    padding: 0; }

/*セクション*/
section {
  background-color: #fff;
  width: 100%; }
  section:nth-of-type(1) {
    margin-bottom: 5rem; }
  section:nth-of-type(2) {
    margin: 5rem auto; }
  section:nth-of-type(3) {
    margin: 5rem auto; }
  section:nth-of-type(4) {
    margin: 5rem auto 8rem; }
  section:nth-of-type(5) {
    margin: 5rem auto 0;
    padding-bottom: 5rem; }
  @media screen and (min-width: 768px) {
    section {
      max-width: 720px;
      margin: 0 auto;
      position: relative; }
      section:before {
        content: '';
        /* 擬似要素に実体を持たせる */
        width: calc(100% + 16px);
        /* 外側の線になる要素の幅を指定する*/
        height: calc(100% + 16px);
        /* 外側の線になる要素の高さを指定する */
        border: 1px solid #fff;
        /* 外側の線になる一本線の枠線をひく*/
        position: absolute;
        /* 外側の線の位置を自由に動かせるようにする */
        top: -8px;
        /* 外側の線の位置を、内側の線から上に3pxずらす */
        left: -8px;
        /* 外側の線の位置を、内側の線から左に3pxずらす*/
        bottom: 8px;
        pointer-events: none; }
      section:after {
        /* 一番外側 */
        content: '';
        /* 擬似要素に実体を持たせる */
        width: calc(100% + 40px);
        /* 外側の線になる要素の幅を指定する*/
        height: calc(100% + 40px);
        /* 外側の線になる要素の高さを指定する */
        border: 3px solid #fff;
        /* 外側の線になる一本線の枠線をひく*/
        position: absolute;
        /* 外側の線の位置を自由に動かせるようにする */
        top: -20px;
        /* 外側の線の位置を、内側の線から上に3pxずらす */
        left: -20px;
        /* 外側の線の位置を、内側の線から左に3pxずらす*/
        bottom: 20px;
        pointer-events: none; }
      section:nth-of-type(1) {
        margin-top: 5rem; }
      section:nth-of-type(4) {
        padding-bottom: 0; } }
  @media screen and (min-width: 1024px) {
    section {
      max-width: 960px; } }

.thanks section:nth-of-type(2) {
  margin: 5rem auto 0;
  padding-bottom: 5rem; }

section.section_01 {
  margin-bottom: 100px;
  padding-bottom: 2rem; }

/*セクション2：特徴*/
section.section_02 {
  padding-bottom: 0.5rem; }
  section.section_02 .color_ba {
    background: linear-gradient(to bottom, #ececec 0%, #e5ddbd 100%);
    padding: 1rem; }
  section.section_02 .frame {
    border: 4px double #fff; }

/*セクション3：歯科医師紹介*/
section.section_03 .color_ba {
  background: linear-gradient(to bottom, #ececec 0%, #dbe0e8 100%);
  padding: 1rem; }
section.section_03 .frame {
  border: 4px double #fff; }

/*セクション4：アクセス*/
section.section_04 .clinic {
  padding: 0 2rem;
  margin-bottom: 2rem; }
section.section_04 .map {
  border: 1px solid #ccc;
  max-width: 577px;
  margin: 1rem auto 0; }
section.section_04 .mail_form {
  padding: 0 2rem 2rem 2rem; }
  section.section_04 .mail_form span {
    background: none !important; }
  @media screen and (min-width: 768px) {
    section.section_04 .mail_form {
      z-index: 100;
      position: relative; } }
section.section_04 dd.kiboubi p {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  text-align: left !important; }
section.section_04 dd.kiboubi #schedule1 {
  margin-top: 0 !important;
  padding-top: 0 !important; }

.section_05 {
  background: #eeeeee; }

.section_05 a {
  position: relative;
  z-index: 100; }

footer {
  position: absolute;
  /*←絶対位置*/
  bottom: 0rem;
  /*下に固定*/
  background: #E5DDBD;
  width: 100%;
  padding-bottom: 50px; }
  footer p {
    padding: 10px;
    text-align: center;
    font-size: 0.8rem; }
  @media screen and (min-width: 768px) {
    footer {
      margin-top: 5rem;
      padding-bottom: 0;
      bottom: -5rem;
      /*下に固定*/ } }

.footer_area {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 50px;
  background: linear-gradient(to top, #ececec 0%, #e5ddbd 100%); }
  .footer_area ul {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px; }
  .footer_area li {
    background: #fff;
    border: 1px solid #A78E23;
    width: 50%;
    margin: 0 10px;
    text-align: center;
    padding: 10px 0; }
  .footer_area a {
    color: #666666; }

@media screen and (min-width: 500px) {
  .footer_area {
    display: none; } }
/* 上へ　*/
#page_top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 10px;
  z-index: 100;
  transform: translate3d(0, 0, 0); }
  @media only screen and (max-width: 768px) {
    #page_top {
      display: none; } }

#page_top a {
  position: relative;
  background: rgba(167, 142, 35, 0.8);
  margin: 0;
  width: 50px;
  height: 50px;
  padding: 10px 0 0 0;
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  color: #fff; }
