/* 2026年1月ラビットパンチ謹製 */
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Shippori+Mincho&family=Zen+Kaku+Gothic+New&display=swap');
:root {
  --black:        #333;
  --white:        #fff;
  --gray:         #B3B3B3;
  --light-gray:   #F6F6F6;
  --link:         #B33636;
}
html {
  background-color: transparent;
}
body {
  color: var(--black);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem; /* 16px */
  line-height: 1.5;
  font-feature-settings: "palt";
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--white);
}
body#main-site::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)), url('../img/header-img.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  backface-visibility: hidden;
  -webkit-background-size: cover;
  -webkit-backface-visibility: hidden;
}
main,
section,
footer {
  background-color: var(--white);
}
section {
  padding-top: 5rem;
}
footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
/* 見出し */
h1, h2, h3, h4, h5, h6 {
  font-family: "Shippori Mincho", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.2;
}
header h1,
header h2 {
  margin: 0;
  font-size: 4rem;
  color: var(--white);
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);

}
header h1.condensed {
  font-weight: 400;
}
header h2 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 2rem;
}
@media (max-width: 767px) {
  header h1 {
    font-size: 2rem;
  }
  header h2 {
    font-size: 1rem;
  }
}
section h2 {
  font-size: 1.75rem;
}
section h3 {
  font-size: 1.25rem;
}
footer h3 {
  font-weight: 500;
}
a,
a:hover {
  color: var(--link);
  text-decoration: none;
}
.condensed {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  letter-spacing: 0.02em;
}
/* ボタン */
.btn {
  color: var(--white);
  border: 0;
  margin-right: 1rem;
}
.btn.btn-dark {
  background-color: var(--black);
}
.btn.btn-dark:hover {
  background-color: var(--link);
}
section#biography .btn.btn-dark.active,
section#biography .btn.btn-dark.active:hover {
  background-color: var(--gray);
  pointer-events: none;
}
section#biography .btn.btn-dark {
  background-color: var(--black);
}
section#biography .btn.btn-dark:hover {
  background-color: var(--link);
}
/* アイコン */
i {
  margin: 0 0 0 0.5rem;
}
/* ヘッダ */
header {
  width: 100vw;
  min-height: 100vh;
}
header nav {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 1rem;
}
header ul,
header li {
  list-style: none;
  margin: 0;
  padding: 0;
}
header ul.condensed {
  font-weight: 400;
}
header nav a,
header nav a:hover {
  display: block;
  line-height: 1;
  padding: 0.5rem 1rem;
  color: var(--white);
  opacity: 0.8;
}
header nav a:hover {
  opacity: 1;
}
/* 作例 */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.gallery img {
    flex-grow: 1;
    object-fit: contain;
    /*object-fit: cover;*/
    aspect-ratio: 1 / 1;
}
/* Image Hover Effects */
.zoom-effect {
    background-color: transparent;
    overflow: hidden;
}
img.zoom-in {  
    -webkit-transition: 0.6s ease;
    transition: 0.6s ease;
}
.zoom-effect:hover img.zoom-in {
    opacity: 0.9;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
/* zoom out on animate */
.zoom-out {
    overflow: hidden;
}
.zoom-out img {
    transform: scale(1.1);
    transition: transform 1s ease-out;
    transition-delay: 500ms;
}
.aos-animate .zoom-out img {
    transform: scale(1);
}
/* Luminus */
.lum-lightbox {
  background: rgba(0, 0, 0, .8);
}
@media (max-width: 460px) { /* スマホ縦画面対策 */
  .lum-lightbox-inner img, /* 構成に合わせて調整 */
  .lum-lightbox .lum-lightbox-inner img.lum-img,
  .lum-img {
    max-width: 90vw !important; /* 幅を画面の90%に強制 */
    max-height: 70vh !important; /* 高さを画面の70%に強制（上下の余白を確保） */
    width: auto !important;
    height: auto !important;
    object-fit: contain; /* アスペクト比を維持して収める */
  }
  .lum-lightbox-inner { /* 画像を包むコンテナ自体もスクロールしないよう固定 */
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .lum-lightbox-caption {
    width: 90vw !important;
  }
}
.lum-gallery-button { /* 矢印消し */
  display: none !important;
}
.lum-close-button { /* 閉じるボタン位置 */
  height: 2rem;
  opacity: .5;
  right: .5rem;
  top: .5rem;
  width: 2rem;
}

/* 略歴 */
.timeline-item {
  display: flex; /* Flexbox適用 */
  flex-wrap: wrap; /* スマホで折り返せるよう */
  padding: 0.25rem 0;
}
.timeline-item dt {
  width: 10rem; /* PCでの幅 */
  font-weight: 400;
}
.timeline-item dd {
  flex: 1; /* 残りの幅をすべて使う */
  margin-left: 0;
}
/* スマホ用の設定（768px以下） */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column; /* 縦並びに */
  }
  .timeline-item dt {
    width: 100%; /* 幅いっぱいに */
  }
}

/* コンタクト　*/
.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap; /* スマホで折り返すため */
}
/* ラベルのスタイル */
.form-group label {
  width: 100%; /* スマホでは全幅 */
  font-weight: 400;
  margin-bottom: 0.5rem;
}
/* 入力欄のスタイル */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--gray);
  box-sizing: border-box; /* はみ出し防止 */
}
/* テーブル（ポリシー）のレスポンシブ化 */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.policy-table th, .policy-table td {
  padding: 0.5rem;
  display: block; /* スマホでは縦に並べる */
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--gray);
}
.policy-table th {
  background-color: var(--light-gray);
  text-align: left;
  font-weight: 400;
}
.policy-table th, .policy-table td {
  margin-top: -1px; /* 1px上にずらして重なるようにする */
}
.policy-table tr:first-child th:first-child { /* 最初の要素だけは上にずらさない */
  margin-top: 0;
}

.confirm-group {
  display: flex;
  align-items: flex-start; /* チェックボックスを上揃えにする */
  gap: 1rem; /* チェックボックスとテキストの間隔 */
  margin: 1rem 0;
  cursor: pointer; /* どこを触っても反応する合図 */
}
/* チェックボックス本体のサイズ調整 */
.confirm-group #mailform-final-confirm {
  width: 1.5rem; /* 認識用の幅 */
  height: 1.5rem; /* 認識用の高さ */
  cursor: pointer;
  /* ブラウザごとの表示差を抑えつつ拡大 */
  transform: scale(1.5); 
  margin: 0.5rem; /* 拡大した分、周囲に余白を持たせる */
}
/* ラベルのスタイル */
.confirm-group .label-final-confirm {
  flex: 1; /* 残りの幅をすべてクリック領域にする */
  cursor: pointer;
}
/* --- PC版のレイアウト調整（768px以上） --- */
@media (min-width: 768px) {
  .form-group label {
    width: 200px; /* PCではラベルの幅を固定 */
    margin-bottom: 0;
  }
  .form-group input, .form-group textarea {
    flex: 1; /* 残りの幅をすべて入力欄に */
  }
  .policy-table th, .policy-table td {
    display: table-cell; /* PCでは表形式に戻す */
    width: auto;
  }
  .policy-table th { width: 30%; }
}
.form-submit p {
  margin: 0;
}


/* 確認前 */
section#confirmation table.formTable {
	border-top: 1px solid var(--gray);
	width: 100%;
	margin: 0 auto;
	border-collapse: collapse;
}
section#confirmation table.formTable td,
section#confirmation table.formTable th {
	border-bottom: 1px solid var(--gray);
	padding: 1rem;
}
section#confirmation table.formTable th{
	width: 30%;
	font-weight: 400;
	background: var(--light-gray);
}
section#confirmation p.error_messe{
	color:var(--link);
}