/*
Theme Name: yawatajyuku-pc
Template: base-pc
*/

@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;600;700&display=swap");

:root {
  --yawata-background: #eaf8f9;
  --yawata-background-strong: #d5ecf2;
  --yawata-treatment-background: #d5edf2;
  --yawata-teal: #37b3b2;
  --yawata-teal-dark: #079e9b;
  --yawata-blue: #347fd2;
  --yawata-navy: #103f7e;
  --yawata-text: #333333;
  --yawata-line: #b8cbd0;
  --yawata-white: #fff;
  --yawata-wrapper: 1000px;
  --yawata-radius: 20px;
}

html,
body {
  min-width: var(--yawata-wrapper);
}

body {
  margin: 0;
  background: var(--yawata-white);
  color: var(--yawata-text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body * {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid #f4b942;
  outline-offset: 4px;
}

.wrapper {
  padding-bottom: 50px;
}

.site-main {
  width: 100%;
  overflow: clip;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--yawata-navy);
  color: var(--yawata-white);
}

.skip-link:focus {
  transform: translateY(0);
}

.is-disabled {
  cursor: default;
  opacity: 0.72;
}

/* Header contact information */
.clinic-contact {
  background: var(--yawata-white);
}

nav.mega-global ul {
  padding: 0;
}

.sidebar {
  margin-bottom: 50px;
}

.clinic-contact__inner.wrapper {
  display: grid;
  grid-template-columns: 331px 229px 320px;
  justify-content: space-between;
  align-items: start;
  width: var(--yawata-wrapper);
  min-height: 240px;
  padding: 20px 0 8px;
  overflow: visible;
}

.clinic-contact__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin: 0 0 8px;
  padding: 0;
}

.clinic-contact__features li {
  min-height: 26px;
  border: 1px solid var(--yawata-teal);
  border-radius: 14px;
  color: var(--yawata-teal-dark);
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}

.clinic-contact__features li:last-child {
  grid-column: 1 / -1;
}

.clinic-contact__schedule > img {
  width: 331px;
}

.clinic-contact__logo {
  padding-top: 6px;
  text-align: center;
}

.clinic-contact__logo img {
  width: 229px;
  margin: 0 auto 10px;
}

.clinic-contact__logo p {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  background: #2dacab;
  color: var(--yawata-white);
  font-size: 15px;
  line-height: 1.2;
}

.clinic-contact__reservation {
  text-align: center;
}

.reservation-link {
  display: block;
}

.reservation-link img {
  width: 320px;
}

.clinic-contact__priority {
  margin: 10px 0 0;
  padding: 5px;
  background: #ffe6dc;
  color: #d1502e;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.clinic-contact__tel {
  display: inline-block;
  margin-top: 4px;
  padding-left: 36px;
  background: url("./images/common/tel.png") no-repeat left center / 30px 40px;
  color: #009e96;
  font-family: Arial, sans-serif;
  font-size: 45px;
  line-height: 1.15;
  text-decoration: none;
}

.clinic-contact__address {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  text-align: right;
}

/* Hero */
.hero-section {
  min-height: 1000px;
  background: var(--yawata-background);
}

.hero-visual {
  position: relative;
  width: 1432px;
  height: 750px;
  margin: 0 auto;
}

.hero-visual__image {
  width: 1432px;
  height: 750px;
}

.hero-visual h2 {
  position: absolute;
  top: 446px;
  left: 290px;
  width: 680px;
  margin: 0;
}

.hero-points {
  width: 976px;
  margin: 0 auto;
}

/* Six reasons */
.reasons-section {
  background: var(--yawata-background);
}

.reasons-heading {
  padding: 60px 0 75px;
  text-align: center;
}

.reasons-heading h2 {
  margin: 0;
}

.reasons-heading img {
  width: 522px;
  margin: 0 auto;
}

.reasons-introduction {
  height: 400px;
  background: var(--yawata-background-strong);
}

.reasons-introduction__inner.wrapper {
  position: relative;
  height: 400px;
  overflow: visible;
}

.reasons-introduction__text {
  width: 500px;
  padding-top: 60px;
}

.reasons-introduction__text p {
  margin: 0;
  font-size: 16px;
  line-height: 2.45;
}

.reasons-introduction__image {
  position: absolute;
  top: -30px;
  right: 0;
  width: 500px;
}

.reason-list {
  padding: 110px 0 110px;
  background: var(--yawata-background) url("./images/top/top02-bg01.png")
    no-repeat center 60px / 1472px 2619px;
}

.reason-card {
  display: grid;
  grid-template-columns: 470px 470px;
  gap: 60px;
  align-items: center;
  min-height: 420px;
  margin-bottom: 20px;
}

.reason-card:last-child {
  margin-bottom: 0;
}

.reason-card--image-right .reason-card__image {
  grid-column: 2;
  grid-row: 1;
}

.reason-card--image-right .reason-card__content {
  grid-column: 1;
  grid-row: 1;
}

.reason-card__image img {
  width: 470px;
  border-radius: var(--yawata-radius);
}

.reason-card__content {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
}

.reason-card__number {
  grid-column: 1;
  grid-row: 1 / span 2;
  flex: 0 0 auto;
  margin: -4px 16px 0 0;
  color: var(--yawata-blue);
  font-family:
    "TsukuARdGothic-Regular", "TsukuARdGothic", "筑紫A丸ゴシック",
    "Zen Maru Gothic", sans-serif;
  font-size: 76px;
  font-weight: 600;
  line-height: 1;
}

.reason-card__body {
  display: contents;
}

.reason-card__eyebrow {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 5px;
  color: var(--yawata-navy);
  font-size: 18px;
  line-height: 1.5;
}

.reason-card h3 {
  grid-column: 2;
  grid-row: 2;
  margin: 0 0 20px;
  color: var(--yawata-navy);
  font-size: 27px;
  line-height: 1.35;
}

.reason-card__body > p:not(.reason-card__eyebrow) {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0 0 22px;
  color: #333333;
  font-size: 18px;
  line-height: 2;
}

.reason-card__body > .image-button {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: start;
}

.reason-card--image-left .reason-card__body > .image-button {
  justify-self: end;
}

.image-button {
  display: inline-block;
}

.image-button img {
  border-radius: 25px;
}

/* Treatment */
.treatment-section {
  padding-top: 1px;
  background: var(--yawata-treatment-background)
    url("./images/top/top03-bg01.png") no-repeat center top / 2000px 800px;
}

.treatment-introduction {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 40px;
  align-items: center;
  min-height: 800px;
  padding: 90px 0 70px;
  overflow: visible;
}

.treatment-introduction__image img {
  width: 493px;
}

.treatment-introduction__content h2 {
  margin: 0 0 28px;
}

.treatment-introduction__content h2 img {
  width: 347px;
}

.treatment-introduction__content p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 2.15;
}

.primary-treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, 480px);
  gap: 40px;
  padding: 42px 0 110px;
  overflow: visible;
}

.treatment-card {
  position: relative;
  min-height: 445px;
  border-radius: 25px;
  background: var(--yawata-teal);
  overflow: hidden;
}

.treatment-card > a {
  display: block;
  min-height: 445px;
  padding: 18px 30px 22px;
  color: var(--yawata-white);
  text-decoration: none;
}

.treatment-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: 0 0 8px;
}

.treatment-card h3 img {
  max-height: 34px;
  width: auto;
}

.treatment-card__photo {
  width: 420px;
  border-radius: 13px;
  background: var(--yawata-white);
}

.treatment-card ol {
  margin: 5px 0 0;
  padding: 0;
  counter-reset: treatment-card;
}

.treatment-card li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 8px 0 8px 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 18px;
  line-height: 1.35;
}

.treatment-card li:last-child {
  padding-right: 50px;
  border-bottom: 0;
}

.treatment-card li::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--yawata-white);
  color: var(--yawata-teal);
  content: counter(treatment-card);
  counter-increment: treatment-card;
  font-size: 16px;
  font-weight: 700;
  transform: translateY(-50%);
}

.treatment-card__arrow {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 40px;
}

.secondary-treatment-area {
  padding: 72px 0;
  background: #c6ebee;
}

.secondary-treatment-grid.wrapper {
  display: grid;
  grid-template-columns: repeat(3, 326px);
  gap: 16px 11px;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}

.secondary-treatment-grid li:nth-child(7) {
  grid-column: 1;
}

.secondary-treatment-grid li,
.secondary-treatment-grid a,
.secondary-treatment-grid span {
  display: block;
}

.secondary-treatment-grid img {
  width: 326px;
  border-radius: 10px;
}

/* Director message */
.message-section {
  min-height: 991px;
  background: #f0e0d0 url("./images/top/top05-bg01.jpg") no-repeat center top /
    2000px 991px;
}

.message-section__inner {
  padding-top: 70px;
  overflow: visible;
}

.message-section h2 {
  width: 619px;
  margin: 0 0 32px;
}

.message-section__text {
  width: 690px;
}

.message-section__text p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 2.2;
}

.message-section__footer {
  display: flex;
  align-items: center;
  gap: 165px;
  width: 690px;
  margin-top: 34px;
}

.message-section__footer > img {
  width: 199px;
}

.message-section__footer a img {
  width: 300px;
}

/* Dynamic post lists */
.posts-section {
  min-height: 660px;
  padding: 110px 0 60px;
  background: var(--yawata-background);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 480px);
  gap: 40px;
  overflow: visible;
}

.post-panel h2 {
  margin: 0 0 5px;
}

.post-panel h2 img {
  width: 480px;
}

.post-list dl {
  margin: 0;
}

.post-list__item {
  min-height: 74px;
  padding: 10px 0;
  border-bottom: 1px solid var(--yawata-line);
}

.post-list__item:last-child {
  border-bottom: 0;
}

.post-list__item dt {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.post-list__item dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.post-list__item a {
  text-decoration: none;
}

.post-list__item a:hover {
  text-decoration: underline;
}

.post-list__empty {
  min-height: 350px;
  margin: 0;
  padding: 30px 0;
  border-bottom: 1px solid var(--yawata-line);
}

.post-panel__more {
  display: block;
  width: 110px;
  margin: 10px auto 0;
}

.news-section {
  min-height: 600px;
  padding: 100px 0;
  background: linear-gradient(100deg, var(--yawata-blue), var(--yawata-teal));
  color: var(--yawata-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 480px);
  gap: 40px;
  align-items: start;
  overflow: visible;
}

.news-panel h2 {
  margin: 0 0 24px;
  font-size: 28px;
  letter-spacing: 0.04em;
  line-height: 28px;
}

.post-list--news .post-list__item {
  border-color: rgba(255, 255, 255, 0.35);
}

.calendar-frame {
  display: block;
  width: 480px;
  height: 420px;
  border: 0;
  background: var(--yawata-white);
}

/* Clinic overview */
.clinic-section {
  background: var(--yawata-background);
}

.clinic-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 440px;
  background: url("./images/top/top06-bg01.jpg") no-repeat center / cover;
}

.clinic-visual h2 {
  margin: 40px 0 0;
}

.clinic-visual h2 img {
  width: 697px;
}

.clinic-details {
  padding: 90px 0 120px;
  overflow: visible;
}

.clinic-details__summary,
.clinic-details__introduction,
.clinic-details__access {
  display: grid;
  grid-template-columns: repeat(2, 480px);
  gap: 40px;
}

.clinic-details__summary {
  align-items: center;
  margin-bottom: 80px;
}

.clinic-details table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.clinic-details th,
.clinic-details td {
  padding: 14px 8px;
  border: 0;
  border-bottom: 1px solid var(--yawata-line);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  vertical-align: middle;
}

.clinic-details tr:first-child th,
.clinic-details tr:first-child td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.clinic-details tr:last-child th,
.clinic-details tr:last-child td {
  border-bottom: 0;
}

.clinic-details th {
  width: 95px;
  font-weight: 400;
}

.clinic-details__tel {
  color: var(--yawata-teal-dark);
  font-family: Arial, sans-serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.clinic-details__summary > img {
  width: 480px;
}

.clinic-details__introduction {
  align-items: start;
  margin-bottom: 60px;
}

.clinic-details__introduction > img {
  width: 480px;
}

.clinic-details__introduction p,
.clinic-details__access p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 2.15;
}

.clinic-details__access iframe {
  width: 480px;
  height: 400px;
  border: 0;
}

/* -----------------------------------------------------------
Footer
----------------------------------------------------------- */

body footer#footer {
	margin-top: 0 !important;
	padding-top: 0 !important;
	box-shadow: none;
}

/* 共通の.wrapperに設定された下余白をフッター内のみ解除 */
body footer#footer .wrapper {
	padding-bottom: 0;
}

/* フッター上部の医院情報 */
.clinic-contact--footer {
	padding-top: 22px;
}

.clinic-contact--footer .clinic-contact__inner {
	min-height: 245px;
	padding-bottom: 8px;
}

/* ページトップボタン */
.page-top {
	z-index: 20;
}

.page-top img {
	width: 70px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
  }
}
/* -----------------------------------------------------------
サイドメニューの表示調整
----------------------------------------------------------- */

.sidebar01 ul.sidenav,
.sidebar01 ul.sidenav ul,
.sidebar01 ul.sidenav li {
	margin: 0;
	padding: 0;
	list-style: none;
	list-style-type: none;
}

.sidebar01 ul.sidenav li {
	width: 100%;
}

.sidebar01 ul.sidenav li a {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

/* -----------------------------------------------------------
フッターリストの余白調整
----------------------------------------------------------- */

.ft-list ul {
	margin: 0;
	padding: 0;
}

.ft-list li {
	margin: 0;
	list-style: none;
	list-style-type: none;
}