@charset "UTF-8";
/* CSS Document */

/* コピペ用コード */
.font-size-dummy {
    font-size: .75rem;   /* 12px */
    font-size: .8125rem; /* 13px */
    font-size: .875rem;  /* 14px */
    font-size: 1rem;     /* 16px */
    font-size: 1.25rem;  /* 20px */
    font-size: 1.75rem;  /* 28px */
}

/* common */

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

:root {
    --base-color:#C39B50;
    --accent-color:#896d38;
    --black:#080C13;
    --white:#fff;
    --darkgray:#666666;
    --gray:#BBBBBB;
    --bg:#E5E5E5;
    --bg2:#EFF4FF;
}

html{
    color: var(--black);/*文字色*/
    -webkit-font-feature-settings:"palt";/*google choromeの文字詰め設定*/
    font-feature-settings:"palt";/*文字詰め設定*/
    letter-spacing: 0.05em;/*文字の間隔を詰める　font-feature-settingで詰まりすぎた文字間を開ける*/
    scroll-behavior: smooth; /*アンカーリンクでスムーススクロール*/
}

body{
    font-family: YakuHanJP, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    overflow-x: hidden;/* 追記 */
    word-wrap: break-word;
}

section{
    scroll-margin-top: 110px;/* リンク先の要素の上部に追加のマージンを設定することで、ヘッダーの高さ分だけスクロール位置をずらすことができる。 */
}

.display-PC{
    display: block;
}

.display-SP{
    display: none;
}

.display-flex-SP{
    display: none;
}

a{
    text-decoration: none;
    color: var(--black);
}

img{
    max-width: 100%;
    height: auto;
}

.flex{
    display: flex;
}

.bg{
    background-color: var(--bg);
}

.bg2{
    background-color: var(--bg2);
}

.description{
    margin-top: 56px;
    line-height: 1.5;
}

/***header***/

.header-container{
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--white);
    display: flex;
    padding: 8px;
    box-shadow: 0 4px 4px rgba(00, 00, 00, .25);
}

/*　上に上がる動き　*/

#header.up-move{
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
    from {
    opacity: 1;
    transform: translateY(0);
    }
    to {
    opacity: 0;
    transform: translateY(-100px);
    }
}

/*　下に下がる動き　*/

#header.down-move{
    animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
    from {
    opacity: 0;
    transform: translateY(-100px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

.header-container .grid-item:first-child{ /* 最初（ロゴ）だけ右寄せ */
    margin-right: auto;
}

.header-container img{
    width: 68%;
}

.tel img{
    width: 135px;
}

.header-logo{
    flex-basis: 140px;
}

.pc-nav {
    overflow:hidden;
    list-style:none;
    margin-right: 24px;
    z-index: 20;
}

.pc-nav-item {
    display: inline-block;
    padding: 30px 10px;
    font-size: .875rem;  /* 14px */
}

.line-yoyaku{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
}

.line-yoyaku a{
    background-color: var(--accent-color);
    padding: 13px 16px;
    color: var(--white);
    border-radius: 4px;
    border: 2px solid var(--accent-color);
}

.mail-yoyaku{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 24px;
}

.mail-yoyaku a{
    background-color: var(--white);
    padding: 13px 16px;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 4px;
}

.tel{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
}

/***ham***/

.sp-nav{
    display: none;
}

.hamburger{
    width: 40px;
    height: 25px;
    position: relative;
    top: 24px;
    right: 12px;
}

.hamburger span{
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--black);
    transition: .5s;
}

.hamburger span:first-of-type{/* ハンバーガーメニューの1番目の線 */
    top: 0;
}
.hamburger span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
top: 50%;
}
.hamburger span:last-of-type{/* ハンバーガーメニューの3番目の線 */
top: 100%;
}
.slide-menu{
background-color: rgba(0, 0, 0, .8);
position: fixed;
top: 91px;
width: 100%;
left: 0;
transform: translateX(100%);
transition: .5s;
height: 100vh;
}
.slide-menu li{
line-height: 400%;
text-align: center;
}

.slide-menu a{
    color: #fff;
}

.hamburger.active span:first-of-type{/* ハンバーガーメニューの1番目の線 */
    top: 50%;
    transform: rotate(45deg);
}
  .hamburger.active span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
    opacity: 0;/* 透明にする */
}
  .hamburger.active span:last-of-type{/* ハンバーガーメニューの3番目の線 */
    top: 50%;
    transform: rotate(-45deg);
}
.slide-menu.active{
    transform: translateX(0);
}

/***ham***/

/***header***/

/* bottom-nav */
.bottom-nav{
    position: fixed;
    left: 0;
    bottom: 0;
    background: var(--white);
    width: 100%;
    z-index: 4;
}

.bottom-nav ul{
    border: 2px solid var(--white);
}

.bottom-nav li{
    border-collapse: collapse;
    border: 1px solid var(--white);
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 5px;
    list-style: none;
    text-align: center;
}

.bottom-nav li a{
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding: 16px 5px;
    background: var(--accent-color);
    text-align: center;
    color: var(--white);
    font-size: 1rem;
}

/* bottom-nav */

/* page-top */

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 0.875rem;
    line-height: 60px;
    z-index: 99;
}
#page-top a {
    background: var(--black);
    text-decoration: none;
    color: #fff;
    width: 60px;
    height: 60px;
    text-align: center;
    display: block;
    border-radius: 90px;
    opacity: 0.9;
}
#page-top a:hover {
    text-decoration: none;
    opacity: .5;
}

/* section common */

.contentWrap{
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

.title img{
    height: 70px;
}

/* MV */

.MV-container{
    margin-bottom: 100px;
}

/* about */

.about-title,
.price-title,
.company-title,
.sns-title,
.faq-title{
    margin-bottom: 24px;
}

.lead{
    font-size: 2rem;
    color: var(--base-color);
    position: relative;
}

.lead::before {
    background-color: var(--base-color); /* 線の色 */
    border-radius: 5px;
    bottom: -16px; /* 線の位置 */
    content: "";
    height: 2px; /* 線の高さ */
    left: 0; /* 線の中央寄せ */
    position: absolute;
    width: 40px; /* 線の長さ */
}

.about-des{
    margin-bottom: 64px;
}

/* founder */

.founder-area{
    padding: 10px;
	white-space: nowrap;
	overflow: hidden;
	position:relative;
    margin-bottom: 100px;
}

.founder-area .bg-text {
	position:absolute;
	top:-20px;
	left:-18px;
	margin: 0;
    width: 52%;
}

.staffWrap{
    margin: 160px auto 64px;
}

.staffWrap .grid-col-3{
    justify-content: center;
}

.staff-area{
    margin-top: 56px;
    text-align: center;
    width: 358px;
    border-right: 2px solid var(--gray);
}

.staff-area:last-child{
    border: none;
}

.staff-image{
    width: 100%;
}

.staff-image img{
    margin-bottom: 24px;
    width: 60%;
}

.staff-description{
    font-size: 1.125rem;
    line-height: 1.3;
}

/* message */

.messageWrap{
    margin-top: 64px;
}

.message-description{
    margin-bottom: 64px;
}

/* service */

.serviceMV{
    margin-bottom: 64px;
}

.serviceWrap{
    text-align: center;
    padding: 64px 0;
}

.service-title{
    display: inline-block;
    font-weight: bold;
    font-size: 2rem;
    color: var(--white);
    padding: 16px 48px;
    background: linear-gradient(90deg, var(--accent-color) , var(--base-color));
    border-radius: 40px;
    margin-bottom: 32px;
}

.serviceWrap .grid-col-2{
    flex-wrap: wrap;
    gap: 48px 4%;
    justify-content: flex-start;
}

.serviceWrap .grid-item{
    flex: 0 0 calc(50% - 24px);
}

/* 詳細ページに関しての記述 */
/* カード全体の hover を効かせるために grid-item を pointer にする */
.grid-item.has-detail {
    cursor: pointer;
}

/* has-detail（詳細ページあり）のみ下線を表示する用意 */
.grid-item.has-detail .service-description::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;         /* テキストと線の距離 */
    width: 100%;
    height: 2px;
    background: var(--accent-color, #0077ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s cubic-bezier(.2,.9,.2,1);
    pointer-events: none; /* 擬似要素がクリックを邪魔しないように */
}

/* figure全体をクリック可能にしているアンカーはブロック化する */
.service-link {
    display: block;
    color: var(--black);
    text-decoration: none;
}

.serviceWrap img{
    border-radius: 8px;
    margin-bottom: 24px;
}

.grid-item:hover .service-link img,
.grid-item:focus-within .service-link img {
    transform: scale(1.08);
}

.service-link img {
    transition: transform 0.4s ease;
}


.service-description{
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    display: inline-block; /* 擬似要素の幅をテキスト幅に合わせる */
    margin-top: 12px;
    transition: transform 0.3s ease;
}

/* ホバー or フォーカスで下線を出す（カード全体で発火） */
.grid-item.has-detail:hover .service-description::after,
.grid-item.has-detail:focus-within .service-description::after {
  transform: scaleX(1);
}

/* キーボードで見えるフォーカスも確保（アクセシビリティ） */
.service-link:focus {
  outline: none;
}

.grid-item.has-detail:focus-within {
  /* 任意：フォーカス時の微妙な強調 */
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.mb100{
    margin-bottom: 100px;
}

/* 料金スライダー */

.swiper_area{
    width: 100%;
    position: relative;
    overflow: hidden;
}

.course-swiper{
    overflow: visible;
    padding: 56px 8% 40px;
}

.main-slider--2 .course-swiper{
    padding: 0 8% 100px;
}

.course-swiper .swiper-wrapper {
      /* wrapperのサイズを調整 */
    width: 100%;
    height: 100%;
}

.course-swiper .swiper-slide {/* スライドのサイズを調整 */
    background-color: var(--white); /*背景色*/
    width: 32.6%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,.25); /*シャドウ*/
    border-radius: 8px;
}

.course-swiper .swiper-slide.swiper-slide-top {/* スライドのサイズを調整 */
    background: linear-gradient(180deg, var(--base-color) 0%, var(--base-color) 2%, var(--white) 2%, var(--white) 100%); /*背景色*/
}

.main-slider--2 .swiper-slide.swiper-slide-top {/* スライドのサイズを調整 */
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--accent-color) 2%, var(--white) 2%, var(--white) 100%); /*背景色*/
}

.course-swiper .swiper-slide h3{
    color: var(--black);
}

.swiper-slide img.swiper-slide-img,
.price-img img{
    object-fit: cover;
    width: 100%;
    border-radius: 4px 4px 0 0;
    aspect-ratio: 16 / 9;
}

.swiper-slide-text:first-child{
    padding: 30px;
}

.swiper-slide-text{
    padding: 30px;
    border-radius: 0 0 6px 6px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.swiper-wrapper .swiper-slide:first-of-type .swiper-slide-text{
    border-radius: 6px;
}

.swiper-slide-text ul li{
    padding-left: 30px;
	line-height: 1.6;
	background: url(/images/check.svg) left 0px top 4px no-repeat;
	background-size: 15px auto;
    color: var(--black);
}

.main-slider--2 ul li{
    background: url(/images/check2.svg) left 0px top 4px no-repeat;
    background-size: 15px auto;
}

.swiper-slide-text h3{
    font-size: 1.5rem;
    margin-bottom: 50px;
    line-height: 1.3;
}

.swiper-slide-text .course-title{
    font-size: 1.25rem;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray);
    margin-bottom: 20px;
    color: var(--base-color);
}

.main-slider--2 .course-title{
    color: var(--accent-color);
}

.swiper-slide-text p,
.swiper-slide-text ul li{
    line-height: 1.5;
}

.swiper-slide-text .course-description{
    text-align: justify;
    line-height: 1.7;
    flex-grow: 1;
    font-size: .875rem;
}

.course-price-flex{
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.course-price{
    padding-left: 2.5em;
    text-indent: -2.5em;
}

.notes{
    margin-top: 10px;
    font-size: 0.625rem;
    color: var(--darkgray);
}

.swiper-slide .read-more:last-child{
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: var(--text);
    margin-top: auto;
}

.swiper-slide .read-more::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 50%;
    height: 2px;
    background: var(--border-hover);
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

/* company */

.company-area{
    margin-top: 56px;
    padding: 80px 64px 64px;
    box-shadow: 0 4px 8px rgba(00, 00, 00, .25);
    border-radius: 8px;
    margin-bottom: 100px;
}

table{
    width: 100%;
}

section th,
section td{
    padding: 24px 10px 16px;
    border-bottom: 1px solid var(--gray);
}

section th{
    width: 20%;
    text-align: left;
    font-weight: bold;
}

/*************************SNS*************************/

.snsWrap{
    padding-top: 100px;
    padding-bottom: 100px;
}

.sns-title{
    text-align: center;
}

p.insta-lead,
p.timeline-lead{
    font-size: 2rem;
    color: var(--base-color);
    text-align: center;
    margin-bottom: 16px;
}

.sns-box{
    margin: 0 auto;
    justify-content: space-between;
    max-width: 1000px;
    display: flex;
    padding: 0 20px;
}

.insta-thumb{
    width: calc((100% - 40px)/2);
    height: 1004px;
    overflow: scroll;
    -ms-overflow-style: none;/* edgeでスクロールバーを消す */
    scrollbar-width: none;/* firefoxでスクロールバーを消す */
}

.insta-thumb::-webkit-scrollbar{/* chromeでスクロールバーを消す */
    display: none;
}

.timeline {
    width: calc((100% - 40px)/2);
}

.insta_list{
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    justify-content: space-between;
}

.insta_list li{
    position: relative;
    width: calc((100% - 20px)/2);
    margin-bottom: 20px;
}

.insta_list li::before{
	content: "";
	display: block;
	padding-top: 100%;
}

.insta_list a{
	position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.insta_list img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*************************SNS*************************/


/* faq */

.faq-area{
    margin-top: 56px;
    margin-bottom: 100px;
}

.faq-title{
    margin-top: 100px;
}

.faq{
    padding: 32px;
    box-shadow: 0 4px 8px rgba(00, 00, 00, .25);
    border-radius: 8px;
    margin-bottom: 24px;
}

.faq-box .faq dt{
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--base-color);
}

.faq-box .faq dt::before {
    position: absolute;
    content: "";
    display: flex;
    background: url(/images/question.svg) no-repeat;
    vertical-align: middle;
    color: #fff;
    width: 36px;
    height: 36px;
}

.faq-box .faq dt p{
    padding-left: 46px;
}

.faq-box .faq dd p{
    line-height: 1.3;
}

.faq-box .notes{
    display: block;
    font-size: 0.75rem;
}

/* footer */

.footer-area{
    background-color: var(--base-color);
    text-align: center;
    padding-top: 10px;
}

.footer-area img{
    width: 100px;
}

.footer-area p{
    text-align: center;
}

footer .notes{
    color: var(--white);
    padding-bottom: 10px;
    margin-top: 0;
}

footer .law-link{
    color: var(--white);
    text-decoration: underline;
    display: block;
    font-size: 0.75rem;
    margin: 10px auto;
}

/*****************************サービスページ*****************************/

.MV-container.service-container {
    position: relative;
    width: 100%;
    height: 350px;
    margin-top: 90px; /* ★ 固定ヘッダー高さぶん下へずらす */
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center; /* 中央にテキスト配置 */
    overflow: hidden;
}

/* 左側の縦長画像 */
.service-mv-image {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    /* ★ ここで上下に余白を作る（お好みで調整） */
    padding: 20px 0 20px 40px; 
    box-sizing: border-box;
}

.service-mv-image img {
    height: 100%;
    width: auto; /* 縦長画像として横は伸ばさない */
    object-fit: contain;
    display: block;
}

/* 追加：セクション全体にオーバーレイ */
.mv-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* 透明度調整可 */
    z-index: 1;
}

/* 中央テキスト */
.service-mv-text {
    position: relative;
    z-index: 2; /* overlay より前 */
    text-align: center;
    color: #fff; /* ★白文字 */
}

.service-mv-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 8px;
}

.service-mv-links {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 共通ボタン */
.mv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 48px;              /* ★ 高さを固定して揃える */
  padding: 0 28px;           /* 左右だけ余白 */
  min-width: 260px;          /* 見た目を揃える */

  border-radius: 9999px;     /* ★ 角丸 */
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;

  background: rgba(255, 255, 255, 0.25);
  border: 1px solid var(--accent-color);

  backdrop-filter: blur(4px);
  transition: background 0.25s ease, transform 0.3s ease;
}

/* hover（PC） */
.mv-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ▼ 電話ボタンはデフォルト非表示（PC/タブレット） */
.mv-btn-tel {
  display: none;
}


.service-message{
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: bold;
}

.service-section {
    margin: 80px 0;
}


.point-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    padding: 0 100px;
}

.service-section.point-02 .point-inner {
    flex-direction: row-reverse; /* 2つ目だけ左右反転 */
}

/* テキストエリア */
.point-text {
    position: relative;
    background: #fff;
    padding: 60px 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 75%;
    border-radius: 8px;
}

/* 番号（上辺から半分はみ出す） */
.point-number {
    position: absolute;
    top: -30px;
    font-size: 64px;
    font-weight: bold;
    color: var(--base-color);
}

.point-title{
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 32px;
}

.point-description{
    line-height: 1.4;
    font-size: 0.75rem;
}

/* 01 は左寄り */
.point-01 .point-number,
.point-03 .point-number {
    left: 40px;
}

/* 02 は右寄り */
.point-02 .point-number {
    right: 40px;
}

/* 画像 */
.point-image {
    width: 37%;
}

.point-image img {
    width: 100%;
    height: auto;
    display: block;
}

.device-inner{
    max-width: 1200px;
    margin: 56px auto 100px;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(00, 00, 00, .25);
    border-radius: 8px;
}

.device-list{
    display:grid;
    grid-template-columns:150px 1fr;
    gap:32px 24px;
}
.device-list dt{
    font-weight:bold;
    line-height:1.7;
    border-bottom: 1px solid var(--gray);
    padding: 12px 0;
}
.device-list dd{
    margin:0;
    line-height:1.7;
    border-bottom: 1px solid var(--gray);
    padding: 12px 0;
}

/*****************************サービスページ*****************************/

/*****************************特定商取引に関する法律に基づく表記*****************************/

.MV-container.law-container {
    position: relative;
    width: 100%;
    height: 220px;
    margin-top: 90px; /* ★ 固定ヘッダー高さぶん下へずらす */
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center; /* 中央にテキスト配置 */
}

/* 中央テキスト */
.law-mv-text {
    position: relative;
    z-index: 2; /* overlay より前 */
    text-align: center;
    color: #fff; /* ★白文字 */
}

.law-mv-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.6;
}

.tsc-box{
    border:1px solid #eee;
    border-radius:8px;
    padding:28px;
    margin-bottom: 40px;
}

.tsc-list{
    display:grid;
    grid-template-columns:150px 1fr;
    gap:32px 24px;
}
.tsc-list dt{
    font-weight:bold;
    line-height:1.7;
}
.tsc-list dd{
    margin:0;
    line-height:1.7;
}

.tsc-list dd span.notes{
    font-size: 0.75rem;
    color: var(--black);
}

.link{
    text-decoration:underline;
    color:inherit;
}


/*****************************特定商取引に関する法律に基づく表記*****************************/


@media screen and (max-width:1024px){

    .contentWrap{
        width: 95%;
    }

    .grid-item > .pc-nav{
        display: none;
    }

    /* founder */
    .founder-area .bg-text{
        top: -11px;
        left: -11px;
    }

    /* service */

    .service-title{
        font-size: 1.5rem;
    }

    .service-description{
        font-size: 1.25rem;
    }

    .course-swiper .swiper-slide{
        width: 48.8%;
    }

    /******************** serviceページ *********************/
    .point-inner ,
    .service-section.point-02 .point-inner{
        padding: 0 16px;
    }


}

@media screen and (max-width:768px){

    .pc-nav{
        display: none;
    }

    .sp-nav{
        display: block;
    }

    #page-top{
        bottom: 80px;
    }

    .display-SP{
        display: block;
    }

    .display-flex-SP{
        display: flex;
    }

    .staff-description{
        font-size: 0.875rem;
    }


    /* serviceページ */
    /* 1) 縦並びに変更（reverse だったとしても縦にする） */
    .point-inner ,
    .service-section.point-02 .point-inner{
        flex-direction: column; /* 縦並び */
        align-items: stretch;
        gap: 20px;
        padding: 0 16px;
    }
    
    /* 2) テキスト・画像を幅100%に */
    .point-text,
    .point-image {
        width: 100%;
    }
    
    /* 3) テキストを上、画像を下に固定（順序が重要な場合に確実にする） */
    /* .point-text {
        order: 1;
    } */

        /* 4) 番号をスマホ向けに小さくして左上寄せに */
    .point-number {
        top: -28px;
        left: 36px !important;
        right: auto !important;
    }

    .point-image img{
        width: 50%;
        margin: 0 auto;
    }


    .device-list{
        grid-template-columns:1fr;
        row-gap: 2px;
    }

    .device-list dt{
        padding-bottom: 4px;
        border-bottom: none;
    }

    .device-list dd {
        margin-bottom: 24px;
        padding-top: 0;
    }

    .footer-area{
        padding-bottom: 60px;
    }

        /*****************************特定商取引に関する法律に基づく表記*****************************/

    .MV-container.law-container {
    height: 150px;
    }

    .law-mv-title{
        font-size: 1.5rem;
    }

    .tsc-list{
        grid-template-columns:1fr;
        row-gap: 2px;
    }

    .tsc-list dd {
        margin-bottom: 24px;
    }
    /*****************************特定商取引に関する法律に基づく表記*****************************/



}

@media screen and (max-width:480px){

    .lead{
        font-size: 1.25rem;
    }

    .about-title,
    .price-title,
    .company-title,
    .sns-title,
    .faq-title{
        margin-bottom: 16px;
    }

    /* founder */
    .founder-area .bg-text{
        top: -4px;
        left: -4px;
    }

    .staffWrap .grid-col-3{
        flex-direction: column;
        align-items: center;
    }

    .staff-area{
        border-right: none;
        display: flex;
    }

    .staff-image{
        margin-right: 24px;
    }

    .staff-image img{
        width: 100%;
    }

    .staff-description{
        text-align: left;
    }

    .service-title{
        font-size: 1.25rem;
    }

    .serviceWrap .grid-col-2{
        gap: 48px 5%;
    }

    .serviceWrap .grid-item{
        flex-basis: 46%;
    }

    .serviceWrap img{
        margin-bottom: 16px;
    }

    .service-description{
        font-size: 0.875rem;
        line-height: 1.3;
    }

    .course-swiper .swiper-slide{
        width: 95%;
    }

    .lead{
        text-align: center;
    }

    .lead::before{
        left: 50%;
        transform: translateX(-50%);
    }

    .title{
        text-align: center;
    }

    .title img{
        height: 40px;
    }

    /* 詳細ページありのサービスは常時下線 */
    .grid-item.has-detail .service-description::after {
    transform: scaleX(1);
    }

    /* SPではスライドアニメーションを無効にする */
    .grid-item.has-detail .service-description {
        transform: none !important;
    }

    .company-area{
        padding: 40px 32px 32px;
    }

    .sns-box{
        flex-direction: column;
    }

    .timeline,
    .insta-thumb{
        width: 100%;
    }

    .faq{
        padding: 24px;
    }

    /******************** serviceページ *********************/

    .MV-container.service-container{
        margin-bottom: 24px;
    }

.service-mv-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .mv-btn {
    width: 100%;
    max-width: 280px;
  }

  .mv-btn-tel {
    display: inline-flex;
  }

    .service-mv-image{
        left: 50%;
        transform: translateX(-50%);
        padding-left: 0;
    }

    .service-section{
        margin: 64px 0 40px ;
    }

    .service-message{
        font-size: 1.25rem;
        text-align: center;
    }



    .point-image {
        order: 2;
    }

    .point-number {
        top: -18px;
        left: 14px !important;
        right: auto !important;
        font-size: 40px;
    }

    /* 5) テキスト内パディング調整（狭い画面向け） */
    .point-text {
        padding: 30px;
    }

  /* 6) 画像の表示調整（上下余白が欲しい場合は padding を使う） */
    .point-image {
        padding: 12px 0; /* 画像の上下余白 */
        box-sizing: border-box;
    }

    .point-image img {
        object-fit: contain; /* 全体を見せたいなら contain、見切れても良ければ cover */
        height: auto;
        max-width: 100%;
        display: block;
    }

}

