/* カスタム CSS をここに入力してください */
.mybox{
 background-color: #fff;	/* 背景色 */
 border: 2px solid #f3cbd0;	/* 線の太さ・種類・色 */
 border-radius: 5px;
 margin: 40px 5px 5px 20px;	/* 外側の余白 上・右・左・下 */
 padding: 25px 20px 10px 20px;	/* 内側の余白 上・右・左・下 */
 position: relative;
}
.mybox:before{
 background-color: #ef858c;	/* 吹き出し背景色 */
 border-radius: 5px;
 color: #fff;	/* 吹き出し文字色 */
 content: 'コース紹介';
 padding: 5px 20px;
 position: absolute;
 left: -10px;
 top: -20px;
}
.mybox:after{
 border-top: 12px solid #ef858c;		/* 吹き出し三角部分の色 */
 border-right: 12px solid transparent;
 border-left: 12px solid transparent;
 content: '';
 position: absolute;
 top: 10px;
 left: 15px;
}

.myboxs{
 background-color: #fff;	/* 背景色 */
 border: 2px solid #f3cbd0;	/* 線の太さ・種類・色 */
 border-radius: 5px;
 margin: 40px 5px 5px 20px;	/* 外側の余白 上・右・左・下 */
 padding: 25px 20px 10px 20px;	/* 内側の余白 上・右・左・下 */
 position: relative;
}
.myboxs:before{
 background-color: #ef858c;	/* 吹き出し背景色 */
 border-radius: 5px;
 color: #fff;	/* 吹き出し文字色 */
 content: 'おススメな理由5つ';
 padding: 5px 20px;
 position: absolute;
 left: -10px;
 top: -20px;
}
.myboxs:after{
 border-top: 12px solid #ef858c;		/* 吹き出し三角部分の色 */
 border-right: 12px solid transparent;
 border-left: 12px solid transparent;
 content: '';
 position: absolute;
 top: 10px;
 left: 15px;
}

table.aaa{
  width: 100%;
  border-collapse: collapse;
}

table.aaa tr{
  border-bottom: solid 2px white;
}

table.aaa tr:last-child{
  border-bottom: none;
}

table.aaa th{
  position: relative;
  text-align: left;
  width: 30%;
  background-color: #52c2d0;
  color: white;
  text-align: center;
  padding: 10px 0;
}

table.aaa th:after{
  display: block;
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  top:calc(50% - 10px);
  right:-10px;
  border-left: 10px solid  #52c2d0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

table.aaa td{
  text-align: left;
  width: 70%;
  text-align: center;
  background-color: #eee;
  padding: 10px 2px white; 
}

table.bbb{
  border-collapse: separate;
  border-spacing: 0px 5px;
  margin: 0 auto;
}
table.bbb td,th{
  padding: 10px;
}
table.bbb th{
  background: #10a0e0;
  color: #fff;
}
table.bbb td{
  background: #f1fafe;
}

.balloon5 {
  width: 100%;
  margin: 1.5em 0;
  overflow: hidden;
}

.balloon5 .faceicon {
  float: left;
  margin-right: -90px;
  width: 80px;
}

.balloon5 .faceicon img{
  width: 100%;
  height: auto;
  border: solid 3px #d7ebfe;
  border-radius: 50%;
}

.balloon5 .chatting {
  width: 100%;
}

.says {
  display: inline-block;
  position: relative; 
  margin: 5px 0 0 105px;
  padding: 17px 13px;
  border-radius: 12px;
  background: #d7ebfe;
}

.says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px; 
  left: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #d7ebfe;
}

.says p {
  margin: 0;
  padding: 0;
}

.movie-wrap {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
 
.movie-wrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}

.cp_qa *, .cp_qa *:after, .cp_qa *:before {
	font-family: 'FontAwesome', sans-serif;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.cp_qa dt,.cp_qa dd {
	position: relative;
	padding: 0.5em;
	box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
	border-radius: 0.3em;
}
.cp_qa dt {
	margin: 0 3em 1em 3em;
	background: #ffe0b2;
}
.cp_qa dd {
	margin: 0 3em 3em 3em;
	background: #b2ebf2;
}
/* 吹き出し▶︎ */
.cp_qa dt::before,.cp_qa dd::before{
	position: absolute;
	z-index: 99;
	top: 0.5em;
	display: inline-block;
	width: 0;
	height: 0;
	content: '';
	border-style: solid;
}
/* 質問吹き出し▶︎ */
.cp_qa dt::before {
	left: -0.5em;
	border-width: 5px 8.7px 5px 0;
	border-color: transparent #ffe0b2 transparent transparent;
}
/* 答え吹き出し▶︎ */
.cp_qa dd::before {
	right: -0.5em;
	border-width: 5px 0 5px 8.7px;
	border-color: transparent transparent transparent #b2ebf2;
}
/* ?!アイコン */
.cp_qa dt::after,.cp_qa dd::after {
	font-size: 1.2em;
	position: absolute;
	top: 0;
	color: #ffffff;
	border-radius: 50%;
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.2em;
}
/* ?アイコン */
.cp_qa dt::after {
	left: -2.5em;
	margin: 0 0.5em 0 0;
	padding: 0.2em 0.4em;
	content: '\f128';
	background: #f57c00;
}
/* !アイコン */
.cp_qa dd::after {
	right: -2.5em;
	margin: 0 0 0 0.5em;
	padding: 0.2em 0.55em;
	content: '\f12a';
	background: #0097a7;
}

.boxQA {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 0.5em;
    background: #EDF1F5;/*A文章部分背景色*/
    border-radius: 10px;
}

.boxQA .box-title {
    position: relative;
    background: #fff;/*Q文章部分背景色*/
    padding: 10px 5px 10px 40px;
    color: #454545;/*Q文章文字色*/
    border-radius: 10px;
}
.boxQA .box-title:before {
    content: "Q";
    display: inline-block;
    line-height: 40px;
    position: absolute;
    padding: 0em;
    color: white;/*Q文字色*/
    background: #9ED1FF;/*Q背景色*/
    font-weight: bold;
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    left: -1.2em;
    top: 20px;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border: solid 3px white; 
    border-radius: 50%;
}
.boxQA .box-title:after {
    content: "A";
    display: inline-block;
    line-height: 40px;
    position: absolute;
    padding: 0em;
    color: white;/*A文字色*/
    background: #FFAB8B;/*A背景色*/
    font-weight: bold;
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    left: -1.2em;
    bottom: -80px;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border: solid 3px white; 
    border-radius: 50%;
}

.boxQA p {
    padding: 20px 20px 15px 40px;
    margin: 0;
}

.boxQA ul {
  padding: 0 1em;
  position: relative;
}
.boxQA ul li {
  line-height: 1.5;
  padding: 0.5em 0 0.5em 4.2em;
  list-style-type: none!important;
}
.boxQA ul li:before {
  font-family: "FontAwesome";
  content: "\f138";/*アイコン種類*/
  position: absolute;
  left : 3.5em;
  color: #FFAB8B; /*Aのリストのアイコンの色*/
}

.box5 {
    padding: 0.5em 1em;
    margin: 2em 0;
    border: double 5px #4ec4d3;
}
.box5 p {
    margin: 0; 
    padding: 0;
}


.box27 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #62c1ce;
}
.box27 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box27 p {
    margin: 0; 
    padding: 0;
}


/*--------------------
  この記事を書いた人
---------------------*/
/*ボックス全体*/
.profile-box {
    margin:3em 1em 2em;
    padding:10px 10px 15px;
    position:relative;
    border:2px solid #ff6893;    /*枠線の太さ 線種 色*/
    font-size:14px;
}

.profile-box:before , .profile-box:after {
    clear:both;
    content:"";
    display:block;
}

/*「この記事を書いた人」のタイトル*/
.profile-box .profile-box_title {
    position:absolute;
    top:-30px;
    left:-2px;
    padding:0 10px;
    background:#ff6893;    /*背景色*/
    color:#fff;            /*文字の色*/
    font-weight:bold;
    border:2px solid #ff6893;    /*枠線の太さ 線種 色*/
    display:inline-block;
}

.profile-box_title:before {
    font-family:"Font Awesome 5 Free";
    content:"\f007";
    font-weight:900;
    margin-right:7px;
}

/*アイコン画像*/
.profile-box img {
    display:block;
    width:80px;
    height:80px;
    float:left;
    margin:0 20px 7px 10px;    /*画像周りの余白*/
}

/*名前(ニックネーム)*/
.profile-box .profile-box_name {
   margin:0 0 7px;
   padding:0;
   font-size:19px;       /*文字サイズ*/
   font-weight:bolder;
}

/*プロフィール*/
.profile-box p {
    margin:0;
    padding:0;
    font-size:14px;
    line-height:21px;    /*行間*/
}



/* ▼ CSS：WordPressの「追加CSS」や style.css に追加 */
.apply-banner {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  font-family: 'Helvetica', 'Arial', sans-serif;
}

.apply-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.apply-image {
  flex: 1 1 300px;
}

.apply-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.apply-content {
  flex: 2 1 400px;
}

.apply-content h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
}

.apply-content p {
  font-size: 1em;
  color: #555;
}

.apply-footer {
  text-align: center;
  margin-top: 30px;
}

.apply-button {
  display: inline-block;
  background: #007BFF;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.apply-button:hover {
  background: #0056b3;
}



.ranking-box {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 25px 20px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.ranking-title {
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  border-radius: 6px;
  text-align: center;
}

.ranking-text {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  text-align: left;
}


.custom-button-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  padding: 8px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.5;
}

.custom-button .icon {
  width: 38px;
  height: 36px;
  margin-right: 10px;
  vertical-align: middle;
}

/* お問合せボタン */
.estimate-button {
  color: #f28b8b;
  border: 2px solid #f28b8b;
  background-color: transparent;
}

.estimate-button:hover {
  background-color: #f28b8b;
  color: white;
}

/* LINEボタン */
.line-button {
  background-color: #00c300;
  color: white;
  border: none;
}

.line-button:hover {
  opacity: 0.9;
}
/* LINEボタン */
.line-button {
  background-color: #00c300;
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.line-button:hover {
  background-color: #009900; /* より濃い緑で変化を明確に */
  color: #fff;
  transform: scale(1.05); /* ボタンを少し拡大 */
  box-shadow: 0 0 10px rgba(0, 195, 0, 0.5); /* 軽い光の影をつける */
}

.custom-button:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

@media screen and (max-width: 480px) {
  .custom-button-wrap {
    gap: 8px; /* モバイル時のボタン間の余白を狭める */
    margin: 20px 0; /* 上下マージンも縮小 */
  }

  .custom-button {
    width: 100%; /* スマホ幅にフィットさせる場合（任意） */
    max-width: 320px; /* 幅の上限を設けて中央揃え */
  }
}

/* 共通アイコンサイズ調整 */
.custom-button .icon {
  width: 36px;
  height: 36px;
  margin-right: 12px;
  display: inline-block;
  vertical-align: middle;
}

/* ボタンのスマホ時中央寄せ調整 */
@media screen and (max-width: 480px) {
  .custom-button-wrap {
    gap: 8px;
    margin: 10px 0;
    flex-direction: column;
    align-items: center;
  }

  .custom-button {
    width: 100%;
    max-width: 300px;     /* ← スマホ時も少し細く調整 */
    padding: 8px 16px;    /* ← 上下を縮小 */
    font-size: 16px;
  }
}


