/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*,*::before,*::after {
    box-sizing: border-box;
}

  /* General body settings */
body {
    font-family: 'IBM Plex Mono', monospace;
    background-color:  #f7f6f5; /* 背景色 */
    color: #000b00;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    min-height: 100vh; /* ページ全体の高さを画面の高さに合わせる */
}
main {
    flex: 1; /* コンテンツ領域がフッターを押し出す */
}

/* 英数字のデフォルトフォント */
/* Google FontsからKlee Oneをインポート */

@import url('https://fonts.googleapis.com/css2?family=Klee+One:wght@400;700&display=swap');

/* 全体のデフォルト英数字フォント */
body {
    font-family: 'IBM Plex Mono', monospace; /* 英数字用 */
}

/* Verdanaを使う部分 */
.verdana {
    font-family: Verdana, sans-serif; /* Verdanaを優先 */
}

/* IBM Plex Monoを使う部分 */
.plex-mono {
    font-family: 'IBM Plex Mono', monospace; /* IBM Plex Monoを優先 */
}

/* 日本語用フォント */
:lang(ja) {
    font-family: 'Klee One', serif; /* 日本語部分にKlee Oneを適用 */
}

@media (max-width: 768px) {
  .content-center {
    font-size: 1.1rem; /* 1.5remから縮小 */
    padding: 20px;
  }
}



* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
::before , ::after {
	box-sizing: inherit;
}

button {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	vertical-align: middle;
	text-align: inherit;
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
}
.menu {
    /* メニューの位置マイナス指定で画面外に */
    position: fixed;
    right: -70%;
    width: 50%;
    height: 70vh;
    /* メニューを縦に */
    display: flex;
    flex-direction: row;
    flex-direction: column;
    color: #000b00;
    transition: .3s;
    list-style: none; /* 点や番号を非表示 */
    z-index: 999;
    
}
.menu-list {
    width: 100%;
    height: 100%;
    /* メニューテキスト位置をリスト内中心に */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px; /* 各リンク間のスペース */
    z-index: 900;
}

.btn {
    /* ボタンの配置位置  */
    position: fixed;
    top: 32px;
    right: 16px;
    /* ボタンの大きさ  */
    width: 45px;
    height: 45px;
    /* 最前面に */
    z-index: 1000;
    background-color:  #f7f6f5;  /* わかりやすいように */
}

/***** 真ん中のバーガー線 *****/
.btn-line {
	display: block;
	position: relative;  /* バーガー線の位置基準として設定 */
	width: 100%;  /* 線の長さと高さ */
	height: 4px;
	background-color:#000b00;  /* バーガー線の色 */
	transition: .2s;

}

/****** 上下のバーガー線 *****/
.btn-line::before,
.btn-line::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000b00;
  transition: .5s;
}
.btn-line::before {
  /* 上の線の位置 */
  transform: translateY(-13px);
}
.btn-line::after {
  /* 下の線の位置 */
  transform: translateY(13px);
}
.menu.open {
    right: 0;
}

/* 600px以上はハンバーガーボタン非表示、ヘッダー固定 */
@media screen and (min-width: 600px) {
	.btn {
		display: none;
	}
	.menu {
		/* メニューを横に */
		display: flex;
		flex-direction: row;
		position: fixed;
		top: 0;
		right: 0;
		width: auto; /* ← 横幅100%を解除 */
		padding: 10px 20px;
        height: 60px; /* 任意。必要に応じて調整 */
        z-index: 1000;
        background-color: #f7f6f5; /* ナビゲーション背景追加 */
	}
    .menu-list {
        margin-left: 15px;
        line-height: 60px; /* 高さと一致させて垂直方向の揃えを安定化 */
        list-style: none;
        white-space: nowrap; /* 折り返しを防ぐ */
        padding: 0 10px;       /* 必要に応じて調整 */
        font-size: 0.95rem; /* 今より小さくしたい場合に調整 */

  }
    .menu-list a {
       color: #000b00;
       text-decoration: none;
       padding: 5px 10px;
       transition: all 0.2s ease;
       border-radius: 5px;
  }

    .menu-list a:hover {
       background-color: #f7f6f5;
       color:  #000b00;
  }

}

/***** メニューオープン時 *****/
.btn-line.open {
	background-color: transparent;  	/* 真ん中の線を透明に */
}
.btn-line.open::before ,
.btn-line.open::after {
	content: "";
	background-color: #000b00; /* 上下の線の色を変える */
	transition: .2s;
}
.btn-line.open::before {
	transform: rotate(45deg);  /* 上の線を傾ける */
}
.btn-line.open::after {
	transform: rotate(-45deg);  /* 下の線を傾ける */
}


/* Home-specific styling */

#home {
    width: 100%; /* ビューポートの幅 */
    display: flex; /* 中央寄せのためのフレックスボックス */
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* 不要なスクロールを防ぐ */
}

/* モバイル対応 */
@media (max-width: 768px) {
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #f7f6f5;
    z-index: 999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0; /* ← さらに狭めた上下余白 */
  }

  .menu.open {
    display: flex;
  }

  .menu-list {
    padding: 2px 0; /* ← 項目間を最小限に */
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  .menu-list a {
    display: block;
    padding: 4px 0; /* ← テキストの上下余白も極小に */
    width: 100%;
    color: #000b00;
    text-decoration: none;
    font-weight: 400;
  }

  .menu-list a:hover {
    background-color: #f7f6f5;
    color:  #000b00;
  }
}

/* メインコンテンツ */
/* 統一しておくのが最も確実 */

/* ① トップページの .content-center をモバイルでも他ページと揃える */
@media (max-width: 768px) {
  .home .content-center {
    background-color: #f7f6f5;
    border: 1px solid #000b00;
    border-radius: 10px;
    font-size: 1.0rem;
    line-height: 1.7;
    width: 95%; /* 幅は画面に合わせて */
    margin: 20px auto;
    padding: 20px;
    box-sizing: border-box;
  }
}




.social-links {
    display: flex;
    justify-content: center; /* 中央揃え */
    gap: 15px; /* アイコン間のスペース */
    margin-top: 20px;
}

.social-icon {
    font-size: 2rem; /* アイコンの大きさ */
    color: #000b00; /* 通常時のアイコン色 */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #000b00; /* ホバー時のアイコン色 */
    background-color:  #f7f6f5;
    transform: scale(1.2); /* ホバー時に少し拡大 */
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
.social-links a:active {
    background-color:   #f7f6f5;
    color: #000b00;
    transform: scale(1.2);
  }
}


@media (max-width: 768px) {
    .social-links {
        flex-direction: row; /* 横並びに設定 */
        flex-wrap: wrap; /* 必要に応じて折り返す */
        justify-content: center; /* 中央揃え */
        gap: 10px; /* アイコン間のスペース */
    }

    .social-icon {
        font-size: 1.5rem; /* スマホ用に少し小さく調整 */
        padding: 5px; /* タッチしやすくするための余白 */
    }
}


/* フッター */
/* フッターのデフォルト (ホーム画面以外) */
footer {
    position: relative;
    bottom: 0 !important;
    margin-top: 100px; /* メインコンテンツとの間隔 */
    text-align: center;
    background-color:  #f7f6f5; /* 背景色 */
    padding: 20px 0;
    font-size: 0.9rem; /* フォントサイズを調整 */
}

/* ホーム画面専用のフッター設定 */
.home footer {
    position: absolute; /* ホーム画面専用に固定 */
    bottom: 0; /* 画面の一番下に配置 */
    left: 0; /* 横幅の開始位置 */
    width: 100%; /* フッターを画面幅全体に広げる */
    background-color: transparent; /* 背景を透明にする */
    color: #000b00;  /* テキストカラー */
    text-align: center; /* テキストを中央揃え */
    padding: 20px 0; /* 上下の余白 */
    font-size: 0.9rem; /* フォントサイズを調整 */
    z-index: 0; /* 最前面に配置 */
}

/* モバイル用のフッター調整 */
@media (max-width: 768px) {
    footer {
        position: relative; /* モバイルでは通常の配置に変更 */
        padding: 15px; /* 少し余白を減らす */
        font-size: 0.7rem; /* フォントサイズを小さく */
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* ホバー効果の統一 */
a {
    text-decoration:underline;
    color: inherit;
    transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover {
    background-color:  #f7f6f5;
    color: #000b00;
    transform: scale(1.1);
    
}
.special-link {
    color: #000b00; /* 特別なリンクの色 */
    font-weight: bold; /* 太字で目立たせる */
    text-decoration: none; /* 下線を外す */

}

.special-link:hover {
    color: #000b00;
    background-color: #d6a600; /* 背景を特別な色に */
    border-radius: 5px; /* ホバー時に角丸を追加 */
    padding: 2px 4px; /* ホバー時に少し余白を追加 */
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
.a:active {
    background-color:   #f7f6f5;
    color: #000b00;
    transform: scale(1.1);
  }

.special-link a:active {
    color: #000b00;
    background-color: #d6a600; /* 背景を特別な色に */
    border-radius: 5px; /* ホバー時に角丸を追加 */
    padding: 2px 4px; /* ホバー時に少し余白を追加 */
  }
}

/* 他ページ */
.content-box {
    display: flex; /* フレックスで画像と文字を並べる */
    flex-wrap: wrap; /* 内容が多い場合でも折り返し可能 */
    flex-direction: column; /* プロジェクトを縦に並べる */
    gap: 20px;
    width: 1000px;
    max-width: 100%; /* 横幅を制限 */
    margin: 100px;
    padding: 20px; /* 内側余白 */
    background-color:  #f7f6f5;  /* 背景色 */
    color: #000b00; /* 文字色 */

    /* 枠線の設定 */
    border: 1px solid #000b00; /* 枠線の太さ、スタイル、色を一度に指定 */
    box-sizing: border-box; /* パディングやボーダーを含むサイズ計算 */
    align-items: flex-start; /* 上揃え */
}
.content-box.top-home {
  display: flex;
  justify-content: center;  /* 横方向の中央 */
  align-items: center;      /* 縦方向の中央 */
  flex-direction: column;
  text-align: center;
  min-height: 400px; /* すでに設定済み */
  padding: 40px;      /* 過剰でなければそのままでもOK */
}



/* リストのスタイルを無効化 */
.content-box ul {
    list-style: none; /* リストの点や番号を削除 */
    padding: 0; /* 内側余白をリセット */
    margin: 0; /* 外側余白をリセット */
}

/* リスト内のアイテムに余白を追加（必要に応じて） */
.content-box ul li {
    margin-bottom: 20px; /* リストアイテム間の余白 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .content-box {
        width: 95%; /* モバイル時に画面幅を調整 */
        margin: 10px auto; /* 余白を減らす */
    }
}

@media (max-width: 480px) {
    .content-box {
        width: 90%; /* 横幅を画面に合わせる */
        margin: 10px auto; /* 上下左右中央揃え */
    }
}


/* 1) 動画ブロック：どんな親でも“自分だけ”中央に置く */
#homeVideo{
  /* 行として独立させる（右寄りの原因になる float/flex/grid の影響を断つ） */
  display: block;
  width: 100%;
  clear: both;

  /* 中央寄せ（親がblockでもflexでも効く） */
  max-width: 680px;         /* PC上限幅。好みで調整 */
  margin-left: auto;
  margin-right: auto;

  /* flex/grid親に対する保険（周囲に影響しない） */
  flex: 0 1 auto;
  align-self: center;
  place-self: center;

  /* レイアウト計算を安定させる */
  box-sizing: border-box;
  overflow: hidden;         /* はみ出し防止 */
}

/* 2) 実ビデオ：枠にフィットさせる（右寄りの副作用を消す） */
#homeVideo > video{
  display: block;           /* inlineの余白を排除 */
  width: 100%;
  height: auto;             /* アスペクト比維持 */
  aspect-ratio: 16 / 9;     /* iOSでも比率が崩れにくい */
  object-fit: cover;
  border-radius: 12px;      /* 任意。不要なら消す */
}

/* 3) スマホ補正：はみ出し・窮屈さを解消 */
@media (max-width: 768px){
  #homeVideo{
    max-width: none;        /* 上限幅を解除 */
    padding-inline: 16px;   /* 端がくっつく場合の余白（任意） */
  }
  #homeVideo > video{
    border-radius: 8px;     /* 任意 */
  }
}




h1 {
    font-size: 2rem; /* 適切なサイズ */
    line-height: 1.5; /* 行間 */
    text-align: left; /* 中央揃え */
    color: #000b00; /* テキストの色 */
    margin-bottom: 20px; /* 下の余白 */
}

/* h2の特化スタイル */

h2 {
    color: #000b00; /* 通常時の色 */
    font-size: 1.5rem; /* 適切なサイズ */
}

h2 a {
    color: #000b00; /* 通常時の色 */
}

/* h2内リンクのホバー効果 */
h2 a:hover {
    color: #f7f6f5; /* ホバー時の文字色 */
    background-color: #000b00; /* ホバー時の背景色 */
    padding: 5px; /* 内側に余白を追加 */
    border-radius: 5px; /* 角を丸くする */
    transform: scale(1.1); /* 拡大効果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 軽い影を追加 */
}

/* 日記内強調 */
/* h4 タグ */
h4 {
    color:  #000b00;
    font-weight: bold;
    font-size: 1.0rem;
}


/* 左側の画像 */
.project-image {
    width: 100px; /* 幅を100pxに固定 */
    height: auto; /* 自動で高さを調整 */
    object-fit: cover; /* 画像を枠に収める */
    margin-right: 20px; /* 画像と文字の間の余白 */
    flex: 0 0 150px; /* 画像の幅を固定 */
}

/* 右側の文字情報 */
.project-info {
    flex: 1 1 60%; /* 幅を60%に設定 */
    min-width: 300px; /* 最小幅を設定 */
    text-align: left; /* 左揃え */
    font-size: 1rem; /* 文字の大きさを適切に調整 */
    line-height: 1.6; /* 読みやすい行間 */
}

.project {
    display: flex;
    flex-direction: row; /* 画像とテキストを横並びに */
    align-items: flex-start; /* 縦方向の揃えを調整 */
    gap: 20px; /* 画像とテキスト間の隙間 */
    margin-bottom: 40px; /* 各作品の間にスペースを追加 */
    padding: 20px; /* 内側余白を設定 */
    background-color:  #f7f6f5;  /* 背景色 */
    border-radius: 10px; /* 角を丸くする */
}

.project img {
    max-width: 100%; /* 画像の幅を調整 */
    height: auto; /* アスペクト比を保持 */
}


@media (max-width: 768px) {
    .project {
        flex-direction: column; /* モバイルで縦並びに変更 */
        align-items: center; /* 中央揃え */
        max-width: 100%; /* 画面幅に合わせて縮小 */
    }

    .project-image {
        max-width: 100%; /* モバイル時の幅を画面に合わせる */
        margin-bottom: 20px; /* 画像下に余白を追加 */
        object-fit: contain !important;
        aspect-ratio: auto; /* アスペクト比を維持 */
    }
}


/* extra-links */
.extra-links a {
    text-decoration: none;
    color: #000b00;
    display: inline-block;
    transition: transform 0.2s ease, color 0.3s ease;
}

.extra-links a:hover {
    transform: translateY(-2px);
    color:  #f7f6f5;
    background-color: #000b00;
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
.extra-links a:active {
    transform: translateY(-2px);
    color:  #f7f6f5;
    background-color: #000b00;
  }
}

/* statement-link */
.statement-link {
    text-decoration: none;
    color: #000b00;
    padding: 10px 15px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.statement-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border: 1px solid #000b00;
    transition: width 0.3s ease;
    z-index: -1; /* 背景に配置 */
}

.statement-link:hover {
    color:#000b00;
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
.statement-link:active {
    color:#000b00;
  }
}


.statement-link:hover::before {
    width: 100%;
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
.statement-link:active ::before {
    width: 100%;
  }
}


/* works */
.year-navigation {
    position: sticky;
    top: 0;
    background-color:  #f7f6f5;
    padding: 10px;
    z-index: 100;
    text-align: flex-start;
}

/* card */
.card {
    background-color:   #f7f6f5; /* 背景色はそのまま */
    border: 0.5px solid   #000b00;
    border-radius: 8px;
    width: 300px; /* カードの幅を固定 */
    height: 200px; /* カードの高さを固定 */
    perspective: 1500px; /* 本が捲れるような効果 */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 calc(33.333% - 40px); /* 横3列に配置 */
    box-sizing: border-box;
    z-index: 10;
}
.card-container {
    display: flex;
    flex-wrap: wrap; /* 必須: カードを複数行で並べる */
    justify-content: space-evenly; /* カード間を均等配置 */
    gap: 20px; /* カード間の余白 */
    margin: 20px auto; /* 全体を中央揃え */
    max-width: 1200px; /* 最大幅を統一 */
    z-index: 9;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px #000b00;
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
.card:active {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px #000b00;
  }
}


.card-title {
    font-size: 1.0rem; /* タイトルのサイズ */
    margin-bottom: 10px; /* タイトル下の余白 */
}

.card-text {
    font-size: 1rem; /* 詳細テキストのサイズ */
    margin-bottom: 10px; /* テキスト下の余白 */
}

.card-link {
    text-decoration: none; /* リンクの装飾を外す */
    color: #000b00; /* リンク色 */
    font-weight: bold; /* 太字 */
    transition: color 0.3s ease; /* 色の遷移 */
}

/* カード全体 */
/* カードデザイン */
  .card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.4, 0.2, 0.2, 1); /* より滑らかなアニメーション */
  }
  
  .card:hover .card-inner {
    transform: rotateY(180deg);
  }

 /* :hoverが使えない端末を想定 */
@media (hover: none) {
.card:active .card-inner {
    transform: rotateY(180deg);
  }
} 

  .card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
   box-shadow: 0 4px 6px rgba(128, 128, 128, 0.1);
  }
  
  .card-front {
    background-color:  #f7f6f5;
    color: #000b00;
  }
  
  .title-3d {
    font-size: 1.0rem; /* pタグ用に文字サイズを小さめに */
    font-weight: bold; /* 太字に設定 */
    color: #000b00; /* メインの文字色 */
    text-shadow: 2px 2px 0 #FAF3E0;
    text-align: center; /* 中央揃え */
    margin: 20px 0; /* 上下の余白を追加 */
}


  
  .card-back {
    background-color: #000b00;
    color:  #f7f6f5;
    transform: rotateY(180deg);
  }

  .card:hover .card-inner {
    transform: rotateY(-180deg); /* カードを裏返す */
  }

 /* :hoverが使えない端末を想定 */
@media (hover: none) {
.card:active .card-inner {
    transform: rotateY(-180deg); /* カードを裏返す */
  }
} 


 /* カードの表と裏 */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
    .card {
        flex: 0 0 calc(50% - 20px); /* 横並びで2列 */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .card {
        flex: 0 0 100%; /* 1列表示 */
        max-width: 100%;
    }
}

/* Diary List スタイル */

.diary-list {
    width: 100%; /* リスト全体を画面幅に合わせる */
    list-style: none;
    padding: 0;
    margin: 0 auto; /* 中央揃え */
}

.diary-list li {
    width: 100%; /* 各リストアイテムを画面幅に合わせる */
    max-width: 95%; /* 最大幅を設定 */
    margin: 0 auto; /* 中央揃え */
    padding: 10px 0;
    border-bottom: 1px solid #000b00; /* 区切り線 */
    box-sizing: border-box;
}

.diary-link {
    display: flex;
    flex-wrap: wrap; /* 折り返しを許可 */
    justify-content: space-between;
    width: 100%; /* 横幅を画面幅に合わせる */
    text-decoration: none;
    color: #000b00;
    padding: 5px;
    box-sizing: border-box;
}

.diary-link .date,
.diary-link .title {
    flex: 1; /* 各要素の幅を等分 */
    text-align: left;
    white-space: nowrap; /* 折り返し防止 */
    text-overflow: ellipsis; /* 省略記号を追加 */
}

.diary-link:hover {
    background-color: rgba(241, 214, 89, 0.7); /*半透明で軽い効果を与える */
    border-radius: 8px; /* 丸みを加える */
    color: #000b00;
}

 /* :hoverが使えない端末を想定 */
@media (hover: none) {
.diary-link:active {
    background-color: rgba(241, 214, 89, 0.7); /*半透明で軽い効果を与える */
    border-radius: 8px; /* 丸みを加える */
    color: #000b00;
  }
} 

.diary-link .date {
    font-size: 0.9rem;
    color: #000b00; /* 日付の色 */
    margin-right: 10px; /* タイトルとの間隔 */
    white-space: nowrap; /* 日付が折り返されないようにする */
}

.diary-link .title {
    font-size: 1rem;
}


/* 日記レスポンシブ対応 */
@media (max-width: 768px) {

    .diary-list {
        width: 100%; /* リスト全体を画面幅に合わせる */
        margin: 0;
        padding: 0;
    }

    .diary-list li {
        width: 100%; /* リストアイテムを画面幅いっぱいに */
        margin: 0;
        padding: 10px 0; /* 適度な上下余白 */
        box-sizing: border-box;
    }

    .diary-link {
        display: flex;
        flex-direction: column; /* 縦並びに変更 */
        align-items: flex-start; /* 左揃え */
        width: 100%; /* 親要素に収める */
        text-align: left; /* テキストを左揃え */
        padding: 5px; /* 内側余白を追加 */
    }

    .diary-link .date,
    .diary-link .title {
        width: 100%; /* 各要素が画面幅に収まるように */
        word-wrap: break-word; /* 長い単語を折り返す */
        overflow-wrap: break-word;
        white-space: normal; /* 改行を許可 */
    }
}

.lang-switch {
    display: flex;
    justify-content: center; /* 中央揃え */
    gap: 10px; /* ボタン間のスペース */
    margin: 20px 0; /* 上下に余白 */
}

.lang-switch button {
    background-color: #000b00; /* ボタンの背景色 */
    color:  #f7f6f5;  /* 文字の色 */
    border: 2px solid #000b00; /* ボーダー */
    border-radius: 5px; /* 角を丸くする */
    padding: 10px 15px;
    font-size: 1rem; /* 文字サイズ */
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-switch button:hover {
    background-color:  #f7f6f5; /* ホバー時の背景色 */
    color: #000b00; /* ホバー時の文字色 */
    transform: scale(1.05); /* 少し拡大 */
}

/* :hoverが使えない端末を想定 */
@media (hover: none) {
.lang-switch button:active {
    background-color:  #f7f6f5;  /* ホバー時の背景色 */
    color: #000b00; /* ホバー時の文字色 */
    transform: scale(1.05); /* 少し拡大 */
  }
}


/* contact page */
.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000b00; /* ボタンの背景色 */
    color: #f7f6f5;  /* テキストの色 */
    text-decoration: none; /* アンダーラインを削除 */
    border-radius: 8px; /* 角丸 */
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.contact-button:hover {
    background-color:  #f7f6f5;  /* ホバー時の背景色 */
    color: #000b00; /* ホバー時のテキスト色 */
    transform: scale(1.05); /* 少し大きくする */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* 影を強調 */
}

 /* :hoverが使えない端末を想定 */
@media (hover: none) {
.contact-button:active {
    background-color:  #f7f6f5;   /* ホバー時の背景色 */
    color: #000b00; /* ホバー時のテキスト色 */
    transform: scale(1.05); /* 少し大きくする */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* 影を強調 */
  }
}


 /* room333 */
.room-navigation {
    position: sticky;
    top: 0;
    background-color:  #f7f6f5;
    padding: 10px;
    z-index: 100;
    text-align: flex-start;
}

/* ナビゲーション内リンクの通常スタイル */
.room-navigation a {
    color: #000b00; /* 通常時のリンク色 */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, background-color 0.3s ease; /* スムーズな変化 */
    padding: 5px 10px;
    border-radius: 5px; /* 角を丸くする */
}

/* ホバー時のスタイル */
.room-navigation a:hover {
    color: #f7f6f5;   /* ホバー時のテキスト色 */
    background-color: #000b00;/* ホバー時の背景色 */
    transform: scale(1.05); /* 少し拡大する */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
}