/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* コンテナ */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
header {
  background-color: #111;
  color: #fcd34d;
  padding: 15px 0;
}
header .logo {
  font-size: 1.8rem;
  font-weight: bold;
  white-space: nowrap;
}
header .nav-links a {
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
header .nav-links a:hover {
  color: #fcd34d;
}
header .language-switch button {
  margin-left: 10px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
header .language-switch button:hover {
  color: #fcd34d;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-container {
  max-width: 600px;
  margin: auto;
  background: #e5f0ff;
  padding: 10px;
}

.message {
  margin-bottom: 8px;
}

.user {
  font-weight: bold;
  margin-right: 5px;
}

.text {
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
}

.input-box {
  display: flex;
  margin-top: 10px;
}

/* フッター */
footer {
  background-color: #111;
  color: #fcd34d;
  padding: 40px 0;
  text-align: center;
}
footer a {
  color: #fcd34d;
  text-decoration: none;
  margin: 0 5px;
}
footer a:hover {
  text-decoration: underline;
}
.hero-overlay {
   /* position: absolute; */
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}
.trinity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.trinity-item {
  text-align: center;
}

.trinity-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.trinity-item h3 {
  margin-top: 20px;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.trinity-item p {
  font-size: 0.9rem;
  opacity: 0.85;
}
@media (max-width: 768px) {
  .trinity {
    grid-template-columns: repeat(3, 80%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .trinity-item {
    scroll-snap-align: center;
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .header-container {
    flex-direction: column;
    gap: 10px;
  }
}
.btn-orange {
  display: inline-block;
  padding: 10px 18px;
  background-color: #ff8c00;   /* オレンジ */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 9999px;  /* ← ここがポイント */
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-orange:hover {
  background-color: #ff7400;
  transform: translateY(-1px);
}

.btn-orange:active {
  transform: translateY(0);
}
.header-login {
  position: absolute;
  top: 15px;
  right: 20px;
}
/*ベルマーク*/
.header {
  height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.nav-links .bell {
  position: relative;
  width: 28px;              /* ← 幅を固定 */
  height: 28px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  display: inline-flex;
}
.bell-icon {
  display: block;           /* ← inline をやめる */
  font-size: 22px;
  line-height: 1;
}


@keyframes bell-blink {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-15deg); }
  50%  { transform: rotate(15deg); }
  75%  { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

/* 🔴 未読バッジ */
.bell-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  background: red;
  border-radius: 50%;
}

.hidden {
  display: none;
}
@keyframes bell-shake {
  0%   { transform: rotate(0); }
  10%  { transform: rotate(15deg); }
  20%  { transform: rotate(-15deg); }
  30%  { transform: rotate(10deg); }
  40%  { transform: rotate(-10deg); }
  50%  { transform: rotate(5deg); }
  60%  { transform: rotate(-5deg); }
  100% { transform: rotate(0); }
}

.bell-icon.shake {
  animation: bell-shake 0.6s ease-in-out;
  transform-origin: top center;
}
/*ベルマーク*/
.bell-popup {
  position: absolute;
  top: 36px;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #333;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  white-space: nowrap;
  z-index: 1000;
}
.bell-popup {
  position: absolute;
  top: 36px;
  right: 0;
  width: 260px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  padding: 6px 0;
}

/* 非表示 */
.bell-popup.hidden {
  display: none;
}

/* 🔔 通知1件 */
.notice-item {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  white-space: normal;     /* 折り返しOK */
  word-break: break-word;  /* 日本語対応 */
}

/* hover */
.notice-item:hover {
  background: #f5f5f5;
}

/* 区切り線（複数件時） */
.notice-item + .notice-item {
  border-top: 1px solid #eee;
}
.bell {
  position: relative;
  cursor: pointer;
}
.logo img {
  height: 50px;
}
/*ここまで共通*/

body{
font-family: "Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
background:#f5f5f5;
margin:0;
}

.aboutsection{
width:900px;
margin:auto;
background:white;
padding:40px;
}

h1{
padding-bottom:10px;
}

h2{
margin-top:40px;
border-left:6px solid #333;
padding-left:10px;
}

p{
line-height:1.8;
}

table{
width:100%;
border-collapse:collapse;
margin-top:10px;
}

td{
border-bottom:1px solid #ccc;
padding:8px;
}

ul{
line-height:1.8;
}

.partners{
line-height:1.8;
}

.photo{
    width:250px;
    height:auto;
    object-fit:cover;
    border:1px solid #ccc;
    box-shadow:0 2px 6px rgba(0,0,0,0.15);
}
.legal {
    display: block;
    font-size: 15em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}