:root {
  --sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
    "Nimbus Sans L", Roboto, Noto, "Segoe UI", Arial, Helvetica,
    "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Meiryo", "Roboto", sans-serif;
  --mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;

  /* Default theme */
  --bg: #ffffff;
  --accent-bg: #f5f7ff;
  --text: #212121;
  --text-light: #585858;
  --border: #d8dae1;
  --accent: #0d47a1;
  --code: #d81b60;
  --preformatted: #444;
  --marked: #cbfffc;
  --disabled: #efefef;
  --nav: #dcdcdc;
}

html {
  font-family: var(--sans-font);
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.85;
  display: grid;
  grid-template-columns: 1fr min(80rem, 98%) 1fr;
  margin: 0;
}

body > * {
  grid-column: 2;
}

p {
  margin: 0.25rem 0;
  letter-spacing: normal;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
}

h1 {
  font-weight: 600;
  text-align: center;
  font-size: 2rem;
}
h2 {
  font-weight: 600;
  font-size: 1.25rem;
  padding: 0.5em 1em;
  background-color: #e1eef5;
  box-shadow: 5px -5px #4c9ac0;
  position: relative;
}
h3 {
}
h4 {
}
h5 {
}
h6 {
}

@media screen and (min-width: 750px) {
  h1 {
    font-weight: 700;
    font-size: 3rem;
  }
  h2 {
    margin-bottom: 3rem;
  }
}

/* commoms */
.margin1 {
  margin: 1rem;
}
.margin125 {
  margin: 1.25rem;
}
.margin150 {
  margin: 1.5rem;
}
.margin175 {
  margin: 1.75rem;
}
.margin2 {
  margin: 2rem;
}

.mt1 {
  margin-top: 1rem;
}
.mt2 {
  margin-top: 2rem;
}
.mt3 {
  margin-top: 3rem;
}
.mt4 {
  margin-top: 4rem;
}
.mt5 {
  margin-top: 5rem;
}

.padding-025 {
  padding: 0.25rem;
}
.padding-05 {
  padding: 0.5rem;
}
.padding-1 {
  padding: 1rem;
}

.rt {
  text-align: right;
}
.lt {
  text-align: left;
}
.center {
  text-align: center;
}

.p-center {
  width: fit-content;
  margin: 0 auto;
}

.flex {
  display: flex;
}
.item-center {
  align-items: center;
  justify-content: center;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}

.small-text {
  font-size: 0.8rem;
}

.wrapper {
  padding: 0 1.5rem;
}

@media screen and (min-width: 750px) {
}

/* area */

header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 60px;
  padding: 0.5rem 0;
  align-items: center;
  justify-items: center;
}

header a {
  display: block;
  margin: 1rem 0.5rem;
  text-align: center;
  color: #666;
  font-size: 12px;
}

.mobile {
  width: 120px;
  letter-spacing: 0.4em;
}

.pc {
  display: none;
}

main {
}

footer {
  margin-top: 5rem;
  padding-top: 1rem;
  padding-bottom: 5rem;
  border-top: solid 1px #ccc;
  text-align: center;
  font-size: 0.8em;
  color: #7d7d7d;
}

footer img {
  width: 50%;
}

@media screen and (min-width: 750px) {
  header {
    height: max-content;
  }

  header a {
    font-size: 18px;
  }

  main {
    width: 80vw;
    margin: 0 auto;
  }

  .mobile {
    display: none;
  }

  .pc {
    display: block;
    letter-spacing: 0.25rem;
  }
  .pc img {
    width: 400px;
  }

  footer img {
    width: 300px;
  }
}

/* sections */

section {
  margin-bottom: 5rem;
}

#news {
  margin: 2rem 0;
}

.news-box {
  position: relative;
  margin: 0 auto;
  padding: 25px 10px 7px;
  background-color: var(--marked);
  outline-width: 1px;
  outline-offset: 0;
  outline-color: rgba(0, 130, 206, 0.75);
  outline-style: solid;
  animation: animateOutline 1.5s ease infinite;
}
.news-box .newsBox-title {
  position: absolute;
  display: inline-block;
  top: -2px;
  left: -2px;
  padding: 0 9px;
  height: 25px;
  line-height: 25px;
  font-size: 17px;
  background: #2589d0;
  color: #ffffff;
  font-weight: bold;
}
.news-box p {
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  font-size: 1.25rem;
}

@keyframes animateOutline {
  0% {
    outline-width: 1px;
    outline-offset: 0;
    outline-color: rgba(0, 130, 206, 0);
  }

  10% {
    outline-color: rgba(0, 130, 206, 0.75);
  }

  50% {
    outline-width: 7px;
    outline-offset: 4px;
    outline-color: rgba(0, 130, 206, 0);
  }

  100% {
    outline-width: 7px;
    outline-offset: 4px;
    outline-color: rgba(102, 102, 102, 0);
  }
}

#first-view {
}
.title {
  position: relative;
}

.title span {
  position: relative;
  z-index: 2;
}

.title::before {
  content: attr(data-en);
  position: absolute;
  overflow: hidden;
  top: 20px;
  left: 48%;
  transform: translateX(-50%);
  color: rgba(66, 150, 224, 0.2);
  font-size: 3rem;
  font-style: italic;
}

.top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

#google-meet {
}

.pc-google-meet {
  display: none;
}

.google-meet a {
  display: inline-block;
  margin: 1rem 10px;
}

.google-meet p {
}
.google-meet > p > img {
  vertical-align: top;
  height: 25px;
  width: fit-content;
}

.app-store img,
.google-play-badge img {
  width: 150px;
}

#items {
}

.shosin p,
.saisin p {
  font-size: 1.2rem;
  font-weight: 500;
}

.item-notice {
  margin-top: 1rem;
  padding: 0.5rem;
  background-color: rgb(250, 226, 229);
  opacity: 0.8;
  border-radius: 6px;
  font-size: 1rem;
  text-align: left;
}

.item-notice span {
  font-size: 1.2em;
  font-weight: 600;
  text-decoration: underline 4px red;
}

.saisin .item-notice {
  background-color: lightcyan;
}

.item-card {
  margin: 0.5rem 0;
  padding: 1rem;
  border: solid 1px #acacac;
  border-radius: 6px;
  background-color: #fff;
  text-align: center;
}
.item-card span {
  padding: 0.5rem 1rem;
  background-color: darkblue;
  color: var(--accent-bg);
  border-radius: 24px;
  font-weight: 500;
  font-size: 1.25rem;
}

.form-btn {
  display: block;
  width: fit-content;
  margin: 1rem auto;
  padding: 1rem;
  background-color: #6f00ff;
  color: #fff;
  border-radius: 8px;
}

.form-btn02 {
  display: block;
  width: fit-content;
  margin: 1rem auto;
  padding: 1rem;
  background-color: #6f00ff;
  color: #fff;
  border-radius: 8px;
}

.form-btn img,
.form-btn02 {
  width: 1rem;
  padding-left: 0.25rem;
}

#flow {
}

.slider-card {
  padding: 1rem;
  border: solid 1px #ccc;
  border-radius: 6px;
  text-align: center;
}

.flow-list > .accordion {
  max-width: 700px;
  margin: 0 auto;
}

.flow-list li {
  margin-top: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: dotted 5px #ccc;
}

.flow-drug span {
  font-size: 1.2rem;
  font-weight: 500;
}

.flow-drug ul {
  padding-left: 1rem;
}

#drug {
}
.drug img {
  max-width: 400px;
}
.drug-small {
  font-size: 0.9rem;
}

.todokusuri {
  width: fit-content;
  margin: 1rem auto;
}

#fee {
}

#fee ul {
  padding: 1rem 0;
  margin-bottom: 3rem;
}

#dr-calendar {
}

.dr-calendar {
  width: 100%;
  overflow-x: auto;
}

.dr-calendar > p {
  text-align: right;
}

.dr-calendar > table {
  display: block;
  overflow-x: auto;
  width: fit-content;
  margin: 0 auto;
  border-collapse: collapse;
  text-align: center;
  table-layout: fixed;
}

.dr-calendar td,
th {
  min-width: 7rem;
  border: 2px solid #666;
  padding: 1rem;
}

.calendar-sugano {
  background-color: peachpuff;
}

.calendar-oosawa {
  background-color: pink;
}

.calendar-tsuruta {
  background-color: #dfffba;
}

.calendar-matsumoto {
  background-color: lightcyan;
}

#closed-calendar {
  width: 100%;
}

.closed-calendar iframe {
  width: 100%;
  height: 500px;
}

#faq {
}

.registration {
  width: fit-content;
  margin: 1rem auto;
}

@media screen and (min-width: 750px) {
  .title::before {
    top: 80px;
    font-size: 5rem;
  }

  .pc-google-meet {
    display: block;
    text-align: center;
  }
  .pc-google-meet img {
    width: 40vw;
  }

  .item-grid-01 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .item-grid-02 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }

  #fee ul li {
    display: inline;
    margin: 0 0.5rem;
    padding: 2rem 1rem;
    border: solid 1px #ccc;
  }

  .registration {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

/* buttons */

.fixed-button {
  position: fixed;
  width: 100%;
  bottom: 0px;
  z-index: 99;
  padding: 0.5rem 0;
  background-color: #fff;
}

.fixed-button a {
  margin: 0 auto;
}

.application-button {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  border-radius: 32px;
  width: 80%;
  min-width: 200px;
  height: 60px;
  font-weight: 500;
  transition: 0.3s;
  background-image: linear-gradient(150deg, #adfbd9 10%, #2589d0);
}

.application-button:hover {
  opacity: 0.7;
}

@media screen and (min-width: 750px) {
  .application-button {
    width: 100%;
    max-width: 600px;
    height: 60px;
    border-radius: 32px;
    font-size: 24px;
  }
}

/* accordion */
.accordion {
  width: 100%;
}
.accordion:not([open]) {
  margin-bottom: 7px;
}
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  border-left: 5px solid #2589d0;
  background-color: #e6edf3;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #b6bdc3;
  border-right: 3px solid #b6bdc3;
  content: "";
  transition: transform 0.3s;
}
.accordion[open] summary::after {
  transform: rotate(225deg);
}
.accordion p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 1em 2em 2em 2em;
  color: #333333;
  transition: transform 0.5s, opacity 0.5s;
}
.accordion[open] p {
  transform: none;
  opacity: 1;
}

@media screen and (min-width: 980px) {
  .accordion {
    max-width: 800px;
    margin: 0 auto;
  }
}

/* slider */

.slider {
  width: 100%;
  margin: 0 auto 80px;
}

.slick-slide img {
  width: 100%;
  height: auto;
}

.mypattern .slick-slide {
  margin: 10px;
}

/*slick setting*/

.mypattern .slick-slide:not(.slick-center) {
  -webkit-filter: opacity(70%);
  -moz-filter: opacity(70%);
  -o-filter: opacity(70%);
  -ms-filter: opacity(70%);
  filter: opacity(70%);
  transition: 0.2s linear;
}

@media screen and (min-width: 750px) {
}

/* item-box */
.item-box {
  position: relative;
  margin: 2em 0;
  padding: 1.5em 1em 1em;
  border: solid 3px;
  border-radius: 8px;
}
.item-box .box-title {
  position: absolute;
  display: inline-block;
  top: -18px;
  left: 10px;
  padding: 0.5rem 1rem;
  line-height: 1;
  font-size: 1.25rem;
  border: solid 3px;
  border-radius: 24px;
  background: #fff;
  font-weight: 500;
}
.item-box p {
  margin: 0;
  padding: 0;
}

.shosin .item-box {
  border-color: #d81b60;
  background-color: lightpink;
}
.shosin .box-title {
  border-color: #d81b60;
}

.saisin .item-box {
  border-color: #2589d0;
  background-color: lightskyblue;
}
.saisin .box-title {
  border-color: #2589d0;
}

/* 同意書 */
.clip-box {
  position: relative;
  margin: 2em auto;
  padding: 2rem 1rem 0px 1rem;
  width: fit-content;
  height: 60px;
  background-color: #fff;
  color: #555555;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 1px #acacac;
}
.clip-box::before {
  position: absolute;
  content: "";
  top: -15px;
  right: 10px;
  height: 25px;
  width: 10px;
  border: 3px solid #555555;
  background-color: none;
  border-radius: 12px;
  box-shadow: 1px 1px 2px #999;
  transform: rotate(10deg);
  z-index: 1;
}
.clip-box::after {
  position: absolute;
  content: "";
  top: 0px;
  width: 10px;
  right: 20px;
  border: solid 5px #fff;
  z-index: 2;
}

.onshikaku img {
  max-width: 150px;
  margin: 3rem;
}

.mynumber-button {
  width: fit-content;
  margin: 3rem;
  padding: 1rem;
  border-radius: 8px;
  background-color: #2e53ac;
}

.mynumber-button a {
  color: #fff;
}
