@charset "UTF-8";

body {
  color: #111;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  font-weight: 400;
  position: relative;
  letter-spacing: 0.1em;
}
#main{
  margin: 0 auto;
  width: 1280px;
}
/* 余白（1280px を超えた部分）を黒に */
html, body {
  background: #000;
}
em.hl { font-style: normal; }

/* 中央カラム（最大 1280px） */
.page-wrap {
  max-width: 1280px;
  margin-inline: auto;
  background: #fff; 
}

a {
  color: #003869;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

#wrapper {
  overflow: hidden;
}

img {
  height: auto;
}

.bold {
  font-weight: 600;
}

h2,
h3,
h4 {
  line-height: 1.4;
  font-weight: 500;
}

/* =========================
   Header layout (1280 / 36 / 60)
   ========================= */

.header-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 60px 0 60px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
}


.site-logo,
.brand {                
  flex: 0 0 auto;
}

.global-nav {
  display: flex;
  align-items: start;
  gap: 23px;
  flex: 1 1 0; 
  min-width: 0;
  margin-top: 5px;
  z-index: 3;
}

.nav-list {
  display: flex;
  width: 863px;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;    
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 3;
}

.nav-item a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .25em;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap; 
  color: #fff; 
  font-size: 15px;
  letter-spacing: 0.01em;
  z-index: 3;
}

.nav-item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 6px;
  height: 6px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: .7;
  color: #F5F5B5;
  z-index: 3;
}


.nav-cta { 
  margin-left: 0; 
}

/* 矢印のアニメ設定（見た目は変えず、動きだけ） */
.nav-item a::after{
  transition: transform .30s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
  z-index: 3;
}

/* ホバー/フォーカスで下へ数pxだけ移動 */
.nav-item:hover a::after,
.nav-item a:focus-visible::after{
  transform: translate(-50%, 6px) rotate(45deg); 
  color: #F5F5B5;
}

.nav-item a:hover,
.nav-item a:focus-visible{
  color: #F5F5B5;
}

/* アニメ控えめ設定（任意） */
@media (prefers-reduced-motion: reduce){
  .nav-item a::after{ transition: none; }
}


.btn-apply{
  --arrow-size: 6px; 
  --arrow-stroke: 1px; 
  --arrow-left: 14px; 
  position: relative;
  display: inline-block;
  width: 130px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  padding: 0 26px;
  background: #000;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  padding-left: 35px;
  z-index: 3;
}

.btn-apply::before{
  content: "";
  position: absolute;
  top: 50%;
  left: var(--arrow-left);
  width: var(--arrow-size);
  height: var(--arrow-size);
  transform: translateY(-50%) rotate(45deg);
  border-right: var(--arrow-stroke) solid currentColor;
  border-top:   var(--arrow-stroke) solid currentColor;
  z-index: 3;
}

.btn-apply{
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
  transform-origin: center;
}

.btn-apply:hover,
.btn-apply:focus-visible{
  box-shadow: inset 0 0 0 9999px rgba(91, 91, 91, 0.449);
}

/* -------------------------
   Brand (画像なしロゴ)
   ------------------------- */
.site-logo {
  margin: 0;
  line-height: 1;
  z-index: 3;
}

.brand-link {
  display: block;
  text-decoration: none;
  color: inherit; 
  z-index: 3;
}

.brand-tag {
  display: block;
  margin: 0 0 .9rem 0;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .1em;
  white-space: nowrap;
  color: #fff;
  z-index: 3;
}

.brand-sep {
  padding: 0 .1em;
  z-index: 3;
}

.brand-row {
  display: flex;
  align-items: end;
  gap: 1rem;
  z-index: 3;
}

.brand-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55em 1.1em;
  border: 4px solid #fff;
  width: 132px;
  height: 50px;
  z-index: 3;
}

.brand-box-text {
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 34px);
  letter-spacing: .02em;
  white-space: nowrap;
  color: #fff;
  font-size: 28px;
  font-weight: bolder;
  z-index: 3;
}


.brand-producer {
  display: flex;
  flex-direction: column;
  gap: .25em;
  padding-bottom: 3px;
  color: #fff;
  z-index: 3;
}

.brand-produced {
  font-family: Roboto, system-ui, -apple-system, "Noto Sans JP", sans-serif;
  font-weight: 500; 
  font-size: 10px;
  letter-spacing: .04em;
  line-height: 1;
  opacity: .6;
  transform: translateY(.15em);
  padding-bottom: 3px;
  z-index: 3;
}

.brand-name {
  font-family: Roboto, system-ui, -apple-system, "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
  color: #F5F5B5;
  z-index: 3;
}

.site-logo { 
  --brand-scale: 0.88; 
  z-index: 3;
}

.site-logo .brand-link{
  display: inline-block;           
  transform: scale(var(--brand-scale));
  transform-origin: left top; 
  z-index: 3;
}

/* =========================
   First View（レイアウトのみ）
   ========================= */
.first-view{
  position: relative;
  overflow: hidden;
  color: #fff;
}

.first-view .fv-bg{
  position: absolute;
  inset: 0;
  z-index: -2;
}
.first-view .fv-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 3;
}

.first-view .fv-overlay{
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  
}

.first-view .fv-container{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  column-gap: 40px;
}

/* =========================
   First View（レイアウトのみ）
   ========================= */
.first-view{
  position: relative;
  overflow: hidden;
  color: #fff;
}

.first-view .fv-bg{
  position: absolute;
  inset: 0;
  z-index: -2;
}
.first-view .fv-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.first-view .fv-overlay{
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.first-view .fv-container{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 1fr auto; 
  align-items: start;
  column-gap: 40px;
}

.fv-badges{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fv-badges .badge01,
.fv-badges .badge02{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 35px;
  padding: 0 12px;
  line-height: 1;
  border: 1px solid #fff;
  white-space: nowrap;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.fv-badges .badge01{
  width: 118px;
  border-right: 0;
}


.fv-badges .badge02{
  width: 210px;
}

.fv-badges > li:nth-child(3),
.fv-badges > li.badge-cert{
  margin-left: 14px;
}

.fv-badges .badge-cert{
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight:bolder;
  font-size: 12px;
  line-height: 1.5em;
  color: #F5F5B5;
}

.fv-badges > li:nth-child(3) img{
  height: 40px;
  width: auto;
  display: block;
}

.fv-title{
  grid-column: 1 / 2;
  margin: 0;
  font-weight: 900;
  color: #F5E9BE;  
  line-height: 1.08;   
  letter-spacing: .02em;
}


.fv-title .fv-line{
  display: block;
  font-size: clamp(48px, 8.5vw, 144px); 
}

.fv-title .fv-line + .fv-line{
  margin-top: .08em;
}

.fv-title01,
.fv-title02 {
  font-weight: 400;          
  font-size: clamp(48px, 5vw, 80px); 
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F0BC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.fv-title01 {
  margin-bottom: 0.2em;
}

.fv-subcopy{
  grid-column: 2 / 3;
  align-self: center;    
  margin: 0;
  font-weight: 800;
  line-height: 1.6;
  font-size: clamp(16px, 2.2vw, 28px);
  max-width: 28ch;  
}

.fv-subcopy .jp-line{ display:block; }

.fv-title{
  margin-top: 20px;
}

.fv-title01{
  margin: 0;
  font-weight: 900;
  color: #F5E9BE;     
  line-height: 1.05;
  letter-spacing: .02em;
  font-size: 66px;
}

.fv-title02{
  margin: .08em 0 0;    
  font-weight: 900;
  color: #F5E9BE;
  line-height: 1.05;
  letter-spacing: .02em;
  font-size: 66px;
  display: grid;
  grid-template-columns: auto 28ch;
  column-gap: 32px;  
  align-items: center;
}

.fv-title02 .jp-line{
  grid-column: 2;          
  margin: 0;
  font-weight: 800;
  color: #fff;
  line-height: 1.6;
  font-size: 20px;
  white-space: normal;
  line-height: 1.4em;
}

.first-view .fv-container{
  max-width: 1280px;
  margin: 400px auto 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  column-gap: 40px;
  align-items: center;
}


.fv-left,
.fv-right{
  min-width: 0;
  z-index: 3;
}


.recruit-box{
  width: 360px;   
  box-sizing: border-box;
}

.fv-right{
  justify-self: end;    
  align-self: center;    
}


.recruit-box{
  box-sizing: border-box;
  width: 200px;
  height: 200px;       
  padding: 15px 0px;         
  border: 4px solid #fff;   
  color: #fff;
  text-align: left;
  background: transparent;
  font-size: 16px;
  text-align: center;
}


.recruit-term{
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: .02em;
}

.recruit-main{
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 53px;  
  line-height: 1;
  letter-spacing: .02em;
}


.recruit-notes{
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.7;          
  letter-spacing: .003em;
  text-align: left;
  margin-left: 14px;
  font-family: 'Noto Sans Japanese';
}

.back{
  height: 800px;
  background-image: url(../img/background01.png);
  background-repeat: no-repeat;
}
/* ナビが消えないように前面へ */
.site-header{ position: relative; }
.site-header > *:not(.back){
  position: relative;
  z-index: 2;
}

/* .back を土台化（高さは既存の 800px を利用） */
.back{ position: relative; z-index: 1; overflow: hidden; }

/* 背景動画（.back の背面に敷く） */
.back .pzb-bgvid{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.back .pzb-bgvid iframe{
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: scale(1.08);
}

/* 画像を半透明で上に重ねる（既存の background を上書きして半透明化） */
.back::after{
  content: "";
  position: absolute;
  inset: 0;
  background: url(../img/background01.png) no-repeat center/cover;
  opacity: 1.95;         /* ← 透け具合はここで調整 */
  pointer-events: none;
  z-index: 1;
}
/* 元の background が二重表示にならないよう後段で打ち消し */
.back{ background: none !important; }

.back{ position: relative; }              /* 既にあればOK */

.back::before{                            /* 動画の上・画像の下に薄い黒ベール */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.18);            /* 濃さはここで調整 */
  z-index: 1;
  pointer-events: none;
}
.back .pzb-bgvid{ z-index: 0; }           /* 動画 */
.back::after{ z-index: 2; }               /* 画像（最前） */


/* =========================
   こんな方におすすめ
   ========================= */

.rec-section{
  max-width: 1280px;
  margin: 0px auto;
  padding: 0px 60px;
  box-sizing: border-box;
  background-color: #fff;
  padding-top: 100px;
}


.rec-header{
  text-align: center;
  margin-bottom: 40px;
}
.rec-title-ja{
  margin: 0;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: .04em;
}
.rec-title-en{
  margin: 10px 0 0;
  font-size: 10px;
  color: #D33063;    
  letter-spacing: .08em;
  margin-bottom: 50px;
  font-weight: 400;
}

.line{
  font-size: 9px;
  letter-spacing: 0.03em;
}

.line-letter{
  padding-left: 3px;
  padding-right: 5px;
}

.rec-list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rec-card{
  position: relative;
  background: #f7eff1;    
  padding: 35px 12px 28px;
  box-sizing: border-box;
  overflow: visible;  
  width: 260px;
  height: 260px;
}



.rec-card .rec-label{
  position: absolute;     
  top: -4px;      
  left: 0;
  padding: 0;      
  background: none;      
  color: transparent;     
  line-height: 0;
  font-size: 0;
  z-index: 2;
  pointer-events: none;   
}

.rec-card .rec-label img{
  display: block;
  height: 28px;           
  width: auto;          
}


.rec-card{
  position: relative;
  background:#FAF6F6;
  padding:30px 12px 28px; 
}


.case-label{
  position:absolute;
  top:-35px;   
  left:-12px; 
  width:50px;
  height:28px;
  z-index:3;
  pointer-events:none;
}

.rec-figure{ margin:0; line-height:0; }
.rec-photo{ display:block; width:100%; height:auto; }


.rec-figure{
  margin: 8px 0 16px;
  display: grid;
  place-items: center;
}
.rec-figure img{
  width: 100%;
  max-width: 240px;     
  height: auto;
  display: block;
}


.rec-list > li.rec-card:nth-of-type(6) .rec-figure img{
  width: 50%;
  max-width: none;  
  height: auto;
}

.rec-list > li.rec-card:nth-of-type(7) .rec-figure img{
  width: 50%;
  max-width: none;  
  height: auto;
}

.rec-list > li.rec-card:nth-of-type(1) > .rec-text{
  padding-top: 20px;
}
.rec-figure{
  position: relative;
  overflow: visible;                 /* ずらしても切らない */
  --shift-x: 0px;                    /* +右 / −左 */
  --shift-y: 0px;                    /* +下  / −上  */
  --scale: 1;
}
.rec-figure img{
  transform: translate(var(--shift-x), var(--shift-y)) scale(var(--scale));
  transform-origin: center;
  transition: transform .2s ease;
  pointer-events: none;
}
.rec-list > li.rec-card:nth-of-type(1) > .rec-figure{
  --shift-x: 8px;
  --shift-y: 4px;
}
.rec-list > li.rec-card:nth-of-type(3) > .rec-figure{
  --shift-x: 14px;
  --shift-y: -1px;
}
.rec-list > li.rec-card:nth-of-type(4) > .rec-figure{
  --shift-x: 12px;
  --shift-y: 4px;
}
.rec-list > li.rec-card:nth-of-type(6) > .rec-figure{
  --shift-x: 8px;
  --shift-y: -3px;
}


.rec-list > li.rec-card:nth-of-type(3) > .rec-text{
  padding-top: 2px;
}

.rec-list > li.rec-card:nth-of-type(4) > .rec-text{
  padding-top: 2px;
}

.rec-list > li.rec-card:nth-of-type(5) > .rec-text{
  padding-top: 18px;
}

.rec-list > li.rec-card:nth-of-type(6) > .rec-text{
  padding-top: 3px;
}

.rec-list > li.rec-card:nth-of-type(7) > .rec-text{
  padding-top: 4px;
}

.rec-text{
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding-top: 10px;
}

.rec-text .hl{
  color: #D33063;
  font-weight: 700;
  font-style: normal;
}

/* =========================
   こんな方におすすめ
   ========================= */

.rec-figure{           
  inline-size: var(--box);
  block-size: var(--box);      
  margin: 0 auto 14px;       
  display: grid;
  place-items: center;        
}

.rec-figure img{
  max-inline-size: 86%;   
  max-block-size: 100%;
  width: auto;
  height: auto;
  object-fit: contain;  
  display: block;
}




/* ========== 他にこういった方にもおすすめ（adv） ========== */
.rec-adv-section{
  max-width:1280px;
  margin-inline:auto;
  padding:80px 60px 100px;
  box-sizing:border-box;
  background-color: #fff;
}

.rec-adv-header{
  text-align:center;
  margin-bottom:30px;
}
.rec-adv-title{
  font-weight:700;
  font-size:22px;
  line-height:1.3;
  letter-spacing: 0.04em;
}
.rec-adv-underline{
  display:inline-block;
  width:40px;
  height:1px;
  background:#e85a78;
  margin-top:40px;
}

.rec-adv-list{
  list-style:none;
  margin:28px auto 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:36px 40px;
}

.rec-adv-card{
  position:relative;
  width: 560px;
  height: 260px;
  background:#f7f1f1;
  box-shadow:0 1px 0 rgba(0,0,0,.05);
  transition:transform .3s ease, box-shadow .3s ease;
}

/* .rec-adv-label{
  position:absolute;
  left:0px;
  top:0px;
  padding:6px 12px;
  line-height:1;
  font-size:14px;
  color:#fff;
  background:#111;
  transition:transform .3s ease;
} */

.rec-adv-inner{
  display:flex;
  flex-direction:column;
}

.rec-adv-figure{
  display:grid;
  place-items:center;
  margin:0 0 12px;
}
.rec-adv-figure img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.rec-adv-body{ margin-top:6px; }
.rec-adv-text{
  text-align:center;
  font-size:14px;
  line-height:1.9;
  margin:0;
  font-weight: bold;

}

.rec-adv-text .hl{
  color:#D33063;
  font-weight:800;
}

.rec-adv-figure img[src$="case_10.png"] {
  height: 150px;  
  width: auto;
}

.rec-adv-card,
.rec-adv-inner,
.rec-adv-figure{
  position: relative;
  overflow: visible; 
}


.rec-adv-figure{
  height: 150px;            
  place-items: start center;  
  z-index: 1;                
}


.rec-adv-body{
  position: relative;
  z-index: 2;
}


.rec-adv-figure img{
  max-height: none;             
  width: auto;
  transform: translateY(-18px);   
  transform-origin: top center;
  pointer-events: none;            
}

.rec-adv-figure img[src$="case_10.png"]{
  transform: translateY(-20px) scale(1.08); 
}

.rec-adv-figure{
  position: relative;
  height: 147px;              
  overflow: visible;       
  place-items: start center;    
  --shift-y: 0px;             
  --scale: 1;          
}
.rec-adv-figure img{
  max-height: none;
  width: auto;
  transform: translateY(var(--shift-y)) scale(var(--scale)) !important;
  transform-origin: top center;
  transition: transform .2s ease;
  pointer-events: none;
}


.learn-section{
  max-width:1280px;
  margin:0 auto;
  padding-inline:60px;     
  box-sizing:border-box;
  background: url(../img/back00.jpg) no-repeat center top / contain;
}


.learn-header{ 
  text-align:center; 
  margin:0 0 36px; 
  padding-top: 80px;
}
.learn-title-ja{ 
  margin:0; 
  font-size:24px; 
  font-weight:800;
  color: #F5F5B5; 
}
.learn-title-en{ 
  margin:8px 0 45px; 
  font-size:10px; 
  opacity:.7; 
  color: #fff;
  font-weight: bold;
  font-weight: 600;
  font-family: 'Roboto';
}

/* ＝＝＝＝＝＝グリッド　Row 1 : Learn x3＝＝＝＝*/
.learn-grid{
  display: grid;
  grid-template-columns: repeat(3, 360px);      
  gap: 24px;                                     
  width: calc(360px * 3 + 24px * 2);          
  margin-inline: auto;                      
  list-style: none;
  margin-block-end: 50px;
  padding: 0;
}

.learn-card{ width: 100%; }
.learn-figure{ width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.learn-figure img{ width: 100%; height: 100%; object-fit: cover; display: block; }


.learn-body{ 
  padding:22px 0px 0px; 
}
.learn-h3{ 
  margin:0 0 8px; 
  font-size:16px; 
  font-weight:700; 
  text-align: center;
  color: #F5F5B5;
  letter-spacing: 0.03rem;
}
.learn-text{ 
  margin:0; 
  font-size:14px; 
  line-height:1.8; 
  text-align: center;
  font-weight: 500;
  color: white;
  margin-top: 22px;
  letter-spacing: 0.03rem;
  font-family: 'Noto Sans Japanese';
}
/* learn本文の太さが細く見える問題の対処 */
.learn-section .learn-text{
  font-family: 'Noto Sans JP'!important;
  font-weight: 500 !important;
  font-variation-settings: 'wght' 500;  
  font-synthesis: none;                  
  -webkit-font-smoothing: antialiased; 
  letter-spacing: 0.04em;
}


/* ＝＝＝＝＝＝グリッド　Row 2 : Learn x3＝＝＝＝*/
.lg-row{
  --gap: 40px;                          
  display: grid;
  grid-template-columns: 560px 260px 260px;  
  gap: var(--gap);
  width: calc(560px + 260px + 260px + var(--gap) * 2); 
  margin-inline: auto;           
  list-style: none;
  padding: 0;
  margin-bottom: 50px;
}


.lg-card{
  position: relative;
  background: transparent;
}


.lg-figure{
  width: 100%;
  height: 260px;
  overflow: hidden;
}
.lg-figure img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lg-body{ 
  padding:30px 0px 0px; 
}
.lg-h3{ 
  margin:0 0 8px; 
  font-size:16px; 
  font-weight:700; 
  text-align: center;
  color: #D33063;
  letter-spacing: 0.02rem;
}
.lg-text{ 
  margin:0; 
  font-size:1.34rem; 
  line-height:1.8; 
  text-align: center;
  font-weight: 550;
  color: black;
  margin-top: 15px;
  letter-spacing: 0.04rem;
  
}

.lg-text a{
  color:#D33063;
  text-decoration: none;    
  display: inline-block;     
  position: relative;
}


.lg-text a::after{
  content: "";
  display: block;
  height: 1px;            
  width: 94%;            
  margin: -2px 2px 0;         
  background: #D33063;
  margin-left: -2px;
}




/* ===== Row 3 : 260 / 260 / 560 + gap(40*2) = 1160px ===== */
.fa-row{
  --gap: 40px;
  display: grid;
  grid-template-columns: 260px 260px 560px;          
  gap: var(--gap);
  width: calc(260px + 260px + 560px + var(--gap)*2); 
  margin-inline: auto;                             
  list-style: none;
  padding: 0 0 100px 0;
  margin-bottom: 50px;
  margin-top: 20px;
}


.fa-row .lb-media{
  position: relative;
  
  overflow: hidden;
}
.fa-row .lb-photo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.fa-row .learn-card--badge::before{
  content: "";
  position: absolute;
  top: -22px;         
  right: -13px;       
  width: 50px;
  height: 50px;
  background: center / contain no-repeat;
  background-image: url("../img/learn.png");
  z-index: 100;
  pointer-events: none;
}


.fa-row .learn-card--badge.is-facility::before{
  background-image: url("../img/facility.png");
}
.fa-row .learn-card--badge.is-location::before{
  background-image: url("../img/badge-location.png");
}


.back02{
  background-image: url("../img/back00.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  padding-bottom: 80px;
}


.learn-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 40px;
}


.learn-card{
  position: relative;
  isolation: isolate;        
}


.lb-media{
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}

.lb-photo{
  display: block;
  height: 100%;
  object-fit: cover;
}


.learn-card--badge{ position: relative; }
.learn-card--badge::before{
  content: "";
  position: absolute;
  top: -22px;      
  right: -13px;     
  width: 50px;
  height: 50px;
  background: center / contain no-repeat;
  background-image: url("../img/learn.png"); 
  z-index: 100;
  pointer-events: none;
}


.learn-card--badge.is-location::before{
  background-image: url("../img/badge-location.png"); 
}
.learn-card--badge.is-facility::before{
  background-image: url("../img/facility.png"); 
}


/* ===== Instructor セクション全体 ===== */
.learn-instructor {
  position: relative;
  margin-top: -200px;        
  z-index: 5;               
}


.inst-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;    
  gap: 30px;
  padding: 40px 20px;
  background: #D4417C; 
  height: 185px;
}


.inst-figure {
  flex: 0 0 auto;
  padding: 0 0 6px 30px;
}
.inst-figure img {
  max-width: 220px;   
  height: auto;
  display: block;
}


.inst-body {
  flex: 1;
  color: #fff;
}


.inst-title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: flex;
}


.inst-label {
  display: flex;          
  align-items: center;      
  justify-content: center;    
  margin-right: 20px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #fff;
  color: #fff;
  width: 89px;
  height: 32px;
  padding: 0;             
  line-height: 1;          
}

.name{
  color: #F5F5B5;
}


.inst-en {
  font-size: 11px;
  margin-left: 10px;
  font-weight: 600;
  opacity: 0.9;
  padding-top: 13px;
  color: #F5F5B5;
}


.inst-text {
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
  font-weight: 500;
  font-family: 'Noto Sans Japanese';
  letter-spacing: 0.04em;
  font-family: var(--font-sans) !important; /* ← Noto Sans JP を指名 */
  font-weight: 500 !important;              /* ← 500 をロック */
  font-variation-settings: 'wght' 500;      /* 可変フォントにも明示 */
  font-synthesis: none;                     /* 擬似ボールド禁止（にじみ防止） */
  -webkit-font-smoothing: antialiased;      /* Macの見え方を整える */
  padding-left: 10px;
}

.white{
  background-color: white;
}

:root{
  --cur-gap: 40px;            
  --cur-card-w: 360px;         
  --cur-card-h: 190px;        
  --cur-pink: #D33063;        
  --cur-box-bg: #FAF6F6;      
  --cur-ink: #111111;         
}

#curriculum{
  padding: 100px 0;
  background-color: white;
}

#curriculum .cur-header{
  text-align: center;
  margin-bottom: 28px;
  font-weight: 700;
}
#curriculum .cur-title-ja{
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--cur-ink);
  font-weight: 800;
}
#curriculum .cur-title-en{
  margin: 0;
  font-size: 10px;
  letter-spacing: .08em;
  color: #D33063;
  margin-bottom: 40px;
}


#curriculum .cur-grid{
  display: grid;
  grid-template-columns: repeat(3, var(--cur-card-w));
  gap: var(--cur-gap);
  width: calc(var(--cur-card-w) * 3 + var(--cur-gap) * 2); 
  margin-inline: auto;                               
  list-style: none;
  padding: 0;
}


#curriculum .cur-card{
  height: var(--cur-card-h);
  background: var(--cur-box-bg);
  border: 1px dashed var(--cur-pink);
  border-radius: 0;              
  box-sizing: border-box;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


#curriculum .cur-card-hd{
  display: flex;
  align-items: center;
  column-gap: 10px;
  margin: 5px 0 23px;
}

#curriculum .cur-badge{
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: #111;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
}

#curriculum .cur-h3{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--cur-ink);
}


#curriculum .cur-tags{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 315px;
}

#curriculum .cur-tag{
  display: inline-block;
  border: 1px solid var(--cur-pink);
  padding: 7px;
  line-height: 1;
  color: var(--cur-pink);
  font-weight: bolder;
  background: #fff;
  font-size: 14px;
  height: 32px;
  letter-spacing: 0.01rem; 
}

.cur-tags01 li{
  margin-top: 20px;
}

:root{
  --cur-inset: 24px; 
}


#curriculum .cur-card{
  position: relative;
  background: transparent;   
  border: 1px dotted var(--cur-pink);
}

#curriculum .cur-card::before{
  content: "";
  position: absolute;
  inset: var(--cur-inset);   
  background: var(--cur-box-bg);
  z-index: 0;
  inset: 7px 7px;
}


#curriculum .cur-card > *{
  position: relative;
  z-index: 1;
}


#date{
  background-color: white;
}

#date .date-header{
  text-align: center;
  margin-bottom: 28px;
}
#date .date-title-ja{
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 6px;
  font-weight: 800;
}
#date .date-title-en{
  margin: 0;
  font-size: 10px;
  letter-spacing: .08em;
  color: #D33063;
  margin-bottom: 40px;
}
.baner01{
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 100px;

}

/* ===== Theme ===== */
:root{
  --ink: #111111;
  --ink-weak: #645D5C;
  --brand: #D4417C;          /* セクション右側のピンク */
  --brand-strong: #D33063;   /* 強めのピンク（数字など） */
  --light: #FAF6F6;          /* 左側の薄いピンク背景 */
  --line: #D9D9D9;
  --accent-blue: #3D8DCC;    /* 補助用（必要なら） */
  --white: #fff;
}

/* ===== Section ===== */
.sc-section{
  padding-bottom: 100px;
  background: #fff;
  color: var(--ink);
  font-feature-settings: "palt";
  font-size: 10px;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.sc-header{
  text-align:center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.sc-title{
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}
.sc-en{
  margin: 8px 0 0;
  font-size: 10px;
  letter-spacing:.12em;
  color: #D33063;
  letter-spacing: .08em;
}


/* 2カラム */
.sc-grid{
  width: min(1160px, 92%);
  margin-inline:auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
}

/* ===== Card base ===== */
.sc-card{          
  padding: 20px 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  height: 500px;
}

.card-title{
  text-align:center;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding-top: 20px;
}
.card-title span{
  padding-left: 8px;
}

.sc-fee .card-title{
  color: #F5F5B5; 
}

.sc-schedule .card-title{
  color: #D33063; 
}

.card-title-line{
  width: 40px;
  height: 1px;
  background: #D33063;
  margin: 35px auto 16px;
}
.card-title-line--light{ 
  background: #F5F5B5; 
}

/* ===== 左：日程 ===== */
.sc-schedule{
  background: var(--light);
  border: 1px solid #F0E7E8;   /* 薄い縁 */
}
.schedule-meta{
  text-align:center;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 40px;
  letter-spacing: 0.09em;
  font-weight: 500;
}
/* 日付行のベース */
.schedule-date{
  text-align: left;
  line-height: 1.1;
  letter-spacing: .02em;
  margin: 0 0 16px;
}

.schedule-date{
  color: #000;
  font-size: 20px;
  margin: 40px auto;
  text-align: center;
  font-weight: bold;
}

.schedule-date .em{
  font-size: 45px;
  color: #D33063;
  font-weight: bold;
  font-family: 'Roboto';
}

.schedule-date .em:nth-of-type(4){
  display:inline-block; 
  margin-left:-0.3em; 
}

.note{
  list-style: none;
  padding: 0;
  margin: 35px 0 0 0;
  font-size: 13px;
  text-align: center;
  font-weight: 600;
}
.note li{
  position: relative;
  padding-left: 1.2em;
  line-height: 1.7;
}
.note li::before{
  position: absolute;
  left: 0;
  color: var(--ink-weak);
}
.schedule-illust{
  position: absolute;
  inset: auto 24px 24px 24px; /* 下左右 */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.schedule-illust img{
  display: block;
  max-width: clamp(120px, 30%, 240px);
  height: auto;
}
/* ========== Illustration (左: 教室 / 右: 人物) ========== */
/* 枠サイズは Figma 値に固定。左右は固定幅、中央は余白 */
.schedule-illust--grid{
  display: grid;
  grid-template-columns: 131px 1fr 209px; /* 左固定 / 余白 / 右固定 */
  align-items: end;                       /* 画像は下端揃え */
  column-gap: 0;
  width: 530px;                           /* 全体幅 */
  height: 189px;                          /* 全体高さ（枠） */
}

/* 画像は比率維持（高さは自動）。これで歪みません */
.schedule-illust--grid img{
  display: block;
  max-width: 100%;
  height: auto;
}

/* 左右の配置（クラスあり版） */
.schedule-illust--grid .illust-classroom{
  grid-column: 1;
  justify-self: start;
  align-self: end;
  width: 131px;           /* 横だけ固定（高さは自動） */
}

.schedule-illust--grid .illust-people{
  grid-column: 3;
  justify-self: end;
  align-self: end;
  width: 209px;           /* 横だけ固定（高さは自動） */
}

/* ---- クラスが無い場合のフォールバック（1枚目=左 / 2枚目=右） ---- */
.schedule-illust--grid img:first-child{
  grid-column: 1;
  justify-self: start;
  align-self: end;
  width: 131px;
}
.schedule-illust--grid img:last-child{
  grid-column: 3;
  justify-self: end;
  align-self: end;
  width: 209px;
}



/* ===== 右：受講費用 ===== */
.sc-fee{
  background: var(--brand);
  color: var(--white);
}
.fee-meta{
  text-align:center;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.fee-row{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0;
  transform: translateY(-9px);
}

.off-small{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.off-label{
  font-size: 14px;
  margin-top: 2px;
}
.off-big{
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.15;
}
.off-big .yen{ font-size: .75em; }

/* 価格 */
.price{ 
  text-align:left;
 }
 .sc-fee .price-img{
  display: block;
  height: auto;
}

.sc-card.sc-fee .fee-row .price > img {
  display: block;  
  height: auto;
  transform: translateY(10px); 
}


.price-now{
  margin: 0;
  line-height: 1.1;
}
.price-now .num{
  font-weight: 800;
  font-size: clamp(36px, 5vw, 48px);
}
.price-now .unit{
  margin-left: .3em;
  font-size: 14px;
}
.price-old{
  margin: .4em 0 0;
  font-size: 14px;
  opacity: .95;
}

/* 白文字の注意書き */
.note--light li{ color: #fff; }
.note--light li::before{ color: rgba(255,255,255,.8); }

/* 右下イラスト */
.fee-illust{
  position: absolute;
  right: 24px;
  bottom: 20px;
  transform: translate(24px, 95px);
}
.fee-illust img{
  width: 100%;
  height: auto;
  display: block;
}
/* 受講費用カードを基準にする */
.sc-card.sc-fee{
  position: relative;
  /* 置き場所は変数で微調整できるようにしておく */
  --note-left: 72px;   /* 左からの位置（調整用） */
  --note-top:  300px;  /* 上からの位置（調整用） */
}

/* 「入学金…」の UL をカード内の所定位置に固定 */
.sc-card.sc-fee > .note{
  position: absolute;
  left: var(--note-left);
  top:  var(--note-top);
  width: min(620px, 80%);   /* 行長を適度に制限 */
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 1;              /* 必要に応じて前面へ */
}

/* 行頭の「※」風マーカーと見やすい字間行間 */
.sc-card.sc-fee > .note li{
  position: relative;
  padding-left: 1.6em;
  line-height: 1.9;
  margin: .2em 0;
}
.sc-card.sc-fee > .note li::before{
  content: "※";
  position: absolute;
  left: 0; top: 0;
}
.note-left{
  width: 250px;
  text-align: center;
  transform: translateX(-45px);
  font-size: 14px;
  font-weight: 500;
  margin-top: 40px;
  font-weight: 600;
}



/* ==================== Voices ==================== */
:root{
  --voices-wrap: 1160px; 
  --voices-gap : 40px;   
  --voices-card-w: 260px;
  --voices-card-h: 160px;
  --voices-pad   : 18px; 
}


.vc-section{
  padding: 67px 0 100px;
  color: #fff;
  background: url("../img/background04.png") center/cover no-repeat;
}

.vc-header{
  width: var(--voices-wrap);
  margin: 20px auto 24px;
  text-align: center;
}
.vc-title{
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 22px;
  color: #F5F5B5;
}
.vc-divider{
  display:block;
  width: 40px;
  height: 1px;
  margin: 35px auto 40px;
  background:#F5F5B5;
}

.vc-grid{
  width: var(--voices-wrap);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, var(--voices-card-w));
  gap: var(--voices-gap);
}

.vc-card{
  position: relative;
  width: 260px;
  height: 160px;
  padding: 4px 10px;
  border: 2px dotted rgba(255,255,255,.9);
  box-sizing: border-box;
  font-family: 'Roboto';
  font-weight: 500;
}

.vc-meta{ display:block; }
.vc-meta time{
  font-size: 14px;
  letter-spacing: 0.04em;
}
.vc-meta time{
  font-size: 10px;
  letter-spacing: 0.04m;
  opacity: .95;
  font-weight: 500;
}
.vc-icon{
  position: absolute;
  top: 5px;
  right: 7px;
  width: 24px;
  height: 24px;
}

.vc-who{
  margin: 0 0 15px;
  font-size: 12px;
  font-weight: 900;
  color: #F5F5B5;
  text-align: center;
  letter-spacing: 0.04rem;
  font-family: 'Noto Sans Japanese';
}


.vc-text{
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
  font-weight: 550;
  letter-spacing: 0.04rem;
  width: 220px;
  margin: 0 auto;
  font-family: 'Noto Sans Japanese';
}
/* セクションのコンテナ名に合わせて範囲を絞る。例: .voice or .learn-section など */
.learn-section,
.learn-section * {
  font-family: var(--font-ja) !important;
  font-synthesis-weight: none;            /* 擬似ボールド禁止 */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 個別の太さ（必要に応じて） */
.vc-text  { font-weight: 550 !important; font-variation-settings: 'wght' 550; }
.vc-who   { font-weight: 900 !important; font-variation-settings: 'wght' 900; }
.inst-text{ font-weight: 500 !important; font-variation-settings: 'wght' 500; }
.learn-text{font-weight: 500 !important; font-variation-settings: 'wght' 500; }
.vc-who{
  font-family: var(--font-ja) !important;
  font-weight: bolder !important;                 /* Black */
  font-variation-settings: 'wght' 900;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: #F5F5B5;
  font-synthesis-weight: none;                 /* 疑似ボールド禁止 */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* ====== FAQ ====== */
:root{
  --faq-accent:#D4417C;
  --faq-ink:#111111;
  --faq-qbg:#FAF1F4;
  --faq-abg:#FBF5F7;
  --faq-br:#F0E3E8;
}

.faq-header{
  max-width:1160px;
  margin:100px auto 28px;
  text-align:center;
}

.faq-title-ja{
  font-size:28px;
  font-weight:800;
  margin:0 0 6px;
}

.faq-title-en{
  margin:8px 0 0;
  color:#D33063;
  font-size:10px;
  letter-spacing:.08em;
  margin-bottom: 40px;
}


.faq-grid{
  max-width:1160px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px 40px;
}

.faq-item{
  color:var(--faq-ink);
}

.faq-question{
  all:unset;
  display:grid;
  grid-template-columns:50px 1fr 24px;
  align-items:center;
  gap:18px;
  width:100%;
  background:var(--faq-qbg);
  cursor:pointer;
}
.faq-question:focus-visible{
  outline:2px solid var(--faq-accent);
  outline-offset:2px;
}

.faq-q{
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  background:var(--faq-accent);
  color:#fff;
  font-weight:600;
  font-size:22px;
  line-height:1;
  font-family: 'Roboto';
}

.faq-a{
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  color:var(--faq-accent);
  font-weight:800;
  font-size:20px;
}

.faq-text{
  font-size:16px;
  font-weight:700;
  letter-spacing:0.04em;
}

.faq-icon{
  position:relative;
  width:20px;
  height:20px;
  font-size:0;
}

.faq-question{ position: relative; }

.faq-icon{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 20px; 
}


.faq-icon::before,.faq-icon::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:2px;
  background:var(--faq-accent);
  transform:translateY(-50%);
}

.faq-icon::after{
  width:2px;
  height:100%;
  left:50%;
  top:0;
  transform:
  translateX(-50%)
}

.faq-answer{
  display:none;
  background:var(--faq-abg);
  border:1px solid var(--faq-br);
  border-top:none;
  padding: 10px 20px 20px 0;
  grid-template-columns:50px 1fr;
  gap:18px;
  width: 562px;
  margin-top: 5px;
}

.faq-answer p{
  margin:0;
  font-size:16px;
  padding-top: 10px;
  letter-spacing: 0.04em;
  line-height: 1.5; 
  font-weight: 400;
  width: 450px;
}


.faq-question[aria-expanded="true"] + .faq-answer{display:grid;}
.faq-question[aria-expanded="true"]{border-bottom-color:transparent;}
.faq-question[aria-expanded="true"] 
.faq-icon::after{opacity:0;} 

/* PCは段組でスキマ解消（HTMLはそのまま） */
@media (min-width: 960px){
  .faq-grid{
    /* ここで grid をやめて段組に */
    display: block;         /* ← display:grid の上書き */
    column-count: 2;
    column-gap: 40px;       /* 既存の横ギャップを維持 */
    max-width:1160px;
    margin:0 auto;
  }
  .faq-item{
    break-inside: avoid;            /* 要素の途中改ページ防止 */
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    margin: 0 0 28px;               /* 既存の縦ギャップを維持 */
  }
}

/* 固定幅を撤去してカラム幅にフィットさせる */
.faq-answer{
  width: auto;               /* 562px → 自動 */
  box-sizing: border-box;    /* 既存のpadding込みで計算 */
}

/* ── FAQ：PCは2本の独立カラム。開閉しても列は固定 ── */
@media (min-width: 960px){
  .faq-grid{
    display: flex !important;      /* columns/gridを上書き */
    gap: 40px;
    max-width:1160px;
    margin:0 auto;
    column-count: initial;         /* 念のためリセット */
  }
  .faq-col{
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 10px;                     /* 縦の間隔 */
    min-width: 0;
    align-items: stretch;
  }
  .faq-item{ width:100%; }
  .faq-answer{ width:100%; box-sizing:border-box; } /* 列幅にフィット */
}

/* SPは1カラムのまま */
@media (max-width: 959.98px){
  .faq-grid{ display:block; }
  .faq-col{ display:block; }
}


/* ================= お問い合わせ ================= */

/* ===== お問い合わせ ===== */
:root{
  --ink: #111111;
  --paper: #FAF6F6;
  --accent: #D33063;
}

.contact-section{ 
  padding-block: 100px 0; 
}

.contact-title{
  margin: 0 0 40px;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
  color: var(--ink);
  font-weight: 700;
  font-size: 22px;
}

.contact-title::after{
  content:"";
  display:block;
  width:40px; 
  height:1px;
  margin:30px auto 20px;
  background:var(--accent);
}

/* 本体カード */
.contact-card{
  max-width: 1160px;
  height: 400px;
  margin-inline: auto;
  background: var(--paper);
  align-items: center;
  gap: 10px;
  padding: 0 0px 21px;  
  box-sizing: border-box;
  align-items: start;
  margin-bottom: 100px;
  font-family: 'font-family: "Noto Sans JP", sans-serif;';
}

.contact-illu{ 
  margin: 0; 
  align-self: end; 
}
.contact-illu img{ 
  display:block; 
  width:100%; 
  height:auto; 
}

.contact-body{ 
  text-align:center; 
  padding-inline: 0px; 
  margin-top: 50px;
  font-size: 16px;
  font-weight: 700;
}
.contact-lead{ 
  margin:0 0 30px; 
  font-size:16px; 
  color:var(--ink); 
  letter-spacing: 0.04em;
}

.contact-tel{
  margin: 20px 0 30px 20px;
}


.contact-tel a{ 
  color:inherit; 
  text-decoration:none; 
}


.contact-hours span{
  color: #D64B83;
}

.contact-plate__tel a img {
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.contact-plate__tel a:hover img,
.contact-plate__tel a:focus img {
  transform: scale(1.08); 
}


.contact-address{ 
  margin:0 0 10px; 
  font-size:14px; 
  line-height:1.7; 
  font-style:normal; 
}
.contact-note{ 
  margin:0; 
  font-size:14px; 
  color:var(--accent); 
  letter-spacing:.04em; 
}

.contact-plate__tel:hover img,
.contact-plate__tel:focus-visible img{
  transform: translateY(-2px) scale(1.04);
  filter: saturate(1.05);
}

/* スクリーンリーダー用 */
.sr-only{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0; padding:0; margin:-1px;
}
/* ===== contact：lead を1行のまま全文表示（周囲に影響ゼロ） ===== */

.contact-card{
  position: relative;
  grid-template-columns: 300px minmax(0,1fr) 300px; /* 既存gridに追記OK */
}

.contact-body{
  position: relative;
  min-width: 0;
  padding-top: 36px; 
}

p.contact-lead{
  position: absolute;
  top: 0;
  left: -24px;
  right: 0;       
  z-index: 10;  
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;  
  overflow: visible;   
  text-overflow: clip;
  pointer-events: none;
  font-weight: 700;
}

/* 画像2枚レイヤード：背景の上に番号を絶対配置 */
.contact-plate{
  position: relative;
}
@media (max-width: 640px){
  .contact-plate{ width: min(92vw, 540px); } /* SPで縮む */
}

/* 背景（説明テキスト入りの方） */
.contact-plate__bg{
  display: block;
  width: 100%;
  height: auto;
}

/* 電話番号（上に重ねる）— ここをpxで微調整してOK */
.contact-plate__tel{
  position: absolute;
  top: 105px; 
  left: 330px;
  z-index: 2;
  display: inline-block;
}

/* 番号画像のサイズ（はみ出さない保険） */
.contact-plate__tel img{
  display: block;
  height: auto;
}

/* 既存の p.contact-tel の余白が邪魔なら簡単にリセット */
p.contact-tel{ margin: 0; }



/* ================= お申し込み ================= */
.apply-section {
  background: #fff !important;
}

.apply-header {
  text-align: center;
  margin-bottom: 40px;
}

.apply-title-ja {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.apply-title-en {
  font-size: 14px;
  color: #d4417c;
  font-weight: 400;
}

.apply-intro {
  max-width: 1050px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  font-weight: 550;
}

.apply-intro .apply-tel {
  color: #d4417c;
  font-weight: 600;
  text-decoration: underline;
}

.apply-form {
  max-width: 600px;
  margin: 70px auto 0;
}

.apply-field {
  margin-bottom: 40px;
}

.apply-field label,
.apply-field legend {
  display: block;
  font-weight: 600;
  margin-bottom: 15px;
  color: #d4417c;
  font-size: 16px;
  text-align: left;
}

.req {
  color: #d4417c;
  margin-left: 4px;
}

.apply-field input[type="text"],
.apply-field input[type="email"],
.apply-field input[type="tel"],
.apply-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  background: #FAF6F6;
  outline: none;
  box-sizing: border-box;
}

.apply-field textarea {
  resize: vertical;
  min-height: 200px;
}

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

.choices-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  width: 620px;
}

.choices-inline label {
  font-size: 14px;
  color: #111;
  cursor: pointer;
}
.choices-inline input[type="radio"],
.choices-inline input[type="checkbox"]{
  margin: 0 0 3px 0;
}

.choices-inline input[type="checkbox"],
.choices-inline input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

.apply-actions {
  text-align: center;
  margin-top: 40px;
}

.apply-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d4417c;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 24px;
  cursor: pointer;
  transition: 0.3s ease;
  width: 130px;
  height: 40px;
}

.apply-submit:hover {
  opacity: 0.85;
}

.apply-arrow {
  font-size: 18px;
  line-height: 1;
}

.choices-inline input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  background-color: #FAF6F6;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  margin-right: 6px;
  transition: all 0.2s ease;
}


.choices-inline input[type="radio"]:hover {
  border-color: #d4417c;
}


.choices-inline input[type="radio"]:checked {
  background-color: #d4417c;
  border-color: #d4417c;
}


.choices-inline input[type="radio"]:checked::after {
  content: "✔";
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%); 
}

.access{
  text-align: center;
  margin-top: 50px;
  font-size: 14px;
  font-weight: 500;
}

/* ===== アクセス（Google Map） ===== */
.access-section {
  max-width: 1280px;
  padding: 0 60px;
}

.access-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.map-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 40%; 
  height: 0;
  overflow: hidden;
}

.map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* footer
----------------------------------*/
.footer {
  width: 100%;
  text-align: center;
  padding: 80px 0;
  margin-top: 40px;
  padding-bottom: 100px;
}

.footer .copyright {
  font-family: "Roboto", sans-serif;
  font-size: 10px;  
  line-height: 24px;
  color: #999999;   
  letter-spacing: 0.05em; 
}


/* PCでは確実に隠す */
img.sp-only { display: none !important; }
img.pc-only { display: block !important; }

/* スマホだけ反転 */
@media (max-width: 768px){
  img.sp-only { display: block !important; }
  img.pc-only { display: none !important; }
}
br.sp-only { display: none !important; }
/* ーーー PC 基準（グローバル） ーーー */
.sp-only { 
  display: none !important;   /* ← 要素そのものをPCで非表示にする */
}

/* ーーー SP だけ反転 ーーー */
@media (max-width: 768px){
  .sp-only { display: block !important; }  /* aside/figure 等は block でOK */
  br.sp-only { display: inline !important; } /* 改行だけは inline に */
  .pc-only { display: none !important; }    /* PC専用は隠す */
}
