/*
Theme Name: BRT Path
Theme URI: https://brtpath.com/
Author: BRIGHTPATH
Author URI: https://brtpath.com/
Description: 自社サイト用オリジナルテーマ
Version: 1.0
*/

@charset "utf-8";

:root {
  --main-color: #272626;
  --sub-color: #1199ce;
  --title-color: #055170;
  --accent-color: #03739F;
  --strong-color: #ff4;
  --font-base-size: clamp(1.4rem, 2vw, 1.6rem);
  --font-h1-size: clamp(4rem, 6vw, 8rem);
  --font-h2-size: clamp(2.2rem, 3vw, 3rem);
  --font-h3-size: clamp(2rem, 2vw, 2.8rem);
  --font-h4-size: clamp(1.8rem, 2vw, 2.5rem);
  --font-ja: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Montserrat", sans-serif;
  --sp-fixed-btn-height: 45px;
}

/* 余白のリセット */
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* リンク貼付の文字色・下線を解除 */
a {
  color: inherit;
  text-decoration: none;
}

/* リストのマーク削除 */
ul,
ol {
  list-style: none;
}

/* スクロールスムース */
* {
  scroll-behavior: smooth;
}

html {
  font-size: 62.5%;
  margin-top: 0 !important;
  scroll-padding-top: 80px;
}

/* 全体統一 */
body {
  color: var(--main-color);
  font-size: var(--font-base-size);
  font-family: var(--font-ja);
  font-weight: 400;
  font-style: normal;
  line-height: 1.8;
  background-color: #fefefe;
}

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

.mb-2 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.mb-10 {
  margin-bottom: 10rem !important;
}

.mb-20 {
  margin-bottom: 20rem !important;
}

.spOnly {
  display: none;
}

.tbOnly {
  display: none;
}

.noSp {
  display: block;
}

.noTb {
  display: block;
}

.text-indent {
  text-indent: -1em;
  padding-left: 1em;
}

.font-500 {
  font-weight: 500;
}

@media screen and (max-width: 1191px) {
  .tbOnly {
    display: block;
  }

  .noTb {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .spOnly {
    display: block;
  }

  .noSp {
    display: none;
  }

  .mb-5 {
    margin-bottom: 3rem !important;
  }

  .mb-10 {
    margin-bottom: 5rem !important;
  }

  .mb-20 {
    margin-bottom: 10rem !important;
  }

}


/* 後ほど削除！！！ */
.blog-category {
  pointer-events: none;
  cursor: default;
}


/*====================================
背景水色グラデ設定
===================================*/
.bg-blue {
  background: linear-gradient(#F8FDFF, #E9F6FB);
  padding: 10rem 0;
}


@media screen and (max-width: 767px) {
  .bg-blue {
    padding: 5rem 0;
  }
}



/*====================================
CTAボタン設定
===================================*/
/* 青文字＋白背景 */
.white-btn {
  display: block;
  text-align: center;
  font-weight: 500;
  width: 100%;
  max-width: 200px;
  margin: 7rem auto 0;
  padding: 1rem;
  color: #1199ce;
  background: #fff;
  border: 1px solid #1199ce;
  border-radius: 100vh;
  transition: 0.5s;
}

.white-btn:hover {
  color: #fff;
  background: #1199ce;
  border: 1px solid #1199ce;
}


/* 白文字＋青枠 */
.blue-btn {
  display: block;
  text-align: center;
  width: 100%;
  max-width: 200px;
  margin: 7rem auto 0;
  padding: 1rem;
  color: #fff;
  background: #1199ce;
  border: 1px solid #1199ce;
  border-radius: 100vh;
  transition: 0.5s;
}

.blue-btn:hover {
  color: #1199ce;
  background: #fff;
  border: 1px solid #1199ce;
}


@media screen and (max-width: 767px) {

  .white-btn,
  .blue-btn {
    margin: 2rem auto 0;
  }
}


/* グラデーションボタン */
.grade-btn {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 200px;
  padding: 1rem;
  text-align: center;
  background-image: linear-gradient(90deg, rgba(125, 197, 226, 1), rgba(17, 152, 205, 1));
  color: #fff;
  border: 1px solid transparent;
  border-radius: 100vh;
  transition: 0.5s;
}

.grade-btn:hover {
  color: var(--sub-color);
  background: #fff;
  border: 1px solid currentcolor;
}




/*====================================
ハイライトの設定
===================================*/
.highlight-ye {
  background: linear-gradient(transparent 70%, #ff0 0%);
  font-weight: 500;
}




/*====================================
ヘッダーの設定
===================================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.header-inner img {
  max-width: 220px;
  height: auto;
  width: 100%;
}

.logo {
  margin-right: auto;
}

.pc-nav,
.header-btn {
  display: flex;
  align-items: center;
}

.header-btn {
  margin-left: 2rem;
  gap: 1rem;
  transition: 0.5s;
}

.pc-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.pc-nav ul li {
  margin: 0 1rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hamburger,
.sp-nav,
.sp-fixed-btn {
  display: none;
}

.header-btn .h-download-btn,
.header-btn .h-contact-btn {
  min-width: 140px;
  padding: 1rem 1.5rem;
  white-space: nowrap;
  margin: 0 auto;
}


/* サブメニュー 非表示 */
.has-submenu {
  position: relative;
}

.mega-menu {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100vw;
  background: linear-gradient(#fdfdfd, #E9F6FB);
  padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 8vw, 8rem);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* 4つ横並び */
.mega-menu-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  gap: 2rem;
}

.mega-menu-list li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mega-menu-list li img {
  width: 100%;
  max-width: 250px;
  margin-bottom: 1rem;
}

.mega-menu-list li p {
  font-size: 1.6rem;
  margin-bottom: .5rem;
}

.menu-btn {
  display: inline-block;
  padding: .2rem 5rem;
  color: var(--sub-color);
  background-color: #fff;
  border: 1px solid var(--sub-color);
  border-radius: 100vh;
  text-decoration: none;
  transition: 0.5s;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin-top: 1.5rem;
}

.menu-btn:hover {
  background: var(--sub-color);
  color: #fff;
}


/* ヘッダーマウスオンスオン */
.nav-list>li>a {
  position: relative;
  padding: 0.5rem 0;
  display: inline-block;
}

.nav-list>li>a::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background-color: #03739F;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* サービス詳細にホバー中は ● を表示 */
.has-submenu:hover>a::before {
  opacity: 1;
}

.nav-list li a.current::before {
  opacity: 1;
}

.nav-list>li>a:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
}



@media screen and (max-width: 1285px) {
  .pc-nav {
    display: none;
  }

  .pc-nav .header-btn {
    display: flex;
    margin-left: auto;
  }

  .header-inner img {
    max-width: 180px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 15px;
    margin-left: 3rem;
    position: relative;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--sub-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .hamburger.active span {
    transition: .3s;
  }

  .hamburger.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .sp-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    height: 95vh;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--accent-color);
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    background: var(--sub-color);
    color: #fff;
  }

  .sp-nav.active {
    opacity: 1;
    visibility: visible;
  }

  .sp-nav ul {
    width: fit-content;
    margin: 0 auto;
  }

  .sp-nav ul li {
    padding-top: 2rem;
  }

  .sp-nav ul li:first-of-type {
    padding-top: 0;
  }

  .sp-nav-service li {
    padding-top: .5rem !important;
  }

  .sp-fixed-btn {
    display: none;
  }
}


@media screen and (max-width: 767px) {
  .header-btn {
    display: none;
  }

  .sp-nav {
    height: calc(100vh - 125px);
  }

  .sp-nav ul li {
    padding-top: 1.5rem;
  }

  .sp-fixed-btn {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background: #fff;
    z-index: 555;
  }

  .sp-fixed-btn .sp-download-btn {
    background-color: #0A5B7B;
    color: #fff;
    padding: 1.1rem 2rem;
    flex: 1;
    text-align: center;
  }

  .sp-fixed-btn .sp-contact-btn {
    background-color: #CFEAF5;
    color: var(--accent-color);
    padding: 1.1rem 2rem;
    flex: 1;
    text-align: center;
    font-weight: 500;
  }
}





/*====================================
ファーストビューの設定
===================================*/
.first-view {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  background: url('/wp-content/themes/brtpath/img/top-fv-pc.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

}

.first-view-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5rem;
  padding: 1rem;
  width: 45%;
  max-width: 750px;
  height: calc(100vh - 80px);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 8px 0 8px -4px rgba(0, 0, 0, 0.15);
}

.first-view-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  text-align: center;
  line-height: 1.5;
  color: var(--title-color);
  font-weight: 500;
  font-size: clamp(2.5rem, 3vw, 4.2rem);
}

.first-view-text h1 {
  font-size: clamp(2.5rem, 3vw, 5rem);
  font-weight: 500;
  margin: 0 auto;
}

.first-view-text p {
  margin: 0 auto;
}

.first-view-text p:last-of-type {
  color: var(--title-color);
  font-weight: 500;
  font-size: clamp(2rem, 2.5vw, 3.8rem);
}

.first-view-text .color-bl {
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  color: var(--sub-color);
}

.first-view-text .letter-space {
  letter-spacing: -0.1em;
}

.first-view-btn {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
}

.first-view-btn .blue-btn,
.first-view-btn .white-btn {
  margin: 0;
}



@media screen and (max-width: 1191px) and (min-width: 768px) {
  .first-view-content {
    width: 48%;
    padding: 2rem;
  }

  .first-view-text {
    font-size: clamp(2.2rem, 4vw, 3rem);
  }

  .first-view-text p:last-of-type {
    font-size: clamp(2rem, 3vw, 2.5rem);
  }

  .first-view-text .color-bl {
    font-size: clamp(2.4rem, 3vw, 3rem);
  }

  .first-view-btn {
    gap: 1.5rem;
    align-items: center;
  }
}


@media screen and (max-width: 767px) {
  .first-view {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px - var(--sp-fixed-btn-height));
  }

  .first-view-content {
    width: 90%;
    max-width: 90%;
    padding: 2rem;
    margin: auto;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    top: auto;
    height: auto;
  }

  .first-view-text {
    align-items: center;
    gap: 2rem;
  }

  .first-view-btn {
    display: none;
  }
}





/*====================================
フッターの設定
===================================*/
.footer-container {
  width: 88.888%;
  max-width: 1200px;
  margin: 0 auto;
}


/*=== CONTACT ===*/
.footer-contact-section h2,
.footer-contact-section .subTtl {
  text-align: center;
}

.footer-contact-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

/* 背景画像（透過） */
.footer-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/wp-content/themes/brtpath/img/top-fv-pc.webp') center/cover no-repeat;
  opacity: 0.3;
  z-index: -2;
}

/* グラデーションレイヤー */
.footer-contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(248, 253, 255, 0.5) 0%, rgba(233, 246, 251, 0.5) 100%);
  z-index: -1;
}

.footer-contact-btn {
  display: flex;
  justify-content: center;
  gap: 8rem;
  flex-wrap: wrap;
}

.footer-download-btn,
.footer-tel-btn {
  background: #fff;
  border-radius: 12px;
  padding: 3rem 6rem;
  flex: 1 1 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.footer-tel-btn {
  background-color: #D9F2FF;
}

.footer-download-btn h3,
.footer-tel-btn h3 {
  color: var(--title-color);
  font-size: var(--font-h3-size);
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
}

/* アイコンとボタン横並び */
.footer-download-btn>div:first-of-type,
.footer-tel-btn>div:first-of-type {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.footer-contact-btn .blue-btn,
.footer-tel-btn .white-btn {
  margin: 0;
}


/*=== フッター ===*/
.footer-container {
  width: 88.888%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  background-color: var(--accent-color);
  color: #fefefe;
  padding: 8rem 0 0;
}

.footer-cols {
  display: flex;
  gap: 4rem;
}

.footer-logo-col {
  flex: 1 1 20%;
}

.footer-logo-col img {
  max-width: 300px;
  height: auto;
}

.footer-links-col:first-child {
  flex: 3;
}

.footer-links-col:last-child {
  flex: 2;
}

.footer-company-name {
  font-size: clamp(1.5rem, 2vw, 2rem);
  padding-bottom: 1.5rem;
}

.footer-company-address {
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  font-weight: 300;
  padding-bottom: 2rem;
  letter-spacing: .1rem;
}

.footer-social-icons {
  display: flex;
  gap: 1.5rem;
}

.footer-social-icons a {
  border: 2px dotted red;
  padding: 1rem;
  transition: all .3s;
}

.footer-social-icons a:hover {
  opacity: .7;
}

.footer-links-wrap {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 3rem;
}

.footer-links-col li {
  margin-bottom: 2rem;
}

.footer-links-col a {
  font-size: clamp(1.4rem, 2vw, 1.6rem);
}

.footer-links-col a:hover {
  text-decoration: underline;
}

.footer-submenu li {
  margin-top: .7rem;
  margin-bottom: 0;
}

.footer-legal {
  text-align: right;
  padding-top: 3rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.footer-bottom {
  text-align: center;
  padding: 3rem 0;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}



@media screen and (max-width: 1191px) and (min-width: 768px) {

  .footer-contact-section,
  .footer-main {
    padding: 5rem 0;
  }

  .footer-contact-btn {
    gap: 5rem;
  }

  .footer-download-btn,
  .footer-tel-btn {
    padding: 3rem;
  }

  .footer-cols {
    display: block;
  }

  .footer-links-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 2rem;
  }

  .footer-links-col:first-child {
    flex: 2;
  }
}


@media (max-width: 768px) {
  .footer-container {
    width: 85%;
  }

  .footer-contact-section,
  .footer-main {
    padding: 5rem 0;
  }

  .footer-contact-btn {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-download-btn,
  .footer-tel-btn {
    padding: 2rem;
  }

  .footer-company-address {
    padding-bottom: 1rem;
  }

  .footer-links-col li {
    margin-bottom: 1rem;
  }

  .footer-links-col .footer-submenu li {
    margin-top: 0;
  }

  .footer-cols {
    display: block;
  }

  .footer-links-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 2rem;
  }

  .footer-links-col {
    width: 100%;
  }

  .footer-links-col:first-child {
    width: 60%;
  }

  .footer-links-col:last-child {
    width: 35%;
  }

  .footer-logo-col img {
    width: 50%;
  }

  .footer-social-icons img {
    width: 100%;
  }

  .footer-social-icons a {
    width: 50px;
    height: auto;
  }

  .footer-legal {
    text-align: left;
  }
}





/*====================================
トップページの設定
===================================*/
.top-container {
  width: 88.888%;
  max-width: 1200px;
  margin: 0 auto;
}

/* h2 タイトル設定 */
h2 {
  color: var(--title-color);
  font-size: var(--font-h2-size);
  font-family: var(--font-en);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 3rem;
}

h2 span {
  color: var(--main-color);
  font-size: 1.2rem;
  font-family: var(--font-ja);
}


@media (max-width: 768px) {
  .top-container {
    width: 85%;
  }
}



/*=== ABOUT US ===*/
.top-about-us {
  text-align: center;
}

.top-about-us p {
  margin-bottom: clamp(1.6rem, 2vw, 2.5rem);
  letter-spacing: 1px;
}

.top-about-us .color-bl {
  color: var(--sub-color);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 500;
}

.top-about-us .font-large {
  font-size: var(--font-h4-size);
}


@media (max-width: 768px) {
  .top-about-us p {
    text-align: left;
    padding: 0 2rem;
  }

  .top-about-us .font-large {
    text-align: center;
  }
}



/*=== GALLERY ===*/
.top-gallery .top-container h2,
.top-blog .top-container h2 {
  text-align: center;
}

.work-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 30%;
  background-color: #fff;
  padding: 2rem;
}

.work-card-hover {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0 auto;
}

.work-card-hover img {
  transition: 0.3s ease;
}

/* 半透明の水色背景 */
.work-card-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(146 175 186 / 50%);
  opacity: 0;
  transition: 0.3s ease;
  z-index: 1;
}

/* 中央の濃い青の丸 */
.work-card-hover::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: #1199ce;
  border-radius: 50%;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 2;
}

/* 矢印パーツ */
.work-card-hover .work-card-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 1px;
  background-color: #fff;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 3;
  transition: 0.3s ease;
}

.work-card-hover .work-card-arrow::after,
.work-card-hover .work-card-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 1px;
  background-color: #fff;
  transform-origin: right center;
}

.work-card-hover .work-card-arrow::before {
  transform: translateY(-50%) rotate(45deg);
}

.work-card-hover .work-card-arrow::after {
  transform: translateY(-50%) rotate(-45deg);
}

/* ホバー時表示 */
.work-card-hover:hover::before,
.work-card-hover:hover::after,
.work-card-hover:hover .work-card-arrow {
  opacity: 1;
}

/* COMING SOONバージョン */
.work-card-hover-yet {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0 auto;
  cursor: default;
  /* クリックカーソルを禁止 */
}

/* 画像フェード効果 */
.work-card-hover-yet img {
  transition: 0.3s ease;
}

/* 半透明の水色背景 */
.work-card-hover-yet::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(146 175 186 / 50%);
  opacity: 0;
  transition: 0.3s ease;
  z-index: 1;
}

/* COMING SOON テキスト */
.work-card-hover-yet .coming-soon-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 500;
  z-index: 2;
  opacity: 0;
  transition: 0.3s ease;
}

/* ホバー時 */
.work-card-hover-yet:hover::before,
.work-card-hover-yet:hover .coming-soon-text {
  opacity: 1;
}


@media screen and (max-width: 767px) {
  .work-container {
    display: block;
  }

  .work-card {
    width: 100%;
    margin: 0 auto 3rem;
  }

  .work-card p {
    margin: 1rem 0 0;
  }
}



/*=== SERVICE ===*/
.top-service .top-container h2 {
  text-align: center;
}

.top-service-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.top-service-left {
  display: flex;
  flex-direction: column;
  flex: 1 1 45%;
  position: relative;
}

.top-service-wrap {
  position: relative;
  margin-bottom: 2rem;
}

.top-service-number {
  color: #E9F6FB;
  font-size: clamp(8rem, 10vw, 12rem);
  font-weight: 600;
  line-height: 1;
  position: relative;
}

.top-service-title {
  color: var(--sub-color);
  font-size: var(--font-h3-size);
  font-weight: 500;
  position: absolute;
  top: 60%;
  left: 25%;
  transform: translateY(-50%);
  z-index: 1;
}

.top-service-text {
  list-style: outside;
  padding-left: 2rem;
  margin: 0 0 2rem 2rem;
  line-height: 2.5;
}

.top-service-image {
  flex: 1 1 45%;
}


@media (min-width: 769px) {
  .top-service-left>.top-service-image {
    display: none;
  }

  .top-service-content.top-service-reverse {
    flex-direction: row-reverse;
  }
}

@media screen and (max-width: 1191px) {
  .top-service-text {
    line-height: unset;
  }
}

@media screen and (max-width: 767px) {
  .top-service-text {
    padding: 1rem 0 0;
    list-style: outside;
  }

  .top-service-text li {
    line-height: 1.8;
    margin-bottom: .5rem;
  }
}




/*=== BLOG ===*/
.work-container .work-card .blog-title {
  font-size: clamp(1.6rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.blog-category {
  display: inline-block;
  align-self: flex-start;
  font-size: 1.3rem;
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.4rem 1.5rem;
  white-space: nowrap;
  margin-top: 1rem;
}




/*====================================
ページタイトル・パンくず・ページ番号・INDEXの設定
===================================*/
/* h1 タイトル設定 */
.page-title {
  background: linear-gradient(#F8FDFF, #E9F6FB);
  padding: 12rem 7rem 7rem;
  margin-bottom: 5rem;
}

.page-title h1 {
  color: var(--title-color);
  line-height: .6;
  font-family: var(--font-en);
  font-size: var(--font-h1-size);
  font-weight: 400;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.page-title h1 span {
  color: var(--main-color);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-family: var(--font-ja);
}


/* パンくず */
.pankuzu {
  width: 88.888%;
  max-width: 1200px;
  margin: 0 auto 8rem;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
}

.other-pankuzu {
  width: 90%;
  max-width: 1000px;
}

.pankuzu ol,
.pankuzu-bg ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.pankuzu li:last-of-type,
.pankuzu-bg li:last-of-type {
  font-weight: 500;
}

.pankuzu li+li::before,
.pankuzu-bg li+li::before {
  content: "›";
  padding: 0 0.5rem;
  margin: 0 0.5rem
}

.pankuzu a,
.pankuzu-bg a {
  position: relative;
}

.pankuzu a::after,
.pankuzu-bg a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background-color: #317B98;
  transition: width 0.3s ease;
}

.pankuzu a:hover::after,
.pankuzu-bg a:hover::after {
  width: 100%;
}


/* gallery ページネーション */
.pagination {
  text-align: center;
  padding-top: 8rem;
}

.pagination ul {
  display: inline-flex;
  gap: 2rem;
  padding: 0;
}

.pagination li a {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0.8rem 1.2rem;
  font-size: 1.3rem;
  color: #1199ce;
  border-radius: 50%;
  transition: 0.3s ease;
}

.pagination li a:hover {
  background-color: #E9F6FB;
}

.pagination li a.current {
  background-color: #1199ce;
  color: #fff;
}


@media screen and (max-width: 767px) {
  .page-title {
    padding: 10rem 3rem 5rem;
    margin-bottom: 2rem;
  }

  .page-title h1 {
    line-height: .9;
  }

  .pankuzu,
  .other-pankuzu {
    width: 85%;
    margin-bottom: 4rem;
  }

  .pagination {
    padding-top: 2rem;
  }
}


/* INDEX 戻るボタン */
.gallery-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 4rem 0 2rem;
}

.gallery-index-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-index-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.3s ease;
}

.gallery-index-link:hover {
  opacity: 0.7;
}

.gallery-index-icon {
  display: inline-block;
  vertical-align: middle;
  color: var(--accent-color);
  line-height: 1;
  position: relative;
  width: 1em;
  height: 1em;
  font-size: clamp(3rem, 4vw, 4rem);
}

.gallery-index-icon:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0.24em;
  height: 0.24em;
  background: currentColor;
  border-radius: 0.05em;
  box-shadow: 0.38em 0 0 0 currentColor, 0.76em 0 0 0 currentColor, 0 0.38em 0 0 currentColor, 0.38em 0.38em 0 0 currentColor, 0.76em 0.38em 0 0 currentColor, 0 0.76em 0 0 currentColor, 0.38em 0.76em 0 0 currentColor, 0.76em 0.76em 0 0 currentColor;
}

.gallery-index-label {
  font-size: clamp(1.2rem, 1.6vw, 1.3rem);
  letter-spacing: 0.05em;
}





/*====================================
よくあるご質問の設定
===================================*/
/* 簡易制作 */
.flow-flex-wrapper {
  overflow-x: hidden;
  width: 100%;
}

.flow-flex {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  justify-content: center;
  /* PCでは中央寄せ */
  min-width: max-content;
  /* スマホでスクロール可能にする */
  scroll-snap-type: x mandatory;
  /* 任意：スナップ効果 */
  padding-bottom: 2rem;
  margin-bottom: 1rem;
}

.flow-step {
  flex: 0 0 auto;
  width: 17rem;
  background: #f4fcff;
  border: 2px solid var(--sub-color);
  border-radius: 1rem;
  box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.1);
  padding: 1.5rem .5rem;
  text-align: center;
  scroll-snap-align: start;
  position: relative;
}

.flow-step img {
  width: 100px;
  display: block;
  margin: 0 auto 1rem;

}

.flow-step h3 {
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* 矢印スタイル */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 8rem;
  right: -3rem;
  width: 1.5rem;
  height: 1.5rem;
  background: url('/wp-content/themes/brtpath/img/icon/flow-arrow.png') center center no-repeat;
  background-size: contain;
}


/* 詳細制作 */
.step-intro {
  text-align: center;
  margin: 2rem 0;
}

.step-box {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.05);
}

.step-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: auto;
  margin-right: 2rem;
  height: 100%;
}

.step-number {
  text-align: center;
  color: #1199ce;
  font-weight: bold;
  padding: 4rem 3rem;
  line-height: .9;
}

.step-number span {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  display: block;
  margin-top: 0.5rem;
}

.vertical-line {
  width: 1px;
  height: 100%;
  background: #ccc;
  margin: 0 2rem;
}

.step-right {
  flex-grow: 1;
}

.step-right h3 {
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
}

.step-right p {
  line-height: 1.8;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 1.5rem solid transparent;
  border-right: 1.5rem solid transparent;
  border-top: 1.5rem solid #1199ce;
  margin: 0 auto 2rem;
}


/* よくある質問 */
.faq-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

#site-create,
#site-support,
#web-market,
#sales {
  margin-bottom: 10rem;
}

/* ３つのボタン */
.faq-item-flex {
  display: flex;
  justify-content: center;
  margin-bottom: 8rem;
  flex-wrap: wrap;
}

.faq-item-flex ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.faq-item-flex li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  text-align: center;
  width: clamp(145px, 25vw, 235px);
  height: clamp(73px, 10vw, 70px);
  padding: 1rem;
  background-color: #E9F6FB;
  border-radius: 0.6rem;
  transition: background-color 0.3s;
  line-height: 1.4;
  font-weight: 500;
  gap: .5rem;
  border: 1px solid transparent;
}

.faq-item-flex li a:hover {
  border: 1px solid var(--accent-color);
}

.faq-item-flex .faq-icon {
  width: 1rem;
  height: 1rem;
  border-bottom: 1px solid var(--main-color);
  border-right: 1px solid var(--main-color);
}


/* 各カテゴリー質問 */
.faq-title {
  font-weight: 500;
  border-left: 5px solid var(--accent-color);
  padding-left: 1rem;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.faq-item {
  background: var(--accent-color);
  border-radius: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* 質問部分 */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 3rem;
  background: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  position: relative;
  width: 100%;
  text-align: left;
}

/* Qマーク */
.faq-q {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 2.3rem;
  width: 2rem;
  height: auto;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 質問文 */
.faq-text {
  flex: 1;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-family: var(--font-ja);
}

/* 右アイコン*/
.faq-icon {
  width: 1.2rem;
  height: 1.2rem;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(-135deg);
}

/* 回答部分 */
.faq-answer {
  background: #f5f5f5;
  padding: 0 3rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s ease;
  border: 1px solid #ccc;
  border-top: none;
}

.faq-answer.open {
  max-height: 1000px;
  padding: 1.5rem 3rem;
}

.faq-answer .link-bl {
  color: var(--sub-color);
  text-decoration: underline;
}


/* 回答内余白 */
.faq-a-line {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1rem;
}

/* Aマーク */
.faq-a {
  width: 2rem;
  height: auto;
  color: var(--accent-color);
  font-size: 2.3rem;
  font-weight: 600;
}

/* 右側のテキスト */
.faq-first-text {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  margin: 0;
  padding: .5rem 0;
}

.faq-contact-text {
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 500;
  text-align: center;
}

.faq-container .grade-btn {
  max-width: 360px;
  margin-top: 2rem;
}


@media screen and (max-width: 1191px) {
  .flow-flex-wrapper {
    overflow-x: auto;
  }
}

@media screen and (max-width: 767px) {

  /* 制作の流れ */
  .flow-flex-wrapper {
    overflow-x: auto;
  }

  .flow-step {
    width: 15rem;
  }

  .step-intro {
    text-align: left;
  }

  .step-box {
    flex-direction: column;
    padding: 2rem;
  }

  .step-top {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
  }

  .step-left {
    margin-right: 0;
  }

  .step-right h3 {
    margin: 0;
  }

  .step-right p {
    line-height: 1.6;
  }

  .step-number {
    padding: .5rem;
  }

  .step-top h3 {
    font-size: 1.5rem;
    font-weight: 500;
  }

  .vertical-line {
    height: 6rem;
    margin: 0 1rem;
  }

  .flow-contact-btn {
    margin: 3rem auto 0;
  }

  .flow-section {
    margin-bottom: 10rem;
  }

  .faq-contact-btn {
    margin: 1.5rem auto 0;
  }

  .faq-contact-text {
    text-align: left;
  }

  /* よくある質問 */
  .faq-container {
    max-width: 85%;
  }

  #site-create,
  #site-support,
  #web-market {
    margin-bottom: 5rem;
  }

  #sales {
    margin-bottom: 3rem;
  }

  .faq-item-flex {
    margin: 3rem 0 5rem;
  }

  .faq-item-flex li a {
    line-height: 1.3;
  }

  .faq-title {
    margin-bottom: 1rem;
  }

  .faq-question {
    gap: 1rem;
    padding: 1rem 1.5rem;
  }

  .faq-q {
    font-size: 1.8rem;
  }

  .faq-icon {
    width: 1rem;
    height: 1rem;
    border-bottom: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
  }

  .faq-a-line {
    gap: 1rem;
  }

  .faq-answer.open {
    padding: 1rem 1.5rem;
  }
}





/*====================================
会社概要の設定
===================================*/
.company-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.company-container h2 {
  text-align: center;
}

.message-container {
  padding: 3rem 0;
}

.message-inner {
  max-width: 850px;
  margin: 0 auto;
}


/* ごあいさつ */
.message-bg {
  background: url('/wp-content/themes/brtpath/img/top/company_bg.png') no-repeat center center;
  background-size: contain;
  position: relative;
}

.message-text {
  line-height: 2.2;
}

.message-name {
  text-align: right;
  padding: 2rem 0 0;
  line-height: 2;
}


/* 会社概要の表 */
.company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  line-height: 2.3;
  position: relative;
}

.company-table th,
.company-table td {
  position: relative;
  text-align: left;
}

.company-table th {
  padding: 2rem 3rem;
  width: 20%;
  white-space: nowrap;
  font-weight: 400;
}

.company-table td {
  padding: 2rem 6rem;
}

.company-table th::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #317B98;
}

.company-table td::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #ccc;
}


@media screen and (max-width: 767px) {
  .company-container {
    width: 85%;
  }

  .message-bg {
    background-size: cover;
    padding: 2rem 0 1rem;
  }

  .message-text {
    line-height: 2;
  }

  .message-name {
    line-height: 1.8;
  }

  .company-table {
    line-height: 1.8;
  }

  .company-table th {
    padding: 1rem .5rem;
  }

  .company-table td {
    padding: 1rem 0 1rem 1.5rem;
  }
}





/*====================================
お問い合わせの設定
===================================*/
.contact-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.contact-message h2 {
  margin-bottom: 2rem;
  color: #272626;
}

.contact-message p {
  margin-bottom: 3.5rem;
}

.required,
.optional {
  background-color: var(--main-color);
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.2rem);
  padding: 0.5rem 1rem;
  margin-left: 1rem;
  border-radius: 0.3rem;
  font-weight: 400;
}

.optional {
  background-color: var(--accent-color);
  color: #fff;
}

.contact-note {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin-top: 0.5rem;
  color: #317B98;
  text-decoration: underline;
}


/* エラー文表示用 */
.frm_button_submit {
  display: block;
  margin: 0 auto;
  font-family: var(--font-ja);
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  letter-spacing: .3rem;
  background-color: #272626;
  color: #fff;
  padding: 1rem 10rem;
  cursor: pointer;
  border: none;
}

.contact-blog .work-card {
  padding: 0;
}

/* formidabble CSS調整 */
.with_frm_style .frm_form_field.frm_html_container {
  text-align: right;
  color: var(--main-color);
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  padding-top: 3rem;
}

.frm_opt_container {
  display: flex;
  gap: 4rem;
}

.with_frm_style .frm_description {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.with_frm_style .frm_submit.frm_flex {
  margin-top: 4rem;
}

.frm_error {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: red;
}

.with_frm_style .frm_description {
  text-indent: -1em;
  padding-left: 1.5em;
}

#frm_field_11_container,
#frm_field_12_container,
#frm_field_29_container,
#frm_field_28_container,
#frm_field_31_container,
#frm_field_35_container,
#frm_field_37_container,
#frm_field_39_container,
#frm_field_41_container {
  padding-top: 2rem;
}

#frm_field_25_container,
#frm_field_47_container,
#frm_field_50_container,
#frm_field_52_container {
  padding-top: 3rem;
}

.frm_form_field.frm_right_container {
  grid-template-columns: auto 5%;
}


@media screen and (min-width: 800px) and (max-width: 1070px) {
  .frm_opt_container {
    display: block;
  }

  .noTb {
    display: none;
  }
}


@media screen and (max-width: 799px) {

  /* お問い合わせ */
  .contact-container {
    width: 85%;
  }

  .contact-message p {
    margin-bottom: 0;
  }

  .frm_opt_container {
    display: block;
  }

  .contact-note {
    font-size: 1.2rem;
  }

  .with_frm_style .frm_form_field.frm_html_container {
    text-align: left;
  }

  .frm_opt_container {
    flex-wrap: wrap;
    margin: 0;
    gap: 0 3rem;
  }

  .with_frm_style .frm_description {
    text-indent: -1em;
    padding-left: 1.5em;
  }

  #frm_field_11_container,
  #frm_field_12_container,
  #frm_field_29_container,
  #frm_field_28_container,
  #frm_field_31_container,
  #frm_field_35_container,
  #frm_field_37_container,
  #frm_field_39_container,
  #frm_field_41_container {
    padding-top: 0;
  }

  #frm_field_25_container,
  #frm_field_47_container,
  #frm_field_50_container,
  #frm_field_52_container {
    padding-top: 0;
  }

  .frm_section_heading>.frm_form_field,
  .frm_fields_container>.frm_submit,
  .frm_grid_container>.frm_form_field,
  .frm_fields_container>.frm_form_field {
    grid-column: 1 / span 12 !important;
  }
}





/*====================================
プライバシーポリシーの設定
===================================*/
.privacy-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

#privacy,
#terms,
#cookie {
  margin-bottom: 15rem;
}

.privacy-mg {
  margin-bottom: 2rem;
}

.privacy-title {
  font-weight: 500;
  line-height: 2;
}

.privacy-note {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.privacy-note a {
  color: var(--title-color);
  text-decoration: underline;
}


@media screen and (max-width: 767px) {
  .privacy-container {
    width: 85%;
  }

  .privacy-item-mg {
    margin: 0 0 5rem;
  }

  #privacy,
  #terms,
  #cookie {
    margin-bottom: 5rem;
  }
}





/*====================================
Not Foundの設定
===================================*/
.not-found-page-title {
  background: linear-gradient(#f0f1f2, #d5d9db);
}

.not-found-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.not-found-container h2 {
  color: #1199ce;
  font-weight: 500;
  font-size: clamp(1.8rem, 2vw, 2.8rem);
  font-family: var(--font-ja);
}


@media screen and (max-width: 767px) {
  .not-found-container {
    width: 85%;
  }

  .not-found-container h2 {
    margin-bottom: 2rem;
  }

  .not-found-container p {
    text-align: left;
  }

  .not-found-container .blue-btn {
    margin-top: 3rem;
  }
}