@charset "UTF-8";

:root {
  --color-primary: #4b3c2d;
  --color-accent: #f7ba44;
}

/*================================================
 *  一般・共通設定
 ================================================*/
html {
  font-size: 62.5%;
}

body {
  font-size: 1.5rem;
  font-family: 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif;
  line-height: 1.7;
  letter-spacing: .05em;
  color: var(--color-primary);
  position: relative;
  background: url(../images/bg-pattern.jpg) repeat center/contain;
}

body::after {
  z-index: -1;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  background: rgb(249 218 193 / 30%);
}

#content,
.wrap {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

a {
  color: #555;
  text-decoration: none;
}

a:hover {
  opacity: .7;
  text-decoration: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

a.underline {
  text-decoration: underline;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

img.radius {
  border-radius: 50px 0 0 0;
}

p {
  margin-bottom: 1em;
}

strong {
  font-weight: bold;
}

small {
  font-size: smaller;
}

ul,
ol,
dl {
  margin: 0;
}

ul li {
  list-style: none;
  margin-left: 0;
}

/* section */
section {
  padding-bottom: 8rem;
  position: relative;
}

.section {
  padding-top: 8rem;
}

/* タイトル */
h2 {
  font-size: 4rem;
  color: rgb(75 60 45 / 50%);
  letter-spacing: .2em;
  margin-bottom: 20px;
  font-family: 'Zen Maru Gothic', sans-serif;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: absolute;
  top: 80px;
  left: -80px;
}

h2.right {
  left: auto;
  right: -80px;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 50px;
  letter-spacing: .2em;
  font-weight: normal;
}

h3 span {
  font-family: 'Zen Maru Gothic', sans-serif;
}

@media screen and (max-width:768px) {

  *,
  *:before,
  *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
  }

  body {
    background: url(../images/bg-pattern_sp.jpg) repeat center/contain;
  }

  #content,
  .wrap {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  section {
    padding-bottom: 5rem;
  }

  .section {
    padding-top: 5rem;
  }

  h2 {
    font-size: 2.5rem;
    -webkit-writing-mode: unset;
    -ms-writing-mode: unset;
    writing-mode: unset;
    position: static;
    text-align: center;
    margin-bottom: 40px;
  }

  h2.right {
    right: 0;
  }

  h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  h3 span {
    font-size: 2rem;
  }
}

/* ==================================================
  splash
====================================================*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: #f2e5db;
  display: flex;
}

#splash_logo {
  margin: auto;
  font-size: 2rem;
  letter-spacing: .1em;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: normal;
}

#splash_logo img {
  width: 40px;
}

@media screen and (max-width:768px) {
  #splash_logo {
    font-size: 1.5rem;
  }

  #splash_logo img {
    width: 30px;
  }
}

/*================================================
 *  ヘッダー
 ================================================*/
header {
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  box-sizing: border-box;
  padding: 40px 2%;
}

/* inner-left */
header .inner-left {
  width: 35%;
  position: relative;
}

header .inner-left h1 {
  font-size: 2.6rem;
  letter-spacing: .1em;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: normal;
}

header .inner-left h1 img {
  width: 60px;
  vertical-align: middle;
}

header .inner-left h1 a {
  color: var(--color-primary);
}

/* inner-right */
header .inner-right {
  width: 60%;
}

nav.gnav ul {
  text-align: right;
}

nav.gnav ul li {
  display: inline-block;
  padding: 0 10px;
  text-align: center;
  font-size: 1.4rem;
}

nav.gnav ul li a {
  color: var(--color-primary);
}

/* nav_contact */
nav.gnav ul li.nav_contact a {
  background: #f9a747;
  display: inline-block;
  color: #fff;
  padding: 10px 30px;
  border: 1px solid #f9a747;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.8rem;
}

nav.gnav ul li.nav_contact a:hover {
  background: #fff;
  color: #f9a747;
  opacity: 1;
}

nav.gnav ul li.nav_contact a span {
  display: block;
  font-size: 1rem;
  font-weight: normal;
}

/* PC非表示 */
nav.gnav ul li.nav_line a,
nav.gnav ul li.nav_insta a {
  display: none;
}

/* changeNav */
header.changeNav {
  background: rgb(241 234 228 / 90%);
  padding: 10px 2%;
  transition: .5s;
}

@media screen and (max-width:1180px) {
  header .inner-left {
    width: 30%;
  }

  header .inner-left h1 {
    font-size: 2rem;
  }

  header .inner-left h1 img {
    width: 40px;
  }

  header.changeNav .inner-left h1 {
    font-size: 1.7rem;
  }

  header.changeNav .inner-left h1 img {
    width: 30px;
  }

  header .inner-right {
    width: 70%;
  }
}

@media screen and (max-width:980px) {
  header {
    padding: 25px 3%;
  }

  header .inner-left {
    width: 100%;
  }

  header .inner-left h1 {
    font-size: 2rem;
  }

  header .inner-left h1 img {
    width: 40px;
  }

  /* ハンバーガーメニュー */
  nav.global-nav {
    position: fixed;
    right: -320px;
    top: 0;
    width: 270px;
    height: 100vh;
    padding-top: 40px;
    background: #f2e5db;
    transition: all .2s ease-out;
    z-index: 200;
    overflow-y: auto;
    padding: 70px 20px 40px 20px;
  }

  nav.gnav.global-nav ul li {
    margin-bottom: 15px;
    width: 100%;
    padding: 5px 12px;
    font-size: 1.5rem;
  }

  nav.gnav ul li.nav_contact a {
    display: block;
    padding: 15px 0;
  }

  nav.gnav ul li.nav_line a {
    background: #00B900;
    border-radius: 5px;
    display: block;
    padding: 15px 0;
    border: 1px solid #fff;
    color: #fff;
  }

  nav.gnav ul li.nav_insta a {
    background: linear-gradient(45deg, rgba(254, 212, 117, 1) 0%, rgba(229, 61, 93, 1) 50%, rgba(194, 49, 134, 1) 70%, rgba(156, 56, 187, 1) 100%);
    border-radius: 5px;
    display: block;
    padding: 15px 0;
    border: 1px solid #fff;
    color: #fff;
  }

  .hamburger {
    position: absolute;
    right: 10px;
    top: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 300;
  }

  .global-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .global-nav__item a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #fff;
    line-height: 1.3;
  }

  .global-nav__item a:hover {
    background-color: #eee;
  }

  .hamburger__line {
    position: absolute;
    left: -5px;
    width: 30px;
    height: 1px;
    background-color: var(--color-primary);
    transition: all .2s ease-out;
  }

  .hamburger__line--1 {
    top: 18px;
  }

  .hamburger__line--2 {
    top: 26px;
  }

  .hamburger__line--3 {
    top: 33px;
  }

  .black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
    cursor: pointer;
  }

  /* 表示された時用のCSS */
  .nav-open .global-nav {
    right: 0;
  }

  .nav-open .black-bg {
    opacity: .8;
    visibility: visible;
  }

  .nav-open .hamburger__line--1 {
    transform: rotate(45deg);
    top: 20px;
  }

  .nav-open .hamburger__line--2 {
    width: 0;
    left: 50%;
  }

  .nav-open .hamburger__line--3 {
    transform: rotate(-45deg);
    top: 20px;
  }
}

/* =======================================================
* main
* ======================================================= */
#main {
  height: 100vh;
  padding-top: 130px;
  position: relative;
}

#main .main_left {
  width: 40%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-family: 'Zen Maru Gothic', sans-serif;
  padding-top: 150px;
  font-size: 3rem;
}

#main .main_right {
  width: 60%;
  background: url(../images/main.jpg) no-repeat center/cover;
  height: 100vh;
  border-radius: 100px 0 0 0;
}

/* スクロールダウン */
.scroll_down {
  position: absolute;
  left: 22px;
  bottom: 230px;
  color: #333;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size: 1.1rem;
  letter-spacing: .2em;
}

.arrow {
  width: 1px;
  height: 80px;
  margin: 50px auto 0;
  background-color: transparent;
  overflow: hidden;
  position: absolute;
  left: 30px;
  bottom: 130px;
  z-index: 9;
}

.arrow::before {
  content: '';
  width: 1px;
  height: 80px;
  margin: 50px auto 0;
  background-color: #555;
  position: absolute;
  top: -150px;
  left: 0;
  -webkit-animation: arrow 2.5s ease 0s infinite normal;
  animation: arrow 2.5s ease 0s infinite normal;
}

@keyframes arrow {
  0% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }

  60% {
    -webkit-transform: translate3d(-50%, 100px, 0);
    transform: translate3d(-50%, 100px, 0);
  }

  100% {
    -webkit-transform: translate3d(-50%, 100px, 0);
    transform: translate3d(-50%, 100px, 0);
  }
}

@media screen and (max-width:768px) {
  #main {
    padding-top: 90px;
  }

  #main .main_left {
    width: 30%;
    padding-top: 50px;
    font-size: 2.3rem;
  }

  #main .main_right {
    width: 70%;
    height: 80vh;
    background-position: center left 15%;
  }

  .scroll_down {
    left: 10px;
    bottom: 120px;
    font-size: 1rem;
  }

  .arrow {
    left: 15px;
    bottom: 30px;
  }
}

/* =======================================================
*about
* ======================================================= */
#about .about_txt {
  line-height: 2.3;
}

.reserveArea ul {
  margin: 50px 0 0px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  text-align: center;
  align-items: center;
}

.reserveArea ul a {
  display: inline-block;
  box-sizing: border-box;
  box-shadow: 0 5px 25px rgb(0 0 0 / 15%);
  width: 100%;
  height: 100px;
  border-radius: 5px;
}

/* reserve_tel */
.reserveArea .reserve_tel a {
  background: #f9a747;
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 30px;
  font-weight: bold;
}

.reserveArea .reserve_tel a span {
  font-size: 2.5rem;
}

/* reserve_line */
.reserveArea .reserve_line a {
  border: 1px solid #fff;
  padding: 15px 30px 0px;
  background: #00B900;
  color: #fff;
}

.reserveArea .reserve_line img {
  width: 40px;
  vertical-align: middle;
  margin-right: 5px;
}

/* reserve_hotpepper */
.reserve_hotpepper a {
  padding: 10px 30px;
  border: 1px solid #8f3356;
  color: #8f3356;
  background: rgb(255 255 255 / 70%);
}

.reserveArea .reserve_hotpepper img {
  width: 45%;
  margin-top: 5px;
}

/* 診療時間 */
.reserveArea table {
  max-width: 900px;
  margin: 30px auto 10px;
  text-align: center;
}

.reserveArea table,
.reserveArea th,
.reserveArea td {
  border: 1px solid #efefef;
  border-collapse: collapse;
  background-color: #fff;
}

.reserveArea th {
  background-color: #d0c4b9;
  color: #fff;
  font-weight: bold;
  height: 20px;
  font-size: 1.3rem;
  letter-spacing: .2em;
}

.reserveArea td {
  width: 200px;
  height: 70px;
  vertical-align: middle;
}

.reserveArea td.holiday {
  color: #c72e2e;
}

.reserveArea td.holiday2 {
  color: #2e7fc7;
}

.reserveArea .about_access {
  max-width: 900px;
  margin: 0 auto 10px;
  font-size: 1.4rem;
  line-height: 2;
}

@media screen and (max-width:768px) {
  #about .about_txt {
    line-height: 2;
  }

  .reserveArea table thead,
  .reserveArea tbody,
  .reserveArea table tr {
    display: block;
    float: left;
  }

  .reserveArea th {
    width: 70px;
  }

  .reserveArea td,
  .reserveArea th {
    border-left: none;
    display: block;
    height: 50px;
    line-height: 50px;
  }

  .reserveArea .about_access {
    text-align: left;
    font-size: 1.3rem;
  }

}

/* =======================================================
*menu
* ======================================================= */
#menu ul {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 1.4rem;
  margin: 40px 0 80px;
}

#menu ul li h4 {
  position: relative;
  width: 100%;
  text-align: center;
  font-size: 1.7rem;
  font-family: 'Zen Maru Gothic', sans-serif;
  background: #fff;
  letter-spacing: .1em;
  box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
  padding: 10px 0;
  margin-top: -20px;
}

/* プラスの横線 */
#menu ul li h4::before {
  content: "";
  position: absolute;
  background: var(--color-primary);
  top: 25px;
  right: 11px;
  width: 20px;
  height: 2px;
  transform: translateY(-50%);
}

/* プラスの縦線 */
#menu ul li h4:after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  top: 25px;
  right: 20px;
  width: 2px;
  height: 20px;
  transform: translateY(-50%);
  transition: .3s;
}

/* オープン時にopenクラスを付与 */
#menu ul li h4.open:after {
  top: 25%;
  opacity: 0;
  transform: rotate(90deg);
}

#menu .menu_inner {
  display: none;
  background: #fff;
  padding: 20px;
}

#menu .menu_inner dl {
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

#menu .menu_inner dl dt {
  width: 70%;
  padding-bottom: 5px;
}

#menu .menu_inner dl dd {
  width: 75px;
  text-align: right;
  position: relative;
  padding-bottom: 5px;
  color: #439862;
}

#menu .menu_inner dl dd::before {
  position: absolute;
  content: "…";
  top: 0;
  left: 0;
}

/* よくある質問 */
.question {
  max-width: 650px;
  margin: 0 auto;
}

.question dt {
  position: relative;
  padding: 0 20px 10px 25px;
  border-bottom: 1px dotted;
  margin-bottom: 20px;
}

.question dt::before {
  position: absolute;
  content: "Q.";
  top: 0;
  left: 0;
  font-family: 'Montserrat', sans-serif;
}

.question dt::after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f078";
  font-weight: 900;
  top: 0;
  right: 0;
}

.question dd {
  display: none;
  font-size: 1.4rem;
  line-height: 2;
  margin: 0 20px 30px;
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  border-radius: 20px 0 0;
}

@media screen and (max-width:768px) {
  #menu ul {
    grid-template-columns: 1fr;
  }

  #menu ul li img {
    object-fit: cover;
    width: 100%;
    height: 250px;
  }

  .question {
    margin: 30px auto 0;
  }

  .question dd {
    margin: 0 0px 30px;
  }

}


/* =======================================================
*staff
* ======================================================= */
#staff ul {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 1.4rem;
}

#staff ul li img {
  width: 50%;
  margin: 0 auto;
  box-shadow: 0 5px 25px rgb(0 0 0 / 15%);
  border-radius: 50%;
}

#staff ul li .staff_name {
  font-size: 1.6rem;
  font-family: 'Zen Maru Gothic', sans-serif;
  margin-bottom: 10px;
}

@media screen and (max-width:768px) {
  #staff ul {
    gap: 10px;
    grid-template-columns: 1fr;
  }
}


/* =======================================================
*access
* ======================================================= */
#access dl dt,
#access dl dd {
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px dotted rgb(75 60 45 / 50%);
}

#access dl dt {
  width: 30%;
  text-align: center;
}

#access dl dd {
  width: 70%;
}

#access dl dd a {
  color: var(--color-primary);
  text-decoration: underline;
}

#access iframe {
  width: 100%;
  height: 350px;
}

#access ul {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 50px;
  text-align: center;
}

@media screen and (max-width:768px) {
  #access dl {
    font-size: 1.4rem;
  }

  #access dl dt {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
    padding: 0 0 5px 5px;
  }

  #access dl dd {
    width: 100%;
    border-bottom: none;
    padding-left: 15px;
  }

  #access ul {
    margin-top: 30px;
    gap: 10px;
    grid-template-columns: 1fr;
  }

  #access ul img {
    width: 80%;
    object-fit: contain;
  }
}


/* =======================================================
*contact
* ======================================================= */
.instagram {
  margin-top: 80px;
}

.btn-instagram {
  background: linear-gradient(45deg, rgba(254, 212, 117, 1) 0%, rgba(229, 61, 93, 1) 50%, rgba(194, 49, 134, 1) 70%, rgba(156, 56, 187, 1) 100%);
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .15);
  color: #fff;
  display: inline-block;
  padding: 20px 70px;
  text-align: center;
  border: 1px solid #fff;
  line-height: 2;
}

.btn-instagram img {
  width: 25px;
  vertical-align: middle;
  margin-right: 5px;
}

@media screen and (max-width:768px) {
  .btn-instagram {
    display: block;
    padding: 20px 0px;
  }
}

/* =======================================================
*footer
* ======================================================= */
.copyright {
  text-align: center;
  padding-bottom: 30px;
  font-size: 1.1rem;
}


/*================================================
 *  ページトップへの戻り
 ================================================*/
#pagetop {
  position: fixed;
  right: 15px;
  bottom: 10px;
  cursor: pointer;
  overflow: visible !important;
}

#pagetop .arrow-up {
  width: 20px;
  height: 20px;
  border: 1px solid;
  border-color: #555#555 transparent transparent;
  transform: rotate(-45deg);
}