@charset "utf-8";

.bg_main{
  background-color: rgba(188, 225, 222, 0.49);
}

/*半透明*/
.full_width_overlay {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  box-sizing: border-box;
  padding: 80px 20px 10px; 
}

/*切り抜きフォト*/
.image_overlay_right {
    position: relative;
}


.top_wrapper{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0px;
    text-align: left;
}

.top_wrapper h1{
    font-size:40px;
    font-weight: bold;
    color:var(--color-font-deep-base);
}

.top_wrapper h2{
    font-size: 22px;
    font-weight: 600;
    margin-bottom:20px;
    color: var(--color-font-gold);
}

.top_wrapper .small{
    letter-spacing: 0.1em;
    font-size:14px;
    margin-bottom:40px;
}

.h1_image_wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative; /* ここはOK */
    z-index: 2; /* オーバーレイや人物画像より上に来るように調整 */
}
@media (max-width: 768px) {
  .h1_image_wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .title_images {
    margin-top: 10px;
  }
}

.title_images img {
    width: 150px;
    height: auto;
    object-fit: contain;
    position: static; /* ← これ大事！絶対配置になってたら上書き */
}

.title_images img {
    width: 145px;
    height: auto;
    object-fit: contain;
}
@media (max-width: 500px) {
  .title_images img{
    width: 100px;
  }
}


.top_images_section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.top_images_flex {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.top_images_flex img {
  width: 48%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.top_images_flex img:hover {
  transform: scale(1.02);
}

.top_img_scroll {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/*new追加2025.07.02*/
/* ▼韓国メディカルツーリズム セクション */
.medical-tourism-section {
  max-width: 1000px;
  margin: 40px auto 60px auto;
  padding: 30px 10px 50px 10px;
  background: #fff;
}
.medical-tourism-header {
  text-align: center;
  margin-bottom: 30px;
}
.medical-tourism-header h2 {
  font-size: 36px;
  color: var(--color-font-gold);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.medical-tourism-header .subtitle {
  font-size: 28px;
  color: var(--color-font-deep-base);
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 20px;
}

.tour-section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 38px 0 24px 0;
}
.tour-illust-placeholder {
  width: 100%;
  max-width: 800px;
  border-radius: 15px;
  font-size: 1.15em;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ▼カードデザイン */
.clinic-card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin:0 auto;
  margin-top:40px;
  margin-bottom:100px;
  width: 100%;
  max-width: 800px;
  padding: 0;
  list-style: none;
}
.clinic-card {
  background: #fafdff;
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(0, 105, 179, 0.08);
  overflow: hidden;
  width: 48%;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s, box-shadow 0.22s;
}
.clinic-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 32px rgba(0, 105, 179, 0.12);
}
.clinic-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #e3ecf5;
  border-bottom: 1px solid #e2e2e2;
}
.card_text{
  text-align: center;
  font-size: 14px;
  margin-bottom: 14px;
}
.clinic-info {
  padding: 20px 16px 20px 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.clinic-info h3 {
  font-size: 1.1em;
  color: var(--color-font-deep-base);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
}
.card-btn {
  display: inline-block;
  background: var(--color-bg-base);
  color: #fff;
  font-weight: bold;
  border-radius: 18px;
  padding: 10px 28px;
  font-size: 1em;
  text-decoration: none;
  margin-top: 6px;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.card-btn:hover {
  background: var(--color-bg-button-hover);
  color: #fff;
}

/* レスポンシブ調整 */
@media (max-width: 750px) {
  .tour-illust-placeholder { font-size: 0.95em;}
  .clinic-card-list { gap: 14px;}
  .clinic-card { width: 97vw; max-width: 360px; }
  .clinic-img { height: 180px;}
  .clinic-info { padding: 14px 8px; }
}

/*サービス*/

/*コンセプト*/
#concept{
    padding:40px 20px;
    width: 100%;
    max-width: 100%;
}

.concept_text{
    width: 100%;
    max-width: 800px;
    margin:0 auto;
    margin-bottom:100px;
}

/* Serviceセクション */
#service_section {
  background: linear-gradient(rgba(204, 236, 223, 0.5), rgba(197, 209, 116, 0.5)), url("../img/bg_main2.jpg") no-repeat center/cover;
  padding: 80px 20px;
  text-align: center;
}

.service_title_text{
    font-size:32px;
    font-weight: 550;
    margin-bottom:40px;
}

.service_title {
  margin-bottom: 50px;
}

.service_cards_container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.service_card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 260px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
}

.service_card img.main {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.service_card .crown {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
}

.service_card h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-font-base);
  margin: 10px 0;
}

.service_card {
  font-size: 14px;
  color: #999;
  margin: 10px 0;
}

.service_card {
  margin-top: 15px;
  font-size: 14px;
  color: #333;
}

.btn_view {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.btn_view a {
  background-color: #f5f5f5;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.btn_view a:hover {
  background-color: var(--color-font-key);
  color: #fff;
}

.view_more_btn {
  background: #fff;
  color: #333;
  padding: 10px 30px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s;
  margin-bottom:80px;
}

.view_more_btn:hover {
  background: #f4f4f4;
}

/*conceptセクション*/
#concept_section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.concept_text_box {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 15px;
  line-height: 2;
  text-align: left;
}

.concept_icon {
  margin-bottom: 40px;
}

.concept_icon img {
  height: 40px;
}

.concept_feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.concept_img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 300px;
}

.concept_info {
  max-width: 500px;
}

.concept_info h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.6;
}

.concept_info p {
  font-size: 14px;
  line-height: 1.8;
}

/*韓国の魅力*/
.charm-section {
  padding: 80px 20px;
  background: url("../img/border2.png") repeat;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.desc {
  font-size: 16px;
  margin-bottom: 40px;
}

.charm-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.charm-left {
  flex: 1;
  width: 60%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.charm-item {
  width: 40%;
  max-width: 100%;
  padding: 13px;
  border: 2px solid #f19ca7;
  border-radius: 10px;
  background: #fff;
  text-align: center;   
}

.charm-item img {
  height: 40px;
  margin-bottom: 10px;
}

.charm-item .title {
  color: var(--color-font-key);
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.charm-item .text {
  font-size: 14px;
}

.charm-right {
  width: 40%;
  max-width: 100%;
}

.charm-right img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .charm-content {
    flex-direction: column;
    align-items: center;
  }
  .charm-left {
    width: 100%;
    order: 2;
  }
    .charm-right {
    width: 100%;
    order: 1;
  }
  .charm-item {
    width: 100%;
    max-width: 100%;
  }
}

/*クリニックセクション*/
.clinic-section {
  background-color: #d7f1ef;
  padding: 80px 20px;
  text-align: center;
}

.clinic-button-wrap {
  margin-top: 30px;
}

.btn-clinic {
  background-color: #fff;
  color: #333;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-clinic:hover {
  background-color: #aed9d6;
}

/*アフターケアセクション*/
.aftercare-section {
  background-color: #fff;
  padding: 80px 20px;
}

.aftercare-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.aftercare-img {
  flex: 1;
  min-width: 300px;
}

.aftercare-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.aftercare-text {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.aftercare-button-wrap {
  margin-top: 30px;
}

.btn-aftercare {
  background-color: var(--color-bg-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-aftercare:hover {
  background-color: #9c9c9c;
}

@media screen and (max-width: 768px) {
  .aftercare-wrapper {
    flex-direction: column;
  }
  .aftercare-img {
    order: 1;
  }
  .aftercare-text {
    order: 2;
  }
}

/*お客様の声セクション*/
.voice-section {
  background-color: var(--color-bg-be);
  padding: 80px 20px;
  text-align: center;
}

.voice-section .desc {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.voice-banners {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.voice-banners img {
  width: 601px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
  .voice-banners {
    flex-direction: column;
  }
}
