/* ===== top common components ===== */
.section {
  padding: 50px 0 60px;
  margin: 0
}
.section.bg {
  background: var(--cream)
}
.section_title {
  margin: 0 0 22px;
  font-family: var(--mincho);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .055em
}
.lead {
  margin: 0 0 26px;
  font-size: 15px;
  color: #333;
  line-height: 1.9
}
.text {
  margin: 0 0 14px;
  font-size: 15px;
  color: #444;
  line-height: 1.9
}

.center {
  text-align: center
}
.section.bg.center .section_title, .section.bg.center .lead {
  text-align: left
}
.more_link {
  font-size: 12px;
  color: var(--green);
  white-space: nowrap;
  transition: opacity .2s ease
}
.more_link:hover {
  opacity: .72
}
@media (max-width:520px) {
  .section {
    padding: 36px 0
  }
  .section_title {
    font-size: 20px
  }
}
/* ===== main visual ===== */
.mainvisual {
  position: relative;
  height: 558px;
  background: url("../images/home/mainvisual.jpg") center center/cover no-repeat;
  overflow: hidden
}
.mainvisual::before {
  content: "";
  position: absolute;
  inset: 0;
background: linear-gradient(90deg, rgba(0, 97, 51, 0.82) 0%, rgba(40, 128, 0, 0.55) 30%, rgba(0, 0, 0, 0) 52%);	  
}
.mainvisual_inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center
}
.mainvisual_title {
  color: #fff;
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 2px 10px rgb(0, 48, 28);
  margin: 0 0 8px;
  letter-spacing: .08em
}
.maincopy {
  color: #fff;
  font-family: var(--mincho);
  font-size: 37px;
  line-height: 1.65;
  font-weight: 600;

text-shadow: 0 2px 10px rgb(0, 48, 28);	
  margin: 0 0 64px;
  letter-spacing: .08em
}
.maincopy_sp_break {
  display: none
}
.campaign_box {
  display: inline-block;
  background: #78bd31;
  color: #fff;
  border-radius: 6px;
  padding: 22px 38px 21px;
  font-family: var(--gothic);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12)
}
.campaign_box small {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: .03em
}
/* intro */
.intro {
  position: relative;
  padding: 40px 0 60px
}
.intro .wrap {
  display: grid;
  grid-template-columns: minmax(0, 670px) 1fr;
  align-items: center;
  gap: 60px
}
.intro_text {
  width: 100%;
  max-width: 670px
}
.intro_mark {
  position: static;
  justify-self: center;
  width: 170px
}
/* medical */
.medical_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px
}
.medical_card img {
  width: 100%;
  aspect-ratio: 330/205;
  object-fit: cover
}
.medical_card h3 {
  margin: 15px 0 7px;
  text-align: center;
  font-family: var(--gothic);
  font-size: 18px;
  color: var(--green);
  line-height: 1.45;
  font-weight: 500
}
.medical_card p {
  margin: 0;
  font-family: var(--gothic);
  font-size: 15px;
  line-height: 1.9;
  color: #555
}
.medical_bottom {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px dotted #aaa
}
.medical_bottom h3 {
  margin: 0 0 8px;
  font-family: var(--gothic);
  font-size: 18px;
  line-height: 1.65;
  color: var(--green);
  font-weight: 500;
}
.medical_bottom p {
  margin: 0;
  font-family: var(--gothic);
  font-size: 15px;
  line-height: 1.9;
  color: #555
}
/* nature */
.photo_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 28px;
  margin-top: 32px
}
.photo_grid figure, .event_grid figure {
  margin: 0
}
.photo_grid img {
  width: 100%;
  aspect-ratio: 330/210;
  object-fit: cover;
  background: #eee
}
.photo_grid figcaption, .event_grid figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--gothic);
  font-size: 14px;
  color: #555
}
/* rooms */
.room_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 58px;
  margin-top: 30px;
  margin-bottom: 20px
}
.room_card {
  background: #fff;
  padding: 18px 18px 24px;
  text-align: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02)
}
.room_card img {
  width: 100%;
  aspect-ratio: 470/262;
  object-fit: cover
}
.room_card .for {
  margin: 17px 0 0;
  font-family: var(--gothic);
  font-size: 16px;
  color: var(--green);
  font-weight: 700;
  line-height: 1.45
}
.room_card h3 {
  margin: 6px 0 6px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5
}
.room_card p:last-child {
  margin: 0;
  font-family: var(--gothic);
  font-size: 15px;
  line-height: 1.9;
  color: #555
}
/* meal/event */
.meal_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 27px
}
.meal_grid img {
  width: 100%;
  aspect-ratio: 500/285;
  object-fit: cover
}
.event_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 20px;
  margin-top: 26px
}
.event_grid img {
  width: 100%;
  aspect-ratio: 245/165;
  object-fit: cover
}
/* news */
.news_section {
  padding: 70px 0
}
.news_layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 80px
}
.news_col {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 24px
}

	
.affiliation_note a {
    color: #008f7b;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.affiliation_note a:hover {
    text-decoration: none;
}

.affiliation_note .affiliation_logo {
    display: block;
    width: fit-content;
    margin: 12px auto 0;
    text-decoration: none;
}

.affiliation_logo img {
    display: block;
    width: 275px;
    height: auto;
}
	



@media (max-width:520px) {
  .mainvisual {
    height: 577px;
    margin-bottom: 58px;
    background: url("../images/home/mainvisual_sp-darkened.jpg") center bottom/cover no-repeat;
    overflow: visible
  }
  .mainvisual::before {
    display: none
  }
  .mainvisual_inner {
    width: 100%;
    height: 100%;
    align-items: flex-start;
    justify-content: center
  }
  .mainvisual_inner > div {
    width: 100%;
    height: 100%;
    position: relative
  }
  .mainvisual_title {
    margin: 50px auto 0;
    padding: 0 8px;
    text-align: center;
    font-size: 14px;
    text-shadow: none;
    letter-spacing: .02em
  }
  .maincopy {
    margin: 16px auto 0;
    text-align: center;
    font-size: 24px;
    line-height: 1.7;
    text-shadow: none;
    letter-spacing: .02em
  }
  .maincopy_sp_break {
    display: block
  }
  .campaign_box {
    position: absolute;
    left: 0;
    bottom: -58px;
    width: 100%;
    border-radius: 0;
    padding: 10px 12px 13px;
    text-align: center;
    font-size: 16px;
    line-height: 1.35;
    box-shadow: none
  }
  .campaign_box small {
    font-size: 13px;
    margin-top: 1px
  }
  .intro {
    padding: 10px 0 34px
  }
  .intro .wrap {
    display: block
  }
  .intro_text {
    width: 100%;
    max-width: none;
    text-align: center
  }
  .intro .section_title {
      line-height: 1.9;
    letter-spacing: .03em;
    margin-bottom: 18px
  }
  .sp_break {
    display: inline
  }
  .intro .text {
    display: block;
    text-align: left
  }
  .intro_mark {
    display: block;
    width: 140px;
    margin: 22px auto 0
  }
  .medical_grid, .room_grid, .meal_grid, .news_layout {
    grid-template-columns: 1fr;
    gap: 24px
  }
  .medical_bottom {
    grid-template-columns: 1fr;
    gap: 15px
  }
.medical_card h3 {

  font-size: 17px;	
	
}

@media (max-width:330px) {
.mainvisual_title {
    font-size: 13px;
	}
 .maincopy {
    font-size: 20px;
}	

}	

@media (max-width:520px) {
  /* スマホ時：ギャラリー／イベントは横スワイプ表示。中央の写真の左右に前後の写真が少し見える配置 */
  .swipe_hint {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--green-dark);
    font-family: var(--gothic);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
  }
  .swipe_hint span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    border: 1px solid rgba(3, 162, 124, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
  }
  .swipe_hint span::before,
  .swipe_hint span::after {
    font-size: 15px;
    line-height: 1;
  }
  .swipe_hint span::before {
    content: "←";
  }
  .swipe_hint span::after {
    content: "→";
  }
  .photo_grid, .event_grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-left: -12px;
    margin-right: -12px;
    padding: 0 0 12px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12%;
    -webkit-overflow-scrolling: touch;
  }
  .photo_grid::before, .photo_grid::after, .event_grid::before, .event_grid::after {
    content: "";
    flex: 0 0 10%;
  }
  .photo_grid figure, .event_grid figure {
    flex: 0 0 76%;
    scroll-snap-align: center;
  }
  .photo_grid::-webkit-scrollbar, .event_grid::-webkit-scrollbar {
    display: none
  }
  .photo_grid, .event_grid {
    scrollbar-width: none
  }
    .affiliation_note {
        margin-top: 28px;
        padding: 15px 16px;
        font-size: 14px;
    }

    .affiliation_logo img {
        width: 220px;
    }	
}

@media (min-width:521px) {
  .swipe_hint {
    display: none;
  }
}
	
	
