.content {
  margin: 0 auto;
  padding: 80px 0;
  max-width: 1080px;
}
@media (max-width: 1160px) {
  .content {
    padding: 80px 40px;
  }
}
@media (max-width: 480px) {
  .content {
    padding: 60px 15px;
  }
}


/*==== メインビジュアル ====*/
#top {
  position: relative;
}
#top img {
  width: 100%;
}
#top .sp {
  display: none;
}
@media (max-width: 960px) {
  #top .pc {
    display: none;
  }
  #top .sp {
    display: block;
  }
}

.top-btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
}
.top-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 60px;
  border-radius: 100px;
  background: linear-gradient(135deg, #FF7F6E, #FFB347);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 20px rgba(255, 127, 110, 0.3), /* 外側の柔らかい影 */
    inset 0 2px 2px rgba(255, 255, 255, 0.5), /* 上部のハイライト */
    inset 0 -2px 10px rgba(0, 0, 0, 0.05); /* 下部のわずかな沈み込み */
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  color: #fff;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-btn a:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 127, 110, 0.4);
}
.top-btn a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.8s;
}
.top-btn a:hover::before {
  left: 150%;
}

.top-btn a::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 7.5px solid transparent;
  border-bottom: 7.5px solid transparent;
  border-left: 10px solid #fff;
}

/*==== 共感 ====*/
#empathy .content {
  padding: 0;
}
#empathy .sp {
  display: none;
}
#empathy h2 {
  padding: 20px;
  background: linear-gradient(135deg, #58B9B7, #7ED6D4);
  color: #fff;
  font-size: 3rem;
  line-height: 1.5;
  text-align: center;
}
@media (min-width: 768px) {
  #empathy {
    background-image: url('../img/empathy_bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}
@media (max-width: 767px) {
  #empathy {
    background: #F0FBFA;
  }
  #empathy .pc {
    display: none;
  }
  #empathy .sp {
    display: block;
  }
  #empathy h2 {
    display: none;
  }
}


/*==== わたしたちのパーパス ====*/
#purpose {
  padding-top: 80px;
  background: #F0FBFA;
}
.purpose-inner {
  background-image: url(../img/exterior.jpg);
  background-size: cover;
  background-position: center;
  padding: 60px 40px;
}
.purpose-inner div {
  margin: 0 auto;
  padding: 40px;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}
.purpose-inner div h3 {
  padding-bottom: 40px;
  color: #5db3bf;
  font-size: 5rem;
}
.purpose-inner div p {
  font-size: 2rem;
  line-height: 2;
}
@media (max-width: 767px) {
  .purpose-inner {
    padding: 30px 15px;
  }
}
@media (max-width: 480px) {
  .purpose-inner div {
    padding: 30px 15px;
  }
  .purpose-inner div h3 {
    padding-bottom: 30px;
    color: #5db3bf;
    font-size: 4rem;
  }
  .purpose-inner div p {
    font-size: 1.8rem;
    line-height: 1.8;
  }
}

.text1 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}
.text1 p {
  padding: 20px;
  background: linear-gradient(180deg, #58B9B7, #7ED6D4);
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  writing-mode: vertical-rl;
}
.text2 {
  margin: 60px auto 0;
  padding: 30px 40px;
  max-width: 1020px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px 25px 0 0;
}
.text2 p {
  font-size: 2rem;
  line-height: 2;
}
@media (max-width: 767px) {
  .text1 p {
    padding: 15px;
    font-size: 2rem;
  }
  .text2 {
    margin: 40px auto 0;
    padding: 10px 15px;
  }
  .text2 p {
    font-size: 1.4rem;
  }
}


/*==== 3つのこだわり ====*/
#commitment {
  background: #FFF4EC;
}
#commitment .content {
  max-width: 1000px;
}
.commitment-items {
  padding: 40px 0 0;
}
.commitment-item {
  display: flex;
  position: relative;
}
.commitment-item:nth-child(1),
.commitment-item:nth-child(2) {
  margin-bottom: 80px;
}
.commitment-text {
  position: relative;
  padding: 60px 40px;
  width: 60%;
  background: #fff;
  border-radius: 30px;
}
.commitment-text .number {
  position: absolute;
  top: 0;
  left: 40px;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 7rem;
  background: linear-gradient(135deg,#58B9B7 0%,#4FC3C8 40%,#3DA5F5 70%,#5B8CFF 100%);
  background-clip: text;
	-webkit-text-fill-color: transparent;
  letter-spacing: 0.2rem;
}
.commitment-text div {
  width: 80%;
}
.commitment-text h3 {
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.5;
}
.commitment-text h3 span {
  padding-top: 15px ;
  color: #5db3bf;
  font-weight: 700;
  font-size: 3.4rem;
}
.commitment-text p {
  font-size: 1.8rem;
}
.commitment-text img {
  display: none;
}
.commitment-img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
}
.commitment-item:nth-child(2) {
  flex-direction: row-reverse;
}
.commitment-item:nth-child(2) .commitment-text .number {
  left: 50%;
}
.commitment-item:nth-child(2) .commitment-text div {
  margin-left: auto;
}
.commitment-item:nth-child(2) .commitment-img {
  left: 0;
}
.commitment-item:nth-child(2) .commitment-img img {
  transform:rotate(3deg);
}
.commitment-item:nth-child(3) .commitment-img img {
  left: 0;
  transform:rotate(-3deg);
}
@media (max-width: 810px) {
  .commitment-item {
    display: block;
  }
  .commitment-item:nth-child(2) .commitment-text .number {
    left: 40px;
  }
  .commitment-text,
  .commitment-text div {
    width: 100%;
  }
  .commitment-text img {
    display: block;
  }
  .commitment-img {
    display: none;
  }
}
@media (max-width: 480px) {
  .commitment-text {
    padding: 40px 20px 20px;
    border-radius: 20px;
  }
  .commitment-text .number {
    font-size: 5rem;
  }
  .commitment-text h3 {
    padding-bottom: 20px;
    font-size: 1.8rem;
  }
  .commitment-text h3 span {
    font-size: 2.8rem;
  }
  .commitment-text p {
    padding-bottom: 20px;
    font-size: 1.6rem;
  }
}

/* カレンダー */
.calendar {
  margin-top: 40px;
}
.calendar h3 {
  margin-bottom: 20px;
  font-size: 3rem;
  text-align: center;
}
.calendar h3 + p {
  margin-bottom: 20px;
  text-align: center;
}
.calendar table + p {
  margin-top: 5px;
  text-align: right;
}
.calendar p span {
  padding: 5px;
  background: #c8ffc8;
}
.calendar p span:last-child {
  background: #ffff80;
}
.calendar table {
  width: 100%;
}
.calendar th,
.calendar td {
  padding: 10px;
  border: 1px solid #ccc;
}
.calendar tbody th {
  background: #efefef;
}
.calendar td {
  background: #fff;
  vertical-align: middle;
  text-align: center;
}
.calendar .sunday {
  background: #fdd;
  color: #f00;
}
.calendar .saturday {
  background: #e9f4fe;
  color: #1d39c0;
}
.calendar .holiday {
  background: #c8ffc8;
}
@media (min-width: 481px) {
  .calendar td {
    height: 50px;
  }
}

/*==== 1日の流れ ====*/
#schedule {
  background: #F0FBFA;
}
#schedule h2 + div {
  padding: 60px;
  background: #fff;
}

#schedule .flex {
  position: relative;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px;
  background: #F0FBFA;
  border-radius: 40px;
}
#schedule .flex::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 40px solid #F0FBFA;
  border-right: 40px solid transparent;
  border-left: 40px solid transparent;
}
#schedule .flex:last-child::after {
  content: none;
}
#schedule .flex:not(:last-of-type) {
  margin-bottom: 60px;
}
#schedule .flex div {
  padding-right: 30px;
  width: 60%;
}
#schedule .flex div h3 {
  padding-bottom: 15px;
  color: #2F6F73;
  font-size: 2.4rem;
}
#schedule .flex div p {
  font-size: 1.8rem;
  line-height: 1.8;
}
#schedule .flex img {
  width: 40%;
  border-radius: 15px;
}
@media (max-width: 767px) {
  #schedule h2 + div {
    padding: 30px;
  }
  #schedule .flex {
    display: block;
  }
  #schedule .flex div {
    padding-right: 0;
    padding-bottom: 20px;
    width: 100%;
  }
  #schedule .flex img {
    width: 100%;
  }
}
@media (max-width: 480px) {
  #schedule h2 + div {
    padding: 30px 15px;
  }
  #schedule .flex {
    padding: 15px;
    border-radius: 20px;
  }
  #schedule .flex::after {
    bottom: -30px;
    border-top: 30px solid #F0FBFA;
    border-right: 30px solid transparent;
    border-left: 30px solid transparent;
  }
  #schedule .flex:not(:last-of-type) {
    margin-bottom: 50px;
  }
  #schedule .flex div h3 {
    font-size: 2.2rem;
  }
  #schedule .flex div p {
    font-size: 1.6rem;
    line-height: 1.6;
  }
}


/*==== 魅力と待遇 ====*/
#stregths {
  background: #FFF4EC;
}
#stregths h2 {
  padding-top: 80px;
}
.stregths-inner {
  background-image: url(../img/stregths.jpg);
  background-position: center;
  background-color:rgba(255,255,255,0.5);
  background-blend-mode:lighten;
}
.stregths-inner .content {
  max-width: 960px;
}
.stregths-inner .grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stregths-inner ul.grid {
  gap: 30px;
}
.stregths-inner ul {
  margin-top: 80px;
}
.stregths-inner ul li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 45px 20px 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 3px 6px rgba(110, 110, 110, 0.5);
  z-index: 2;
}
.stregths-inner ul li::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-image: url(../img/check.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.stregths-inner ul li span {
  padding-bottom: 10px;
  background: linear-gradient(135deg,#58B9B7 0%,#4FC3C8 40%,#3DA5F5 70%,#5B8CFF 100%);
  background-clip: text;
	-webkit-text-fill-color: transparent;
  font-size: 2.4rem;
  font-weight: bold;
}
.stregths-inner ul li .sp {
  display: none;
}
@media (max-width: 767px) {
  .stregths-inner .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .stregths-inner .grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .stregths-inner ul.grid {
    gap: 10px;
  }
  .stregths-inner .grid li {
    width: calc(50% - 5px);
  }

  .stregths-inner ul li {
    padding: 30px 15px 15px;
  }
  .stregths-inner ul li::before {
    top: -25px;
    width: 50px;
    height: 50px;
  }
  .stregths-inner ul {
    margin-top: 60px;
  }
  .stregths-inner ul li {
    font-size: 1.4rem;
  }
  .stregths-inner ul li:last-child {
    margin-top: 25px;
  }
  .stregths-inner ul li span {
    font-size: 2rem;
    line-height: 1.4;
  }
  .stregths-inner ul li .pc {
    display: none;
  }
  .stregths-inner ul li .sp {
    display: block;
  }
}


/*==== 院長からのメッセージ ====*/
#message {
  background: #F0FBFA;
}
#message h2 + div {
  padding: 30px;
  background: #fff;
}
#message h3 {
  padding-bottom: 25px;
  color: #5db3bf;
  font-size: 3rem;
  line-height: 1.5;
  text-align: center;
}
#message h3 br {
  display: none;
}
#message .director-message {
  padding-right: 30px;
  width: 70%;
}
#message .director-message p {
  line-height: 2;
}
#message .director-message p:not(:last-of-type) {
  padding-bottom: 15px;
}
#message .director {
  padding-top: 20px;
  text-align: right;
}
#message .director div {
  display: inline-block;
  text-align: left;
}
#message .director div p {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.5;
}
#message .director div p span {
  padding-left: 10px;
  font-size: 2.4rem;
  font-weight: 600;
}
#message figure {
  width: 30%;
  color: #fff;
  text-align: center;
  line-height: 1;
}
@media (max-width: 767px) {
  #message h2 + div {
    padding: 20px;
  }
  #message h3 {
    font-size: 2.4rem;
  }
  #message h3 br {
    display: block;
  }
  #message .flex {
    flex-direction: column-reverse;
  }
  #message .director-message {
    padding-right: 0;
    padding-top: 20px;
    width: 100%;
  }
  #message figure {
    width: 100%;
  }
  #message figure img {
    width: 90%;
  }
}


/*==== スタッフインタビュー ====*/
#interview {
  background: #FFF4EC;
}
#interview .grid {
  grid-template-columns: repeat(1, 1fr);
  gap: 140px;
  margin-top: 140px;
}
.staff {
  padding: 0 30px 30px;
  background: #fff;
}
.staff-img {
  transform: translateY(-50%);
  margin-bottom: -80px;
  text-align: center;
}
.staff-img img {
  max-width: 200px;
}
.staff h3 {
  padding-bottom: 20px;
  font-weight: 600;
  font-size: 3rem;
  text-align: center;
  line-height: 1.5;
}
.staff h3 + p {
  margin-bottom: 20px;
  padding-bottom: 20px;
  color: #5db3bf;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid #000;
}
.staff-voice p {
  line-height: 2;
}
@media (max-width: 767px) {
  .staff {
    padding: 0 20px 20px;
  }
  .staff h3 {
    font-size: 2.4rem;
  }
}

/*==== よくある質問 ====*/
#question {
  background: #E6F7F5;
}
#question .grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
#question .grid div {
  background: #fff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.question {
  padding: 18px 20px;
  background: linear-gradient(135deg, #58B9B7, #7ED6D4);
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
}
.answer {
  padding: 20px;
}
@media (max-width: 767px) {
  #question .grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}


/*==== サンクスメッセージ ====*/
#thanks {
  background: #FFF4EC;
}
.thanks-message p {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  text-align: center;
  white-space: nowrap;
}
.thanks-message p .sp {
  display: none;
}
.thanks-message p::before,
.thanks-message p::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
  background-size: cover;
}
.thanks-message p::before {
  background-image: url(../img/fukidashiA.svg);
  margin-right: 15px;
}
.thanks-message p::after {
  background-image: url(../img/fukidashiB.svg);
  margin-left: 15px;
}
@media (max-width: 680px) {
  .thanks-message p {
    font-size: 1.4rem;
  }
  .thanks-message p .sp {
    display: block;
  }
  .thanks-message p::before {
    margin-right: 5px;
  }
  .thanks-message p::after {
    margin-left: 5px;
  }
}

.thanks-message figure .image {
  text-align: center;
}
.thanks-message figure img {
  max-width: 500px;
  border-radius: 30px;
}

.fukidashi {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  margin-top: 20px;
}
.fukidashi .text {
  position: relative;
  padding: 15px 20px;
  border-radius: 4px;
  background-color: #fff;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
}
.fukidashi .text::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  background-color: #fff;
  rotate: 135deg;
}
.fukidashi .ornament {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* クリック不可にする（下のテキストに触れるように） */
}
.fukidashi .ornament::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 36px;
  height: 16px;
  box-sizing: border-box;
  background-color: #ff57b1;
  mix-blend-mode: multiply; /* 乗算 */
  rotate: -45deg;
}
.fukidashi .ornament::after {
  content: "";
  position: absolute;
  top: calc(100% - 15px);
  right: -10px;
  width: 36px;
  height: 16px;
  box-sizing: border-box;
  background-color: #64d1ff;
  mix-blend-mode: multiply; /* 乗算 */
  rotate: -45deg;
}
@media (max-width: 1160px) {
  #thanks .content {
      padding: 80px 0;
  }
}
@media (max-width: 580px) {
  #thanks .content {
    padding: 60px 15px;
  }
  .thanks-message figure img {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .fukidashi .text {
  padding: 15px;
  font-size: 1.8rem;
  }
}


/*==== 申込フォーム ====*/
#contact {
  background: #E6F7F5;
  text-align: center;
}
#contact h3 {
  padding-bottom: 20px;
  color: #5db3bf;
  font-size: 3rem;
  line-height: 1.3;
}
#contact h3 br {
  display: none;
}
#contact h3 + p {
  padding-bottom: 20px;
}
.form-container {
  max-width: 800px;
  margin: 0 auto;
}
.form-group {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 18px;
  padding: 13px;
  background: #fff;
  text-align: start;
}
.form-group label {
  display: flex;
  justify-content: space-between;
  width: 250px;
}
.form-group .input-area {
  flex: 1;
}
.form-group input,
.form-group textarea {
  padding: 10px;
  width: 300px;
  background: #f5f5f5;
  border: none;
}
.form-group textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
}
.form-group .required {
  padding: 6px 12px;
  background: linear-gradient(135deg, #FF7F6E, #FFB347);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
}
.form-container button {
  margin-top: 20px;
  width: 300px;
  padding: 12px;
  background: linear-gradient(135deg, #FF7F6E, #FFB347);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}
.form-container button:hover {
  opacity: 0.9;
}
@media (max-width: 600px) {
  #contact h3 br {
    display: block;
  }
  .form-group {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .form-group label,
  .form-group input,
  .form-group textarea {
    width: 100%;
  }
}


/*==== 医院紹介 ====*/
/* #clinic {
  background: #FFF4EC;
} */
#clinic .content {
  max-width: 960px;
}
#clinic figure img {
  border-radius: 50px;
}

#clinic .flex {
  justify-content: space-between;
  margin-top: 40px;
}
#clinic .flex .address {
  width: 45%;
  padding-right: 40px;
}
#clinic .flex .information {
  width: 55%;
}
#clinic .flex .address img,
#clinic .flex .address p {
  padding-bottom: 10px;
}
#clinic .flex .address a {
  display: block;
  padding: 10px;
  background: linear-gradient(135deg, #58B9B7, #7ED6D4);
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
}
#clinic .flex .address a i {
  padding-right: 5px;
}
@media (max-width: 480px) {
  #clinic .flex {
    display: block;
  }
  #clinic .flex .address {
    width: 100%;
    padding-right: 0;
    padding-bottom: 40px;
  }
  #clinic .flex .information {
    width: 100%;
  }
}

#clinic table {
  width: 100%;
  border-collapse: collapse;
}
#clinic table th,
#clinic table td {
  text-align: center;
  vertical-align: middle;
}
#clinic table tr:first-of-type th,
#clinic table tr:first-of-type td {
  background: #58b9b7;
  color: #fff;
}
#clinic table tr td {
  padding: 10px 5px;
  color: #58b9b7;
}
#clinic table tr:nth-of-type(2) th,
#clinic table tr:nth-of-type(2) td {
  border-bottom: 1px solid #e2e2e2;
}