@charset "utf-8";

@import url("https://fonts.googleapis.com/icon?family=Material+Icons+Round");
@import url("https://unpkg.com/aos@next/dist/aos.css");

:root {
  --main-color: #8ec7e8;
  --base-color: #f7f5f2;
  --sub-color: #e4eef5;
  --accent-color: #6baed6;

  --white-color: #fefefe;
  --black-color: #3a3a3a;
  --gray-color: #999;

  --orange-color: #f5b57a;

  --font-heading: "M PLUS Rounded 1c", sans-serif;
  --font-content: "Zen Maru Gothic", sans-serif;
  --font-date: "Noto Sans JP", sans-serif;
  --font-cursive: "Caveat", cursive;

  --google-icons: "Material Icons Round";

  --bg_stripe: repeating-linear-gradient(
    20deg,
    var(--gray-color) 0,
    var(--gray-color) 1px,
    transparent 1px,
    transparent 8px
  );
  --main_stripe: repeating-linear-gradient(
    -45deg,
    var(--accent-color) 0,
    var(--accent-color) 1px,
    transparent 1px,
    transparent 3px
  );
}

body {
  background: var(--base-color);
  color: var(--black-color);
  font-size: 1rem;
  line-height: 1.85;
  word-wrap: break-word;
}

body.appear {
  background: var(--base-color);
}

* {
  box-sizing: border-box;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--black-color);
  text-decoration: none;
  outline: none;
}

img {
  width: 100%;
  height: auto;
}

p {
  line-height: 2;
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

.google_icon {
  font-family: var(--google-icons);
}

#container {
  overflow-x: hidden;
}

.header {
  background: var(--white-color);
}

.header h1.header-logo {
  display: flex;
  white-space: nowrap;
  align-items: center;
  gap: 3px;
  top: 35px;
  left: 40%;
  margin: 0 auto;
  transform: translateX(-70%);
}

.header h1.header-logo a {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--main-color);
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  white-space: nowrap;
  gap: 3px;
  top: 25px;
  left: 48%;
  margin: 0 auto;
  transform: translateX(-10%);
}

.header h1.header-logo a svg {
  fill: var(--main-color);
  width: 40px;
  vertical-align: middle;
  margin-top: -0.2em;
}

.header h1.header-logo a:hover {
  opacity: 0.5;
  transition: 0.5s;
}

.header .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header .logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2em;
}

.header .logo-main {
  font-size: 1.6rem;
}

.g-nav ul {
  display: flex;
  padding: 0 0 0 5%;
}

.g-nav ul li {
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.g-nav ul li:last-child {
  display: none;
}

.g-nav ul li a {
  display: block;
  padding: 6px 15px;
}

@media screen and (max-width: 1300px) {
  .g-nav ul {
    display: block;
    padding: 0;
  }
  .g-nav ul li a {
    padding: 6px 15px;
  }
}

.utility-navi {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  display: flex;
  overflow: hidden;
  width: 400px;
  max-width: 50vw;
}

@media screen and (max-width: 1300px) {
  .utility-navi {
    transform: translateX(10%);
  }
}

.txt {
  float: left;
  width: 260px;
  max-width: 50% 240px;
  font-size: 12px;
  text-align: left;
  line-height: 1.5;
}

table {
  border-collapse: collapse;
  width: 100%;
  background: var(--base-color);
  border-radius: 8px;
  overflow: hidden;
}

.time-table {
  margin-top: 8px;
  margin-bottom: 3px;
  line-height: 1.5;
  font-size: 14px;
}

thead th {
  padding: 1px 0;
  background: var(--accent-color);
  font-weight: bold;
}

.time-table th,
.time-table td {
  line-height: 1.5;
  border: none;
  font-size: 12px;
  text-align: center;
  font-weight: normal;
  vertical-align: middle;
}

.time-table tbody tr:first-child th,
.time-table tbody tr:first-child td {
  border-bottom: 0.5px solid var(--black-color);
}

tbody th {
  width: 37%;
  white-space: nowrap;
  text-align: center;
}

tbody th,
tbody td {
  padding: 3px 0;
}

.blue {
  color: var(--accent-color);
}

.orange {
  color: var(--orange-color);
}

.time-table-detail {
  font-size: 11px;
  text-align: left;
  line-height: 1.5;
}

.tel {
  font-size: 8px;
  color: var(--accent-color);
  float: right;
  width: 240px;
  max-width: 50%;
  padding-top: 3px;
  margin-left: 3%;
}

.tel-box {
  font-size: 18px;
  font-weight: bold;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-variation-settings: "opsz" 24, "wght" 400, "FILL" 0, "GRAD" 0;
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
  display: inline-block;
}

.icon-tel {
  color: var(--accent-color);
}

.icon-access {
  color: var(--white-color);
  font-size: 20px;
}

.access-btn {
  display: block;
  width: 75%;
  margin-right: 10px;
  background: var(--main-color);
  padding: 10px;
  border-radius: 4px;
  transition: opacity 0.5s;
}

.access-btn-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.access-btn:hover {
  opacity: 0.7;
}

.access-btn-text {
  font-size: 10px;
  color: var(--white-color);
}

@media screen and (max-width: 1200px) {
  .header h1.header-logo {
    transform: translateX(-40%);
  }
}

@media screen and (max-width: 1000px) {
  .header h1.header-logo {
    transform: translateX(-50%);
  }
  .header h1.header-logo a svg {
    width: 34px;
  }
  .header .logo-sub {
    font-size: 0.55rem;
  }
  .header .logo-main {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 768px) {
  .header h1.header-logo {
    transform: translateX(-10%);
  }
  .header h1.header-logo a svg {
    width: 32px;
  }
  .header .logo-sub {
    font-size: 0.5rem;
  }
  .header .logo-main {
    font-size: 1.3rem;
  }
  .utility-navi {
    width: 200px;
    max-width: 100vw;
    transform: translateX(0%);
  }
  .utility-navi .txt {
    display: none;
  }
  .tel {
    max-width: 100vw;
    margin-left: 35%;
  }
  .tel-box {
    font-size: 16px;
  }
  .icon-access {
    font-size: 16px;
  }
  .access-btn {
    display: block;
    width: 100%;
    margin-right: 10px;
    padding: 5px;
  }
  .access-btn-text {
    font-size: 12px;
  }
}

@media screen and (max-width: 530px) {
  .header h1.header-logo {
    transform: translateX(0%);
  }
  .header h1.header-logo a svg {
    width: 24px;
    margin-top: -0.1em;
    margin-right: 0;
  }
  .header .logo-sub {
    font-size: 0.4rem;
  }
  .header .logo-main {
    font-size: 0.8rem;
  }
  .g-nav ul li:last-child {
    display: block;
  }
  .utility-navi {
    width: 160px;
    max-width: 100vw;
  }
  .tel-box {
    font-size: 12px;
    margin: 5px 0 0;
  }
  .icon-access {
    font-size: 14px;
  }
  .access-btn {
    width: 100%;
    margin: 5px 0 0;
  }
  .access-btn-text {
    font-size: 9px;
  }
}

footer {
  color: var(--white-color);
  background: var(--accent-color);
  padding-top: 40px;
}

footer .wrapper {
  display: flex;
  padding-top: 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

footer h1.footer-logo {
  margin: 0 auto 80px 40px;
}

footer h1.footer-logo a {
  width: 100%;
  display: flex;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white-color);
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
}

footer h1 svg {
  fill: var(--white-color);
  width: 36px;
  vertical-align: middle;
  margin-top: -0.1em;
}

footer h1.footer-logo a:hover {
  opacity: 0.5;
  transition: 0.5s;
}

footer .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

footer .logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2em;
}

footer .logo-main {
  font-size: 1.3rem;
}

footer ul.inner {
  width: 60%;
  display: flex;
  justify-content: space-around;
  margin-left: 48px;
}

footer li a {
  font-size: 0.9rem;
  position: relative;
  font-family: var(--font-content);
  color: var(--white-color);
  display: inline-block;
}

footer li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange-color);
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.5s;
}

footer li a:hover::after {
  transform: scale(1, 1);
}

footer ul li ul {
  display: block;
  list-style-type: "- ";
  margin-left: 1em;
}

footer ul li ul li {
  margin-top: 8px;
}

footer small {
  display: block;
  font-size: 0.7rem;
  padding: 30px 0 15px;
  text-align: center;
}

@media screen and (max-width: 1000px) {
  footer h1 svg {
    fill: var(--white-color);
    width: 34px;
    vertical-align: middle;
    margin-top: -0.1em;
  }
  footer .logo-sub {
    font-size: 0.6rem;
    font-weight: 400;
    line-height: 1;
  }
  footer .logo-main {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  footer .wrapper {
    display: block;
    padding: 0;
  }
  footer h1.footer-logo {
    margin: 0 auto 40px;
    white-space: nowrap;
    transform: translateX(30%);
  }
  footer h1.footer-logo a {
    width: 100%;
    margin: 0 auto;
  }
  footer .logo-sub {
    text-align: left;
  }
  footer ul.inner {
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 80%;
    max-width: 100%;
    margin: 0 auto;
    white-space: nowrap;
  }
  footer ul.inner li.treatment {
    margin-left: 48px;
  }
  footer ul.inner li.about {
    margin-left: 48px;
  }
  footer ul.inner li.orthodontics {
    margin-left: 48px;
  }
  footer ul.inner li a {
    font-size: 1rem;
    position: relative;
  }
  footer ul li ul {
    display: block;
    list-style-type: "- ";
    margin-left: 1em;
  }
  footer ul li ul li {
    margin-top: 8px;
  }
  footer li a {
    font-size: 1.4rem;
    position: relative;
  }
  footer small {
    font-size: 0.6rem;
  }
}

@media screen and (max-width: 600px) {
  footer h1.footer-logo {
    transform: translateX(25%);
  }
  footer ul.inner li.treatment {
    margin-left: 40px;
  }
  footer ul.inner li.about {
    margin-left: 40px;
  }
  footer ul.inner li.orthodontics {
    margin-left: 40px;
  }
}

@media screen and (max-width: 500px) {
  footer h1.footer-logo {
    transform: translateX(20%);
  }
  footer ul.inner li.treatment {
    margin-left: 24px;
  }
  footer ul.inner li.about {
    margin-left: 32px;
  }
  footer ul.inner li.orthodontics {
    margin-left: 32px;
  }
}

@media screen and (max-width: 480px) {
  footer ul.inner li.treatment {
    margin-left: 8px;
  }
  footer ul.inner li.about {
    margin-left: 16px;
  }
  footer ul.inner li.orthodontics {
    margin-left: 16px;
  }
}

@media screen and (max-width: 400px) {
  footer ul.inner li.treatment {
    margin-left: 0px;
  }
  footer ul.inner li.about {
    margin-left: 0px;
  }
  footer ul.inner li.orthodontics {
    margin-left: 0px;
  }
}

.totop {
  position: fixed;
  right: 8px;
  bottom: 8px;
  margin-left: auto;
  color: var(--white-color);
  background: var(--main-color);
  line-height: 01;
  width: 64px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  opacity: 0;
  transform: translateX(72px);
}

.totop::before {
  content: "▲";
  font-size: 1.8rem;
  display: block;
  padding-top: 8px;
  text-align: center;
  margin-left: 2px;
}

.totop::after {
  content: "トップ";
  font-size: 0.7rem;
  font-weight: 500;
  margin-left: 15px;
}

.totop:hover {
  background: var(--orange-color);
  transition: 0.5s;
}

.totop.TopMove {
  animation: TopAnime 0.2s forwards;
}

.totop.SlowMove {
  animation: SlowAnime 0.2s forwards;
}

@keyframes TopAnime {
  0% {
    opacity: 0;
    transform: translateY(72px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes SlowAnime {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(72px);
  }
}

@media screen and (max-width: 768px) {
  .totop {
    width: 56px;
  }
  .totop::before {
    font-size: 1.7rem;
    margin-left: 1px;
  }
  .totop::after {
    font-size: 0.65rem;
    margin-left: 12px;
  }
}
