@charset "UTF-8";

/* レイアウト */
.w-container {
  width: min(92%, 1210px);
  margin-inline: auto;
}
.h-container {
  padding: clamp(64px, 5vw, 70px) 0;
}
/* 共通 */
.c-section-title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #ce0000;
}
.sp-br {
  display: none;
}
@media (max-width: 749px) {
  .c-section-title {
    font-size: 26px;
  }
  .sp-br {
    display: block;
  }
}
.redmarker-text {
  font-weight: bold;
  color: #ce0000;
  font-size: 1em;
}
a.button.c-button--primary {
  color: #ce0000;
  background: #fff;
  border: 2px solid #ce0000;
}
/* a.button.c-button--primary::before {
    content: "";
    width: 32px;
    height: 2px;
    position: absolute;
    top: 25.4px;
    left: -2px;
    background: #ce0000;
    z-index: 1;
}
a.button.c-button--primary::after {
    content: "";
    width: 30px;
    height: 2px;
    position: absolute;
    top: 25.4px;
    left: -30px;
    background: #ce0000;
} */
a.button.c-button--primary::before {
  background: #d10000;
}
a.button.c-button--primary::after {
  background: #d10000;
}

/* MVエリア */
.main-visual {
  background-image: url('../images/service/seo/consulting/fv-back.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}
.main-visual__text-image {
  text-align: center;
}
.main-visual__text-image img {
  max-width: 100%;
  height: auto;
}
.main-visual__button-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  padding: 0 150px;
}
.mv-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  border: 2px solid #cc2a2a;
  cursor: pointer;
  width: 380px;
  box-sizing: border-box;
}

/* 左ボタン（無料で相談する） */
.mv-button--primary {
  background-color: #cc2a2a;
  color: #fff;
}

.mv-button--primary:hover {
    opacity: .7;
}
/* 右ボタン（資料ダウンロード） */
.mv-button--secondary {
  background-color: #fff;
  color: #cc2a2a;
}
.mv-button--secondary:hover {
  opacity: .7;
}
.sp-only-image {
  display: none;
}

@media (max-width: 849px){
  .mv-button {
    width: 100%;
    font-size: 16px;
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .main-visual {
    background-image: url('../images/service/seo/consulting/fv-sp-back.jpg');
    padding: 40px 0;
  }
  .main-visual__button-wrapper {
    align-items: center;
    padding: 0;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
  }

  .sp-only-image {
    display: block;
    margin: 30px auto 0;
  }
  .main-visual__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-visual__text-image {
    order: 1;
  }

  .main-visual__button-wrapper {
    order: 2;
  }

  .sp-only-image {
    order: 3;
  }
}

.seoMenu {
  background: #f9f9f9;
}

.seoMenu__list {
  padding: 3rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.seoMenu__item {
  background: #fff;
}
.seoMenu__link {
  display: block;
  text-align: center;
  padding: 0.2rem 1rem;
  border: 2px solid #d10000;
  color: #d10000;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s ease;
}
.seoMenu__link::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 0.4rem solid transparent;
  border-right: 0.4rem solid transparent;
  border-top: 0.6rem solid #d10000;
  margin: 3px auto 4px;
}
.seoMenu__link:hover {
  background: #d10000;
  color: #fff;
}
.seoMenu__link:hover::after {
  border-top-color: #fff;
}

@media (max-width: 749px) {
  
  .seoMenu__list {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1rem;
  }
  .seoMenu__link {
font-size: 14px;
  }
}

.styledBorderHeading {
  font-size: 30px;
  position: relative;
  border-bottom: 3px solid #ccc;
  padding: 0 10px 10px;
  margin: 0 auto 50px;
}
.styledBorderHeading::before {
  content: "";
  width: 150px;
  height: 3px;
  background: #cc2a2a;
  position: absolute;
  bottom: -3px;
  left: 0;
}
@media (max-width: 599px) {
  .styledBorderHeading {
    font-size: 18px;
    margin-bottom: 25px;
  }
}
.styledBorderHeading._document {
  margin-top: 60px;
}
/* LP内コンテンツ */
.lpSubjectBottomSub {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
}
.lpSubjectBottomSub span {
  color: #d10000;
  font-size: 1em;
}
.lpSubjectBottomBg {
  padding: 224px 0 80px;
  font-size: 40px;
}
.lpElected {
  background: url(../img/elected/pc-bg.jpg) no-repeat center/cover;
  width: 100%;
  height: auto;
}
.lpElectedList {
  margin-top: 72px;
  list-style: none;
  padding: 0;
}
.lpElectedItem2Col {
  display: grid;
  grid-template-columns: 62% 33%;
  gap: 5%;
  margin-top: 72px;
  align-items: center;
}
.lpElectedItem2Col:nth-child(2n) {
  grid-template-columns: 33% 62%;
}
.lpElectedItem2Col:nth-child(2n) .lpElectedItemL {
  grid-row: 1;
  grid-column: 2;
}
.lpElectedItemR {
  margin: 0;
  max-width: 330px;
  width: 100%;
}
.lpElectedBtn {
  color: #131843;
  border: 3px solid #131843;
  border-radius: 90px;
  font-weight: 900;
  padding: 5px 0;
  display: inline-block;
  text-align: center;
  max-width: 400px;
  width: 100%;
  line-height: 1.5;
  font-size: 18px;
}
.lpElectedTtl {
  color: #d10000;
  line-height: 1.2;
  font-weight: 900;
  font-size: 25px;
  margin-top: 22px;
}
.lpElectedTxt {
  color: #666666;
  font-weight: 700;
  font-size: 16px;
  margin-top: 22px;
}

@media (max-width: 1279px) {
  .lpElectedList {
    margin-top: 108px;
  }
  .lpElectedTtl {
    font-size: 32px;
  }
}
@media (max-width: 949px) {
  .lpElectedList {
    margin-top: 96px;
  }
  .lpElectedTtl {
    font-size: 24px;
  }
  .lpElectedTxt {
    font-size: 15px;
    margin-top: 18px;
  }
}

@media (max-width: 849px) {
  .lpElectedBtn {
    font-size: 22px;
  }
  .lpElectedTtl {
    font-size: 21px;
  }
  .lpElectedTxt {
    font-size: 13px;
    margin-top: 15px;
  }
}

@media (max-width: 749px) {
  .lpElectedItem2Col {
    display: block;
    margin-top: 32px;
  }
  .lpElectedItemR {
    margin: 0 auto 32px;
  }
  .lpElectedList {
    margin-top: 48px;
  }
  .lpElectedBtn {
    font-size: 16px;
  }
  .lpElectedTtl {
    font-size: 17px;
    margin-top: 15px;
  }
  .lpElectedTxt {
    font-size: 13px;
    margin-top: 10px;
  }
  .lpSubjectBottomSub {
    font-size: 20px;
  }
}

/* --- 実績紹介 --- */
.c-showcase {
  padding: 60px 0;
}

.c-showcase__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.c-showcase__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.c-showcase__body {
  margin-top: 12px;
  padding-left: 8px;
}

.c-showcase__sub-title {
  color: #ce0000;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 8px 0;
}

.c-showcase__text {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  font-weight: bold;
}

.c-showcase__link {
  display: block; 
  color: inherit;
}

.c-showcase__link:hover .c-showcase__image {
  opacity: 0.9;
}

@media (max-width: 767px) {
  .c-showcase__grid {
    display: flex;
    flex-direction: column;
    gap: 40px; 
  }
}

/* CASE */
.case-detail {
  margin-top: 80px;
}
.case-detail__title {
  font-size: 30px;
  font-weight: bold;
  border-bottom: 3px solid #cacaca;
  padding-bottom: 10px;
  position: relative;
  margin: 0 0 50px 0;
}

.case-detail__title--accent {
  color: #ce0000;
  font-size: 1em;
  margin-right: 20px;
}
@media (max-width: 599px) {
  .case-detail__title  {
    font-size: 18px;
    margin-bottom: 25px;
  }
  .case-detail__title--accent {
    display: block;
  }
  .case-detail__main-content {
    width: 100%;
  }
}

.case-detail__title::before {
  content: "";
  width: 150px;
  height: 3px;
  background: #ce0000;
  position: absolute;
  bottom: -3px;
  left: 0;
}
.case-detail__grid {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr; 
  gap: 50px;
  align-items: center;
}
.case-detail__label {
  color: #ce0000;
  font-size: 16px;
  margin: 24px 0 8px 0;
}

.case-detail__label:first-child {
  margin-top: 0;
}

.case-detail__service {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.case-detail__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.case-detail__table th,
.case-detail__table td {
  padding: 2px 15px;
  font-size: 16px;
  vertical-align: middle;
  text-align: center;
}
@media (max-width: 599px) {
  .case-detail__table th,
.case-detail__table td {
  font-size: 14px;
}
}
.case-detail__table th {
  background-color: #333333;
  color: #fff;
  font-weight: bold;
  width: 35%;
}

.case-detail__table td {
  background-color: #e1e1e1;
  text-align: left;
}

.case-detail__table tr {
  border-bottom: 2px solid white;
}
.case-detail__table tr:last-child {
  border-bottom: none;
}

.case-detail__image-wrapper {
  text-align: center;
}
.case-detail__image {
  max-width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .case-detail__grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
}
.c-showcase a.button {
  margin-top: 100px;
}
/* サービス・料金体系既存コード */


ul.price-list {
  margin: 0 auto 50px;
  text-align: center;
}

ul.price-list li {
  display: inline-block;
  vertical-align: middle;
}

ul.price-list li p.text-01 {
  font-size: 30px;
}

ul.price-list li p.text-01 strong {
  font-size: 60px;
  color: #cc2a2a;
}

ul.price-list li p.text-01 strong span {
  color: #cc2a2a;
  font-size: 30px;
}

ul.price-list li i {
  font-size: 30px;
  padding: 0 50px;
  color: #cc2a2a;
}

ul.price-list li p.text-02 {
  text-align: left;
}
ul.price-list li p.text-02:not(:last-of-type) {
  margin: 0 auto 15px;
}

ul.price-list li p.text-02 strong {
  background: #333;
  color: #fff;
  display: inline-block;
  padding: 2.5px 0;
  text-align: center;
  width: 180px;
  border-radius: 2px;
  margin: 0 15px 0 0;
}

ul.price-list li p.text-02 small {
  font-size: 12px;
  padding: 0 0 0 10px;
}

ul.flow {
  letter-spacing: -7px;
  margin: 0 auto 50px;
}

ul.flow li {
  letter-spacing: normal;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  position: relative;
  /* max-width: calc(950px / 4); */
  width: calc(25% - 37.5px); 
  margin: 0 0 0 50px;
}

ul.flow li:first-child {
  margin: 0;
}

ul.flow li::before {
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 50px;
  position: absolute;
  left: -35px;
  top: calc(50% - 50px);
  line-height: 1;
  color: #ccc;
}

ul.flow li:first-child::before {
  content: none;
}

ul.flow li img {
  margin: 0 auto 15px;
}

table.service-manu {
  /* width: 100%; */
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

table.service-manu th {
  background: #333;
  color: #fff;
  padding: 15px 0;
  border: 1px solid #fff;
  font-size: 14px;
}

table.service-manu td {
  background: #efefef;
  vertical-align: middle;
  padding: 15px;
  border: 1px solid #fff;
  width: 30%;
  font-size: 14px;
}
/* .service-manu tbody td:nth-child(2) {
  text-align: left;
} */
table.service-manu td:nth-child(2) {
  text-align: left;
  width: 70%;
  padding: 15px 5px 15px 5%;
}

/* --- Responsive Styles --- */

/* 1100px and below */
@media (max-width: 1100px) {
  ul.price-list li {
    display: block;
  }

  ul.price-list li i {
    margin: 25px auto;
    font-size: 40px;
  }

  ul.price-list li p.text-02 {
    max-width: 600px;
    border-bottom: 1px solid #ccc;
    padding: 0 0 10px;
    margin: 0 auto 15px;
  }

  ul.price-list li p.text-02 strong {
    display: block;
    margin: 0 0 5px;
  }

  ul.flow {
    text-align: center;
  }

  ul.flow li {
    width: 180px;
  }
}

/* 950px and below */
@media (max-width: 950px) {
  ul.flow li,
  ul.flow li:first-child {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 60px;
  }

  ul.flow li::before {
    content: "\f0dd";
    left: 0;
    right: 0;
    top: -70px;
  }
}

/* 599px and below */
@media (max-width: 599px) {
  ul.price-list li p.text-02 strong {
    display: block;
    margin: 0 auto 5px;
    width: 100%;
  }

  ul.price-list li p.text-02 small {
    display: block;
    padding: 0;
  }

  ul.price-list li p.text-02 {
    font-size: 14px;
    border: 2px solid #333;
    padding: 0 10px 5px;
  }


  .service-table__wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table.service-manu {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
  }
  table.service-manu thead,
  table.service-manu tbody {
    display: revert;
  }
  table.service-manu th,
  table.service-manu td {
    white-space: normal; 
    word-break: break-word;
  }


  table.service-manu th,
  table.service-manu td {
    min-width: 150px;
  }

  table.service-manu th:nth-child(3),
  table.service-manu td:nth-child(3) {
    min-width: 300px;
  }

  ul.flow li,
  ul.flow li:first-child {
    max-width: 200px;
  }
}
/* サービス・料金体系既存コードここまで */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.feature-grid__item {
  border: 1px solid #cecece;
  padding: 25px;
  text-align: center;
}
.feature-grid__icon {
  margin-bottom: 20px;
}

.feature-grid__icon img {
  width: 90px;
  height: auto;
}

.feature-grid__title {
  font-size: 24px;
  font-weight: bold;
  color: #ce0000;
  margin: 0 0 15px 0;
}
.feature-grid__title span {
  font-weight: bold;
  color: #ce0000;
  font-size: 14px;
  display: block;
}

@media (max-width: 767px) {
  .feature-grid__title {
    font-size: 16px;
  }
  .feature-grid__icon img {
    width: 60px;
  }
  .feature-grid__icon {
    margin-bottom: 10px;
}
}
.feature-grid__text {
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature-grid__text {
    font-size: 14px;
    margin-bottom: 10px;
  }
}
/* サービス・料金リンク */
a.service-link {
  color: #5182ff;
  text-decoration: none;
  border-bottom: 1px solid #5182ff;
  font-weight: 600;
  padding-bottom: 3px;
}
a.service-link::before {
  content: '▶︎';
  color: #5182ff;
  padding-right: 8px;
  font-size: .8em;
}
/* よくある質問リンク */
.inline-link-container {
  display: flex;
  gap: 24px;
  margin-top: 1em;
}

.inline-link-container a {
  color: #5182ff;
  text-decoration: none;
  border-bottom: 1px solid #5182ff;
  font-weight: 600;
  padding-bottom: 3px;
  width: fit-content;
}

.inline-link-container a::before {
  content: '▶︎';
  color: #5182ff;
  padding-right: 8px;
  font-size: .8em;
}
/* 他ページへのリンク */
.link-section {
  background: #efefef;
  padding: 50px 0;
  margin-top: 80px;
}

.link-section__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-section__separator {
  width: 1px;
  height: 30px; /* 線の高さ */
  background-color: #ccc;
  margin: 0 40px; 
}
.link-section__column a {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: opacity 0.2s;
}
.link-section__column a:hover {
  opacity: 0.7;
}
.link-section__column a::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  background-image: url('../images/service/seo/consulting/link-icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 767px) {
  .inline-link-container {
    flex-direction: column;
  }
  .inline-link-container a {
    font-size: 12px;
  }
  .link-section__column a {
    font-size: 14px;
  }
  .link-section__separator {
    margin: 0 20px; 
  }
}
.faq .question.open + .answer {
  display: block !important;
}