@charset "UTF-8";

/* 共通設定：色・本文幅・文字サイズ（本文14px、見出し19px） */
:root {
  --color-text: #666;
  --color-header: #8ec8d1;
  --color-marker: #bae6ed;
  --color-border: #e8e8e8;
  --color-panel: #fcfcfc;
  --color-footer: #aaa;
  --content-width: 802px;
  --page-padding: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
p {
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: var(--color-text);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
th {
  font-weight: normal;
}

h1,
h2 {
  font-size: 1.1875rem;
}

small {
  font-size: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #127eab;
  text-decoration: underline;
}

a:hover {
  color: #2ab5eb;
}

:focus-visible {
  outline: 2px solid #127eab;
  outline-offset: 4px;
}

.container {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

/* 水色のヘッダー */
.site-header {
  padding-inline: 20px;
  background: var(--color-header);
}

.site-header h1 {
  padding-block: 50px;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 3px;
  text-align: center;
}

/* 紹介文・枠付きイラスト */
main {
  padding-bottom: 60px;
}

.introduction {
  margin-top: 25px;
}

.intro-text {
  margin-bottom: 15px;
}

.hero-image {
  display: block;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-panel);
  box-shadow: 5px 5px 8px #ddd;
}

/* 水色の丸印が付いた見出し */
.content-section {
  margin-top: 40px;
}

.biography {
  margin-top: 45px;
}

.section-title {
  position: relative;
  margin-bottom: 10px;
  padding-left: 25px;
  line-height: 1;
}

.section-title::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-marker);
  content: "";
  transform: translateY(-50%);
}

/* Profile・SNS・Works・Biographyに共通の2列表 */
.info-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.info-table th,
.info-table td {
  padding: 10px;
  border: 1px solid var(--color-border);
}

.info-table th {
  width: 18%;
  background: var(--color-panel);
  line-height: 1.4;
  text-align: center;
}

.info-table td {
  line-height: 1.8;
  overflow-wrap: anywhere;
}

/* 灰色のフッター */
.site-footer {
  padding: 30px var(--page-padding);
  background: var(--color-footer);
  color: #fff;
  text-align: center;
}

/* 狭い画面でも表の項目名を読みやすくする */
@media (max-width: 480px) {
  .info-table th {
    width: 5.5rem;
    padding-inline: 5px;
  }

  .profile-table th {
    width: 6rem;
  }
}
