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

.c-page-kv {
  height: 600px;
  background-size: cover;      /* 背景画像を枠いっぱいに広げる */
  background-position: center; /* 背景画像の中央を表示 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@media screen and (max-width:768px) {
  .c-page-kv {
  height: 300px;
}
}
.c-page-kv .title_bg {
  background: rgb(0,0,0,0.6);
  padding: 20px;
}
.c-page-kv .title_bg .title_1,
.c-page-kv .title_bg .title_2,
.c-page-kv .title_bg .title_3 {
  color: #ffffff;
  margin: 0;
  padding: 5px 0;
}
.c-page-kv .title_bg .title_1,
.c-page-kv .title_bg .title_2 {
  font-weight: bold;
  /* スマホで24px、画面幅に応じて変化し、最大48px(3em相当) */
  font-size: clamp(24px, 5vw, 48px);
}
.c-page-kv .title_bg .title_3 {
  font-size: bold;
  /* スマホで16px、最大32px(2em相当) */
  font-size: clamp(16px, 3.5vw, 32px);
}
:root {
    --primary-color: #289bc5;
    --secondary-color: #00796B;
    --accent-color: #FFC107;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
}
h2.under-line {
  margin-top: 80px;
  border-bottom: 1px solid #000000;
}

h3.accent {
  border-left: 8px solid var(--primary-color);
  padding-left: 10px;
}
h3.accent:not(:first-child) {
  margin-top: 40px;
}
.table-wrapper {
    overflow-x: auto; /* テーブルが画面からはみ出す場合スクロールを有効にする */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    background-color: #ffffff;
}
th, td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
}

tr:nth-child(even) {
    background-color: var(--light-gray);
}

.align-c {
  text-align: center;
}


/* プロフィールセクション */
.profile {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    margin-top: 50px;
}
.profile-flex {
  display: flow-root;
}
@media screen and (max-width:768px) {
  .profile-flex {
    display: flex;
    flex-direction: row-reverse;
}
  .profile-flex {
    flex-direction: column;
  }
}

.profile-image {
    float: right;
    width: 250px;
    margin: 0 auto;
}

@media screen and (max-width:768px) {
  .profile-image {
    width: 100%;
    margin-bottom: 45px;
  }
}

.profile-image .radius-image {
    width: 100%;
    height: auto;
    border-radius: 5%;
}

.profile h2 {
  margin-top: 0;
  padding-left: 15px;
  border-left: 8px solid #000000;
}
.profile h3:first-child {
  margin-top: 0;
}

.profile h3 {
  margin-bottom: 5px;
}

/* メッセージセクション */
.message {
  background: #ffffff;
  margin-top: 30px;
}
.message blockquote {
  background: #ffffff;
  padding: 30px;
  margin: 0;
  text-align: center;
}
@media screen and (max-width:768px) {
  .message blockquote {
    text-align: left;
  }
}
.message blockquote p {
  margin: 0;
}

/* 本セクション */
.books-image {
  margin-top: 40px;
  display: flex;
  gap: 50px;
  margin-bottom: 20px;
  justify-content: center;
}
.books-image img {
  width: calc(50% - 25px); /* 2枚なので50%からgapの半分を引く */
  max-width: 200px;
  height: auto;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .books-image {
    gap: 10px;
  }
  .books-image img {
    width: calc(50% - 5px);
  }
}

/* ボタンデザイン */
.btn-container {
  text-align: center;
  margin: 40px 0;
  padding: 0 20px;
}
.btn-contact {
  display: inline-block;
  position: relative;
  width: 100%;
  padding: 20px 50px 20px 20px;
  background-color: #00796B;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  line-height: 1.4;
  box-sizing: border-box;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
}

.btn-contact::after {
  content: "→";
  position: absolute;
  top: 50%;
  transform: translateY(-50%); 
  right: 20px; /* 右端からの距離 */
  transition: transform 0.3s ease;
}

@media screen and (min-width: 768px) {
  .btn-contact:hover {
    text-decoration: none;
  }
  .sp-only {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .btn-contact {
    padding: 18px 30px 18px 20px;
  }
  
  .btn-contact::after {
    right: 15px;
  }
}