/**
 * Greeting Page Styles (SP)
 * ご挨拶ページ スマホ用CSS
 */

:root {
  --color-bg-beige: #f2ede8;
  --color-bg-blue: #e1eeef;
  --color-bg-cream: #eee6da;
  --color-bg-light: #f4f2f0;
  --color-accent-gold: #e0ba53;
  --color-text-primary: #000000;
  --color-text-secondary: #8e826d;
  --color-white: #ffffff;
  --color-gray: #c4c4c4;
  --spacing-unit: 4px;
}

.content-container {
  display: flex;
  flex-direction: column;
  padding-bottom: 70px;
}

/* Content Section */
.content-section {
  gap: 81px;
}
.content-section {
  width: calc(100% - 20px);
  margin: 0 auto;
  padding-top: 50px;
}
.intro-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.doctor-image {
  width: 33%;
  max-width: 180px;
}

.doctor-image img {
  width: 100%;
}

.intro-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 21px;
  width: 100%;
}

.section-title {
  font-family: "TOT-ShizukaMin StdN", serif;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
}
.section-title span {
  display: inline-block;
}
.achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5%;
}

.achievement-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 31%;
  aspect-ratio: 2.6 / 1;
  margin: 0.7% 0;
  background: url(../../assets/imgs/greeting/award.png);
  background-size: 100% auto;
}

.achievement-icon {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.achievement-number {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-top: 23px;
  margin-bottom: 5px;
}

.achievement-number .number {
  font-family: "Noto Serif JP", serif;
  font-size: 47px;
  font-weight: 700;
  line-height: 1.44;
}

.achievement-number .unit {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 2.2;
}

.achievement-label {
  font-family: "TOT-ShizukaMin StdN", serif;
  font-size: 2.2vw;
  text-align: center;
}
.achievements .number-cont {
    margin-left: 0.8vw;
    margin-bottom: 2%;
}
.achievements .number-cont .number {
  display: inline-block;
  font-size: 52px;
  font-size: 6vw;
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
  transform: skew(-10deg);
}
.achievements .number-cont .unit {
  display: inline-block;
  margin-left: -0.8vw;
  font-size: 20px;
  font-size: 3vw;
  font-weight: bold;
}

section.text-section{
  margin-top: 50px;
}

section.focus-section{
  margin-top: 50px;
}

/* Text Content */
.text-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0px auto 0 auto;
  width: calc(100% - 20px);  
}

.text-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sub-title {
  font-family: "TOT-ShizukaMin StdN", serif;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
}
.f-brown {
  color: #977437;
}
.f-blue {
  color: #3b58a7;
}
.f-red {
  color: #ed1f24;
}

/* Bold Text */
strong {
  font-weight: 800;
}
.text-body {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.text-body p {
  margin-bottom: 10px;
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  line-height: 1.8;
}

/* Focus Section */
.focus-section {
  display: flex;
  gap: 43px;
  width: calc(100% - 20px);
  max-width: 500px;
  margin: 0 auto 0px auto;
}

.focus-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.focus-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-title-large {
  font-family: "TOT-ShizukaMin StdN", serif;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
}

.section-title-large span {
  display: inline-block;
}
.focus-description {
  width: calc(100% - 20px);
  margin: 0 auto;
  font-family: "TOT-ShizukaMin StdN", serif;
  font-size: 14px;
  line-height: 1.8;
}

.focus-points {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2%;
  max-width: 1200px;
  margin: 0 auto 50px 0;
}

.focus-point {
  width: 100%;
  height: 100%;
}

.point-card {
  background-color: var(--color-bg-light);
  border-radius: 30px;
  padding: 30px 20px 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.point-title {
  width: calc(100% + 20px);
  transform: translateX(-10px);
  font-family: "TOT-ShizukaMin StdN", serif;
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
}

.point-item {
  display: flex;
  gap: 10px;
  padding-left: 24px;
  position: relative;
}
.point-item:before {
  content: "";
  position: absolute;
  left: -7px;
  top: -1px;
  display: block;
  width: 24px;
  height: 24px;
  background: url(../../assets/imgs/greeting/check.svg);
}

.point-item p {
  font-family: "TOT-ShizukaMin StdN", serif;
  font-size: 13px;
  line-height: 1.6;
}

/* History Section */
.history-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.history-list {
  display: flex;
  flex-direction: column;
  max-width: 1030px;
  width: 100%;
  margin: 0 auto;
}

.history-item {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
  padding: 14px 10px;
}

.history-even {
  background-color: var(--color-bg-beige);
}

.history-odd {
  background-color: var(--color-white);
}

.history-year {
  font-family: "TOT-ShizukaMin StdN", serif;
  font-size: 14px;
  line-height: 1.8;
  /* padding: 0 40px 0 20px; */
  width: 200px;
}

.history-content {
  font-family: "TOT-ShizukaMin StdN", serif;
  font-size: 14px;
  line-height: 1.4;
  padding: 0 0 0 0;
  flex: 1;
}

.certification-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}
.certification-box .box-inner {
  padding: 30px 20px;
  background-color: var(--color-bg-beige);
}
.certification-box p {
  font-family: "TOT-ShizukaMin StdN", serif;
  font-size: 14px;
  line-height: 1.8;
}

/* 署名画像 */
.signature-wrapper {
  text-align: right;
  padding-right: 10px;
}

.signature-image {
  max-width: 300px;
  height: auto;
  display: inline-block;
}
