/* 基本設定 */

/* ===== 全体のベースフォント（まずは全ページで統一） ===== */
html, body {
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic UI","Yu Gothic","Meiryo","Helvetica Neue","Arial",sans-serif;

　letter-spacing: 1px;	
}


/* セクションルートは継承を担保（安全ネット） */
:where(
  .sp-hero,
  .sp-midashi,
  .sp-about-text-only,
  .sp-kobutsu-wrap,
  .sp-kobutsu,
  .sp-services,
  .sp-profile,
  .sp-reasons,
  .sp-qa-sen,
  .sp-contact
) { font-family: inherit; }

/* （重要）明朝指定になっていた箇所をゴシックに統一 */
.sp-reason-badge {
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic UI","Yu Gothic","Meiryo","Helvetica Neue","Arial",sans-serif; /* ← ここを上書き */
}



*{padding:0;margin:0;}

.wapper{
width: 100%;	
background:#f9fbfc;

}



.container {
	background-color: #ffffff;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	border-bottom-width: 0px;
	padding-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	max-width :1280px;
}

.row {
	width: 100%;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	display: inline-block
}
.body {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}



/* =====================
   PC Design Variables
===================== */
:root {
  --pc-max-width: 1280px;
  --pc-header-height: 90px;

  --pc-color-text: #333;
  --pc-color-border: #ccc;

  /* ナビ・UI（※後から差し替えしやすい） */
  --pc-color-nav-bg: #1f1f1f;
  --pc-color-nav-text: #ffffff;

  --pc-color-button: #E67E22;
  --pc-color-button-hover: #154091;

  /* フォント */
  --pc-font-mincho: "游明朝", YuMincho, "ヒラギノ明朝 ProN", serif;
  --pc-font-gothic: "游ゴシック Medium", YuGothic, Meiryo, sans-serif;
}

/* =====================
   Base Font（基本フォント）
===================== */
body {
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic UI","Yu Gothic",
               "Meiryo","Helvetica Neue","Arial",sans-serif;
  color: var(--pc-color-text);
  margin: 0;
}

/* =====================
   PC Header : A Song For Japan
   幅1280px / 3カラム対称構成
===================== */

/* ヘッダー全体 */
.pc-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--pc-color-border);
}

/* 内側ラッパー（1280px固定） */
.pc-header-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* 3カラム構成 */
.pc-header-3col {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 40px;
}

/* =====================
   左：日本語テキスト
===================== */

.pc-header-left {
  text-align: right;
  padding-right: 40px;
}

.pc-header-ja-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.pc-header-ja-text {
  font-size: 15px;
  line-height: 1.8;
}

/* =====================
   中央：ロゴ
===================== */

.pc-header-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pc-header-logo {
  width: 170px;   /* ロゴを主役に */
  height: auto;
  display: block;
}

/* =====================
   右：英語テキスト
===================== */

.pc-header-right {
  text-align: left;
  padding-left: 40px;
}

.pc-header-en-text {
  font-size: 16px;
  line-height: 1.8;
}


/* =====================
   PC Global Navigation
===================== */

.pc-global-nav {
  max-width: var(--pc-max-width);
  margin: 0 auto;
  background: var(--pc-color-nav-bg);
}

.pc-global-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pc-global-item {
  flex: 1;
  text-align: center;
  border-right: 1px solid #ffffff;
}

.pc-global-item:last-child {
  border-right: none;
}

/* リンク全体 */
.pc-global-item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 0;
  color: var(--pc-color-nav-text);
  text-decoration: none;
}

/* 日本語（上） */
.pc-nav-ja {
  font-size: 13px;
  letter-spacing: 3px;
  line-height: 1.2;
}

/* 英語（下） */
.pc-nav-en {
  font-size: 10px;
  letter-spacing: 1.5px;
  opacity: 0.75;
  line-height: 1.2;
}

/* ホバー */
.pc-global-item a:hover {
  opacity: 0.65;
}

/* 問い合わせ（リンク）も他と同色 */
.pc-global-item-contact a {
  color: #ffffff;
}




/* スマホヘッダーメニュー */

/* SPヘッダー3ハンバーガーのみ */

/* =========================
   スマホ用ヘッダー（完成版CSS）
   変数は使わず直書き・中央線のズレ修正済み
========================= */

/* =========================
   SP Header & Drawer
   PCグローバルメニューと同色（変数参照）
========================= */

:root{
  --sp-header-h: 56px;
}

/* 固定ヘッダー */
.sp-header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--sp-header-h);
  background: var(--pc-color-nav-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  z-index: 1000;
}
.sp-header-inner{
  height: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* ロゴ＋タイトル */
.sp-header-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sp-header-logo{
  width: 28px; height: 28px; display: block;
}
.sp-header-title{
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic UI","Yu Gothic","Meiryo","Helvetica Neue","Arial",sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--pc-color-nav-text);
  white-space: nowrap;
}

/* 固定ヘッダー分の下余白 */
.sp-header-offset{ height: var(--sp-header-h); }

/* =========================
   ハンバーガー & ドロワー
========================= */

#nav-drawer{ position: relative; }
.nav-unshown{ display: none; }

/* ハンバーガーアイコンのクリック領域 */
#nav-open{
  position: relative;
  display: inline-block;
  width: 44px; height: 44px;
  cursor: pointer;
}

/* 3本線 */
#nav-open span{
  position: absolute;
  left: 50%; top: 50%;
  width: 26px; height: 2px;
  background: var(--pc-color-nav-text);
  border-radius: 2px;
  transform: translate(-50%,-50%);
  transition: transform .35s ease, opacity .35s ease;
}
#nav-open span::before,
#nav-open span::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--pc-color-nav-text);
  border-radius: 2px;
  transition: transform .35s ease, opacity .35s ease, top .35s ease;
}
#nav-open span::before{ top: -8px; }
#nav-open span::after { top:  8px; }

/* オーバーレイ */
#nav-close{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

/* ドロワー本体 */
#nav-content{
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 86%;
  max-width: 360px;

  /* PCナビと同色トーンで統一（モノトーン化するならここでグレーに差替え可能） */
  background: #ffffff;

  box-shadow: 6px 0 28px rgba(0,0,0,.16);
  transform: translateX(-105%);
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  z-index: 1000;
  padding: calc(var(--sp-header-h) + 12px) 0 24px;
  box-sizing: border-box;
}

/* 開閉状態 */
#nav-input:checked + #nav-open span{
  transform: translate(-50%,-50%) rotate(45deg);
}
#nav-input:checked + #nav-open span::before{
  top: 0; transform: rotate(90deg);
}
#nav-input:checked + #nav-open span::after{
  top: 0; opacity: 0;
}
#nav-input:checked ~ #nav-close{
  opacity: 1; pointer-events: auto;
}
#nav-input:checked ~ #nav-content{
  transform: translateX(0%);
}

/* =========================
   メニュー（日→英：2カラム）
========================= */

.sp-menu-list{
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-menu-list li{
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.sp-menu-list li:last-child{
  border-bottom: none;
}

/* リンク：日本語（左）→英語（右） */
.sp-menu-list a{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;

  padding: 14px 18px;
  text-decoration: none;
  color: #111;
  transition: background-color .25s ease, opacity .25s ease;
}

/* 左：日本語 */
.sp-menu-ja{
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic UI","Yu Gothic","Meiryo","Helvetica Neue","Arial",sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
}

/* 右：英語（控えめ） */
.sp-menu-en{
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic UI","Yu Gothic","Meiryo","Helvetica Neue","Arial",sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .04em;
  opacity: .75;
  white-space: nowrap;
}

/* ホバー */
.sp-menu-list a:hover{
  background: rgba(0,0,0,.06);
}

/* スマホのみアンカー位置補正（必要なら） */
@media (max-width: 768px){
  #sp-about,
  #sp-kobutsu,
  #sp-profile,
  #about,
  #kobutsu,
  #profile{
    scroll-margin-top: var(--sp-header-h);
  }
}




.row.blockDisplay {
	display: block;
}


/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 480px) {
.pc { display: none !important; }
.sp { display: block !important; }
}
@media only screen and (max-width: 750px) {
img { max-width: 100%; }
}




/* pcサイトで使っているCSS*/
/* pc見出しタグ */



h1{

}

/* =====================
   Heading Design
   color: #1f1f1f
   left line: 5px
   bottom line: 1px
===================== */

.pc-heading{
  width: 850px;	
  color: #1f1f1f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;

  /* 左ライン用の余白 */
  padding: 8px 0 10px 14px;

  /* 左ライン + 下線 */
  border-left: 5px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;

  margin: 0 auto 30px;
}
.pc-heading-page{
  width: 850px;	
  color: #1f1f1f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;

  /* 左ライン用の余白 */
  padding: 8px 0 10px 14px;

  /* 左ライン + 下線 */
  border-left: 5px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;

  margin: 60px auto 30px;
}
.pc-heading-en{
font-size:14px;	
}
.sp-heading-en{
font-size:14px;
line-height: 1.2;	
}
.pc-heading-h3{
  width: 820px;	
  color: #1f1f1f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  padding: 8px 0 10px 14px;
  border-bottom: 1px solid #1f1f1f;
  margin: 0 auto 30px;
}
.pc-heading-h3-tool{
  width: 820px;	
  color: #1f1f1f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  padding: 8px 0 10px 14px;
  border-bottom: 1px solid #1f1f1f;
  margin: 0 auto 50px;
}
.pc-heading-h3-en{
  width: 850px;	
  color: #1f1f1f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;	
  padding: 8px 0 10px 14px;
  margin: 0 auto 30px;
}
/* =====================
   SP Heading
===================== */

.sp-heading{
  width: 100%;
  max-width: 100%;
  color: #1f1f1f;
  font-size: 20px;          /* スマホ向けに微調整 */
  font-weight: 700;
  line-height: 1.4;

  /* 左ライン用の余白 */
  padding: 8px 0 10px 14px;

  /* 左ライン + 下線 */
  border-left: 5px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;

  margin: 0 auto 24px;
  box-sizing: border-box;
}
.sp-heading-page{
  width: 100%;
  max-width: 100%;
  color: #1f1f1f;
  font-size: 20px;          /* スマホ向けに微調整 */
  font-weight: 700;
  line-height: 1.4;

  /* 左ライン用の余白 */
  padding: 8px 0 10px 14px;

  /* 左ライン + 下線 */
  border-left: 5px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;

  margin: 30px auto 24px;
  box-sizing: border-box;
}
.sp-heading-h3{
  width: 100%;
  max-width: 100%;
  color: #1f1f1f;
  font-size: 18px;          /* スマホ向け */
  font-weight: 700;
  line-height: 1.4;

  padding: 8px 0 10px 5px;
  border-bottom: 1px solid #1f1f1f;

  margin: 0 auto 30px;
  box-sizing: border-box;
}
.sp-heading-h3-tool{
  width: 100%;
  max-width: 100%;
  color: #1f1f1f;
  font-size: 18px;          /* スマホ向け */
  font-weight: 700;
  line-height: 1.4;

  padding: 8px 0 10px 5px;
  border-bottom: 1px solid #1f1f1f;

  margin: 0 auto 30px;
  box-sizing: border-box;
}

.sp-heading-h3-en{
  width: 100%;
  max-width: 100%;
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;

  padding: 8px 0 10px;
  margin: 0 auto 24px;
  box-sizing: border-box;
}

h2{

}

h3{

}

h4{
	
}







/* =====================
   PC Hero（Main Visual）
===================== */

.pc-hero {
  position: relative;
  width: 100%;
  height: 500px;
  margin-bottom: 80px;
  overflow: hidden;
}

/* 背景画像ラッパー */
.pc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 背景画像本体 */
.pc-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* セクション全面に表示 */
  display: block;
}

/* 動画中央配置 */
.pc-hero-video-wrap {
  position: relative;
  z-index: 2;          /* 背景より前面 */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* 動画を少し浮かせる（任意） */
.pc-hero-video-wrap iframe {
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* バナー */
/* =========================
   動画リンク画像（共通）
========================= */
.video-image-wrap{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
}

/* 枠（サイズはここで管理） */
.video-image-wrap a{
  display: block;
  width: 300px;              /* PC時の基本サイズ */
  max-width: 100%;
  border: 1px solid #cccccc;
  overflow: hidden;          /* 拡大時はみ出し防止 */
}

/* 画像 */
.video-image-wrap img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* PC：ホバーで少し拡大 */
@media (hover: hover) and (pointer: fine){
  .video-image-wrap a:hover img{
    transform: scale(1.06);
  }
}

/* =========================
   スマホ対応
========================= */
@media (max-width: 768px){
  .video-image-wrap{
    flex-direction: column;  /* 縦並び */
    align-items: center;
    gap: 16px;
  }

  .video-image-wrap a{
    width: 92%;              /* スマホでは画面に合わせる */
    max-width: 360px;        /* 大きくなりすぎ防止 */
  }
}


/* =====================
   Text Block
===================== */
.pc-text-block-1{
  max-width: 800px;
  margin: 0 auto 60px;              /* 中央配置 */
  font-size: 16px;
  line-height: 1.8;
  color: #1f1f1f;
  text-align: center;
  /* 英語の単語途中改行を防ぐ */
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.pc-text-block{
  max-width: 800px;
  margin: 0 auto 60px;              /* 中央配置 */
  font-size: 16px;
  line-height: 1.8;
  color: #1f1f1f;

  /* 英語の単語途中改行を防ぐ */
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.pc-text-block a {
  text-decoration: underline;
}

.pc-text-block a:hover {
  text-decoration: none;
}
.date-wrap {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
}

.date-text {
  font-size: 16px;
  color: #1f1f1f;
}

.pc-top-goodsimage{
  width: 850px;
  margin: 0 auto 30px;
}

.pc-top-goodsimage img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* =====================
   Red Button（画像のデザイン寄せ）
===================== */
.pc-red-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 260px;
  height: 40px;
  padding: 0 44px 0 28px; /* 右側は矢印分広め */

  background: #c40000;   /* 赤（必要なら微調整） */
  color: #ffffff;
  text-decoration: none;

  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;

  border-radius: 2px;    /* ほぼ角丸なし */
  position: relative;

  box-shadow: 0 2px 0 rgba(0,0,0,.25);
  transition: opacity .2s ease, transform .2s ease;	
}

.pc-red-btn::after{
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: translateY(-50%) rotate(45deg);
}

.pc-red-btn:hover{
  opacity: .85;
  transform: translateY(1px);
}
.pc-btn-center{
  text-align: center;
  margin-bottom:60px;	
}


/* ツール */
/* 横並び・中央寄せ（2枚でも3枚でもOK） */
.pc-img-row{
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 auto 70px;
}

/* 画像＋テキストを縦並び */
.pc-img-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #0066cc;
}

/* 画像サイズ */
.pc-img-item img{
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

/* 画像下のテキストリンク */
.pc-img-text{
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  text-decoration: underline;
}

/* hover */
.pc-img-item:hover{
  opacity: 0.9;
}
.pc-img-text:hover{
  text-decoration: none;
}

.pc-tool-goodsimage{
  width: 800px;
  margin: 0 auto 70px;
}

.pc-tool-goodsimage img{
  max-width: 100%;
  height: auto;
  display: block;
}
.pc-tool-goodsimage a:hover{
opacity: 0.9;
}

/* =====================
   楽譜
===================== */

.pc-song-download{
  width: 800px;
  margin: 0 auto 40px;
}

.pc-song-title{
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 6px;
}



/* ====== 全体（2列） ====== */
.pc-score-grid{
  width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 34px;
}

/* ====== 1カード（左：画像枠 / 右：情報） ====== */
.pc-score-card{
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* 左側：画像エリア（画像が複数でも縦に並ぶ） */
.pc-score-img{
  width: 160px;
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}



/* 右側：本文 */
.pc-score-body{
  flex: 1;
  min-width: 0;
}

/* メイン（=あなたの要件ではタイトルの代替になる行） */
.pc-score-name{
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1f1f1f;
}

.pc-score-meta{
  font-size: 14px;
  margin: 0 0 4px;
  color: #1f1f1f;
}

/* ダウンロードリンク群 */
.pc-score-links{
  margin: 8px 0 0;
  padding-left: 18px;
}

.pc-score-links li{
  margin: 0 0 4px;
}

.pc-score-links a{
  color: #0066cc;
  text-decoration: underline;
}

/* 要件：ホバー時に下線を消す */
.pc-score-links a:hover{
  text-decoration: none;
}

/* 長文注記ブロック（Windband Small / Sendai Phil / Special Versionなど） */
.pc-score-note{
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid #d7dde3;
  border-radius: 10px;
  background: #ffffff;

  max-width: 100%;
  box-sizing: border-box;
}

.pc-score-note-ja,
.pc-score-note-en{
  font-size: 13px;
  margin: 0 0 8px;
  color: #1f1f1f;

  word-break: break-word;
  overflow-wrap: anywhere;
}

.pc-score-links{
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
}

.pc-score-links li{
  margin: 0 0 4px;
  padding-left: 14px;
  position: relative;
  font-size:14px;	
}

/* 「-」を付ける */
.pc-score-links li::before{
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
}
.pc-score-note-link a:hover{
  text-decoration: none;
}
/* ===== 楽譜グリッド内のリンクは “普通のリンク” に戻す（グローバルa対策） ===== */
.pc-score-grid a{
  display: inline;
  padding: 0;
  gap: 0;
  flex-direction: initial;
  justify-content: initial;
  align-items: initial;
  text-decoration: underline;
}

/* 長いURLがはみ出さないように折り返す */
.pc-score-note,
.pc-score-note a{
  overflow-wrap: anywhere;   /* 長いURLでも折り返し */
  word-break: break-word;
}

/* タイトル（日本語＋英語） */
.pc-arrange-title{
  max-width: 850px;      /* 最大幅だけ指定 */
  width: 100%;           /* 画面幅に追従 */
  margin: 90px auto 70px;     /* 上下50px + 左右中央配置 */
  text-align: center;    /* 左右中央寄せ */
  color: #c0392b;        /* 赤系（提案値） */
}
.pc-arrange-title-1{
  max-width: 850px;      /* 最大幅だけ指定 */
  width: 100%;           /* 画面幅に追従 */
  margin: 120px auto 50px;     /* 上下50px + 左右中央配置 */
  text-align: center;    /* 左右中央寄せ */
  color: #c0392b;        /* 赤系（提案値） */
}
.pc-arrange-title-ja{
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

.pc-arrange-title-en{
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}



.pc-arrange-block{
  padding: 18px 0;
  border-top: 1px solid rgba(0,0,0,0.10);
}

.pc-arrange-block:last-child{
  border-bottom: 0px solid rgba(0,0,0,0.10);
}

/* 文章を横幅800pxで左右中央配置 */
.pc-arrange-text{
  width: 800px;
  margin: 0 auto;        /* 左右中央配置 */
  font-size: 16px;
  line-height: 1.9;
}

.pc-arrange-text p{
  margin: 0 0 12px;
}

.pc-arrange-mail{
  text-decoration: underline;
  word-break: break-all;
}

.pc-arrange-callout{
  font-weight: 700;
}

/* 画面が狭い場合は横幅を可変にしてはみ出し防止 */
@media (max-width: 860px){
  .pc-arrange-text{
    width: min(800px, 92%);
  }
}

.pc-sheet-image{
  display: block;
  max-width: 400px;
  width: 100%;	
  margin: 0 auto 50px; /* 左右中央 + 下50px */
  height: auto;
}

/* =====================
   PC プロジェクト
===================== */
.pc-project-images{
  width: 800px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pc-project-images img{
  width: 100%;
  height: auto;
  display: block;
}


.pc-projrct-image{
  display: block;
  max-width: 600px;
  width: 100%;	
  margin: 0 auto 50px; /* 左右中央 + 下50px */
  height: auto;
}
.pc-MERCHANDISE-table{
  width: 800px;
  margin: 60px auto;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.pc-MERCHANDISE-table th{
  width: 180px;
  padding: 16px 14px;
  background: #f4f6f8;
  border: 1px solid #d7dde3;
  text-align: left;
  vertical-align: middle;
  font-weight: 700;
}

.pc-MERCHANDISE-table td{
  padding: 16px 18px;
  border: 1px solid #d7dde3;
  vertical-align: top;
}

/* =====================
   PC Links Page（800px・2カラム）
===================== */

.pc-links{
  padding: 40px 0 80px;
}

.pc-links-inner{
  max-width: 800px;          /* ← 横幅800px */
  margin: 0 auto;

  display: flex;
  flex-wrap: wrap;           /* 折り返し */
  gap: 30px 40px;            /* 縦 横の余白 */
  align-items: flex-start;
}

/* 2列なので 50% */
.pc-links-column{
  width: calc(50% - 20px);
}

.pc-links-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-links-list li{
  margin-bottom: 10px;
}

.pc-links-list a{
  color: #1f1f1f;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: underline;
  transition: opacity .2s ease;
}

.pc-links-list a:hover{
  opacity: .65;
  text-decoration: none;
}






/* spサイトCSS */

/* ===== SPメインビジュアル ===== */
.sp-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  margin: 0 0 80px;
  padding: 0;
  overflow: hidden;
}

.sp-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.sp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画面いっぱいに広げる */
  display: block;
}

/* コメントエリア */
.sp-hero-comment {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  text-align: right;
  z-index: 1;
}

.sp-hero-title {
  font-family: "Yu Mincho","Hiragino Mincho ProN","Hiragino Mincho Pro","MS PMincho","MS Mincho","Noto Serif JP","Times New Roman",serif;
  letter-spacing: 2px;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

/* スマホ調整 */
@media (max-width: 640px) {
  .sp-hero {
    height: 60vh;
  }
  .sp-hero-title {
    font-size: 22px;
  }
}

.sp-youtube{
width: 100%;
margin-bottom:40px;	
}

.sp-main{
padding:0 2%;	
}
/* =====================
   Text Block (SP)
===================== */

.sp-text-block{
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 1.8;
  color: #1f1f1f;

  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.sp-text-block a{
  text-decoration: underline;
}

.sp-text-block a:hover{
  text-decoration: none;
}

/* 日付右寄せ */
.sp-date-wrap{
  display: flex;
  justify-content: flex-end;
}

.sp-date-text{
  font-size: 16px;
  color: #1f1f1f;
}

/* 画像 */
.sp-top-goodsimage{
  width: 100%;
  max-width: 850px;
  margin: 0 auto 30px;
}

.sp-top-goodsimage img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* =====================
   Red Button (SP)
===================== */
.sp-red-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 260px;
  height: 40px;
  padding: 0 44px 0 28px;

  background: #c40000;
  color: #ffffff;
  text-decoration: none;

  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;

  border-radius: 2px;
  position: relative;

  box-shadow: 0 2px 0 rgba(0,0,0,.25);
}

.sp-red-btn::after{
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: translateY(-50%) rotate(45deg);
}

.sp-btn-center{
  text-align: center;
 
}


/* ツール（SP） */
/* 横並び・中央寄せ（2枚でも3枚でもOK） */
.sp-img-row{
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 auto 70px;
}

/* 画像＋テキストを縦並び */
.sp-img-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #0066cc;
}

/* 画像サイズ */
.sp-img-item img{
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

/* 画像下のテキストリンク */
.sp-img-text{
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  text-decoration: underline;
}

/* hover */
.sp-img-item:hover{
  opacity: 0.9;
}
.sp-img-text:hover{
  text-decoration: none;
}

.sp-tool-goodsimage{
  width: 100%;
  max-width: 800px;
  margin: 0 auto 70px;
}

.sp-tool-goodsimage img{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.sp-tool-goodsimage a:hover{
  opacity: 0.9;
}

/* =====================
   楽譜（SP）
===================== */

.sp-song-download{
  width: min(92%, 680px);
  margin: 0 auto 28px;
}

.sp-song-title{
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 10px;
}


/* ====== 全体（1列） ====== */
.sp-score-grid{
  width: min(92%, 680px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

/* ====== 1カード（縦積み） ====== */
.sp-score-card{
  display: block;  /* 横並びをやめて縦 */
  margin-bottom:40px;	
}

/* 画像エリア（複数あれば縦に並ぶ） */
.sp-score-img{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 10px;
}

.sp-score-img img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* 本文 */
.sp-score-body{
  width: 100%;
  min-width: 0;
}

.sp-score-name{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #1f1f1f;
}

.sp-score-meta{
  font-size: 13px;
  margin: 0 0 4px;
  color: #1f1f1f;
}

/* ダウンロードリンク群（「-」付き） */
.sp-score-links{
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
}

.sp-score-links li{
  margin: 0 0 6px;
  padding-left: 14px;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
}

.sp-score-links li::before{
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
}

.sp-score-links a{
  color: #0066cc;
  text-decoration: underline;
}

.sp-score-links a:hover{
  text-decoration: none;
}

/* 長文注記ブロック */
.sp-score-note{
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #d7dde3;
  border-radius: 10px;
  background: #ffffff;
  max-width: 100%;
  box-sizing: border-box;

  overflow-wrap: anywhere;
  word-break: break-word;
}

.sp-score-note-ja,
.sp-score-note-en{
  font-size: 13px;
  margin: 0 0 8px;
  color: #1f1f1f;

  overflow-wrap: anywhere;
  word-break: break-word;
}

/* note内リンク hover */
.sp-score-note-link a:hover{
  text-decoration: none;
}

/* グローバルa対策（この範囲だけ通常リンクに戻す） */
.sp-score-grid a{
  display: inline;
  padding: 0;
  gap: 0;
  flex-direction: initial;
  justify-content: initial;
  align-items: initial;
  text-decoration: underline;
}


/* =====================
   編曲用ファイル案内（SP）
===================== */

/* タイトル（日本語＋英語） */
.sp-arrange-title{
  width: min(92%, 680px);
  margin: 50px auto 28px;
  text-align: center;
  color: #c0392b;
}

.sp-arrange-title-1{
  width: min(92%, 680px);
  margin: 70px auto 24px;
  text-align: left;
  color: #c0392b;
}

.sp-arrange-title-ja{
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.4;
}

.sp-arrange-title-en{
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* ブロック */
.sp-arrange-block{
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,0.10);
}

.sp-arrange-block:last-child{
  border-bottom: 0px solid rgba(0,0,0,0.10);
}

/* 文章は可変幅で中央配置 */
.sp-arrange-text{
  width: min(92%, 680px);
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
}

.sp-arrange-text p{
  margin: 0 0 12px;
}

.sp-arrange-mail{
  text-decoration: underline;
  word-break: break-all;
}

.sp-arrange-callout{
  font-weight: 700;
}


/* =====================
   楽譜画像（SP）
===================== */

.sp-sheet-image{
  display: block;
  width: min(92%, 400px);
  margin: 0 auto 40px;
  height: auto;
}


/* =====================
   SP プロジェクト
===================== */

/* 画像一覧（スマホ最適化：基本1列） */
.sp-project-images{
  width: 92%;
  max-width: 520px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr; /* スマホは1列が基本 */
  gap: 14px;
}

.sp-project-images img{
  width: 100%;
  height: auto;
  display: block;
}

/* 単体画像（クラス名のスペルは元CSSに合わせてそのまま変換） */
.sp-projrct-image{
  display: block;
  width: 92%;
  max-width: 520px;
  margin: 0 auto 40px;
  height: auto;
}

/* =====================
   SP 募金テーブル（縦積み）
===================== */

.sp-MERCHANDISE-table-wrap{
  width: 92%;
  margin: 40px auto;
}

/* テーブルをブロック化 */
.sp-MERCHANDISE-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

/* 行ごとにカード化 */
.sp-MERCHANDISE-table tr{
  display: block;
  margin-bottom: 18px;
  border: 1px solid #d7dde3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

/* 見出し（上段） */
.sp-MERCHANDISE-table th{
  display: block;
  width: 100%;
  padding: 12px 14px;
  background: #f4f6f8;
  border-bottom: 1px solid #d7dde3;
  font-weight: 700;
  text-align: left;
}

/* 内容（下段） */
.sp-MERCHANDISE-table td{
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
}

/* URL・長文対策 */
.sp-MERCHANDISE-table td,
.sp-MERCHANDISE-table a{
  word-break: break-word;
  overflow-wrap: anywhere;
}




/* リンク（SP） */
.sp-links-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
}

.sp-links-item {
  border-bottom: 1px solid #e0e0e0;
}

.sp-links-item a {
  display: block;
  padding: 12px 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #1f1f1f;
  text-decoration: none;

  /* 英語の途中改行防止 */
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: none;
}

.sp-links-item a:hover {
  background: rgba(0,0,0,0.05);
  text-decoration: none;
}


/* 上に戻るボタン */

#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #aae272;
  opacity: 0.6;
  border-radius: 50%;
margin-right: 3%;
	margin-bottom: 3%;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: FontAwesome;
  content: '\f102';	
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}


/* ===== Footer 上段：リンク群 ===== */
.pc-footer {
  width: 100%;
  background: #444444; 
  padding: 40px 0;
  box-sizing: border-box;
}

.pc-footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.pc-footer-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pc-footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
  justify-content: center;
  margin: 6px 0;
}

/* リンク */
.pc-footer-row a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic UI","Yu Gothic","Meiryo","Helvetica Neue","Arial",sans-serif;
  transition: color .2s ease, opacity .2s ease;
}
.pc-footer-row a:hover {
  color: #e0f7ff; /* ホバーでやや明るく */
}

/* ===== Footer 下段：コピーライト ===== */
.pc-footer-2-copyright {
  width: 100%;
  background: #111111;  /* 上段より少し濃いブルー */
  padding: 24px 0;
  box-sizing: border-box;
  text-align: center;
}

.pc-footer-2-copyright > p {
  margin: 0;
  max-width: 1280px;
  padding: 0 20px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic UI","Yu Gothic","Meiryo","Helvetica Neue","Arial",sans-serif;
  margin-left: auto; 
  margin-right: auto;
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .pc-footer-row {
    gap: 12px 18px;
  }
  .pc-footer-row a {
    font-size: 16px;
  }
}




/* ===== SPフッターナビ（本サイト用に調整） ===== */
.sp-footer-nav{
  width: 100%;
  background: #444444;            /* サイトのトーンに合わせた淡いブルー */
  padding: 28px 0;
}

.sp-footer-nav-inner{
  width: 90%;
  margin: 0 auto;
}

.sp-footer-nav-list{
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 各行 */
.sp-footer-nav-item{
  position: relative;
  padding: 8px 0;
  border-bottom: 1px solid #c9d9e8;  /* 下線（区切り） */
}

/* 最後の項目は線を外す */
.sp-footer-nav-item:last-child{
  border-bottom: none;
}

/* リンク */
.sp-footer-nav-item > a{
  display: block;
  padding-left: 8%;               /* 先頭の「-」相当の余白 */
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 1px;
  text-decoration: none;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

/* 先頭の「- 」をCSSで再現（元デザイン踏襲） */
.sp-footer-nav-item::before{
  content: "- ";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-52%);
  color: #5b7287;                 /* 少し落ち着いたブルーグレー */
  font-weight: 400;
}

/* ホバー（タップ時の視認性UP） */
.sp-footer-nav-item > a:hover{
  text-decoration: underline;
  color: #005f99;
}


/* ===== SPフッター ===== */
.sp-footer {
  width: 100%;
  clear: both;
  text-align: center;
  padding: 18px 0;
  background: #111111; /* PC版に合わせたブルー基調 */
}

.sp-footer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #ffffff;  /* PC版同様に白文字 */
  letter-spacing: 0.5px;
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic UI","Yu Gothic","Meiryo","Helvetica Neue","Arial",sans-serif;
  font-weight: 400;
}




*, *:before, *:after {
	box-sizing: border-box;
}





/*メニューをページ下部に固定*/
#sp-fixed-menu{
   position: fixed;
   width: 100%;
   bottom: 0px;
   font-size: 0;
   opacity: 1;
   z-index: 99;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul{
   display: flex;
   list-style: none;
   padding:0;
   margin:0;
   width:100%;
}

#sp-fixed-menu li{
   justify-content: center;
   align-items: center;
   width: 50%;
   padding:0;
   margin:0;
   font-size: 16px;
   border-right: 1px solid #fff;
}

/*左側メニュー*/
#sp-fixed-menu li:first-child{
   background: #FF5733;
}

/*右側メニュー*/
#sp-fixed-menu li:last-child{
   background: #FF8C42;
}

/*ボタンを調整*/
#sp-fixed-menu li a{
   color: #fff;
	font-size:14px;
   text-align: center;
   display:block;
	text-decoration: none;
   width: 100%;
   padding:15px 10px;
	letter-spacing: 1px;
 font-family:"游ゴシック Medium",YuGothic,YuGothicM,"Hiragino Kaku Gothic ProN","Hiragino Kaku Gothic Pro",メイリオ,Meiryo,sans-serif;	
}
@media (min-width: 768px) {
   .for-sp{
      display:none;
    }
}


/* ===== モーダル共通 ===== */
.lang-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 18px;
}
.lang-modal.is-open{ display: grid; }

.lang-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.lang-modal__dialog{
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  overflow: hidden;
  outline: none;
}

.lang-modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}

.lang-modal__title{ margin: 0; font-size: 16px; font-weight: 700; }
.lang-modal__close{
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lang-modal__body{ padding: 16px; }

.lang-flag{
  display:block;
  border-radius:0px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,0.08);
  background:#fff;
}
.lang-flag img{ display:block; width:100%; height:auto; }

/* ===== PC専用 ===== */
.lang-modal--pc .lang-modal__dialog{
  width: min(600px, 100%);
}

.lang-flag-grid--pc{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
/* ===== SP専用 ===== */
.lang-modal--sp .lang-modal__dialog{
  width: min(92vw, 520px);
}

.lang-flag-grid--sp{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}




/* 初期状態の共通設定 */
.mojianime1 span,
.mojianime2 span,
.mojianime3 span,
.mojianime4 span,
.mojianime5 span,
.mojianime6 span,
.pc-main-image span,
.mojianime8 span,
.mojianime9 span,
.mojianime10 span
{
    display: inline-block;
    opacity: 0; /* 初期は透明 */
    transform: translate(0, 0) rotateY(0deg); /* 初期位置と回転角度 */
    will-change: transform, opacity; /* パフォーマンス向上 */
    backface-visibility: visible; /* 背面を表示 */
    transform-style: preserve-3d; /* 3D効果を維持 */
}

/* アニメーションごとのスタイル */
.mojianime1 span {
    transform: translate(-10px, -10px) rotateY(0deg); /* 初期状態 */
}

.mojianime2 span {
    transform: translate(0, -10px) rotateY(0deg); /* 初期状態 */
}

.mojianime3 span {
    transform: translate(0, 10px) rotateY(0deg); /* 初期状態 */
}

.mojianime4 span {
    transform: translate(-10px, 10px) rotateY(0deg); /* 初期位置 */
}

.mojianime5 span {
    transform: translateY(20px); /* 初期位置 */

}

.mojianime6 span {
    transform: translateY(0); /* 初期位置 */
}

.mojianime7 span {
    opacity: 0; /* 初期状態で透明 */
    transform: translateY(0); /* 初期位置は変化なし */
}
.mojianime8 span {
    opacity: 0; /* 初期状態で透明 */
    transform: translateY(0px); /* 初期位置 */
}
.mojianime9 span {
    transform: translate(0, -10px); /* 初期状態 */
}
.mojianime10 span {
    transform: translate(0, 10px); /* 初期状態 */
}


/* アニメーション1 */
.title-sen1 {
  width: 100%;
  max-width: 800px;
  margin: auto;
  border-bottom: 1px solid #848484;
  transform-origin: center;
  transform: scaleX(0); /* 初期状態で非表示 */
  transition: transform 1.5s ease-out;
}
.title-sen1.title-sen1-active {
  transform: scaleX(1); /* アニメーションで表示 */
}

/* アニメーション2 */

.title-sen2 {
  width: 100%;
  max-width: 750px;
  margin: auto;
  border-bottom: 1px solid #848484;
  transform-origin: left; /* アニメーションの起点を左側に設定 */
  transform: scaleX(0); /* 初期状態で非表示 */
  transition: transform 1.3s ease-out; /* アニメーション設定 */
}

.title-sen2.title-sen2-active {
  transform: scaleX(1); /* アニメーションで表示 */
}

/* アニメーション3 */

.title-sen3 {
  width: 100%;
  max-width: 750px;
  margin: auto;
  border-bottom: 3px solid #d4d4d4;
  transform-origin: right; /* アニメーションの起点を左側に設定 */
  transform: scaleX(0); /* 初期状態で非表示 */
  transition: transform 1.3s ease-out; /* アニメーション設定 */
}

.title-sen3.title-sen3-active {
  transform: scaleX(1); /* アニメーションで表示 */
}


.title-sen4 {
  width: 100%;
  max-width: 750px;
  margin: auto;
  border-bottom: 1px solid #848484;
  transform-origin: left; /* アニメーションの起点を左側に設定 */
  transform: scaleX(0); /* 初期状態で非表示 */
  transition: transform 1.3s ease-out 0.7s; /* アニメーション設定 */
}

.title-sen4.title-sen4-active {
  transform: scaleX(1); /* アニメーションで表示 */
}


/* イメージアニメーション1　右からスライド */
.image-right {

}

.image-right img {
  opacity: 0; /* 初期は透明 */
  transform: translateX(30px); /* 右にずらす */
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.image-right-active img {
  transform: translateX(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}
.image-right-all {
  opacity: 0; /* 初期は透明 */
  transform: translateX(30px); /* 右にずらす */
  transition: transform 1s ease-out, opacity 1s ease-out;
}


.image-right-all-active{
  transform: translateX(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}


/* イメージアニメーション2　左からスライド */
.image-left {

}

.image-left img {
  opacity: 0; /* 初期は透明 */
  transform: translateX(-30px); /* 左にずらす */
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.image-left-active img {
  transform: translateX(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}

.image-left-all {
  opacity: 0; /* 初期は透明 */
  transform: translateX(-40px); /* 左にずらす */
  transition: transform 1.2s ease-out, opacity 1.2s ease-out;
}
.image-left-all-active{
  transform: translateX(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}



.image-left-1{
  opacity: 0; /* 初期は透明 */
  transform: translateX(-30px); /* 左にずらす */
  transition: transform 1.8s ease-out, opacity 1.8s ease-out;
}
.image-left-2 {
  opacity: 0;
  transform: translateX(-80px);
  transition: transform 1.8s ease-out 0.3s, opacity 1.8s ease-out 0.3s; /* 0.3秒の遅延 */
}
.image-left-3 {
  opacity: 0;
  transform: translateX(-100px);
  transition: transform 1.8s ease-out 0.6s, opacity 1.8s ease-out 0.6s; /* 0.6秒の遅延 */
}
.image-left-1-active{
  transform: translateY(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}

.image-left-2-active{
  transform: translateX(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}
.image-left-3-active{
  transform: translateX(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}

/* イメージアニメーション3　下からスライド */
.image-shita {

}

.image-shita img {
  opacity: 0; /* 初期は透明 */
  transform: translateY(30px); /* 下にずらす */
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.image-shita-active img {
  transform: translateY(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}
.image-shita-all {
  opacity: 0; /* 初期は透明 */
  transform: translateY(40px); /* 下にずらす */
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}


.image-shita-all-active{
  transform: translateY(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}

/* イメージアニメーション4　上からスライド */
.image-ue {

}

.image-ue img {
  opacity: 0; /* 初期は透明 */
  transform: translateY(-30px); /* 上にずらす */
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.image-ue-active img {
  transform: translateY(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}
.image-ue-all {
  opacity: 0; /* 初期は透明 */
  transform: translateY(-30px); /* 上にずらす */
  transition: transform 1s ease-out, opacity 1s ease-out;
}
.image-ue-all-active{
  transform: translateY(0); /* 元の位置に戻す */
  opacity: 1; /* 完全に表示 */
}

/* botanアニメーション1 */
a.botan{
display: block;	
width: 60%;	
max-width: 250px;
padding:10px 0;	
margin:auto;	
background: #ffffff;
position: relative;	
text-align: center;	
font-size:18px;
letter-spacing: 2px;
color:#8c6f54;
text-decoration: none; 
margin-bottom:60px;	
}


/* 初期状態: ボーダー非表示 */
a.botan::before,
a.botan::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 2px solid #decfbf; /* ボーダー色 */
    border-radius: 0;
    transition: none;
}

/* 左上を起点に右に伸びて下に伸びる */
a.botan::before {
    top: 0;
    left: 0;
    border-right-width: 0;
    border-bottom-width: 0;
}

/* 右下を起点に左に伸びて上に伸びる */
a.botan::after {
    bottom: 0;
    right: 0;
    border-left-width: 0;
    border-top-width: 0;
}

/* アニメーション時: ボーダー展開※クラス名は親クラス名-animate */
a.botan-animate::before {
    animation: botan-anime1 1.5s forwards;
}

a.botan-animate::after {
    animation: botan-anime2 1.5s forwards;
}

/* calcでborderの太さ文の数字を引く */
@keyframes botan-anime1 {
    0% {
        width: 0;
        height: 0;
    }
    50% {
        width: calc(100% - 0px); /* ボーダーサイズを考慮 */
        height: 0;
    }
    100% {
        width: calc(100% - 0px); /* ボーダーサイズを考慮 */
        height: calc(100% - 0px); /* ボーダーサイズを考慮 */
    }
}

@keyframes botan-anime2 {
    0% {
        width: 0;
        height: 0;
    }
    50% {
        width: calc(100% - 0px); /* ボーダーサイズを考慮 */
        height: 0;
    }
    100% {
        width: calc(100% - 0px); /* ボーダーサイズを考慮 */
        height: calc(100% - 0px); /* ボーダーサイズを考慮 */
    }
}

.botan > a::before,
.botan > a::after {
  pointer-events: none; /* ← これを追加！ */
}



