@charset "utf-8";

/* style.css
 * Kidney - v1.0.0
 * Created : 2025-5-15
 * **************************************************
 * Reset
 * Root
 * HTML
 * Body
 * Header
 * Common
 * Content
 * Footer
 * Page Top
 * 
 * 更新履歴：
 * **************************************************
 */

/* Reset
------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}
h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-size: 100%;
  font-weight: normal;
}
ol, ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption, th {
  text-align: left;
}
address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal;
  font-weight: normal;
}
blockquote {
  quotes: none;
}
blockquote::before, blockquote::after {
  content: '';
  content: none;
}
fieldset, img {
  border: 0;
}
abbr, acronym {
  border: 0;
}
main {
  display: block;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}
figure {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Root
------------------------------------------------------------------ */
:root {
  --width-header: 1380px;
  --width-content: 1320px;
  --width-content-one-col: 1320px;
  --width-footer: 1240px;
  --color-main: #5a3717;
  --color-sub: #4b6619;
  --color-sub-elem: #afa599;
  --color-border: #c7c7c7;
  --color-marker: #86b71b;
  --color-header-bg: #f7f5f4;
  --color-main-bg: #f7f5f4;
  --color-footer-bg: #e8efdd;
  --color-footer-copyright-bg: #e1ebd2;
  --font-size-root: 100%;
  --font-size-global-nav: 1rem;
  --font-size-global-nav-sub: 0.875rem;
  --font-size-common-h2: 1.5rem;
  --font-size-common-p: 0.875rem;
  --font-size-common-note-li: 0.75rem;
  --font-size-common-footnote-li: 0.875rem;
  --font-size-footer-p: 0.875rem;
  --font-size-footer-dt: 0.875rem;
  --font-size-footer-dd: 0.875rem;
  --font-size-footer-th: 0.875rem;
  --font-size-footer-td: 0.9375rem;
  --font-size-footer-copyright: 0.75rem;
}

/* HTML
------------------------------------------------------------------ */
html {
  scroll-behavior: smooth;
  font-size: var(--font-size-root);
}

/* Body
------------------------------------------------------------------ */
body {
  overflow-x: hidden;
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-main);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.8;
  font-feature-settings: "pwid";
  line-break: strict;
}

/* Fade */
.fade {
  opacity: 0;
}
/* Fade Up */
.fade-up {
  animation-name: fadeUp;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Move */
@keyframes obj {
  0% {
    transform: translate(0, 0) rotate(-5deg);
  }
  50% {
    transform: translate(0, -5px) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(5deg);
  }
}

/* Header
------------------------------------------------------------------- */
#header {
  z-index: 3;
  position: relative;
  padding: 45px 20px 0 20px;
  background-color: var(--color-header-bg);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 15px 20px;
  max-width: var(--width-header);
  background-color: #fff;
  box-shadow: rgba(150, 150, 150, 0.1) 0px 10px 30px 0px;
  border-radius: 100vh;
}
/* Logo */
#header .logo {
  margin-left: 25px;
}
#header .logo img {
  width: 200px;
  height: auto;
  vertical-align: bottom;
}
@media screen and (max-width: 1320px) {
  #header .logo img {
    width: 190px;
  }
}
@media screen and (max-width: 1280px) {
  .header__inner {
    padding: 15px 10px;
  }
  #header .logo img {
    width: 160px;
  }
}
@media screen and (max-width: 1100px) {
  #header .logo img {
    width: 135px;
  }
}
/* Global Nav */
#global-nav {
  display: flex;
  flex-direction: column;
  margin: 0 20px 0 auto;
}
.global-nav__list {
  order: 2;
  display: flex;
  column-gap: 5px;
}
.global-nav__list a,
.global-nav__list span {
  display: block;
  padding: 5px 10px;
  font-size: var(--font-size-global-nav);
  font-family: "Noto Serif JP", serif;
  color: var(--color-main);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}
@media screen and (max-width: 1320px) {
  .global-nav__list a,
  .global-nav__list span {
    padding: 5px 8px;
    font-size: 87.5%;
  }
}
@media screen and (max-width: 1120px) {
  .global-nav__list a,
  .global-nav__list span {
    padding: 5px 6px;
  }
}
@media screen and (max-width: 1100px) {
  .global-nav__list a,
  .global-nav__list span {
    font-size: 81.25%;
  }
}
@media screen and (max-width: 1000px) {
  .global-nav__list a,
  .global-nav__list span {
    font-size: 75%;
  }
}
/* Global Nav 2nd */
.global-nav__list span[data-navi] {
  position: relative;
  z-index: 2;
  display: block;
  padding: 5px 10px;
}
@media screen and (max-width: 1320px) {
  .global-nav__list span[data-navi] {
    padding: 5px 8px;
  }
}
@media screen and (max-width: 1120px) {
  .global-nav__list span[data-navi] {
    padding: 5px 6px;
  }
}
.global-nav__list span[data-navi]::after {
  position: absolute;
  right: 50%;
  bottom: -2px;
  margin: auto;
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-top: var(--color-sub-elem) 2px solid;
  border-right: var(--color-sub-elem) 2px solid;
  transform: rotate(135deg);
}
.global-nav__list span[data-navi].active::after {
  bottom: -5px;
  transform: rotate(-45deg);
}
.global-nav__list span[data-navi]:hover {
  cursor: pointer;
}
.global-nav__list-sec {
  z-index: 2;
  display: none;
  position: absolute;
  top: 110px;
  margin-left: 10px;
  padding: 20px 20px 20px 20px;
  border: 1px solid #e0dedc;
  background-color: #fff;
  box-shadow: rgba(150, 150, 150, 0.2) 0px 10px 30px 0px;
  border-radius: 5px;
}
.global-nav__list-sec a {
  padding: 3px 10px;
  font-size: 93.75%;
}
.global-nav__list-sec li + li {
  margin-top: 5px;
}
/* Sub links */
.global-nav__list-sub {
  order: 1;
  display: flex;
  justify-content: flex-end;
  column-gap: 5px;
  margin: -58px 5px 18px 0;
}
.global-nav__list-sub a {
  display: block;
  padding: 5px 10px;
  font-size: var(--font-size-global-nav-sub);
  font-family: "Noto Serif JP", serif;
  color: var(--color-main);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}

/* SP Btn */
.sp-nav {
  display: none;

}

/* Common
------------------------------------------------------------------- */
/* Break */
.br-sp {
  display: none;
}
.br-pc {
  display: block;
}

/* Content
------------------------------------------------------------------- */
.content__inner {
  margin: 0 auto;
  padding: 0 30px;
  max-width: var(--width-content);
}

/* Footer
------------------------------------------------------------------- */
#home #footer {
  margin-top: 120px;
}
#subpage #footer {
  margin-top: 100px;
}
#footer .footer-path-top {
  fill: var(--color-footer-bg);
  fill-opacity: 1;
}
.footer-bg {
  margin-top: -20px;
  background-color: var(--color-footer-bg);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  column-gap: 20px;
  margin: 0 auto;
  padding: 50px 40px 60px 40px;
  max-width: var(--width-footer);
}
#home .footer__inner {
  padding: 230px 40px 60px 40px;
}
/* 住所・電話番号・FAX番号 */
.ft-address-info {
  flex: 1;
  margin-top: 20px;
}
.ft-address-info p {
  font-size: var(--font-size-footer-p);
  font-family: "Noto Serif JP", serif;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.ft-address-info p span {
  font-size: 150%;
}
.ft-address-info dl {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  width: 100%;
}
.ft-address-info dt {
  margin-bottom: 2px;
  width: 6.0em;
  font-size: var(--font-size-footer-dt);
  font-weight: 700;
}
.ft-address-info dd {
  width: calc(100% - 6.0em);
  margin-bottom: 2px;
  font-size: var(--font-size-footer-dd);
}
.ft-address-info dd br {
  display: none;
}
@media screen and (max-width: 1080px) {
  .ft-address-info dd br {
    display: block;
  }
}

/* 外来診察予定表 */
.ft-consult-info {
  flex: 1.25;
  margin-top: 20px;
}
@media screen and (max-width: 1000px) {
  .ft-consult-info {
    flex: 1.5;
  }
}
.ft-consult-info table {
  width: 100%;
  border: 1px solid var(--color-main);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
}
.ft-consult-info table caption {
  font-size: 125%;
  font-family: "Noto Serif JP", serif;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.ft-consult-info th {
  border-bottom: 1px solid var(--color-main);
  font-weight: 700;
}
.ft-consult-info th,
.ft-consult-info td {
  padding: 4px 5px;
  border-left: 1px solid var(--color-main);
}
.ft-consult-info thead th {
  background-color: #efedeb;
  font-size: var(--font-size-footer-th);
  text-align: center;
}
.ft-consult-info th:first-child {
  border-left: none;
}
.ft-consult-info thead th:first-child {
  border-radius: 6px 0 0 0;
}
.ft-consult-info thead th:last-child {
  border-radius: 0 6px 0 0;
}
.ft-consult-info tbody th {
  font-size: var(--font-size-footer-th);
  width: 12%;
  text-align: center;
}
.ft-consult-info tbody td {
  border-bottom: 1px solid var(--color-main);
  width: calc((100% - 12%) / 5);
  font-size: var(--font-size-footer-td);
  text-align: center;
}
@media screen and (max-width: 980px) {
  .ft-consult-info td {
    font-size: 0.875rem;
  }
}
.ft-consult-info tbody tr:last-child th,
.ft-consult-info tbody tr:last-child td {
  border-bottom: none;
}
.ft-consult-info dl {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  width: 100%;
}
.ft-consult-info dt {
  position: relative;
  margin-bottom: 2px;
  padding-left: 20px;
  width: calc(6.0em + 20px);
  font-size: var(--font-size-footer-dt);
  font-weight: 700;
}
.ft-consult-info dt::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--color-marker);
  border-radius: 50%;
}
.ft-consult-info dd {
  width: calc(100% - 6.0em - 20px);
  margin-bottom: 2px;
  font-size: var(--font-size-footer-dd);
}
.ft-consult-info dd:last-child br {
  display: none;
}
.ft-consult-info .note {
  margin-top: 10px;
}
.ft-consult-info .note li {
  margin-left: 1em;
  font-size: var(--font-size-common-note-li);
  text-indent: -1em;
}
/* Copyright */
#footer .copyright {
  padding: 30px 0 40px 0;
  background-color: var(--color-footer-copyright-bg);
  font-size: var(--font-size-footer-copyright);
  text-align: center;
}

/* PageTop
------------------------------------------------------------------ */
#page-top {
  display: none;
}

@media screen and (max-width: 980px) {
  /* Root
  ------------------------------------------------------------------ */
  :root {
    --width-header: auto;
    --width-content: auto;
    --width-footer: auto;

    --font-size-body: 0.875rem;
    --font-size-global-nav: 0.875rem;
    
    --font-size-global-nav-sub: 0.875rem;

    --font-size-global-nav-sp: 0.625rem;

    --font-size-footer-p: 0.875rem;
    --font-size-footer-dt: 0.75rem;
    --font-size-footer-dd: 0.75rem;
    --font-size-footer-th: 0.75rem;
    --font-size-footer-td: 0.75rem;
    --font-size-footer-copyright: 0.625rem;
  }
  
  /* Body
  ------------------------------------------------------------------ */
  body {
    min-width: auto;
  }
  body.fix {
    position: fixed;
    width: 100%;
  }

  /* SP Btn */
  .sp-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: absolute;
    top: 22px;
    right: 20px;
    width: 55px;
    height: 35px;
    border: 1px solid var(--color-main);
    background: #fff;
    border-radius: 50px;
    color: var(--color-main);
    font-size: var(--font-size-global-nav-sp);
    font-weight: 700;
    cursor: pointer;
  }

  /* Global Nav */
  #global-nav {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    overflow-x: hidden;
    position: fixed; left: 0; top: 80px;
    display: block;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 0;
    padding: 0 15px;
    transition: 0.2s;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
  #global-nav.open {
    opacity: 1;
    visibility: visible;
    z-index: 99999;
    overflow-y: scroll;
    padding-bottom: 30px;
    height: -webkit-calc(100% - 80px);
    height: calc(100% - 80px);
    background-color: var(--color-header-bg);
    -webkit-overflow-scrolling: touch;
  }
  .global-nav__list {
    order: 1;
    display: block;
    column-gap: normal;
  }
  .global-nav__list > li {
    background-color: #fff;
  }
  .global-nav__list > li:first-child {
    margin-top: 15px;
  }
  .global-nav__list > li + li {
    margin-top: 10px;
  }
  .global-nav__list a,
  .global-nav__list span {
    padding: 15px 15px 15px 15px;
    background-color: #fff;
    border-radius: 2px;
    font-size: var(--font-size-global-nav);
  }
  .global-nav__list span[data-navi] {
    padding: 15px 15px 15px 15px;
  }
  .global-nav__list span[data-navi]::after {
    position: absolute;
    right: 10px;
    bottom: 50%;
  }
  .global-nav__list span[data-navi].active::after {
    bottom: 50%;
  }
  .global-nav__list-sec {
    position: static;
    top: 0;
    margin: 0 0;
    padding: 0 15px 20px 15px;
    border: none;
    box-shadow: none;
    border-radius: 0 0 2px 2px;
  }
  .global-nav__list-sec li + li {
    margin-top: 10px;
  }
  .global-nav__list-sec a {
    padding: 8px 15px;
    border: 1px solid #eee;
  }
  /* Sub links */
  .global-nav__list-sub {
    order: 2;
    display: block;
    justify-content: normal;
    column-gap: normal;
    margin: 0 0 0 0;
  }
  .global-nav__list-sub > li:first-child {
    margin-top: 10px;
  }
  .global-nav__list-sub > li + li {
    margin-top: 10px;
  }
  .global-nav__list-sub a {
    display: block;
    padding: 15px 15px 15px 15px;
    background-color: #fff;
    border-radius: 2px;
    font-size: var(--font-size-global-nav);
  }
  
  /* Header
  ------------------------------------------------------------------- */
  #header {
    padding: 15px 10px 0 10px;
    background-color: var(--color-header-bg);
  }
  .header__inner {
    display: block;
    justify-content: normal;
    align-items: normal;
    padding: 10px 10px;
    max-width: var(--width-header);
  }
  /* Logo */
  #header .logo {
    margin-left: 15px;
  }
  #header .logo img {
    width: 120px;
  }

  /* Common
  ------------------------------------------------------------------- */
  /* Break */
  .br-sp {
    display: block;
  }
  .br-pc {
    display: none;
  }

  /* Table Scroll */
  .table-scroll {
    overflow-x: auto;
  }
  .table-scroll table {
    width: 100%;
  }

  /* Content
  ------------------------------------------------------------------- */
  .content__inner {
    margin: 0;
    padding: 10px 15px;
    max-width: none;
  }





  /* Footer
  ------------------------------------------------------------------- */
  #footer {
    margin-top: 100px;
  }
  .footer__inner {
    display: block;
    justify-content: normal;
    column-gap: normal;
    margin: 0 auto;
    padding: 60px 20px 40px 20px;
    max-width: none;
  }
  #home .footer__inner {
    padding: 200px 20px 50px 20px;
  }
  /* 住所・電話番号・FAX番号 */
  .ft-address-info {
    flex: auto;
    margin-top: 0;
  }
  .ft-address-info p {
    font-size: var(--font-size-footer-p);
  }
  .ft-address-info p span {
    font-size: 150%;
  }
  .ft-address-info dl {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  .ft-address-info dt {
    margin-bottom: 2px;
    width: 6.0em;
    font-size: var(--font-size-footer-dt);
  }
  .ft-address-info dd {
    width: calc(100% - 6.0em);
    margin-bottom: 2px;
    font-size: var(--font-size-footer-dd);
  }
  /* 外来診察予定表 */
  .ft-consult-info {
    flex: auto;
    margin-top: 30px;
  }
  .ft-consult-info table {
    width: 100%;
    border: 1px solid var(--color-main);
    border-radius: 6px;
  }
  .ft-consult-info th {
    padding: 4px 3px;
    border-bottom: 1px solid var(--color-main);
  }
  .ft-consult-info th,
  .ft-consult-info td {
    border-left: 1px solid var(--color-main);
  }
  .ft-consult-info thead th {
    font-size: var(--font-size-footer-th);
  }
  .ft-consult-info thead th:first-child {
    border-radius: 6px 0 0 0;
  }
  .ft-consult-info thead th:last-child {
    border-radius: 0 6px 0 0;
  }
  .ft-consult-info tbody th {
    padding: 4px 2px;
    font-size: var(--font-size-footer-th);
    width: 3.8em;
    letter-spacing: 0.01em;
  }
  .ft-consult-info tbody td {
    padding: 4px 2px;
    font-size: var(--font-size-footer-td);
    letter-spacing: 0.01em;
  }
  .ft-consult-info dl {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    width: 100%;
  }
  .ft-consult-info dt {
    margin-bottom: 2px;
    padding-left: 20px;
    width: calc(6.0em + 20px);
    font-size: var(--font-size-footer-dt);
  }
  .ft-consult-info dt::before {
    top: 0.5em;
    width: 12px;
    height: 12px;
    background-color: var(--color-marker);
  }
  .ft-consult-info dd {
    width: calc(100% - 6.0em - 20px);
    margin-bottom: 2px;
    font-size: var(--font-size-footer-dd);
  }
  .ft-consult-info dd:last-child br {
    display: block;
  }
  .ft-consult-info .note {
    margin-top: 5px;
  }
  .ft-consult-info .note li {
    font-size: var(--font-size-common-note-li);
  }
  /* Copyright */
  #footer .copyright {
    padding: 20px 0 30px 0;
    font-size: var(--font-size-footer-copyright);
  }
}
