/*------------------------------------------------------------------------------------------------
テンプレートのCSSを変更
-------------------------------------------------------------------------------------------------*/

.siteContent {
	padding: 0;
}

h1:first-child {
	margin-top: 20px;
}
#top {
    position: relative; /* 疑似要素を親に対して絶対配置するために必要 */
}
#top:after {
    content: "";
    display: block;
    position: absolute;
    /*width: 100vw;*/       /* ビューポイントの幅いっぱい */
    width: 100%;       /* 親要素の横幅に合わせる */
    height: 100%;       /* 親要素の高さに合わせる */
    background-image: url(https://xn--w8j8bac3czf5bl7e.com/wp-content/uploads/ai-media-boost/bg-main-visual.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover; /* 横幅いっぱい＋縦も自動調整 */
    top: -10px;
    left: 0;
    z-index: -1;
}

h1{
	font-size:20px !important;
	font-weight: 700;
    margin-top: 20px;
}

h2, h3, h2:after, h3:after{
	background: none;
	box-shadow: none;
	border: none;
}

#aimediaboost h2{
	border-top: 3px #000 solid;
	border-bottom: 3px #000 solid;
	margin-top: 150px;
	font-size: 2.25em;
	font-weight: bold;
	text-align: center;
}

.col-md-12{	
	padding: 0;
	margin: 0 auto;
}

/*------------------------------------------------------------------------------------------------
section
-------------------------------------------------------------------------------------------------*/

#aimediaboost section{
	margin: 0 auto 60px;
}

#aimediaboost .inner{
	margin: 0 auto;
}

/*------------------------------------------------------------------------------------------------
img
-------------------------------------------------------------------------------------------------*/
#aimediaboost .inner img{
	width: 80%;
}


#aimediaboost img.banner {
    transition: filter 0.3s ease; /* 0.3秒かけて変化 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px; /* 任意：角を少し丸めたい場合 */
}

#aimediaboost img.banner:hover {
    filter: brightness(1.20); /* 15%明るくする */
}


/*------------------------------------------------------------------------------------------------
top
-------------------------------------------------------------------------------------------------*/
#aimediaboost #top{
	width: 100%;
	overflow: hidden;
	text-align: center;
}

#aimediaboost #top{
	padding-top: 120px;
}

#aimediaboost #top .outline{
    width: 100%;
    color: #000000;
    padding: 47px 0 20px;
    margin: 0 auto;
    font-weight: 540;
    line-height: 1.5;
}

#aimediaboost #top .banner{
	width: 80% !important;
}

#aimediaboost #top .title {
    max-width: 1000px;
	margin: auto;
}

#aimediaboost #top .title h1 strong {
	display: block;
	font-size: 2em;
	margin-top: -73px;
}

#aimediaboost #top .title h1 .highlight {
  position: relative;
  font-weight: bold;
  z-index: 1;
}

#aimediaboost #top .title h1 .highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em; /* ペンがかぶる高さの調整 */
  width: 100%;
  height: 0.6em; /* 蛍光ペンの太さ */
  /*background: linear-gradient(90deg, #f9f48f 0%, #fff8d6 100%);  蛍光ペンの色（淡い黄色） */
  background: #f9f48f;
  z-index: -1;
  transform: skewX(-10deg); /* 手書きっぽく傾ける */
  border-radius: 0.15em;
}

#aimediaboost #top .title h1 strong .highlight::before {
  height: 0.3em; /* 蛍光ペンの太さ */
  margin-bottom: 12px;
}



#aimediaboost #top .box_container_x2 div {
	background-color: transparent;
}

#aimediaboost #top p.service_title_img{
	background-color: #d80f0f;
	padding: 0 0 30px 0;
}

#aimediaboost #top p.emg_link_img{
	width: 80%;
	background-color: #ffff77;
	margin: 30px auto;
    border: 5px #fff solid;
    border-radius: 100px;
    box-shadow: 0 0 0 5px #ffff77;
}

#aimediaboost .annotation {
    font-size: 0.7em;
    display: block;
	font-weight: 100;
}

#aimediaboost #top .inner img{
	width: 100%;
}


#aimediaboost #top p.emg_link_img img:hover{
	opacity: 0.6;
}



/* コンバージョンボタン */

#aimediaboost .cta-bubble {
	font-size: 1.2em;
}

#aimediaboost .cta-button {
	font-size: 2em;
}

#aimediaboost #top .cta-container {
    background-color: transparent;
}

/*-----------------------------------
box x3
------------------------------------*/
#aimediaboost .box_container_x3 {
	display: flex;
	flex-wrap: wrap;
	margin: 0 5px;
}

#aimediaboost .box_container_x3 div{
	width: calc(100% - 10px);
	margin: 5px;

	border-radius: 1.0em;
	background-color: #fff;
	color: #000;
}

#aimediaboost .box_container_x3 h3{
	margin: 10px;
}

#aimediaboost .box_container_x3 p{
	margin: 10px;
}

/*-----------------------------------
box x2
------------------------------------*/
#aimediaboost .box_container_x2 {
	display: flex;
	flex-wrap: wrap;
	margin: 0 5px;
}

#aimediaboost .box_container_x2 div{
	width: calc(100% - 10px);
	margin: 5px;
	border-radius: 1.0em;
	background-color: #fff;
	color: #000;
	padding: 20px;
}

#aimediaboost .box_container_x2 h3{
	margin: 10px;
}

#aimediaboost .box_container_x2 p{
	margin: 10px;
}

#aimediaboost .box_container_x2 img {
    width: 25%;
}

/*-----------------------------------
会社実績
------------------------------------*/

#aimediaboost .performance_decoration {
	position: relative; /* 疑似要素を配置するため */
	padding: 0 40px; /* 上下に余白 */
	z-index: -3; 
}

#aimediaboost .performance_decoration h3,
#aimediaboost .performance_decoration ul {
    margin: 0;
}

#aimediaboost .performance_decoration h3 {
	font-size: 1.5em;
    padding: 5px 18px 0;
	font-weight: bold;
}

#aimediaboost .performance_decoration ul li{
	font-size: 1.1em;
	text-align: left;
	line-height: 1.3;
	margin-bottom: 0.3em;
}

#aimediaboost .performance_decoration::before,
#aimediaboost .performance_decoration::after {
    content: ""; /* 疑似要素を生成（実際の要素ではない） */
    position: absolute; /* 親要素を基準に絶対位置で配置 */
    top: 50%; /* 親要素の上からの位置 */
    transform: translateY(-50%); /* 垂直方向に中央揃え */
    width: 74%; /* 疑似要素の横幅 */
    height: 120%; /* 疑似要素の高さ */
    background-size: 30% 88%; /* 背景画像を縦横比を保って収める */
    background-repeat: no-repeat; /* 背景画像を繰り返さない */
    background-position: center; /* 背景画像を中央に配置 */
    opacity: 0.9; /* 透明度を90%（やや透ける）に設定 */
}

/* 左の月桂樹 */
#aimediaboost .performance_decoration::before {
	left: -100px; /* performanceの左側に配置（レイアウトに合わせて調整） */
	background-image: url('https://xn--w8j8bac3czf5bl7e.com/wp-content/uploads/ai-media-boost/laurel_left.png');
}

/* 右の月桂樹 */
#aimediaboost .performance_decoration::after {
	right: -100px;
	background-image: url('https://xn--w8j8bac3czf5bl7e.com/wp-content/uploads/ai-media-boost/laurel_right.png');
}

#aimediaboost .performance{
	width: 100%;
	color: #fff;
	text-align: center;
	padding: 0 0 5px;
	border-radius: 1.0em;
	margin: 50px 0;
}


/*-----------------------------------
problem
------------------------------------*/

#aimediaboost .problem h2{
	border: none;
	font-size: 1.5em;
	margin: 0;
	padding: 20px 0;
	font-weight: normal;
	background: none;
	color: #000;
}

#aimediaboost .problem h2 img{
	width: 50%;
}

#aimediaboost .problem h2 strong{
	font-size: 1.5em;
	font-weight: bold;
}


#aimediaboost .problem h2 .highlight {
  position: relative;
  font-weight: bold;
  z-index: 1;
}

#aimediaboost .problem h2 .highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em; /* ペンがかぶる高さの調整 */
  width: 100%;
  height: 0.6em; /* 蛍光ペンの太さ */
  /*background: linear-gradient(90deg, #f9f48f 0%, #fff8d6 100%);  蛍光ペンの色（淡い黄色） */
  background: #f9f48f;
  z-index: -1;
  transform: skewX(-10deg); /* 手書きっぽく傾ける */
  border-radius: 0.15em;
}

#aimediaboost .problem .prb_detail{
	width: 100%;
	background-color: #bbb;
	color: #fff;
	text-align: center;
	padding: 0 0 5px;
	border-radius: 1.0em;
}

/*-----------------------------------
arrow
------------------------------------*/
#aimediaboost .problem .arrow{
	background: url(https://xn--w8j8bac3czf5bl7e.com/wp-content/uploads/ai-media-boost/ticket_arrow_01.png) no-repeat center;
	width: 100%;
	height: 200px;
	text-align: center;
	margin: 1.2em 0; 
}

#aimediaboost .problem .arrow p{
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.7em;
}

/*-----------------------------------
solve
------------------------------------*/
#aimediaboost .problem .solve{
	width: 100%;
	background-color: #ff9696;
	color: #fff;
	text-align: center;
	padding: 0 0 5px;
	border-radius: 1.0em;
}

#aimediaboost .solve div {
	border-radius: 0;
}
#aimediaboost .solve h2{
    display: flex;              /* 子要素（画像とテキスト）を横並びに */
    align-items: flex-end;      /* 下ぞろえ（flexの縦方向下端に合わせる） */
	justify-content: center;      /* 中央ぞろえ ← 追加 */
    gap: 10px;                  /* 画像とテキストの間に余白を追加（お好みで） */
    padding: 30px 0 10px;
    font-weight: bold;
}

#aimediaboost .solve h2 img{
    width: 10%;
    height: auto;               /* 画像の縦横比を維持 */
    display: block;             /* 不要な隙間を防止 */
}


#aimediaboost .solve h3{
	display: block;
    padding: 10px 0;
    margin: 20px 40px 0;
    background: #fcd8d8;
    font-weight: bold;
    font-size: 1.7em;
	border-radius: 1.5em;
}

#aimediaboost .solve h4 {
	padding: 0;
    margin: 20px 0 10px;
    background-color: #fff;
    border-radius: 0;
    font-weight: bold;
	font-size: 1.5em;
}


#aimediaboost .solve p {
    text-align: left;
	margin: 0 30px;
}



/*-----------------------------------
fee
------------------------------------*/
#aimediaboost .fee {
    width: 100%;
    background-color: #f9f48f;
    color: #000;
    text-align: center;
    padding: 0 0 5px;
    border-radius: 1.0em;
}

#aimediaboost .fee h2 {
    border:none;
}
#aimediaboost .fee h3 {
	display: inline-block;           /* 文字幅に合わせる */
    text-align: center;
    font-size: 1.7em;
    font-weight: bold;
    background-image: linear-gradient(120deg, #ff9696 0%, #ff9696 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.35em;
    background-position: 0 60%;
}

#aimediaboost .fee h4 {
    text-align: center;
	font-size: 1.1em;
	background-color: #fff;
    margin-bottom: 0;
}

#aimediaboost .fee h4 span {
	font-size: 2.1em;
	font-weight: bold;
}


#aimediaboost .fee h4 .annotation {
    font-size: 0.7em;
    display: block;
	font-weight: normal;
}

#aimediaboost .fee .read {
	margin-top: 1rem;
    color: rgb(17, 17, 17);
    text-align: left;
    padding: 1.4rem 3rem;
    border-top: 2px solid rgb(51, 51, 51);
}

/* サービス一覧（ul）全体の装飾 */
#aimediaboost .fee ul.service {
	list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
	padding: 0;       /* ← デフォルト余白を消す */
    margin: 0 auto;   /* ← ul自体を中央に配置 */
    width: 100%;      /* ← 中央寄せを安定させる */
}

/* 各li（ボタン風） */
#aimediaboost .fee ul.service li {
	/*transition: filter 0.3s ease; *//* 0.3秒かけて変化 */
	transition: background-color 0.3s ease;
    background-color: #fcd8d8;
    text-align: center;
    color: #000000;
    padding: 19px 25px;
    margin: 9px 5px;
    border-radius: 40px;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	
}
#aimediaboost .fee ul.service li:hover {
    /*filter: brightness(1.20);*/ /* 15%明るくする */
	background-color: #f9f48f; /* 蛍光イエロー */
}

#aimediaboost .fee .cta-container {
	background-color: transparent;
    text-align: center;
    margin: 50px auto 50px;
    padding: 40px;
    width: 100%;
    min-width: auto;
}


#aimediaboost .fee .cta-bubble {
	color: #515151;
    border: 2px solid #515151;
    font-size: 1.2em;
    margin-bottom: 6px;
    font-weight: normal;
}

#aimediaboost .fee .cta-bubble::after {
    border-top: 11px solid #515151;
}

#aimediaboost .fee .cta-bubble strong {
	font-size: 1.7em;
    color: #515151;
    background-image: linear-gradient(120deg, #ff9696 0%, #ff9696 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.35em;
    background-position: 0 88%;
    margin: 0 12px;
}

#aimediaboost .fee .banner{
	width: 100% !important;
}


/*-----------------------------------
point
------------------------------------*/
#aimediaboost .point{
    text-align: center;
}

#aimediaboost .point img.main {
  display: block;       /* インライン要素からブロック要素に */
  margin: 0 auto 20px;  /* 上下0、左右中央、下に12pxの余白 */
  max-width: 50%;      /* レスポンシブ対応 */
  height: auto;
}

#aimediaboost .point img {
  margin-top: 30px;
}

#aimediaboost .point p {
  font-size: 1.5em;
}

/*-----------------------------------
recommend
------------------------------------*/
#aimediaboost .recommend{
}

#aimediaboost .recommend ul{
	list-style-type: none;
	font-size: 1.4em;
	margin: auto;
	padding-right: 40px;
	padding-top: 20px;
}

#aimediaboost .recommend ul li{
	background: url(https://xn--w8j8bac3czf5bl7e.com/wp-content/uploads/ai-media-boost/moyamoya.png) no-repeat 0 0;
	background-size: 2em;
	padding-left: 56px;
	margin-bottom: 1.0em;
	text-align: left;
}


/*-----------------------------------
マイナビニュース
------------------------------------*/
#aimediaboost .news img{
    padding: 0 100px 0 100px;
}

#aimediaboost .news p.readline{
    padding: 20px 100px 0 100px;
}

#external_link{
    display: flex;
    border: 2px solid #ff9696;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fed5d5;
    font-weight: bold;
    text-decoration: none;
    padding: 27px 46px;
    font-size: 1.5em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: background 0.3s;
    margin: 50px auto;      /* 上下50px、左右autoで中央寄せ */
width: fit-content;
}

#external_link a{
    color: #828282;
}
#external_link:hover {
	background: #fff;
}

#external_link #external_icon {
    position: relative;
    top: 3px; /* アイコンを少し下に下げる */
}

/*-----------------------------------
menu
------------------------------------*/
#aimediaboost .menu p{
	padding: 0 1.5em;
}

#aimediaboost .menu table {
	margin: 20px;
	font-size: 0.9em;
	line-height: 2.0em;
	width: calc(100% - 40px);
	border: 1px #e5e5e5 solid;
}
#aimediaboost .menu table caption{
	width: 100%;
}
#aimediaboost .menu table th {
	background-color: #fd8c8c;
	color: #fff;
	font-weight: bold;
	padding: 4px;
	border: 1px #e5e5e5 solid;
}

#aimediaboost .menu table tr:nth-child(odd){
	background-color: #f8f8f8;
}

#aimediaboost .menu table td {
	border: 1px #e5e5e5 solid;
	padding: 4px 8px;
}

#aimediaboost .menu table .large_cls_g{
	background-color: #f8f8f8;
}

#aimediaboost .menu table .large_cls_w{
	background-color: #fff;
}

/*-----------------------------------
calc_table
------------------------------------*/

/*-----------------------------------
case
------------------------------------*/

#aimediaboost .case .case_detail {
	border: 1px #bbb solid;
}

#aimediaboost .case .case_detail h3 {
	margin: 10px 20px;
	padding: 0;
	border-bottom: 1px #000 solid;
}

#aimediaboost .case .case_detail .customer {
	display: inline-block;
	width: 130px;
	margin: 10px;
	vertical-align: top;
}


#aimediaboost .case .case_detail .customer p{
	font-size: 0.8em;
	width: 130px;
	margin: 10px 0 0;
	text-align: center;
}

#aimediaboost .case .case_detail .content{
	display: inline-block;
	width: calc(100% - 130px - 36px);
	margin: 10px 10px 10px 0;
}

#aimediaboost .case .case_detail .content strong {
	color: #F00;
}

/*-----------------------------------
flow
------------------------------------*/
#aimediaboost .flow p.legend{
	text-align: right;
}

#aimediaboost .flow h3{
	margin: 1.5em auto 10px;
	border-bottom: 1px #000 solid;
	width: 95%;
}
#aimediaboost .flow h3:first-of-type{
	margin-top: 0;
}

#aimediaboost .flow p{
	text-align: center;
	width: 95%;
	margin: 0 auto;
}

/*-----------------------------------
emg
------------------------------------*/
#aimediaboost .emg p{
	font-size: 1.2em;
}

#aimediaboost .emg p.body_cv_btn_area{
	text-align: center;
}

#aimediaboost .emg a.cv_btn{
	padding: 30px;
	border-radius: 0.5em;
	font-size: 1.5em;
	font-weight: bold;
}

/*-----------------------------------
レスポンシブ対応
------------------------------------*/

@media (min-width: 768px) { 
	h1{
		font-size:32px !important;
	}
	.container { 
		width: 750px; 
	}
	.inner {
		width: 750px;
	}
	#aimediaboost .box_container_x3 div{
		width: calc(50% - 10px);
	}
	#aimediaboost .box_container_x2 div{
		width: calc(50% - 10px);
	}
	#aimediaboost #top{
		padding-top: 120px;
	}
	#aimediaboost #top .outline{
		font-size: 1.2em;
	}
	#aimediaboost .problem .arrow p{
		font-size: 1.2em;
	}
	#aimediaboost .menu table.calc_table {
		width: calc(80% - 40px);
	}
}
@media (min-width: 992px) { 
	h1{
		font-size:32px !important;
	}
	.container { 
		width: 100%; 
	}
	.siteHeader .container{
		padding-top: 0px;
		padding-bottom: 0px;
	}
	.inner {
		width: 970px;
	}
	#aimediaboost .box_container_x3 div{
		width: calc(33.3% - 10px);
	}
	#aimediaboost .box_container_x2 div{
		width: calc(50% - 10px);
	}
	#aimediaboost #top{
		padding-top: 60px;
	}
	#aimediaboost #top .outline{
		font-size: 1.4em;
	}
	#aimediaboost .problem .arrow p{
		font-size: 1.4em;
	}
	#aimediaboost .menu table.calc_table {
		width: calc(80% - 40px);
	}
}

@media (min-width: 1200px) { 
	h1{
		font-size:42px !important;
		padding-top: 60px;
	}
	.container { 
		width: 100%; 
	}
	.inner {
		width: 1170px;
	}
	#aimediaboost .box_container_x3 div{
		width: calc(33.3% - 10px);
	}
	#aimediaboost .box_container_x2 div{
		width: calc(50% - 10px);
	}
	#aimediaboost #top{
		padding-top: 60px;
	}	
	#aimediaboost #top .outline{
		font-size: 1.9em;
		font-weight: bold;
	}
	#aimediaboost .problem .arrow p{
		font-size: 1.7em;
	}
	#aimediaboost .menu table.calc_table {
		width: calc(60% - 40px);
	}
}
