@charset "UTF-8";
/*
Theme Name:RUNGO school theme
Author: RUNGO
Description: RUNGO school theme.
Version: 1.0
*/

*{
 margin: 0;
 padding: 0;
}

body{
word-wrap: break-word;


}


html {
font-family: kozuka-gothic-pro, sans-serif;
font-style: normal;
font-weight: 200;


  font-size : 100%;
  line-height : 1.5;
  color: #383838;
}

h1,h2,h3,h4,h5,h6 {
 margin-bottom : 1em;
 font-family: toppan-bunkyu-midashi-go-std, sans-serif;
font-style: normal;
font-weight: 900;
}

h1 {
font-size : 36px; 
line-height : 1.2;
} /* 48px */

h2 {
font-size : 26px;
line-height : 1.2;
font-weight: normal;
} /* 48px */

h3 {
font-size : 24px;
line-height : 1.2;
} /* 24px */



ul, ol {
	  list-style : none;
	   line-height: 1.8em;
	     font-size:0.9em;
	  }
img { 
         vertical-align : middle;
         max-width: 100%;
         height: auto;
         }

p{
    line-height: 1.8em;
    font-size:0.9em;
}




a{
 text-decoration: none;
color: #2b2b2b;
 transition: 0.4s ease-in-out;  
}

a:hover {  
    opacity: 0.5;  
    filter: alpha(opacity=60);  
} 

img{
width: 100%;
}

/* text */

.left{
 text-align: left;
}

.right{
 text-align: right;
}

.center{
 text-align: center;
}

.bold{
 font-weight: bold;
}


.small{
 font-weight: normal;
 font-size: 0.8em;
}

/*flex*/

.flex_container_sp{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
}

.flex_center{
 justify-content: center;
  align-items: center;
}

.flex_half_sp{
width: 46%;
margin: 2%;
box-sizing: border-box;
}

.flex_4_sp{
width: 48%;
margin: 1%;
box-sizing: border-box;
}


.flex_left_sp{
width: 31%;
margin: 2%;
box-sizing: border-box;
}


.flex_right_sp{
width: 61%;
margin: 2%;
box-sizing: border-box;
}



/*header*/


body.home header{
    background-image: url("images/bg_header_sp.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 7em 3em 16em 3em;
    color: #000;

    /* アニメーション設定 */
    animation: bg-zoom-in 1.5s ease-out forwards;
}

body.page header {
    background-image: url("images/bg_header_sp.webp");
        background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 4em 4em 4em 4em;
    color: #000;
}

body.single header {
    background-image: url("images/bg_header_sp.webp");
        background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 4em 4em 4em 4em;
    color: #000;
}



/* 背景画像の拡大アニメーション */
@keyframes bg-zoom-in {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 120%;
    }
}

/* 背景画像の拡大アニメーション */
@keyframes bg-zoom-in {
    0% {
        background-size: 100%; /* 初期サイズ */
    }
    100% {
        background-size: 110%; /* 拡大後のサイズ */
    }
}

header h1{
width: 70px;
margin-bottom: 1em;
}

body:not(.home) header h1 {
margin-top:2em;
margin-bottom:2em;
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* 念のため */
}

header{
margin-bottom: 3em;
}

header p{
line-height: 1.5em;
}

header p.subtitle{
margin-bottom:0.5em;
}

header p.subtitle2{
font-weight:bold;
font-size:0.8em;
}


header p.catch{
font-size: 2.25em;
font-weight: bold;
line-height: 1.4em;
margin-bottom: 0.3em;
}

/*header animation*/
.animation {
    opacity: 0;
    transform: translateY(30px); /* 初期状態で少し下に配置 */
    transition: opacity 0.6s ease, transform 1s ease; /* アニメーション効果 */
}

/* アニメーション完了時のスタイル */
.animate-in {
    opacity: 1;
    transform: translateY(0); /* 元の位置に戻す */
}


/*nav*/

.hamburger {
  display : block;
  position: fixed;
z-index: 9999;
  left : 5px;
  top   : 5px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 20px;
  height  : 2px ;
  left    : 6px;
  
  background : #ccc;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 8px;
}
.hamburger span:nth-child(2) {
  top: 16px;
}
.hamburger span:nth-child(3) {
  top: 24px;
}

/* ナビ開いてる時のボタン */
.hamburger.open span:nth-child(1) {
  top : 16px;
  left: 6px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.open span:nth-child(2),
.hamburger.open span:nth-child(3) {
  top: 16px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
 z-index : 10; 
  top  : 0;
  left : 0;
  color: #fff;
  background: rgba(0,0,0,0.9);
  text-align: center;
  width: 100%;
  height: 100%;
  opacity: 0;
pointer-events: none;
  transition: opacity .6s ease, visibility .6s ease;
  padding-top: 4em;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.open {
  opacity: 1;
pointer-events: auto;
}



nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;

}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;

}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
  background :#2b2b2b;
}

nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;

}




/*main*/


.box0{
padding-top: 4em;
}

.box0 p.subtitle{
margin-bottom:1em;
}

.box{
margin: 1em 2em 6em 2em;
}

.box h2{
font-size: 1.4em;
letter-spacing:0.1em;
text-align:center;
}

.box h3{
font-size: 1.3em;
margin-bottom:0.3em;
line-height:1.6em;
}

p.detail{
text-align:right;
margin-left:auto;
margin-top:2em;

}

p.detail a{
display:block;
padding:0.1em 1em;
}


/* 新規作成：ボタン共通スタイル */
.btn-modern-rungo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    
    /* サイズ・形状（文字数に合わせて自動調整） */
    padding: 0.8em 2.5em;
    min-width: 220px;
    width: fit-content;
    
    /* 見た目 */
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 100px; /* 綺麗なカプセル型 */
    font-size: 0.9em;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
}

/* ホバー時の赤スライド演出 */
.btn-modern-rungo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #e60023; /* RUNGOカラーに合わせた赤 */
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-modern-rungo:hover::before {
    left: 0;
}

/* 矢印（三角形）のデザイン */
.btn-arrow {
    display: inline-block;
    margin-left: 12px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #fff;
    transition: transform 0.3s ease;
}

/* ホバー時に矢印が動くアニメーション */
.btn-modern-rungo:hover .btn-arrow {
    transform: translateX(5px);
}

/* 中央寄せにするための親要素用クラス */
.btn-container-center {
    text-align: center;
    margin: 2em 0;
}

.detail a {
    position: relative;
    display: inline-block;
    padding-right: 20px; /* 矢印の分だけ余白を作る */
    text-decoration: none;
    color: #333; /* リンクの色を調整 */
}

.detail a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #333; /* 矢印の色 */
}



/*hover*/
.detail-button {

  text-align:center;
    padding: 0.4em 1em;
    font-size: 0.7em;
    color: #fff;
    background-color: #333;
    border-radius: 30px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    outline: none;
    margin-top: 1em; /* ボタン上の余白 */
    width: calc(130px - 2em); /* 横幅調整 */
  margin-left: auto;
    margin-right: auto;
    
}

.detail-button a{
color:#fff;
}


/* 矢印（三角形） */
.detail-button .arrow {
    display: inline-block;
    margin-left: 10px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #fff;
    transition: transform 0.3s ease;
}

/* ホバー時に矢印を右に移動 */
.detail-button:hover .arrow {
    transform: translateX(5px);
}

/* 赤い背景スライド */
.detail-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: red;
    transition: left 0.3s ease;
    z-index: -1;
}

/* ホバー時の赤いスライドイン */
.detail-button:hover::before {
    left: 0;
}

/* コンテンツ（文字と矢印） */
.detail-button span, .detail-button {
    position: relative;
    z-index: 2;
}

/* フォーカススタイルを無効化 */
.detail-button:focus, .arrow:focus {
    outline: none;
}


/*zoom*/
/* 画像を包む figure 要素 */
.hover-zoom {
    position: relative;
    overflow: hidden;
    width: 100%; /* 幅を親要素に合わせる */
    aspect-ratio: 4 / 3; /* 4:3の比率を保つ */
}

/* 画像スタイル */
.hover-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 要素内に画像をフィットさせる */
    transition: transform 0.5s ease; /* ふわっと拡大するアニメーション */
}

/* マウスホバー時の拡大効果 */
.hover-zoom:hover img {
    transform: scale(1.1); /* 画像を拡大（1.1倍） */
}


/*animation*/
/* 画像全体を包む要素 */
.hover-effect {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* 画像スタイル */
.hover-effect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.5s ease;
}

/* ロゴのオーバーレイ */
.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

/* ロゴ画像 */
.logo-overlay img {
    width: 300px;
   margin-left:auto;
   margin-right: auto;
}

/* ホバー時のエフェクト */
.hover-effect:hover img.hoverimg {
    filter: brightness(20%); /* 画像に黒のフィルターをかける */
}

.hover-effect:hover .logo-overlay {
    opacity: 1; /* ロゴを表示 */
}


/*news*/
.flex_news_right{
background:#f4f4f4;
padding:1em 1em 0em 1em;
margin-bottom:2em;
width:100%;
box-sizing:border-box;
}


/*footer*/
footer{
background:#000;
padding-top:5em;
padding-bottom:5em;
}

footer figure.f_logo{
max-width:80px;
margin-bottom:2em;
font-size: 0.9em;
letter-spacing: 0.1em;
}

footer h2{
margin-bottom:0.1em;
font-size:0.9em;
color:#fff;
}

footer p{
color:#fff;
}


footer p a{
color:#fff;
}


.sns{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
max-width: 250px;
margin:2em 0;
}


.globalMenuSp .sns{
margin:2em auto;
}



.sns figure{
width: 15%;
margin: 9%;
}

ul.sns li img{
width: 100%;
}

/*page*/


.page_title{
border-top:10px solid #000;
width:30px;
margin-bottom:0.5em;
}

.page_title_box{
margin-left:2em;
margin-right:2em;
}

.page figure{
margin-bottom:1em;
}

.page h2{
font-size: 1.4em;
border-bottom:1px solid #000;
padding-bottom:0.3em;
margin-bottom:1em;
}



.page .profile h2{
border-bottom:none;

}


.page h3{
font-size: 1.2em;
margin-bottom:0.5em;
}

.page h4{
display:inline-block;
background:#2b2b2b;
color: #fff;
border-radius:100px;
padding:0.1em 1em;
margin-top:1em;
font-size:1em;
}

.page p{
margin-bottom:1em;
}

.page p.boxsub{
margin-bottom:0.3em;

}

.page ul{
margin-bottom:2em;
list-style-type:disc;
margin-left: 1em;
}

.page .box_page1 figure{
margin-bottom:0;
}

.bg_box ul{
margin-bottom:2em;

}

.bg_box p.price{
margin-bottom:1.1em;
border-bottom:2px solid #696969;
}

.bg_box{
background:#f4f4f4;
padding:1em 1em 1em 1em;
margin-bottom:2em;
}


/*page*/
.page_in{
margin-left: 3em;
}


.page_in p{
margin-left: 2%;
margin-bottom: 3em;
}




.page_in h2{
font-size: 1.2em;
margin-left: 2%;
border-bottom: 1px dotted #ccc;
padding-bottom: 0.5em;
margin-bottom: 1.5em;
}

.page_in h3{
font-size: 1.1em;
margin-left: 2%;
letter-spacing: 0.1em;
font-weight: normal;
}

.page_in ul{
margin-left: 2%;
margin-bottom: 1em;
}

.page_in figure{
margin-bottom: 1em;
}

.page_in ul.small_ul{
list-style:disc;
margin-left: 3%;
line-height: 1.8em;
font-size: 0.9em;
}

.page_in .bread{
margin-left: 2%;
}



/*single*/


.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-left: 2%;
  margin-bottom: 2em;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.page_main_single hr{
margin-top:2em;
margin-bottom:2em;
}

.page_main_single h2{
font-size:1.8em;
border-bottom:none;
margin-left: 0;
padding-left: 0;
margin-bottom:0.5em;
}


.page_main_single h3{
font-size:1.5em;
}

/*セミナーボタン*/
.seminar_btn {
  display: inline-block;
  padding: 12px 28px;
  background: #e60023; /* 通常の赤 */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.4s ease-in-out, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.seminar_btn:hover {
  background: #ff3344; /* 明るめの赤でくすまない */
  transform: translateY(-2px);
}

.seminar_btn:active {
  background: #cc0022; /* 少し濃い赤（押し込み時） */
  transform: translateY(0);
}

.box .post-content h2{
text-align:left;
}



/*pagenavigation*/
/* ページナビゲーション */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3em;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.3em 2em;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.9em;
    line-height: 1;
   transition: all 0.4s ease;
}

.nav-button:hover {
    background-color: #333;
}

.nav-prev {
    /* 左に三角がある分、左右のバランスを調整 */
    padding-left: 1.2em;
    padding-right: 2em;
}

.nav-next {
    padding-left: 2em;
    padding-right: 1.2em;
}

.triangle {
    display: inline-block;
    width: 0;
    height: 0;
}

.triangle.left {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid white;
}

.triangle.right {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid white;
}

.nav-text {
    line-height: 1;
    font-family: inherit;
}


/*ページナビゲーション２*/
.circle-pagination {
    text-align: center;
    margin: 3em 0;
}

.box_page1 .circle-pagination ul li {
    border-bottom: none;
}

.circle-pagination ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 0.8em;
}

.circle-pagination li a,
.circle-pagination li span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    text-decoration: none;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

/* 通常リンク */
.circle-pagination li a {
    background: #2b2b2b;
    color: #fff;
}

/* 現在のページ（←spanタグで出力される） */
.circle-pagination li span.current {
    background: #000;
    color: #fff;
    pointer-events: none;
}

/* span（.current以外）には背景色をつけない */
.circle-pagination li span:not(.current) {
    background: none;
    color: #fff;
}

/* ホバー時のリンク */
.circle-pagination li a:hover {
    background: #555;
}


/*特定商取引法に基づく表記*/
.sct_box{
max-width:800px;
margin-left: auto;
margin-right:auto; 
margin-top:3em;
}

.sct_box h2{
font-size:1.1em;
margin-bottom:0.5em;
}

.sct_box_in{
margin-bottom:2em;
}


/*contact*/

.wpcf7 textarea ,.wpcf7 input[type="text"],
.wpcf7 input[type="email"],.wpcf7{
width: 100%;
  padding: 1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
border-radius: 5px;
box-shadow: none;
}

 input[type="tel"],.wpcf7 input[type="number"]{
      padding: 1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
border-radius: 5px;
box-shadow: none;
background: #fff;
 }

input[type="text"].p-postal-code{
    max-width: 120px;
}

input[type="text"].p-region{
    max-width: 280px;
}
input[type="text"].p-locality{
    max-width: 280px;
}

.wpcf7-form .wpcf7-select, select {      
 padding: 1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
border-radius: 5px;
box-shadow: 1px 1px 0px rgba(0,0,0,0.4) inset;;
background: #fff;
height: 35px;
}





.wpcf7 textarea ,.wpcf7 input[type="text"],
.wpcf7 input[type="email"],.wpcf7 input[type="tel"]{
  padding: 1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
border-radius: 5px;
box-shadow: none;
background: #fff;
}


.wpcf7 select{
  padding: 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
border-radius: 5px;
box-shadow: none;
background: #fff;
}


.wpcf7 input[type="submit"]
  {

width: 300px;
padding: 1em 2em;
font-size: 14px;
border: none;
background-color: red;
-webkit-appearance: none;
cursor: pointer;
border-radius: 3px;
color: #fff;
font-weight: bold;
text-align: center;
margin: 0 auto;
margin-right: auto;
margin-left: auto;
display: block;
margin-bottom: 5em;
    -webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}

.wpcf7 input[type="submit"]:hover{
  opacity: 0.8;
    filter: alpha(opacity=60);
  }

.wpcf7-list-item-label{
 margin-right: 15px;
}
.fb-page{
width: 100%!important;
}
.clearfix:after {  
  content: ".";   
  display: block;   
  height: 0;   
  clear: both;   
  visibility: hidden;  
}  
  
.clearfix { display: inline-table; }  

.contact  h1{
        max-width: 800px;
    margin: 0 auto;
    margin-bottom: 2em;
}

.contact_page1 {
    max-width: 800px;
    margin: 0 auto;
}

.contact_page1  h2{
    letter-spacing: 0.1em;
    font-size: 1.1em;
    font-weight: bold;
    background: #000;
    color:  #fff;
    padding: 0.5em 0em;
    font-weight: normal;
    margin-bottom: 2em;
}

.contact_page1  h3{
    font-size: 1em;
    padding-bottom: 0.6em;
    margin-bottom: 1em;
    border-bottom: 1px dotted #ccc;   
}

.contact_page1  p{
    margin-bottom: 2em;
}

.contact_page1  {
    line-height: 1.8em;
}

.contact_page1  dt{
    margin-bottom: 0.5em;
}

.contact_page1  dd{
    margin-bottom: 2em;
}

.contact_page1 p{
    margin-bottom: 4em;
}

p.c_tit{
  border-bottom: 1px dotted #696969;  
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

/*外部コンテンツ*/
iframe	{max-width: 100%}


p.contact_btn{
position:fixed;
bottom: 0;
z-index: 1;
right: 2em;
background: red;
color: #fff;
text-align: center;
padding: 0.5em 1em;
font-size: 0.9em;
letter-spacing: 0.1em;
border-radius: 10px 10px 0px 0px;
max-width: 350px;
margin-left: auto;
margin-right: auto;
}

p.contact_btn a{
display: block;
color: #fff;
}



/*footer*/


footer{
color: #000;
font-size: 0.9em;
letter-spacing: 0.1em;
}

footer a{
color: #000;
}


p.copy{
font-size: 0.8em;
}



.section1,
.section2{
  padding: 50px;
}
.section1{
  position: relative;
  background-color: #000;
}
.section1::before{
  content:"";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 300px 100vw ;
  border-color: transparent transparent #ffe100; transparent;
}

.section2{
background: #ffe100;
}



@media screen and (min-width: 769px){
.box h2{
font-size: 1.8em;
letter-spacing:0.1em;

}

ul, ol {
	     font-size:1em;
	  }

p{
    font-size:1em;
}



/*flex*/

.flex_container_pc{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
}

.stretch{
align-items: stretch;
}

.flex_half_pc{
width:48%;
margin:1%;
}

.flex_3_pc {
   width:46%;
    margin: 2%;
    box-sizing: border-box;
}




.flex_half_sp{
width: 31%;
margin: 1%;
}

.flex_4_sp{
width: 23%;
margin: 1%;
box-sizing: border-box;
}



/*nav*/
.hamburger {
  display : block;
  position: fixed;
  z-index : 999;
  left : 10px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}



/*header*/


header h1{
width: 90px;
}

header p.subtitle{
font-size: 1.2em;
letter-spacing:0.1em;
}


header p.catch{
font-size: 4em;
font-weight: bold;
line-height: 1.4em;
margin-bottom: 0.3em;
}

.box{
margin: 1em 2em 6em 2em;
}

.box h2{

text-align: center;
}


.box_in{
max-width:1600px;
margin-left: auto;
margin-right: auto;
}


.page_title_box_in{
max-width:1600px;
margin-left: auto;
margin-right: auto;
}

/*main*/
.page p.boxsub{
font-size:1em;
margin-bottom:0.3em;

}

p.price{
font-size:1em;
}

p.price br{
display:none;
}

/*page*/
.page_main{
max-width:1000px;
margin-left: auto;
margin-right:auto;
padding-top:3em; 
padding-bottom:5em;
}

.page_main_single{
max-width:800px;
margin-left: auto;
margin-right:auto;
padding-top:3em; 
padding-bottom:5em;
}


.page_main .page_title_box{

padding-bottom:2em;
line-height:3em;
}

.page_main .page_title_box h1{

line-height:1.5em;
}


.main_seminar_box{
width:80%;
margin-left: auto;
margin-right:auto;
}


/*web*/
.web h3{
font-size:1.4em;
}



/*footer*/

footer figure.f_logo{
margin-left: auto;
margin-right: auto;
}

footer h2{
text-align:center;
}

footer p{
text-align:center;
}



.sns{
margin:2em auto;
}


/*page*/
.business{
margin-right: 2em;
}

.page_in{
margin-right: 2em;
}

 
 
 .bg_box{
background:#f4f4f4;
padding:2em;
margin-bottom:2em;
}

.sct_box h2{
font-size:1.1em;
}



}



@media screen and (min-width: 1024px){
.box h2{

text-align: center;
}


/*flex*/

.flex_container_pc2{
display: -webkit-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
}


.flex_half_pc2{
width:48%;
margin:1%;
}

.flex_4_sp{
width: 23%;
margin: 1%;
box-sizing: border-box;
}



body.home header{
background-image:url("images/bg_header_pc2.webp");
padding:8em 5em 20em 10em;
}



.flex_3_pc {
     width:31%;
    margin: 1%;
    box-sizing: border-box;
}

.main_seminar_box{
width:80%;
margin-left: auto;
margin-right:auto;
}


.banner_top h2{
text-align:left;
font-size:1.4em;
}

/*consulting*/



.bg_page_box1 {

    background: linear-gradient(to bottom, #fff 50%, #2b2b2b 50%);
    padding-bottom:3em;
    margin-bottom:5em;
}





.flex_container_overlay {
    display: flex;
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
}

.image_wrapper {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.image_wrapper figure {
    margin: 0;
    width: 100%;
    height: 100%;
}

.image_wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.text_wrapper {
    width: 50%;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%); /* 上下中央揃え */
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* 必要に応じて明示的な高さを設定 */
}
.bg_white {
    background: rgba(255, 255, 255, 1); /* 少し透け感を加える */
    padding: 2em;
    box-sizing: border-box;
    max-width:700px;
}

/*news*/

.news_page{
margin-left:2em;
margin-right: 2em;
}

.flex_news_left {
  width: 30%;
  display: flex;
  align-items: center; /* 縦中央 */
  box-sizing: border-box;
  margin-bottom:2em;
 background:#000;
}

.flex_news_right {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 上下に余白をつけて */
  box-sizing: border-box;
margin-bottom:2em;
}

.flex_news_right .bg_box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 中身を縦中央 */
}


.flex_news_right　p.detail-button {
  text-align: right; /* 右寄せ */
  margin-top: 10px;
}


/*特定商取引法に基づく表記*/

.sct_box h2{
font-size:1.1em;
}



}

@media screen and (min-width: 1280px){
header{
background-image:url("images/bg_header_pc.webp");
padding:8em 5em 20em 10em;
}

.box_page1 .box{
max-width:1400px;
margin-left: auto;
margin-right:auto;
}

.flex_half_pc2{
width:46%;
margin:2%;
}

.page_main .page_title_box{
margin-left: 0;

}


/*main*/


.box{
margin: 1em 3em 6em 3em;
}

.box h2{

text-align: center;
}

.banner_top h2{
text-align:left;
font-size:1.6em;
}

.main_seminar_box{
max-width:1100px;
margin-left: auto;
margin-right:auto;
}

.main_seminar_box h2{
margin-left: 0;
}



.profile{
max-width:65%;
margin-left:auto;
margin-right: auto;
}

.prof_left_pc{
width:35%;
margin-right: 5%;
box-sizing:border-box;
}

.prof_right_pc{
width:60%;
box-sizing:border-box;
}


/*single*/
.page_main_single h2{
font-size:1.8em;
border-bottom:none;
margin-left: 0;
padding-left: 0;
}



/*news*/

.news_page{
max-width:1100px;
margin-left: auto;
margin-right:auto; 
}


/*特定商取引法に基づく表記*/

.sct_box h2{
margin-left:0;
}



}



/* --- 共通：ボタン自体の基本デザイン（既存を整理） --- */
.detail-button {
    text-align: center;
    padding: 0.6em 1em; /* 少し余白を調整 */
    font-size: 0.8em;
    color: #fff;
    background-color: #333;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-top: 1em;
    box-sizing: border-box; /* 幅の計算を正確にするために必須 */
}

.detail-button a {
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
}

/* --- 今回の横並びエリア専用の指定（他と干渉させない） --- */
.term-list {
    display: flex;         /* 横並びにする */
    flex-wrap: wrap;       /* 折り返しを許可 */
    justify-content: center; /* 中央寄せ */
    gap: 12px;             /* ボタン同士の隙間 */
    width: 100%;
    max-width: 800px;      /* 3枚並ぶのに十分な幅を確保 */
    margin: 20px auto;     /* 上下の余白と中央配置 */
}

/* term-listの中にあるボタンだけ、幅を3分割にする */
.term-list .detail-button {
    margin: 0;             /* 個別のmarginをリセットしてgapで制御 */
    flex: 0 0 calc(33.333% - 12px); /* PC：きっちり3列（隙間12pxを引く） */
    min-width: 120px;      /* 極端に狭くなるのを防ぐ */
}

/* スマホ用設定（画面幅768px以下） */
@media screen and (max-width: 768px) {
    .term-list .detail-button {
        flex: 0 0 calc(50% - 12px); /* スマホ：きっちり2列 */
    }
}

/* さらに小さい画面（iPhone SEなど）で文字が溢れる場合 */
@media screen and (max-width: 350px) {
    .term-list .detail-button {
        flex: 0 0 100%; /* 1列にする */
    }
}



/* --- スライダーと動画の最終調整 --- */

/* 動画の16:9固定設定 */
/* --- 動画のクリックを有効にする修正 --- */

/* 基本はクリック可能にする */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9比率 */
    overflow: hidden;
    background: #000;
    border-radius: 10px;
    pointer-events: auto !important; /* ここを auto にする */
}

/* スライダー (.slider) の中にある動画だけ、スライド操作を優先させる */
.slider .video-container {
    pointer-events: none; 
}

/* スライダーの中でも、現在表示されている（アクティブな）動画はクリック可能にする */
.slider .slick-active .video-container {
    pointer-events: auto;
}
/* スライド同士の隙間 */
.slider li {
    margin: 0 10px;
    outline: none;
}

/* センターモードの見た目 */
.slick-slide {
    transition: opacity 0.3s ease;
    opacity: 0.5;
}
.slick-center {
    opacity: 1;
}

/* 矢印（slick-prev / slick-next）の色が黒背景で見えない場合があるため白に設定 */
.slick-prev:before, .slick-next:before {
    color: #333 !important;
}



/* --- Simple Membership ログインフォーム 最終デザイン（全画面共通） --- */

/* 1. フォーム全体を中央に寄せ、ブラウザの端から離す */
.swpm-login-widget-form {
    max-width: 450px !important;    /* フォームを少し広げました */
    width: 90% !important;
    margin: 8em auto !important;    /* 上下の余白をたっぷり取る */
    padding: 3.5em 3em !important;  /* 内側の余白を広く */
    background-color: #fff !important;
    border-radius: 25px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    box-sizing: border-box !important;
}

/* 2. タイトル（メンバーログイン）を中央に */
.swpm-login-widget-form-header h2,
h1.page-title {
    text-align: center !important;
    font-size: 1.8em !important;
    font-weight: bold !important;
    margin-bottom: 1.5em !important;
    display: block !important;
    width: 100% !important;
}

/* 3. ラベルも中央にし、テキストエリアを横いっぱいに広げる */
.swpm-login-widget-form-row {
    text-align: center !important;  /* ラベルを中央に */
    margin-bottom: 1.5em !important;
}

.swpm-login-widget-form-row input[type="text"],
.swpm-login-widget-form-row input[type="password"] {
    width: 100% !important;         /* 横幅いっぱい */
    padding: 1.2em !important;      /* 高さを出してゆったりさせる */
    font-size: 1.1em !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
}

/* 4. 不要な項目（会員について）を削除 */
.swpm-login-widget-footer a:last-child,
.swpm-forgot-profile-link {
    display: none !important;
}

/* 5. ログインボタンを赤色に装飾 */
.swpm-login-form-row input[type="submit"] {
    width: 100% !important;
    padding: 1.2em !important;
    background-color: #e60023 !important; /* RUNGO赤 */
    color: #fff !important;
    font-size: 1.2em !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    box-shadow: 0 5px 15px rgba(230,0,35,0.3) !important;
    transition: 0.3s !important;
    margin-top: 1em !important;
}

.swpm-login-form-row input[type="submit"]:hover {
    background-color: #ff3344 !important;
    transform: translateY(-2px) !important;
}

/* パスワード忘れリンクの調整 */
.swpm-forgot-pass-link {
    display: block !important;
    text-align: center !important;
    margin-top: 2em !important;
    font-size: 0.9em !important;
    color: #666 !important;
}


/* --- ログイン・プロフィール画面 最終デザイン --- */
/* 全画面共通で適用させるため、必ずファイルの最下部に追記してください */

/* 1. フォーム・プロフィール全体のカード化 */
.swpm-login-widget-form, 
.swpm-logged-in-widget {
    max-width: 600px !important;    /* 窮屈さを解消するため、幅を少し広げました */
    width: 90% !important;
    margin: 8em auto 15em !important; /* 上下に大きな余白、左右中央寄せ */
    padding: 4em 3.5em !important;  /* 内側の余白をたっぷり取る */
    background-color: #fff !important;
    border-radius: 30px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12) !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* 2. プロフィール項目のレイアウト（左右に振り分け） */
.swpm-logged-in-widget-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1.2em !important;
    padding-bottom: 1em !important;
    border-bottom: 1px solid #f0f0f0 !important;
    text-align: left !important;
}

.swpm-logged-in-widget-label {
    font-weight: bold !important;
    color: #888 !important;
}

.swpm-logged-in-widget-value {
    color: #333 !important;
    font-weight: 500 !important;
}


/* --- 1000行目付近：メディアクエリを一旦すべて閉じます --- */
} 

/* ============================================================
   Simple Membership ログイン・プロフィール 最終デザイン
   (全画面共通・中央寄せ・下部マージン確保)
   ============================================================ */

.swpm-login-widget-form, 
.swpm-logged-in-widget {
    display: block !important;
    float: none !important;
    max-width: 550px !important;    /* 窮屈さを解消 */
    width: 90% !important;
    margin: 100px auto 200px !important; /* 【重要】左右中央寄せ ＋ 下に大きな余白 */
    padding: 4em 3em !important;
    background: #fff !important;
    border-radius: 30px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
    box-sizing: border-box !important;
}

/* プロフィール項目の左右振り分け */
.swpm-logged-in-widget-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1.2em !important;
    padding-bottom: 1em !important;
    border-bottom: 1px solid #f0f0f0 !important;
    text-align: left !important;
}

.swpm-logged-in-widget-label { font-weight: bold !important; color: #888 !important; }
.swpm-logged-in-widget-value { color: #333 !important; font-weight: 500 !important; }




/* --- スライダーの操作性を向上させる修正 --- */

/* 1. 動画コンテナの調整 */
.video-container {
    position: relative;
    pointer-events: none; /* 【重要】一旦動画へのタッチを無効化してスライドを優先させる */
}

/* 2. アクティブなスライド（中央など）だけ動画をクリック可能にする */
.slick-active .video-container {
    pointer-events: auto;
}

/* 3. ログイン・プロフィールカードの最終デザイン（重複を排除） */
.swpm-login-widget-form, 
.swpm-logged-in-widget {
    display: block !important;
    float: none !important;
    max-width: 550px !important;
    width: 90% !important;
    margin: 100px auto 200px !important;
    padding: 4em 3em !important;
    background: #fff !important;
    border-radius: 30px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
    box-sizing: border-box !important;
}

/* 以下、プロフィール項目のレイアウトなどは前回の設定を維持 */


/* --- スライダーの操作干渉を防ぐ --- */
.video-container {
    position: relative;
    /* スライド操作を優先させるため、動画への直接タッチを一時無効化 */
    pointer-events: none; 
}

/* スライダーが止まっている（アクティブな）スライドだけ動画をクリック可能にする */
.slick-active .video-container {
    pointer-events: auto;
}

/* --- ログイン・プロフィール画面を中央に固定 --- */
.swpm-login-widget-form, 
.swpm-logged-in-widget {
    display: block !important;
    float: none !important;
    max-width: 550px !important;
    width: 90% !important;
    margin: 100px auto 200px !important; /* 上下に余白、左右中央 */
    padding: 4em 3em !important;
    background: #fff !important;
    border-radius: 30px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
    box-sizing: border-box !important;
}

.swpm-logged-label{
border-bottom:1px dotted #ccc;
padding-bottom:0.3em;
margin-bottom:0.5em;
}

.swpm-login-widget-logged{
padding:3em;
text-align:center;
max-width:300px;
margin-left: auto;
margin-right: auto;
}

.swpm-logged-value{
margin-bottom:2em;
}

.member_box{
max-width:600px;
margin-left: auto;
margin-right: auto;
margin-bottom:3em;
text-align:center;
}

.swpm-edit-profile-link, .swpm-logged-logout-link{
font-size:0.9em;
}

.swpm-edit-profile-link a{
display:block;
color: #fff;
padding:0.5em 2em;
background:#696969;
border-radius:100px;
margin-bottom:1em;
max-width:300px;
margin-left: auto;
margin-right: auto;
}

.swpm-logged-logout-link a{
display:block;
color: #fff;
padding:0.5em 2em;
background:#696969;
border-radius:100px;
max-width:300px;
margin-left: auto;
margin-right: auto;
}


.member_box{

font-size:1.2em;
font-weight: bold;

}

.member_box a{
display:block;
color: #fff;
padding:0.5em 2em;
background:red;
border-radius:100px;
max-width:300px;
margin-left: auto;
margin-right: auto;
}



