@charset "UTF-8";
/* CSS Document */



.top-img {
    margin-top: 50px;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                url("../img/about-img/top-img07697.jpg"); /* フィルターを追加 */
    background-position: 40% center;
    background-size: cover;
    clip-path: polygon(0 0, 100% 0%, 100% 70%, 50% 100%, 0 70%);
    height: 50vh;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 1s ease-out, opacity 1s ease-out;
}


.top-img.show {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻る */
}
.top-img h1 {
    font-size: 2rem; /* サイズは変更しない */
    padding-top: 200px;
    color: #fff;
    font-weight: bold; /* 文字を太くする */
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 1), 
                 -3px -3px 8px rgba(0, 0, 0, 0.6); /* 影を強調 */
    letter-spacing: 0.5px; /* 文字の間隔を少し広げる */
}



.top-text{
	font-size: 1.5rem;
	font-weight: 600;
	width: 80%;
	margin: 60px auto;
	line-height: 4rem;
}

.top-text span{
	font-weight: 700;
	color: #ff6600;
	font-size: 1.5rem;

}
@media screen and (max-width: 1100px){
	.top-text{
		font-size: 1.2rem;
		width: 90%;
		line-height: 2.5rem;
	}
}


/* プロフィール全体のスタイル */
.profile {
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #FFE7C9;
    padding: 20px;
    border-radius: 20px;
}

@media screen and (max-width: 900px) {
    .profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        padding: 15px;
    }
}

/* アーチ窓 */
.image-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 250px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-left: 70px;
}

.arch-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 250px;
    background: #fff;
    border-radius: 50% 50% 0 0;
    z-index: 1;
}

.image-wrapper img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 140%;
    height: auto;
    border-radius: 10px;
}

.image-wrapper .name {
    margin-top: 300px;
    text-align: center;
    font-size: 1.5rem;
    color: #333;
}

@media screen and (max-width: 900px) {
	.image-wrapper {
		margin: 10px;
	}
}

/* 名前のスタイル */
.name {
    font-size: 1.5rem;
    font-weight: 700;
    background-color: #fff;
    border-radius: 15px;
    padding: 12px 15px 7px 15px;
    text-align: center;
}

/* 院長の部分のみ少し小さくする */
.name .position {
    font-size: 1.2rem; /* 少し小さくする */
    font-weight: 600; /* 文字の太さを少し弱める（好みに応じて） */
    margin-right: 5px;
}

/* ふりがな（ルビ） */
.name ruby {
    font-size: 1.5rem; /* 名前と同じサイズ */
}

.name rt {
    font-size: 0.8rem; /* ルビのサイズを調整 */
    color: #333;
}


/* 経歴 */
.timeline {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    width: 100%;
}

.timeline > li {
    display: flex;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-out;
}

.timeline > li.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 経歴日付 */
.timeline-date {
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: bold;
    color: #2C0F00;
    min-width: 100px;
    text-align: right;
    margin-right: 15px;
    margin-top: 25px;
}

/* 経歴内容 */
.timeline-content {
    font-size: 1rem;
    text-align: left;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin: 0 0 5px;
    margin-top: 30px;
    color: #2C0F00;
    line-height: 1.5rem;
}

.timeline-content p {
    margin: 0;
    line-height: 1.2rem;
    color: #666;
}

/* 専門資格のスタイル */
.shikaku  {
    margin-top: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
    background-color: #fff;
    border-radius: 15px;
    text-align: left;
    padding: 1% 5%;
    
}
.shikaku span{
	font-size: 1.4rem;
	font-weight: 600;
}

@media screen and (max-width: 900px) {
    .timeline > li {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-date {
        text-align: left;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .timeline-content {
        width: 100%;
        margin-left: 0;
        padding-left: 0;
    }
	.timeline-content h3{
		margin: 0;
	}
}





/* 経営理念 */

.rinen {
  width: 80%;
  margin: 200px auto;
	max-width: 1200px;
}

.rinen h1 {
  font-size: 2rem;
  margin-bottom: 50px;
}

.rinen h2 {
  font-size: 2rem;
  text-align: left;
}

.rinen p {
  font-size: 1.2rem;
  text-align: left;
}

.rinen-text {
  max-width: 650px;
  margin: 0 50px;
  background-color: transparent; /* 初期は透明 */
  border-radius: 80px 20px;
  padding: 30px;
  opacity: 0; /* 初期は透明にする */
  transform: translateY(50px); /* 初期は少し下に配置 */
  transition: background-color 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.rinen-text.visible {
  background-color: #fff; /* 背景色を白に変える */
  opacity: 1; /* 不透明にする */
  transform: translateY(0); /* 元の位置に移動 */
}

.rinen img {
  max-width: 400px;
}

.rinen01,
.rinen02 {
  display: flex;
  margin-bottom: 30px;
}

/* 地域社会への貢献セクションだけ画像を後ろにする */
.rinen02 {
  flex-direction: row-reverse;
  margin-top: 100px;
  position: relative; /* 背景ロゴの配置に必要 */
}


.rinen02 .background-logo {
  position: absolute;
  top: 10%;
  left: -350px; /* 左端からはみ出させる */
  width: 600px;
  height: 600px;
  background-image: url('img/about-img/rogo-text.png'); /* ロゴ画像を指定 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: rotateLogo 30s linear infinite; /* アニメーションの適用 */
  opacity: 0.2; /* 薄いロゴ */
  pointer-events: none; /* ユーザー操作を無効化 */
  z-index: 0; /* 背景要素にする */
}

/* 回転アニメーションの定義 */
@keyframes rotateLogo {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.rinen02 .rinen-text {
  z-index: 1; /* 背景ロゴより上に表示 */
}

/* 画面幅が1100px以下の場合に縦並びにする */
@media (max-width: 1100px) {
  .rinen {
    width: 90%;
  }
  .rinen01,
  .rinen02 {
    display: block;
  }
  .rinen-text {
    max-width: 1000px;
	  margin: 0;
	 
	}
  .rinen02 .background-logo {
    left: -100px; /* スマホ表示用に位置を調整 */
    width: 200px;
    height: 200px;
  }
	.rinen02 .background-logo {
  width: 400px;
  height: 400px;
		top:60%;
z-index: -1; /* 背景要素にする */
  
}

}
@media screen and (max-width: 800px){
	.rinen-text {
    max-width: 1200px;
  }
}








/*クリニック概要*/

/* 背景画像用の要素 */
.summary-bg {
  background-image: url("../img/about-img/background-img01.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  width: 100%;
  height: 300px; /* 必要に応じて高さを調整 */
}
.summary-bg h1 {
  font-size: 2rem;
  padding-top: 200px;
  color: #fff;
  text-align: center;
}

/* summaryセクション */
.summary {
  background-color: #ffc364; /* 背景をオレンジに設定 */
  padding: 10px 0 50px; /* 上下の余白を調整 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* イラスト + テーブルのコンテナ */
.illustration-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* イラスト */
.illustration-left,
.illustration-right {
  flex-shrink: 0;
  width: 120px; /* イラストの幅 */
}

.illustration-left img,
.illustration-right img {
  width: 100%;
  height: auto;
  display: block;
}

/* イラストとテーブルをピッタリくっつける */
.illustration-left {
  margin-right: 0px; /* 隙間を削る */
}

.illustration-right {
  margin-left: 0px; /* 隙間を削る */
}
@media screen and (max-width: 800px) {
  /* イラストを非表示にする */
  .illustration-left img,
  .illustration-right img {
    display: none;
  }

  /* イラストが消えたタイミングでテーブルの幅を最大化 */
  #table01 {
    width: 100%;
    max-width: none; /* 最大幅の制限を解除 */
  }
}

/*イラスト動き*/
/* イラストの初期状態（回転軸を下にして隠す） */
.illustration-left,
.illustration-right {
  flex-shrink: 0;
  width: 120px;
  opacity: 0; /* 初期状態は見えない */
  transition: transform 1s ease-out;
	
}

/* 左イラスト（反時計回りに回転） */
.illustration-left {
  transform-origin: bottom right; /* 回転軸を下側に設定 */
  transform: rotate(45deg) translateY(50px); /* 反時計回りに回転 */
}

/* 右イラスト（時計回りに回転） */
.illustration-right {
  transform-origin: bottom left; /* 回転軸を下側に設定 */
  transform: rotate(-45deg) translateY(50px); /* 時計回りに回転 */
}

/* スクロール時のアニメーション */
.illustration-left.show {
  transform: rotate(0deg) translateY(0);
  opacity: 1;
}

.illustration-right.show {
  transform: rotate(0deg) translateY(0);
  opacity: 1;
}




/* table01 */
#table01 {
  background-color: #FFF7EE;
  border-radius: 20px;
  padding: 20px;
  margin: 0;
  display: flex;
  align-items: center;
	z-index: 2;
}

/* テーブルのスタイル */
#table01 th,
#table01 td {
  padding: 24px 0;
  border: none;
}

#table01 th {
  min-width: 120px;
  text-align: left;
  font-weight: bold;
}

#table01 td {
  text-align: left;
  font-size: 1.4rem;
  font-weight: 500;
  border-bottom: 4px solid #fff;
}
#table01 td span{
	font-size: 1rem;
}

/* スマホ対応 */
@media only screen and (max-width: 700px) {
  .summary {
    flex-direction: column;
    align-items: center;
  }

  .illustration-container {
    flex-direction: column;
    align-items: center;
  }

  .illustration-left, .illustration-right {
    width: 80px; /* スマホ時は小さく */
    margin: 0;
  }

  .illustration-left {
    margin-bottom: -10px;
  }

  .illustration-right {
    margin-top: -10px;
  }

  #table01 {
    width: 100%;
    max-width: 350px;
  }
	#table01 th {
 font-size: 1.3rem;
		min-width: 100px;
}
	#table01 td {
  
  font-size: 1.2rem;
  
}
}