html {
    font-size: 12pt;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    /*font-family: 'Herlvetica Neue', Helvetica, Arial, 'Hiragino Kaku Gothic ProN', Meiryo, 'MS PGothic', sans-serif;*/
    /*font-family: 'ヒラギノ明朝 Pro', 'Hiragino Mincho Pro', 'MS Mincho', serif;*/
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.9;
    letter-spacing: -0.02em;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #bbb;
    color: #fff;
    padding: 10px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
}

header .title {
    margin:0;
    padding:0;
    display: grid;
    place-items: center;
}

header .title a{
    color: #fff;
}

.header-image-strip {
  height: 256px;
  width: 100%;
  background-image: url("images/B69B7AEE-0945-4C7A-B406-66A568C58064_1_105_c.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  background-position: 0px 15%; 
}

.heading {
    font-weight: 600;
}

.hamburger-menu {
    position: relative;
    margin-right: 16px;
}
        
.menu-toggle {
    display: block;
    width: 16px;
    height: 16px;
    position: relative;
    cursor: pointer;
}

.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
    background-color: white;
    height: 3px;
    width: 100%;
    position: absolute;
    display: block;
    content: '';
    transition: all 300ms ease-in-out;
}

.menu-toggle span {
    top: 9px;
}

.menu-toggle span:before {
    top: -9px;
}

.menu-toggle span:after {
    bottom: -9px;
}

/* チェックボックスは非表示 */
.menu-checkbox { display: none; }

/* メニュー本体 */
.menu-items {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #aaa;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease-in-out;
    margin-top: 10px;
    border-radius: 4px;
    z-index: 1001;
}

.menu-items a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #bbb;
}

.menu-items a:hover {
    background-color: #bbb;
}

/* チェックボックスがチェックされたときのメニュー表示 */
.menu-checkbox:checked ~ .menu-items {
    max-height: 300px;
}

/* チェックボックスがチェックされたときのハンバーガーアイコン変化 */
.menu-checkbox:checked ~ .menu-toggle span {
    background-color: transparent;
}

.menu-checkbox:checked ~ .menu-toggle span:before {
    transform: rotate(45deg);
    top: 0;
}

.menu-checkbox:checked ~ .menu-toggle span:after {
    transform: rotate(-45deg);
    bottom: 0;
}

.content {
    flex: 1;
    text-align: left;
    font-size: 1.0rem;
    padding: 20px 20%;
    margin-top: 60px; /* header の高さ分だけ下げる */
}

.content h2 {
    font-size: 1.2rem;
    line-height: 1.2em;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.content h3 {
    font-size: 1.05rem;
    font-weight: bold;
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #bbb;
    color: #fff;
    font-size: 1.0rem;
}

a {
    color: #999; /* 通常リンクの色を少し薄く */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #333; /* ホバー時に通常の色に戻す */
}

a[target="_blank"]::after {
  content: " \00A0\2197"; /* non breaking spaceと右上向き矢印の Unicode */
  font-size: 0.5em;
  color: red; /* 矢印を赤色に */
  position: relative; /* 位置を相対的に調整 */
  left: -0.4em;
  top: -0.66em; /* 上に浮かせる */
  margin-left: 0.2em; /* 左マージンを少し追加 */
  font-weight: bold; /* 太字にして目立たせる */
}

.merit dl {
  margin-left: 0;
  padding-left: 0;
}

.merit dt {
  font-weight: normal;
  margin-bottom: 0.25em;
  position: relative;
  padding-left: 1.2em; /* バレット + スペース分の余白 */
}

.merit dt::before {
  content: "•";
  position: absolute;
  left: 0.3em;
  color: #555; /* バレットの色 */
}

.merit dd {
  margin-left: 1.2em;
  margin-bottom: 1em;
  font-size: 0.9rem;
  color: #666;
}

.spec dl {
    margin: 0;
    padding: 0;
}

.spec dt, .spec dd {
    display: inline-block;
    vertical-align: top; /* 上揃え */
}

.spec dt {
    width: 27%; /* 必要に応じて幅を調整 */
    text-align: right;
    padding-right: 1.0rem;
    font-weight: bold;
    margin-bottom: 5px; /* 各行の間に余白 */
}

.spec dd {
    width: 67%; /* 必要に応じて幅を調整 */
    text-align: left;
    margin: 0 0 5px 0; /* 各行の間に余白 */
}

.spec dt::after {
    content: '\A'; /* 改行を挿入 */
    white-space: pre;
}

@media (max-width: 600px) {
    .content {
        padding: 16px 4%; /* スマホ用のpaddingを設定 */
    }
}

.team-members {
    text-align: center;
}

.team-member {
    flex: 1;
    vertical-align: top;
    display: inline-block;
    margin: 1.5rem;
    padding: 0.5rem;
    text-align: center;
    font-size: 1.0rem;
}

.team-member .profile {
    width: 160px;
    padding: 0 auto 0 auto;
    text-align: left;
    font-size: 0.9rem;
}

.team-member .profile-wide
{
    width: 100%;
    text-align: justify;
}

.team-member .photo {
    border-radius: 25%;
    width: 160px;
    height: 160px;
    object-fit: cover;
}

.team-member .big-photo {
    flex: 0 0 33.333%;
    border-radius: 4%;
    width: 288px;
    height: 288px;
    object-fit: cover;
}

.team-member .basic-info {
    flex: 0 0 66.666%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/********/
/* 引用関連のスタイル - 最小限の非破壊的なスタイル */

/* ブロック引用 */
blockquote {
  margin: 1em 0; /* 上下のみマージンを設定、左右は0に */
  padding: 0.5em 1em; /* 内部の余白 */
  border-left: 3px solid #ccc; /* 左側のみ薄いボーダー */
  color: inherit; /* 親要素から文字色を継承 */
  font-style: normal; /* 通常はイタリックだが、継承させる */
  font-size: inherit; /* フォントサイズを継承 */
  line-height: inherit; /* 行の高さを継承 */
  background-color: transparent; /* 背景を透明に */
}

/* インライン引用 */
q {
  color: inherit; /* 親要素から文字色を継承 */
  font-style: normal; /* 通常はイタリックだが、継承させる */
  background-color: transparent; /* 背景を透明に */
}

/* 出典情報 */
cite {
  font-style: italic; /* イタリック体（一般的な出典表示） */
  color: inherit; /* 親要素から文字色を継承 */
  font-size: inherit; /* フォントサイズを継承 */
}

/* 図表と図表キャプション */
figure {
  margin: 1em auto; /* 上下のみマージンを設定、左右は0に */
  padding: 0; /* パディングを0に */
  max-width: 100%; /* 最大幅を親要素に合わせる */
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
}

figcaption {
  font-size: 0.9em; /* キャプションは少し小さく */
  text-align: right; /* 右寄せ（一般的な出典表示） */
  margin-top: 0.5em; /* キャプションの上部マージン */
  color: #666; /* 少し薄い色に */
}

/* 引用内の段落 */
figure blockquote p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  text-align: justify;
}

/* 引用内の最初の段落のマージントップを0に */
blockquote p:first-child {
  margin-top: 0;
}

/* 引用内の最後の段落のマージンボトムを0に */
blockquote p:last-child {
  margin-bottom: 0;
}
/********/

@media screen and (max-width: 800px) {
    .team-member .profile {
        width: 100%;
    }
}
