/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
    color: #292929;
    overflow-x: hidden;
}

/* アプリコンテナ */
.app-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.fv-fixed {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.main-scroll {
  position: relative;
  z-index: 2;      /* FV より前面 */
  margin-top: 100vh; /* FV 1画面分の下からスタート */
}
/* =========================
  header
   ========================= */
.header-desktop {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 3.5%;
    z-index: 10;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.btn-menu {
    width: 40px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 767px) {
    .btn-menu {
        width: 30px;
    }
}

.btn-menu svg {
    width: 100%;
    height: 100%;
}

/* =========================
   MAIN VISUAL
   ========================= */
.fv-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.fv-background {
    height: 100%;
    background-image: url("../image/fv_bg.jpg");
    z-index: 1;
}

.fv-background-brush {
    background-image: url("../image/fv_bg_brush.png");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 0 0 100%);   /* top right bottom left */
    transition: clip-path 0.6s cubic-bezier(.2,.8,.3,1);
}

.fv-background-brush.brush-animate {
    clip-path: inset(0 0 0 0);      /* 全面表示に開く → 右から左に払われたように見える */
}

@media (max-width: 767px) {

.fv-background {
    height: 100%;
    background-image: url("../image/fv_bg.jpg");
    background-position: center center; /* 中央を基準に表示 */
    background-size: cover;            /* 縦横比を維持しつつ拡大して埋める */
    background-repeat: no-repeat;
    z-index: 1;
}

.fv-background-brush {
    top: 20%;
    left: -150px;
    width: 160%;
    height: 116%;
}
}



/* =========================
   MAIN TITLE
   ========================= */

.main-title {
  position: absolute;
  top: 166px;
  left: 6%;
  z-index: 4;
}

.main-title h1 {
  display: flex;
  flex-direction: column;      /* 上から YU+caption → OIKAWA → PORTFOLIO */
  gap: 12px;                   /* 行間を h1 ではなく gap で管理 */
  font-family: 'Anton', sans-serif;
  font-size: 176px;
  line-height: 1;
  font-weight: normal;
  margin: 0;
}

.char {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  animation: titleFadeUp .6s ease-out forwards;
  animation-delay: calc(var(--i) * 0.08s);
}

@keyframes titleFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------
   YU + キャプション行
   ------------------------- */

.title-caption {
  display: flex;
  align-items: center;     /* YU の高さに合わせてキャプションが伸びないように */
}

/* YU */
.title-yu {
  color: #203e67;
  margin-left: 39px;
}

/* キャプション全体（テキスト + read more） */
.fv-caption {
  z-index: 5;
  margin-left: 3%;
  display: flex;
  flex-direction: column;      /* p の下に read more を縦並び */
  align-items: flex-start;     /* 左揃え・自分の高さだけを使う */
}

/* キャプション本文 */
.fv-caption p {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  margin: 0 0 6px;             /* ここだけで余白をコントロール */
}

/* タイピング風キャプション */
.fv-typing {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #000;
  white-space: pre-line;       /* \n を改行として処理 */
  display: inline-block;
}

/* 完了後の特別な処理不要 */
.fv-typing.is-complete {
}

/* read more リンク */
.read-more-fv {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 24px;
  line-height: 1;
  color: #000000;
  text-decoration: underline;
  display: inline-block;
  margin: 0;
  transition: opacity .3s ease;
}

.read-more-fv:hover {
    opacity: 0.5;
}

.read-more-fv {
  opacity: 0;
  position: relative;
  display: inline-block;
  white-space: pre;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 24px;
  line-height: 1.4;
  color: #000;
  transition: opacity .2s ease; 
}

.read-more-fv::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

/* 中の1文字ずつ */
.readmore-char {
  opacity: 0;
  display: inline-block;
  transform: translateY(10px);
  animation: readmoreFadeUp .45s ease-out forwards;
  animation-delay: calc(var(--i) * 0.06s);
}

@keyframes readmoreFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------
   OIKAWA / PORTFOLIO 行
   ------------------------- */

.title-oikawa {
  color: #292929;
  margin-left: 87px;
}

.title-portfolio {
  color: #203e67;
  margin-left: 0;
}

.fv-image {
    position: absolute;
    top: 80px;
    right: 13.8%;
    z-index: 3;
}

.fv-image img {
    width: 400px;
    height: 100%;
    object-fit: cover;
}

/* =========================
   SP
   ========================= */

@media (max-width: 767px) {
.main-title {
  top: 84px;
}

.main-title h1 {
  display: flex;
  gap: 0;
  font-size: 80px;
}

.char {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  animation: titleFadeUp .6s ease-out forwards;
  animation-delay: calc(var(--i) * 0.08s);
}

@keyframes titleFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------
   YU + キャプション行
   ------------------------- */

.title-caption {
  display: flex;
  align-items: center;     /* YU の高さに合わせてキャプションが伸びないように */
}

/* YU */
.title-yu {
  color: #203e67;
  margin-left: 13px;
}

/* キャプション全体（テキスト + read more） */
.fv-caption {
  z-index: 5;
  margin-left: 3%;
  display: flex;
  flex-direction: column;      /* p の下に read more を縦並び */
  align-items: flex-start;     /* 左揃え・自分の高さだけを使う */
}

/* キャプション本文 */
.fv-caption p {
  font-size: 10px;
  line-height: 12px;
  margin: 0 0 4px;
}

/* タイピング風キャプション */
.fv-typing {
  font-size: 10px;
  line-height: 12px;
}

/* read more リンク */
.read-more-fv {
  font-size: 12px;
}

.read-more-fv:hover {
    opacity: 0.5;
}

.read-more-fv {
  font-size: 12px;
  line-height: 1;
}

.read-more-fv::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #000;
}

/* 中の1文字ずつ */
.readmore-char {
  opacity: 0;
  display: inline-block;
  transform: translateY(10px);
  animation: readmoreFadeUp .45s ease-out forwards;
  animation-delay: calc(var(--i) * 0.06s);
}

@keyframes readmoreFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------
   OIKAWA / PORTFOLIO 行
   ------------------------- */

.title-oikawa {
  color: #292929;
  margin-left: 40px;
}

.title-portfolio {
  color: #203e67;
  margin-left: 0;
}

.fv-image {
    position: absolute;
    top: 330px;
    right: 23.8%;
    z-index: 3;
}

.fv-image img {
    width: 200px;
    height: 100%;
    object-fit: cover;
}
}


/* =========================
   web site
   ========================= */
.website-section {
    position: relative;
    background-image: url("../image/webdesign_bg.png");
    background-size: cover;    /* ← これに変更 */
    background-repeat: no-repeat;
    background-position: center top; /* 必要に応じて調整 */
    min-height: 800px;
    padding-bottom: 137px;
}

.section-title {
    font-family: 'Anton', sans-serif;
    font-size: 132px;
    line-height: 132px;
    color: #ffffff;
    padding-top: 180px;
    padding-left: 6.9%;
    margin-bottom: 112px;
}

.barber-project-pc {
    display: flex;
    padding: 0 6.9%;
    gap: 50px;
}

.barber-project-sp {
    display: none;
}

.project-content {
    flex: 1;
    color: #ffffff;
}

.project-title {
    font-size: 64px;
    line-height: 64px;
    margin-bottom: 24px;
}

.title-en {
    font-family: 'Anton', sans-serif;
    display: block;
}

.title-jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    display: block;
}

.project-divider {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    margin-top: 24px;
}

.project-divider-barber {
    position: relative;
    width: 100%;
    height: 1px;
    background: transparent;
    margin: 24px 0;
    overflow: hidden;
}

.project-divider-barber::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 0%;
    background-color: #ffffff;
    transition: width 0.35s ease-out;
}

.project-content:hover .project-divider-barber::after {
    width: 100%;
}

.project-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 32px;
}

.read-more {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity .3s ease;
}

.read-more img {
    width: 8px;
}

.read-more:hover {
  opacity: 0.5;
}

.project-wrapper {
  flex: 1;
}

.project-images {
  position: relative;
  width: 100%;             /* 親のpadding内にフィット */
  height: 100%;           /* 画像の重なり分だけ確保 */
  box-sizing: border-box;  /* padding との競合を避けるため明示的に指定 */
}

.project-images img {
    position: absolute;
    width: 420px;
    display: block;
    object-fit: cover;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

/* 表示状態 */
.project-images img.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 1枚目（左上） */
.project-images img:nth-child(1) {
    width: 350px;
    top: 0;
    right: 35%;
    z-index: 1;
}

/* 2枚目（右上寄り） */
.project-images img:nth-child(2) {
    width: 360px;
    top: 34%;
    right: 0;
    z-index: 2;
}

/* 3枚目（一番手前） */
.project-images img:nth-child(3) {
    bottom: 0;
    right: 30%;
    z-index: 3;
}

.design-school-project,
.cake-shop-project,
.sushi-project {
    color: #ffffff;
}

.design-school-project,
.sushi-project {
    display: flex;
    margin-top: 137px;
    margin-right: 6.9%;
    position: relative;                /* 擬似要素の基準にする */
}

/* 下線の初期状態：幅ゼロ／左端 */
.design-school-project::after,
.sushi-project::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;                      /* 実線の位置。調整可 */
    height: 2px;                       /* 線の太さ */
    width: 0%;
    background-color: #ffffff;         /* 線の色 */
    transition: width 0.35s ease-out;  /* 伸びる速度・滑らかさ */
}

/* hover：左→右に伸びる */
.design-school-project:hover::after,
.sushi-project:hover::after {
    width: 100%;
}

.cake-shop-project {
    display: flex;
    margin-top: 137px;
    margin-left: 6.9%;
    position: relative;               /* 疑似要素の基準にする */
    border-bottom: none;              /* 元の線は削除 */
}

/* 初期状態：右端に線があり、幅は0% */
.cake-shop-project::after {
    content: "";
    position: absolute;
    right: 0;                         /* 右端固定！ */
    bottom: -2px;                     /* 線の位置（調整可） */
    width: 0%;                        /* 初期は幅ゼロ */
    height: 2px;                      /* 線の太さ */
    background-color: #ffffff;
    transition: width 0.35s ease-out; /* スピード調整可 */
}

/* hover で右→左へ線が伸びる（width 100%） */
.cake-shop-project:hover::after {
    width: 100%;
}

.project-subtitle {
    font-family: 'Anton', sans-serif;
    font-size: 56px;
    line-height: 64px;
    color: grey;
    margin-bottom: 16px;
}

.subtitle-en {
    display: block;
}

.project-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 64px;
    line-height: 1;
    margin-bottom: 16px;
    padding-left: 3.8%;
}

.project-tags {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 24px;
    padding-left: 3.8%;
}

.project-cap {
    flex: 1;
    padding-left: 80px;
    margin: auto 0;
}

.project-img {
    width: 36%;
}

.project-img img{
    max-width: 100%;
}

/* =========================
   sp
   ========================= */

@media (max-width: 1300px) {

.section-title {
    padding-left: 4%;
}

.barber-project-pc {
    display: none
}

.barber-project-sp {
    display: block;
}

.project-content {
    flex: 0;
}

.project-title {
    font-size: 30px;
    line-height: 32px;
    margin: 0 4% 12px;
}

.title-en,
.title-jp {
    display: inline;
}

.title-jp {
    position: relative;
    top: -1px;
    margin-left: 1%;
}

.project-divider {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    margin-top: 0;
}

.project-divider-barber {
    margin: 0 4% 12px;
    width: calc(100% - 8%);
    height: 1px;
    background-color: #ffffff;
}

.project-description {
    font-size: 14px;
    line-height: 2;
    margin:  0 4% 24px;
}

.read-more {
    font-size: 16px;
    margin: 0 4%;
}

.project-wrapper {
  flex: 1;
}

/* SP 版：画像ブロックをキャプションの上に置く */
.barber-project-sp .project-wrapper {
  margin: 0 4% 32px;
}

/* 親コンテナに高さを持たせる（ここがポイント） */
.barber-project-sp .project-images {
  position: relative;
  width: 100%;
  padding-top: 89%;
}

/* 子画像は絶対配置＋最初から表示 */
.barber-project-sp .project-images img {
  position: absolute;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 1;
  transform: none;
}

/* 1枚目（左上） */
.barber-project-sp .project-images img:nth-child(1) {
  width: 58%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* 2枚目（右上） */
.barber-project-sp .project-images img:nth-child(2) {
  width: 60%;
  top: 12%;
  right: 0;
  z-index: 2;
}

/* 3枚目（中央下・上2枚にしっかり重ねる） */
.barber-project-sp .project-images img:nth-child(3) {
  width: 72%;
  top: 53%;
  left: 10%;
  z-index: 3;
}
}

@media (max-width: 767px) {

.website-section {
    padding-bottom: 55px;
}

.section-title {
    font-size: 48px;
    line-height: 1;
    padding-top: 120px;
    padding-left: 4%;
    margin-bottom: 50px;
}

.design-school-project,
.sushi-project,
.cake-shop-project {
    display: block;
    margin-top: 72px;
    position: static;
    border-bottom: #ffffff 2px solid;
}

.design-school-project,
.sushi-project {
    margin-right: 4%;
}

.cake-shop-project {
    display: flex;
    flex-direction: column-reverse;
    margin-left: 4%;
}

.project-subtitle {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 12px;
}

.project-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 32px;
    margin-bottom: 12px;
}

.project-tags {
    font-size: 14px;
    line-height: 14px;
}

.project-cap {
    flex: 1;
    padding-left: 4%;
    margin: 32px 0 0;
}

.project-img {
    width: 100%;
}

.project-img img{
    max-width: 100%;
}
}



/* =========================
   banner
   ========================= */
.banner-section {
    background-image: url("../image/bannerdesign_bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 137px;
}

.banner-section-title {
    font-size: 132px;
    color: #203e67;
    padding-top: 200px;
    font-family: 'Anton', sans-serif;
    font-size: 132px;
    line-height: 132px;
    padding-left: 6.9%;
    margin-bottom: 112px;
}

.banner-grid {
    display: flex;
    margin-top: 12px;
    padding: 0 6.9%;
    gap: 12px;
    align-items: stretch;   /* 同じ行の高さを揃える */
}

.banner-grid:first-of-type {
    margin-top: 0;
}

/* すべてのカード共通 */
.banner-grid > .banner-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #303030;
    overflow: hidden;
}

/* 34% のカード */
.banner-item {
    flex: 0 0 34%;
    overflow: hidden;                     /* 拡大しても枠からはみ出さない */
    position: relative;
}

/* 65% のカード */
.banner-item.banner-wide {
    flex: 0 0 65%;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s ease;
}

.banner-item:hover img {
    transform: scale(1.05);
}

.banner-info {
    background-color: #303030;
    padding: 40px;
    flex: 1;                           /* カードの残り高さを全部埋める */
    display: flex;
    flex-direction: column;
}

.banner-info {
    background-color: #303030;
    padding: 40px;
}

.banner-category {
    font-family: 'Anton', sans-serif;
    font-size: 24px;
    color: grey;
    margin-bottom: 12px;
}

.banner-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 12px;
    padding-left: 3.8%;
}

.banner-tags {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: #ffffff;
    padding-left: 3.8%;
}






@media (max-width: 767px) {
    .banner-section {
    background-image: url("../image/bannerdesign_bg_sp.png");
    padding-bottom: 72px;
}

.banner-section-title {
    font-size: 48px;
    padding-top: 72px;
    font-size: 48px;
    line-height: 48px;
    padding-left: 4%;
    margin-bottom: 45px;
}

.banner-grid {
    display: block;
    margin-top: 0;
    padding: 0 4%;
}

.banner-grid:first-of-type {
    margin-top: 0;
}

/* すべてのカード共通 */
.banner-grid > .banner-item {
    display: block;
}

/* 34% のカード */
.banner-item {
    flex: 0;
    overflow: hidden;                     /* 拡大しても枠からはみ出さない */
    position: relative;
    margin-bottom: 12px;
}

.banner-grid:last-of-type {
    margin-bottom: 0;
}

/* 65% のカード */
.banner-item.banner-wide {
    flex: 0 0 0;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s ease;
}

.banner-item:hover img {
    transform: scale(1.05);
}

.banner-info {
    padding: 30px 15px;
}

.banner-category {
    font-size: 23px;
    margin-bottom: 12px;
}

.banner-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.banner-tags {
    font-size: 12px;
}

}


/* =========================
   aboutme
   ========================= */


.aboutme-section {
    position: relative;        /* 親を基準にする */
    padding-top: 112px;
    background-color: #fff;    /* これを追加：白い土台 */
}

.aboutme-section::before {
    content: "";               /* 疑似要素の必須 */
    position: absolute;
    inset: 0;                  /* top:0; right:0; bottom:0; left:0 と同じ */
    background-image: url("../image/aboutme_bg.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
    z-index: 0;                /* 背景として背面へ */
}

/* 中身を前面にする */
.aboutme-section > * {
    position: relative;
    z-index: 1;
}

.aboutme-section-title {
    font-size: 132px;
    color: #292929;
    margin-bottom: 0;
    font-family: 'Anton', sans-serif;
    line-height: 132px;
    padding-left: 6.9%;
    margin-bottom: 112px;
}

.aboutme-container {
    display: flex;
    padding: 0 6.9%;
    align-items: stretch;
}

.aboutme-left {
    flex: 1;
    padding: 5%;
    align-items: center;     /* 画像を縦中央にしたい時はON */
    justify-content: center;
}

.aboutme-right {
    flex: 1;                 /* 右側を広く */
    display: flex;
    flex-direction: column;
    margin: auto 0;
    padding-bottom: 112px;
}

.aboutme-img {
    width: 65%;
    height: auto;
    display: block;
}

.aboutme-content {
    margin-top: 40px;
}

.aboutme-content:first-of-type {
    margin-top: 0;
}

.aboutme-title {
    font-family: "Chakra Petch";
    font-size: 32px;
    line-height: 1;
}

.aboutme-divider {
    margin-top: 8px;
    border-top: #292929 solid 2px;
}

.aboutme-desc {
    margin-top: 16px;
    font-family: "Noto Sans JP";
    font-size: 16px;
    line-height: 30px;
}

.aboutme-skill {
    margin-top: 16px;
    display: flex;
    gap: 30px;
}

.skill-icon {
    max-width: 60px;
}

.aboutme-readomore-container {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.about-readmore {
    font-family: "Chakra Petch";
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.aboutme-readomore-container:hover {
    opacity: 0.5;
}

.about-read-arrow {
    margin-left: 8px;
    width: 8px;
}




@media (max-width: 767px) {
    .aboutme-section {
    padding-top: 72px;
}

.aboutme-section-title {
    font-size: 48px;
    line-height: 48px;
    padding-left: 4%;
    margin-bottom: 40px;
}

.aboutme-container {
    display: block;
    padding: 0 4%;
    align-items: stretch;
}

.aboutme-left {
    flex: 1;
    padding: 5%;
    align-items: center;     /* 画像を縦中央にしたい時はON */
    justify-content: center;
}

.aboutme-right {
    flex: 1;                 /* 右側を広く */
    display: flex;
    flex-direction: column;
    margin: 50px 0 auto;
    padding-bottom: 72px;
}

.aboutme-img {
    width: 65%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.aboutme-content {
    margin-top: 40px;
}

.aboutme-title {
    font-size: 24px;
}

.aboutme-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 28px;
}

.aboutme-skill {
    margin-top: 14px;
    display: flex;
    gap: 15px;
}

.skill-icon {
    max-width: 40px;
}

.aboutme-readomore-container {
    margin-top: 56px;
}

.about-readmore {
    font-size: 16px;
}

}


/* =========================
   footer
   ========================= */
.footer {
    background-image: url("../image/footer.jpg");
    color: #ffffff;
    padding: 112px 3.4% 48px;
    font-family: "Anton";
}

.footer-menu {
    font-size: 48px;
    line-height: 1;
}

.footer-menu li {
    margin-top: 32px;
}

.footer-menu li a {
    transition: opacity .3s ease;
}

.footer-menu li:hover a {
    opacity: 0.7;
}

.footer-menu li:nth-of-type(1) {
    margin-top: 0;
}

.footer-pc {
    display: flex;
    justify-content: space-between;
}

.footer-title {
    margin-top: 112px;
    font-family: "Anton";
    color: #ffffff;
    font-size: 136px;
    font-style: normal;
    line-height: 1;
}

.footer-title-border {
    color: transparent;
    -webkit-text-stroke: 1px #ffffff; 
}

.footer-title a {
    transition: opacity .3s ease;
}

.footer-title a:hover {
    opacity: 0.7;
}

.copy {
    display: flex;
    justify-content: flex-end;   /* 横方向：右寄せ */
    align-items: flex-end;       /* 縦方向：下寄せ */
    font-family: "Anton";
    font-style: normal;
    font-weight: 200;
    font-size: 24px;
    color: #ffffff;
}

@media screen and (max-width:767px) {
.footer {
    padding: 56px 15px 24px;
}

.footer-menu {
    font-size: 24px;
}

.footer-menu li {
    margin-top: 16px;
}

.footer-menu li:nth-of-type(1) {
    margin-top: 0;
}

.footer-pc {
    display: block;
}

.footer-title {
    margin-top: 80px;
    font-size: 80px;
}

.copy {
    margin-top: 40px;
    font-size: 16px;
    display: flex;
    justify-content: flex-start;   /* 横方向：右寄せ */
}
}

/* ========== メニュー関連 ========== */

/* メニューオーバーレイ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease-in-out;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 100%;
    background-image: url("../image/fv_bg.jpg");
    z-index: 50;
    transform: translateX(100%);
    transition: transform 500ms ease-in-out;
    overflow-y: auto;
}

.hamburger-menu.open {
    transform: translateX(0);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
}

@media (max-width: 767px) {
    .menu-header {
        padding: 5px 15px;
    }
}

.btn-close {
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.btn-close svg {
    width: 100%;
    height: 100%;
}

.menu-nav {
    padding: 120px 80px;
}

@media (max-width: 767px) {
    .menu-nav {
        padding: 80px 30px;
    }
}

.menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-nav li {
    margin-bottom: 24px;
}

.menu-item {
    font-family: 'Anton', sans-serif;
    font-size: 112px;
    line-height: 113px;
    color: #292929;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.menu-item:hover {
    color: #203e67;
}

@media (max-width: 767px) {
    .menu-item {
        font-size: 40px;
        line-height: 40px;
    }
}

/* ユーティリティ */
button {
    cursor: pointer;
}

a {
    cursor: pointer;
}

/* =======================
backhome
========================*/

.backhome {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 90px;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  text-decoration: none;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  pointer-events: none;                          /* ← デフォはクリック不可 */
  transition: opacity .3s ease, transform .3s ease;
}

/* 表示状態のときだけクリック・ホバー可能 */
.backhome.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;                          /* ← ここ絶対に必要 */
}

/* is-show のときに hover したら 1.2 倍 */
.backhome.is-show:hover {
  transform: translateY(0) scale(1.2);
}

.backhome img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.backhome span {
  position: relative;
  top: -8px; 
  font-size: 12px;
  font-weight: 700;
  color: #292929;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 767px) {
.backhome {
  position: fixed;
  right: 12px;
  bottom: 12px;
  width: 60px;
}

.backhome span {
  position: relative;
  top: -8px; 
  font-size: 8px;
}
}

/* =======================
gotop
========================*/

.gotop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 90px;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  text-decoration: none;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  pointer-events: none;                           /* ← 初期はクリック不可 */
  transition: opacity .3s ease, transform .3s ease;
}

/* 表示状態になったらクリック可能に */
.gotop.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;                           /* ← ここ重要 */
}

/* hover で1.2倍（表示中のみ） */
.gotop.is-show:hover {
  transform: translateY(0) scale(1.2);
}

.gotop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gotop span {
  position: relative;
  top: -8px; 
  font-size: 12px;
  font-weight: 700;
  color: #292929;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 767px) {
.gotop {
  right: 12px;
  bottom: 12px;
  width: 60px;
}

.gotop span {
  position: relative;
  top: -8px; 
  font-size: 8px;
}
}