@charset "UTF-8";

/*!
Theme Name: UA
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
html{
  font-size: 62.5%;
  width: 100%;
  transition: .2s;  /*変化する時の速度*/
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body{
  display: block;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  transition: .2s;
  line-height: 2.4rem;
  text-align: left;
  background-color: #ffffff;
  font-weight: 400;
  margin: 0;
  padding: 0 30px;
  max-width: 100%;
  overflow-x: hidden;
}

body > * {
    max-width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 1000px) {
  body {
      padding-top: 60px; /* ヘッダーの高さ分 */
  }
  
  .pc-br{
    display: none;
  }
	
	.single-post{
		padding:20px 15px 0;
	}
}


@media screen and (max-width: 1000px){
	.single-post #main{
		padding: 0;
	}
}


/*ヘッダー*/
#header{
  position: fixed;
  z-index: 99999;
  inset: 0;
  margin: 0 auto;
  width: 100%;
  height: 80px;
}
.header_content{
  height: 80px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  background-color: #ffffff;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.1);
}

.header_content h1{
  font-size: 25px;
  height: auto;
  width: 306px;
  margin: 0;
  padding-top: 25px;
}

.header_content nav a{
  color: #7D99CD;
	text-decoration:none;
}

li{
  list-style: none;
}

.header__navigation{
  padding-top: 10px;
}

.header__navigation ul{
  display: flex;
  column-gap: 30px;
  align-items: center;
}

.tel-number{
  font-weight: 800;
  font-size: 32px;
}

.tel-number img{
  margin-right: 5px;
}

.tel-hours{
  color: #333333;
  text-align: center;
  padding-top: 4px;
}

.contact img{
  width: 280px;
}

/* ヘッダー内　検索エンジンには見えるが、画面上は非表示 */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media(max-width:1070px){
  .header_content{
    height: 60px;
    padding: 0 15px;
  }
  .header_content h1{
    width: 150px;
    padding-top: 20px;
  }  
}

/*ハンバーガーメニュー*/
@media(max-width:1070px){
  .open-btn{
    position: relative;
    cursor: pointer;
    top: 16px;
    width: 40px;
    height: 30px;
    z-index: 9999;
  }
  .open-btn span,.open-btn span::before,.open-btn span::after{
    position: absolute;
    content: "";
    transition: all .4s;
    border-top: solid 3px #333333;
    border-radius: 100px;
    width: 40px;
    height: 1px;
    right: -1px;
  }
  .open-btn span::before{
    top: 10px;
  }
  .open-btn span::after{
    top: 23px;
  }
  /*clickされたら、×になる*/
  .open-btn.active span{
    top: 0px;
    left: 0px;
    transform: translateY(12px) rotate(-46deg);
    width: 40px;
  }
  .open-btn.active span::before{
    opacity: 0;
  }
  .open-btn.active span::after{
      top: -2px;
      left: 1px;
      transform: translateY(0px) rotate(92deg);
      width: 40px;
  }
  /*ハンバーガーメニューの中身*/
  .header__navigation {
    background-color: #ffffff;
    height: 50vh;
    width: 80vw;
    position: fixed;
    right: 0;
    overflow: scroll;
    z-index: 999;
    transform: translateX(100%);/*右側にはみ出してる*/
    transition: all .4s;
  }
  .header_nav-content{
    flex-direction: column;
    padding: 110px 0 0 30px;
    align-items: flex-start;
  }
  
  /*clickされたらはみ出した分を戻す*/
  .header__navigation.active {
    transform: translateX(0);
  }
  /*メニュー後ろの影*/
  .black-bg.active{
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.3;
    transition: all 0.5s;
    cursor: pointer;
    z-index: -1;
  }
}




/*フッター*/
#footer{
  background-color:#E9528E;
  color: #ffffff;
  padding: 0 20px;
  margin: 0 calc(50% - 50vw);
}
.footer-wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  height: 40px;
}

#footer-in{
  padding: 17px 100px;
  width: 100%;
}

.footer-wrapper small{
  font-size: 1.4rem;
}

.footer-link a{
  color: #fff; 
  text-decoration: none;
  font-size: 1.6rem;
}

.footer-link a:first-child{
  margin-right: 30px;
}

.footer-link a:hover{
  opacity: 0.5;
  transition: 0.3s;
}

@media(max-width:1000px){
  .footer-wrapper small{
    font-size: 1.3rem;
  }
  #footer-in{
    margin-bottom: 54px;
    padding: 0 15px;
  }
  
  .footer-wrapper{
    justify-content: center;
    height: 70px;
    flex-direction: column;
    row-gap: 6px;
  }
}

ul{
  padding-left: 0;
}

/* ホバーアニメーション */
.hover-style {
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hover-style:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}



@charset "utf-8";
/* CSS Document */
.section{
  margin-bottom: 150px;
}

@media (max-width: 1000px){
  .section{
  margin-bottom: 0px;
 }
}

 /*FV*/
.section-top-wrapper{
  margin: 0 calc(50% - 50vw) 90px;
}
.section-top{
  position: relative;
  margin: -174px auto 0;
  padding-top: 75px;
}

.top-images{
  height: auto;
  margin: 0 auto;
  transform: translateY(120px);
}

.top-images-sp{
  display:none;
}
.top-images img{
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* FV内ボタン */
.fv-button__wrap {
  position: absolute;
  left: 17%; /* パーセント基準 */
  top: 80%; 
  transform: translateY(0%);
  width: 400px;
  height: 110px;
  z-index: 9999;
}

/* 大画面での微調整 */
@media (min-width: 1921px) {
  .fv-button__wrap {
    left: 350px; /* 大画面では固定値 */
  }
}

/* 中画面での調整 */
@media (max-width: 1400px) {
  .fv-button__wrap {
    left: 15%;
    width: 350px;
    height: 95px;
  }
}

@media (max-width: 1100px) {
  .fv-button__wrap {
    left: 13%;
    top: 74%;
    width: 300px;
    height: 80px;
  }
}

/* 1000px以下は非表示 */
@media (max-width: 1000px) {
  .fv-button__wrap {
    display: none;
  }
}
.fv-button__wrap a{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease; 
}

.fv-button__wrap a:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}


/*TOPスクロールボタン*/
.go-to-top{
  display: none;
}

/* topセクションとその次のセクションの間の背景画像 */
.section-top-wrapper {
  margin: 0 calc(50% - 50vw) 90px;
  position: relative;
}

.section-top-wrapper::after {
  content: '';
  position: absolute;
  top: 85%; /* topセクションの下から開始 */
  left: 0;
  right: 0;
  height: 100%; /* 背景画像の高さ（調整可能） */
  background-image: url("assets/img/bg-image-1.png"); 
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1000px) {
  .section-top-wrapper::after {/* SP用画像があれば */
    top: 59%;
  }
  .top-images{
    display: none;
  }
  .top-images-sp{
    display:block;
    margin-top: 0;
  }
  .top-images-sp img{
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media screen and (max-width: 400px) {
    .top-images-sp {
        display: block;
        margin-top: 100px;
    }
}



/*見出しスタイル*/
h2{
  margin-bottom: 100px;
}

.section_hl-main{
  display: block;
  font-size: 6rem;
  color: #E9528D;
  font-weight: 900;
}

.section_hl-sub{
  display: block;
  font-size: 2rem;
  color: #7D99CD;
  font-weight: 600;
  transform: translateY(14px);
}

.bold-font{
  font-weight: 700;
  color: #353535;
}

/* SP版レスポンシブ対応 */
@media screen and (max-width: 1000px){
  h2{
    margin-bottom: 33px;
    line-height: 1.2;
  }
  .section_hl-main{
    font-size: 3.8rem;
  }
  .section_hl-sub{
    font-size: 1.4rem;
    transform: translateY(-17px);
  }
  .pc-br{
    display: none;
  }
}

/*waveの背景など*/
.bg-image-1{
  position: relative;
}


/*上のwave*/
.section-wrapper-bg{
  position: relative;
  margin: 0 calc(50% - 50vw) 90px;
  background-color: #F9E7E6;
  z-index: 2;
}

.section-wrapper-bg::before{
  position: absolute;
  content: "";
  background-image: url("assets/img/wave/top-wave.png");
  background-size: cover;
  background-repeat: no-repeat;
  bottom: 100%;
  left: 0px;
  height: auto;
  width: 100%;
  z-index: 1;
  aspect-ratio: 2880 / 492;
}

/*下のwave*/
.section-wrapper-bg-2{
  position: relative;
  margin: 0 calc(50% - 50vw) 90px;
}

.section-wrapper-bg-2::before{
  position: absolute;
  content: "";
  background-image: url("assets/img/wave/bottom-wave.png");
  background-size: cover;
  background-repeat: no-repeat;
  bottom: 92%;
  left: 0px;
  height: auto;
  width: 100%;
  z-index: 111;
  aspect-ratio: 2880 / 492;
}

/* 大画面での調整（シンプルに） */
@media screen and (min-width: 2000px) {
  .section-wrapper-bg-2::before {
    bottom: 89%;
    background-size: 100% auto;
  }
}

@media screen and (max-width: 1400px) {
  .section-wrapper-bg-2::before {
    bottom: 96%;
    background-size: 100% auto;
  }
}

/* 既存のスマートフォン対応は維持 */
@media screen and (max-width: 999px){
  .section-wrapper-padding-style{
    padding: 60px 20px 0px!important;
  }
  .section-wrapper-bg-2::before{
    bottom: 100%;
  }
}

/*波がかるセクションの余白調整*/
.section-wrapper-padding-style{
  padding: 170px 50px 200px!important;
}

@media screen and (max-width: 999px){
 .section-wrapper-padding-style{
    padding:60px 20px 0px!important;
  }
  .section-wrapper-bg-2::before{
    bottom: 97%;
  }
}

@media screen and (max-width: 650px){
  .section-wrapper-bg-2::before{
    bottom: 100%;
  }
}

/*白背景*/
.section-wrapper-bg-white{
  margin: 0 calc(50% - 50vw) 90px;
}


/*三角のbg*/
.section-bottom-style{
  position: relative;
}

.section-bottom-style::after {
  content: "";
  position: absolute;
  bottom: -50px; /* セクションの下にはみ出す */
  left: 50%;
  transform: translateX(-50%);
  width: 200px; /* 三角形の幅 */
  height: 100px; /* 三角形の高さ */
  background-image: url("assets/img/triangle_bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.gradient-button {
  background: linear-gradient(45deg, #E9528E,#F888B1, #B6C3F0);
  border: none;
  border-radius: 5px;
  padding: 16px 32px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 280px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  margin: 0 auto;
}

.gradient-button:hover {
  transform: translateY(-4px);
}

.gradient-button:active {
  transform: translateY(0);
}

.button-text {
  font-size: 1.8rem;
  flex-grow: 1;
  text-align: center;
}

.arrow {
  position: relative;
}

.arrow:before{
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 8px solid #fff; 
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  vertical-align: middle;
  margin-right: 5px;
}

.gradient-button:hover .arrow {
  transform: translateX(4px);
}




/*ネットで売上アップな耳より情報*/
.hottipps_contents_wrapper-2{
  text-align: center;
  position: relative;
  width: 100vw; /* 画面幅いっぱいに */
  margin-left: calc(-50vw + 50%); /* 中央揃えしつつ画面幅いっぱいに */
  padding: 160px 20px 0; /* 左右にパディング追加、下のパディングは削除 */
  box-sizing: border-box;
}

/* 背景画像の設定を追加 */
.hottipps_contents_wrapper-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -400px; /* 下のセクションのwaveまで延長 */
  background-image: url("assets/img/bg-image-2.png"); /* 手とネットワークの画像パス */
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
  min-height: 100vh;
}

.hottipps_contents_wrapper-2 img,
.hottipps_text_1,
.hottipps_text_2,
.gradient-button {
  position: relative;
  z-index: 9999;
}

.hottipps_contents_wrapper-2 img{
  max-width: 1217px;
  width: 100%;
  position: relative; /* 追加：画像を背景より前面に */
  z-index: 1; /* 追加 */
}

.hottipps_text_1{
  margin: 50px 0 20px;
  font-size: 3.2rem!important;
  color: #E9528E;
  font-weight: 700;
  line-height: 1.5;
  position: relative; /* 追加：テキストを背景より前面に */
  z-index: 1; /* 追加 */
}

.hottipps_text_2{
  margin-bottom: 0; /* 下のマージンを削除 */
  padding-bottom: 40px; /* パディングで調整 */
  position: relative; /* 追加：テキストを背景より前面に */
  z-index: 1; /* 追加 */
  line-height: 1.8;
}

.gradient-button .icon{
	width: 25px!important;
  height: 20px!important;
	fill:#fff;
	transform: translatey(-1px);
}

/* タブレット・中型画面での調整 */
@media screen and (max-width: 1920px) and (min-width: 769px) {
  .hottipps_contents_wrapper-2::before {
    background-size: 140%;
  }
}

/* タブレット版での調整 */
@media screen and (max-width: 1600px) {
  .hottipps_contents_wrapper-2::before {
    background-size: 200%;
    bottom: -300px;
  }
}

/* スマートフォン版での調整 - waveの後ろにかかるように修正 */
@media screen and (max-width: 999px) {
  .hottipps_contents_wrapper-2 {
    padding: 80px 15px 0;
  }
  
  .hottipps_contents_wrapper-2::before {
    background-image: url("assets/img/bg-image-2-sp.png"); 
    background-size: cover;
    bottom: -100px; /* waveの後ろにかかる程度に調整 */
    background-position: center top;
  }
  
  .hottipps_text_1 {
    font-size: 2rem!important;
    margin: 30px 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .hottipps_contents_wrapper-2::before {
    background-size: 150%;
    background-position: center top;
    bottom: -130px; /* waveの後ろにかかる程度に調整 */
  }
}

@media screen and (max-width: 1000px) {
  .margin-top-sp{
    margin-top: -100px;
  }
}

/*ネットで売上アップな耳より情報おわり*/

/*私たちができること*/
.service-contents{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  gap: 20px;
}
.service-contents li{
  width: 327px;
  height: 327px;
}
.service-contents li a{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 17px #E9528D;
  padding: 50px 20px 30px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
.service-contents li a:hover{
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(233, 82, 141, 0.3);
}
.service-contents li a img{
  width: 60%;
  height: auto;
  flex-shrink: 0;
}
.service-contents li a h3{
  font-size: 2.7rem;
  color: #E9528D;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  height: 3.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 下向き矢印のスタイリング（線のみ） */
.service-contents li a span{
  width: 20px;
  height: 20px;
  border-right: 3px solid #E9528D;
  border-bottom: 3px solid #E9528D;
  transform: rotate(45deg);
  display: block;
  transition: transform 0.3s ease;
}
.service-contents li a:hover span{
  transform: rotate(45deg) translateX(3px);
}

#webad,#snsoa,#seo_llmo{
	padding-top: 70px;
	margin-top: -70px;
}

/*#snsoa{
	padding-top: 70px;
	margin-top: -70px;
}*/

/* PC版の画面サイズ調整（700px超） */
@media screen and (max-width: 1024px) and (min-width: 701px) {
  .service-contents {
    justify-content: center;
    gap: 20px;
  }
  
  .service-contents li {
    width: 280px;
    height: 280px;
  }
  
  .service-contents li a {
    padding: 40px 15px 25px;
  }
  
  .service-contents li a h3 {
    font-size: 2.2rem;
  }
}


/* SP版レスポンシブ対応（700px以下） */
@media screen and (max-width: 700px) {
  .service-contents {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
  }
  
  .service-contents li {
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 90px;
  }
  
  .service-contents li a {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 12px;
    gap: 15px;
    position: relative;
  }
  
  .service-contents li a img {
    width: 83px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
  }
  
  .service-contents li a h3 {
    font-size: 1.8rem;
    height: auto;
    min-height: auto;
    flex: 1;
    text-align: left;
    line-height: 1.3;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  
  /* 右向き矢印を右端から15px位置に固定配置 */
  .service-contents li a span {
    width: 8px;
    height: 8px;
    border-right: 1px solid #E9528D;
    border-bottom: 1px solid #E9528D;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
}



/* 極小スマートフォン対応 */
@media screen and (max-width: 360px) {
  .service-contents {
    padding: 0 10px;
  }
  
  .service-contents li a {
    padding: 12px 15px;
  }
  
  .service-contents li a h3 {
    font-size: 1.6rem;
  }
  
  .service-contents li a img {
    width: 50px;
    height: 50px;
  }
}

/* タッチデバイス用のホバー効果無効化 */
@media (hover: none) {
  .service-contents li a:hover {
    transform: none;
    box-shadow: 0 0 17px #E9528D;
  }
  
  .service-contents li a:hover span {
    transform: rotate(45deg);
  }
  
  .service-contents li a:active {
    transform: scale(0.98);
  }
}

@media (hover: none) and (max-width: 700px) {
  .service-contents li a:hover span {
    transform: translateY(-50%) rotate(-45deg);
  }
}
/*私たちができることおわり*/

/*Web広告運用代行*/
.webad-contents-wrapper{
  margin-bottom: 50px;
  column-gap: 20px;
}

.grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.webad-contents-wrapper li{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.webad-contents-wrapper li img{
  height: auto;  
  max-height: 175px; 
  width: auto;
  object-fit: contain;
  margin-bottom: 5px;
}
.webad-contents-wrapper h4{
  font-size: 2.2rem;
  color: #7D99CD;
  font-weight: 800;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  width: 100%;
}
.webad-h3{
  font-size: 3.2rem;
  color: #E9528D;
  font-weight: 800;
  margin-bottom: 20px;
}
.text-style{
  color: #707070;
  font-size: 1.8rem;
  line-height: 1.8;
}
.text-style p{
  margin-bottom: 25px;
}

@media screen and (max-width: 999px){
  .webad-contents-wrapper{
    margin-bottom: 30px;
    column-gap: 14px;
  }
  .text-style p{
    font-size: 1.6rem;
    margin-bottom: 22px;
  }
  .webad-contents-wrapper li img{
    margin-bottom: 5px;
    height: 70%;
  }
  .webad-contents-wrapper h4{
    font-size: 1.8rem;
    height: 3rem;
  }
  .webad-h3{
    font-size: 2rem;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 500px){
  .grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 700px) {
  .webad-contents-wrapper.grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
}

/*Web広告運用代行おわり*/

/*SNS運用代行*/
/*.snsoa-h2{
  margin-bottom: 40px;
}*/
.snsoa-wrapper img{
  margin-bottom: 10px;
}

.h3-style{
  font-size: 3.2rem;
  font-weight: 800;
  color: #353535;
  line-height: 1.5;
  margin-bottom: 20px;
}

.snsoa-title-2{
  color: #E9528E;
}

.snsoa-wrapper h4{
  text-align: center;
  color: #7D99CD;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.sns-list{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-items: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 20px;
  box-sizing: border-box;
}
.sns-list li{
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  border-radius: 3px;
  width: 90px;
  height: 90px;
}
.sns-list li img{
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
  object-fit: contain;
}
.sns-list li span{
  font-weight: 600;
  font-size: 1.4rem;
}

/* レスポンシブ対応 */
@media screen and (max-width: 820px) {
  .h3-style{
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .sns-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 15px;
    max-width: 400px;
  }
  
  .sns-list li {
    width: 80px;
    height: 80px;
    padding-top: 12px;
  }
  
  .sns-list li img {
    width: 35px;
    height: 35px;
    object-fit: contain;
  }
  
  .sns-list li span {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .sns-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 10px;
    max-width: 280px;
  }
  
  .sns-list li {
    width: 75px;
    height: 75px;
    padding-top: 10px;
  }
  
  .sns-list li img {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }
  
  .sns-list li span {
    font-size: 1.1rem;
  }
}

/*SNS運用代行おわり*/

/*SEO・LLMO対策*/

.h4-style{
  color: #7D99CD;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.seo-text{
  margin-bottom: 50px;
}

.seo_llmo-text{
  margin-bottom: 80px;
}

.seo-contact-button{
  margin: 75px auto 0;
}

/* SEOお問い合わせボタン用 */
.seo-contact-button {
  display: block;
  transition: all 0.3s ease;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.seo-contact-button img {
  width: 100%;
  height: auto;
  transition: inherit;
  max-width: 640px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 999px) {
  .seo-text{
    margin-bottom: 30px;
  }
  
  .seo_llmo-text{
    margin-bottom: 50px;
  }
}


@media screen and (max-width: 768px) {
  .seo-contact-button {
    max-width: 480px;
  }
  
  .seo-contact-button img {
    max-width: 480px;
  }
}

@media screen and (max-width: 480px) {
  .seo-contact-button {
    max-width: 350px;
  }
  
  .seo-contact-button img {
    max-width: 350px;
  }
}



/*ご利用の流れ*/
.section-wrapper{
  max-width: 1200px;
  padding: 70px 50px 140px;
  margin: 0 auto;
  position: relative;
}

.number-wrapper{
  margin: 70px auto 30px;
  width: 88%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.number-circle{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E9528D;
  border-radius: 9999px;
  width:40px;
  height: 40px;
}

.text-number{
  color: #ffffff;
  font-weight: 600;
  font-size: 29px;
  transform: translateY(-1px);
}

.line{
  width: 100%;
}

hr{
  border-top: 2px solid #E9528D;
}

.flow-flex-wrapper{
  display: flex;
  justify-content: space-between;
}

.flow-contents{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-contents img{
  width: 180px;
  height: 180px;
  margin-bottom: 37px;
}

.flow-contents h3{
  font-size: 2.3rem;
  color: #E9528D;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  height: 3.45rem; /* 1.5行分の高さを固定 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-contents p{
  color: #707070;
  width: 180px;
  line-height: 1.8;
  margin-top: 37px;
}

/* SP版レスポンシブ対応 */
@media screen and (max-width: 1000px) {
  .section-wrapper-bg {
    margin: 0 calc(50% - 50vw) 60px;
  }
  
  .section-wrapper {
    padding: 40px 20px 80px;
  }
  
  .section-bottom-style::after {
    width: 150px;
    height: 75px;
    bottom: -38px;
  }
  
  /* 番号部分を非表示にしてSP版専用レイアウトを使用 */
  .number-wrapper {
    display: none;
  }
  
  /* SP版でのflexレイアウトを縦並びに変更 */
 .flow-flex-wrapper {
  display: flex;
  flex-direction: column;
  counter-reset: flow-counter;
}
  
  /* SP版でのコンテンツレイアウト */ 
  .flow-contents {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
  }
  
  .flow-contents:last-child {
    margin-bottom: 0;
  }
  
  /* SP版での番号サークル */
  .flow-contents::before {
    content: counter(flow-counter);
    counter-increment: flow-counter;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E9528D;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #ffffff;
    font-weight: 600;
    font-size: 24px;
    flex-shrink: 0;
    margin-right: 20px;
    margin-top: 18px;
  }
  
  /* 番号間の縦線 */
  .flow-contents:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 19px;
    top: 50px;
    width: 2px;
    height: calc(100% + 10px);
    background-color: #E9528D;
  }
  
  /* SP版でのコンテンツエリア */
  .flow-contents-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  /* 画像とh3を横並びにするためのコンテナ */
  .flow-contents-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    column-gap: 20px;
  }
  
  .flow-contents img {
    width: 80px;
    height: auto;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .flow-contents h3 {
    font-size: 1.8rem;
    height: auto;
    text-align: left;
    margin: 0;
    line-height: 1.4;
    justify-content: flex-start;
    flex: 1;
  }
  
  .flow-contents p {
    width: 100%;
    font-size: 1.4rem;
    line-height: 1.7;
    margin: 0;
    text-align: left;
  }
}

@media screen and (max-width: 480px) {
  .section-wrapper {
    padding: 30px 15px 60px;
  }
  
  .flow-contents::before {
    width: 40px;
    height: 40px;
    font-size: 2.5rem;
    margin-right: 15px;
  }
  
  .flow-contents:not(:last-child)::after {
    left: 19px;
    top: 50px;
  }
  
  .flow-contents img {
    width: 100px;
    height: auto;
  }
  
  .flow-contents h3 {
    font-size: 1.8rem;
  }
  
  .flow-contents p {
    font-size: 1.3rem;
  }
}

/*ご利用の流れ終わり*/

/*追従ボタン*/
.float-button__wrap {
  display: none;
  width: 400px;
  height: 110px;
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 9999;
}
.float-button__wrap a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease; 
}

.float-button__wrap a:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* モバイル固定ボタン */
.mobile-fixed-buttons {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 55px;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  color: white;
  box-sizing: border-box;
}

/* お問い合わせボタン（ピンク） */
.mobile-btn-contact {
  background: linear-gradient(45deg, #E9528E,#F888B1, #B6C3F0);
  border-right: 1px solid rgba(255,255,255,0.2);
  padding: 13px 32px;
}

/* Web施策ボタン（緑） */
.mobile-btn-web {
  padding: 0 10px;
  background: linear-gradient(
    135deg,
    #6ABF08 0%,
    #7FD626 55%,
    #DBF8BE 70%,
    rgba(255, 255, 255, 1) 60%,
    #DBF8BE 60%,
    #7FD626 84%,
    #6ABF08 100%
  );
}

/* 1000px以下で表示 */
@media (max-width: 1000px) {
  .mobile-fixed-buttons {
    display: flex;
  }
}


/*タブ切り替え*/
.contact-tab {
  display: flex;
  margin-bottom: 80px;
  position: relative;
  
  @include mq(md) {
    margin-bottom: 32px;
  }
}

.contact-tab .tablinks {
  max-width: 100%;
  height: 60px;
  position: relative;
  border: none;
  color: #353535;
  padding: 10px 30px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  margin-bottom: -2px;
  box-shadow: inset 0px 3px 6px #cacaca;
  
  @include mq(md) {
    font-size: 13px;
    white-space: nowrap;
    height: 50px;
    padding: 10px 15px;
  }
}

/* アイコンとテキストの配置調整 */
.tablinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* アイコンとテキストの間隔 */
}

.tablinks .icon {
  width: 24px;
  height: 18px;
  fill: #353535; /* 通常時の色 */
  transition: fill 0.3s ease;
  flex-shrink: 0; /* アイコンサイズを固定 */
  transform: translateY(-2px);
}

/* アクティブ時のアイコン色 */
.tablinks.active .icon {
  fill: #fff; /* アクティブ時は白 */
}

/* ホバー時のアイコン色 */
.tablinks:hover:not(.active) .icon {
  fill: #333;
}

/* レスポンシブ対応 */
@include mq(md) {
  .tablinks {
    gap: 6px; /* SP時は間隔を少し狭く */
  }
  
  .tablinks .icon {
    width: 14px;
    height: 14px;
  }
}

/*最初のボタン（お問い合わせ）- 左側を丸く*/
.contact-tab .tablinks:first-child {
  border-radius: 8px 0 0 8px;
}

/* 最後のボタン（競合先のWeb施策）- 右側を丸く */
.contact-tab .tablinks:last-child {
  border-radius: 0 8px 8px 0;
}

/* レスポンシブ対応：縦並びの場合 */
@include mq(md) {
  .contact-tab {
    flex-direction: column;
    gap: 0; /* ギャップを0にして隣接させる */
  }
  
  /* 縦並び時は上下を丸く */
  .contact-tab .tablinks:first-child {
    border-radius: 8px 8px 0 0;
  }
  
  .contact-tab .tablinks:last-child {
    border-radius: 0 0 8px 8px;
  }
}

.tablinks + .tablinks {
  margin-left: auto;
  
  @include mq(md) {
    margin-left: 2vw;
  }
}

/* ホバー効果 */
.contact-tab .tablinks:hover:not(.active) {
  background-color: #f0f0f0;
  color: #333;
}

/* アクティブなタブのスタイル */
.contact-tab .tablinks.active {
  color: #fff !important;
  position: relative;
  border-bottom: 2px solid transparent;
}

/* フォーム1（お問い合わせ）のアクティブ時の背景色 */
.contact-tab .tablinks.--form1.active {
  background: linear-gradient(135deg, #E9528E, #d63384);
  box-shadow:none;
}

/* フォーム2（競合先のWeb施策）のアクティブ時の背景色 */
.contact-tab .tablinks.--form2.active {
  background: linear-gradient(
    135deg,
    #6ABF08 0%,
    #7FD626 55%,
    #DBF8BE 70%,
    rgba(255, 255, 255, 1) 60%,
    #DBF8BE 60%,
    #7FD626 84%,
    #6ABF08 100%
  );
  text-shadow: #767676 1px 0 10px;
  box-shadow:none;
}

/* アクティブタブの下向き矢印 */
.contact-tab .tablinks.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid currentColor;
  z-index: 10;
}

/* フォーム1の矢印色 */
.contact-tab .tablinks.--form1.active::after {
  border-top-color: #E9528E;
}

/* フォーム2の矢印色 */
.contact-tab .tablinks.--form2.active::after {
  border-top-color: #92DF48;
}

/* タブコンテンツのデフォルト表示制御 */
.tabcontent {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

/* 最初のタブコンテンツを表示（JavaScriptが無効の場合の対応） */
.tabcontent:first-child {
  display: block;
}

/* フェードインアニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 480px) {
  .contact-tab .tablinks{
    font-size: 13px;
    padding: 10px;
    line-height: 17px;
    text-align: left;
  }
}

.sp-br{
  display: none;
}

.pc-none{
  display: none;
}

.sp-none{
  display: block;
}

@media(max-width:1000px){
  .sp-br{
    display: block;
  }
  .pc-none{
    display: block;
    margin: 0 auto;
  }
  .sp-none{
    display: none;
  }
}  

a:hover{
	color:#fff;
}

/* 必須マークのスタイル */
.required {
    color: #E9528E;
    font-size: 18x;
    font-weight: normal;
}

/* フォーム全体のスタイル */
.wpcf7-form {
    max-width: 800px;
    margin: 0 auto;
}

/* 入力フィールドのスタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #F9E7E6;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 10px 0 0;
}

.input-field{
	width: 100%;
    padding: 12px;
    border: none!important;
    background-color: #DBF8BE!important;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 10px 0 0;
}

/* ラベルのスタイル */
.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    margin-top: 15px;
}

.align-center{
	text-align:center;
	font-weight:bold;
}

.privacy{
	text-align:center;
	margin-bottom: 10px!important;
}

.privacy a{
	font-weight:600;
	color:#E9528E;
}

.attention{
	text-align:center;
	font-size:16px;
}

.wpcf7-form input[type=submit]{
	background: linear-gradient(45deg, #E9528E, #F888B1, #B6C3F0);
  border: none;
  border-radius: 5px;
  padding: 16px 32px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 280px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  margin: 0 auto;
}

/*
.wpcf7-form input {
    justify-content: center;
}
*/

.small{
	font-size: 14px;
}

#Form1 img{
	max-width: 90%!important;
}

#Form1,#Form2{
	padding-top: 250px;
	margin-top: -250px;
}

@media(max-width:1000px){
  #Form1,#Form2{
	padding-top: 220px;
	margin-top: -250px;
 }
  .attention{
  font-size:12px!important;
 }
}

.display-posts-listing{
	display:flex;
	column-gap: 10px;
	margin-bottom: 70px;
}

.listing-item{
	display:flex;
	flex-direction: column;
  background-color: #fff;
	border-radius: 5px;
	box-shadow: 0px 0px 6px #D1D1D1;
	height: 100%;
}

.title{
	font-size: 22px;
	text-decoration: none;
	color:#333;
	font-weight: 700;
	text-align: left;
	margin: 30px 20px 20px;
  line-height: 1.4;
}

.title:hover{
	color:#333;
}

.excerpt{
	padding: 0 30px 20px;
	flex-grow: 1;
	order: 1;
	margin-top: 0;
}

.excerpt p{
	font-size: 16px;
}

.excerpt-dash{
	display: none;
}

.page-id-32 .date{
	font-size: 14px;
	color: #F888B1;
	padding: 0 30px 20px; 
	order: 2; 
}

.image img{
	width: 100%;
	height: 195px;
	object-fit:cover;
	border-radius: 5px 5px 0 0;
}

/* リスト項目のホバーエフェクト */
.listing-item {
  overflow: hidden; 
}

.listing-item .image {
  display: block;
  overflow: hidden; 
}

.listing-item .image img {
  transition: transform 0.3s ease; 
  transform-origin: center center; 
}

.listing-item:hover .image img {
  transform: scale(1.08); 
}


/* スマホ対応 */
@media screen and (max-width: 768px) {
	.display-posts-listing {
		flex-direction: column;
		row-gap: 15px;
		column-gap: 0;
	}
	
	.listing-item {
		flex-direction: row; 
		align-items: stretch; 
		position: relative;
	}
	
	.image {
		flex-shrink: 0;
		width: 150px;
		margin-right: 15px;
	}
	
	.image img {
		width: 150px;
		height: 85px;
		border-radius: 5px 0 0 5px; 
		object-fit: cover;
	}
	
	.title {
		font-size: 16px;
		text-align: left;
		margin: 0;
		position: absolute; /* 絶対配置 */
		top: 15px;
		left: 180px; /* 画像幅150px + マージン15px + パディング15px */
		right: 15px;
    line-height: 1.9rem;
	}
	
  .page-id-32	.date {
		font-size: 12px;
		padding: 0;
		margin: 0;
		position: absolute; /* 絶対配置 */
		bottom: 2px;
		left: 180px; /* 画像幅150px + マージン15px + パディング15px */
		right: 15px;
	}
	
	.hottipps_contents_wrapper-1 .excerpt{
		display: none;
	}
}


/*8/18追加修正 */
.hottipps_text_2 a{
	color:#E9528E;
	text-decoration: none;
	font-weight: 700;
}

.hottipps_text_2 a:hover{
	opacity: 0.5;
	transition: 0.5s;
}

/*8/20記事内デザイン*/
.content-in{
	display:flex!important;
	justify-content: center!important;
}

#main{
	max-width: 940px;
	width: 100%;
	padding: 0 30px;
}

.single-post #main{
	padding: 55px 30px 0;
}

@media screen and (max-width: 1000px){
	.single-post #main{
		padding: 0;
	}
}

.entry-title{
	margin:70px 0 2.5rem 0;
	font-size: 32px;
}

.date{
	font-weight: bold;
	padding: 0;
}

.post-date{
	margin-right:0;
}

.fa-clock-o{
	display: none;
}

.eye-catch-wrap{
	justify-content: center;
}

.eye-catch img{
	border-radius: 0.5rem;
	width: 880px;
}

.wp-block-image{
	margin: 0 auto 1rem;
}

.wp-block-image img{
	border-radius: 0.5rem;
	width: 880px;
	height: auto;
}

.wp-singular p{
	font-size: 16px;
}

.post a{
	color: #E9528E;
}

.post a:hover{
	color: #E9528E;
	opacity: 0.5;
	transition: 0.5s;
}

.article h2 {
	position: relative;
	margin-top: 6rem;
	margin-bottom: 2.5rem;
	background-color: #fff;
	padding: 0 0 0 24px;
}
.article h2:before{
	position:absolute;
	content: "";
  display: block;
  width: 4px;
  height: 100%;
  background-color: #151515;
  border-radius: 999px;
  bottom: 0;
  left: 0;
}

.article h3{
	font-size: 24px;
	margin-bottom: 2.5rem;
	margin-top: 4rem;
	padding: 0;
	border: none;
}

.cat-label{
	display: none;
}

.article-footer{
	display: none;
}

.breadcrumb{
	display: none;
}

#toc1,#toc2{
	padding-top: 80px;
	margin-top: -80px;
}


.toc-content a{
	color: #333;
}

.toc-content a:hover{
	color: #333;
}

/*8/20記事内デザイン_SP時*/

@media screen and (max-width: 834px){
	#main{
		padding: 0;
	}
	
	.article h2,.article h3{
		font-size: 20px;
	}
	
	#toc1,#toc2{
	  padding-top: 50px;
	  margin-top: -50px;
  }
}

@media screen and (max-width: 480px){
	.entry-title{
		padding: 0;
	}
}

/*8/20記事一覧ページ*/
.blog .content{
	margin-top: 100px;
}

@media screen and (max-width: 480px){
	.blog .content{
	  margin-top: 50px;
  }
}

/* 基本レイアウト */
.display-posts-listing .listing-item {
    display: flex;
    flex-direction: column;
    min-height: auto; /* 自動の高さ調整 */
}

/* PC用 - タイトルを24文字制限 */
@media (min-width: 769px) {
    .display-posts-listing .title {
        display: block;
        line-height: 1.4;
        margin-bottom: 8px;
        /* 24文字制限は既にPHPで設定済み */
    }
}

/* SP用 - タイトルを2行に制限 */
@media (max-width: 768px) {
    .display-posts-listing .title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
        max-height: 2.8em; /* 1.4 × 2行 */
        margin-bottom: 8px;
        word-break: break-all; /* 日本語の場合 */
    }
}

/* 全体的な調整 */
.display-posts-listing .listing-item {
    overflow: hidden; /* はみ出し防止 */
}
