/*
Theme Name: Twenty Twenty-One Child
Template: twentytwentyone
Version: 1.0
*/


/* ========================================
   BOP Communications - メインスタイル
   ======================================== */

/* リセット・基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans Japanese', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Twenty Twenty-One のデフォルトスタイルを上書き */
.site-header,
.site-footer {
  display: none !important;
}

/* コンテナ */
.container {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

.container.gutters {
  padding: 0 30px;
}

/* グリッド */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
}

.span_12 {
  width: 100%;
}

.span_6 {
  width: 50%;
  padding: 0 10px;
}

/* ========================================
   ヘッダー
   ======================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.primary_header {
  padding: 10px 0;
}

.primary_header .row {
  align-items: center;
  justify-content: space-between;
}

.title {
  width: 390px;
  margin: 0;
}

.title a {
  display: block;
}

.title img {
  max-width: 100%;
  height: auto;
}

/* グローバルナビ */
.global_nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.global_nav ul li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.global_nav ul li a:hover,
.global_nav ul li a[aria-current="page"] {
  color: #0066cc;
}

/* ハンバーガーメニュー（SP用） */
.menu_icon {
  display: none;
}

/* ========================================
   main
   ======================================== */

main {
  margin-top: 80px;
}

/* セクション共通 */
section.mb0 {
  margin-bottom: 0;
}

.box_overhd {
  text-align: center;
  padding: 40px 0 20px;
}

.box_overhd h2,
.h2_home {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.box_overhd h2::after,
.h2_home::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: #0066cc;
}

/* ========================================
   スライダー
   ======================================== */

.sec_slider,
.slider-pro {
  position: relative;
  overflow: hidden;
  background: #000;
}

.sp-slides {
  position: relative;
  width: 100%;
}

.sp-slide {
  display: none;
}

.sp-slide:first-child {
  display: block;
}

.sp-image {
  width: 100%;
  height: auto;
  display: block;
}

.main_copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}

.main_copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main_copy img {
  max-width: 100%;
}

.slide_scroll {
  display: inline-block;
  margin-top: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.2em;
}

/* ========================================
   Section 01 - ごあいさつ
   ======================================== */

.sec_01 {
  background: #fff;
  padding: 60px 0;
}

.sec_01 .text-center {
  text-align: center;
  line-height: 2.2;
}

/* ========================================
   Section 02 - 事業案内
   ======================================== */

.sec_02 {
  background: #1a2e4a;
  padding: 40px 0;
  color: #fff;
}

.sec_02 .box_overhd h2 {
  color: #fff;
}

.sec_02 .box_overhd h2::after {
  background: #fff;
}

._th22_module .wrap {
  max-width: 1000px;
  margin: 0 auto;
}

._th22_module .row {
  display: flex;
  align-items: center;
  padding: 40px 5%;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

._th22_module .row:last-child {
  border-bottom: none;
}

._th22_module_img_box {
  width: 45%;
  flex-shrink: 0;
}

._th22_module_img_box figure {
  margin: 0;
}

._th22_module_img_box img {
  width: 100%;
  height: auto;
  display: block;
}

._th22_module_text_box {
  width: 55%;
  padding: 0 30px;
}

.img_right ._th22_module_img_box {
  order: 2;
}

.img_right ._th22_module_text_box {
  order: 1;
}

.box_tit {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
}

.box_txt {
  color: #ccc;
  line-height: 1.9;
  overflow: hidden;
}

.box_txt a {
  color: #7ec8e3;
  text-decoration: none;
}

.box_txt a:hover {
  text-decoration: underline;
}

/* Googleパートナー */
.gpartner_area {
  margin-top: 30px;
  display: flex;
  align-items: center;
}

.gpartner_area2 {
  margin-top: 10px;
  display: flex;
}

.gpartner_text p {
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.gpartner_img {
  margin-right: 5px;
}

.gpartner_img img {
  width: 156px;
  height: auto;
}

/* ========================================
   Section 03 - 強み
   ======================================== */

.sec_03 {
  background: #f5f5f5;
  padding: 40px 0 60px;
}

.sec_03 .row {
  gap: 20px;
  flex-wrap: nowrap;
}

.sec_03 .col {
  flex: 1;
}

.sec_03 figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sec_03 figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.sec_03 figure:hover img {
  transform: scale(1.02);
}

.sec_03 figcaption {
  padding: 20px;
  background: #fff;
}

.sec_03 .box_tit {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  border-bottom: 2px solid #0066cc;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.sec_03 .box_txt {
  color: #555;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   Section 04 - 会社概要
   ======================================== */

.sec_04 {
  background: #fff;
  padding: 40px 0 60px;
}

.sec_04 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ========================================
   SNSエリア
   ======================================== */

.linkArea {
  padding-bottom: 40px;
}

.sns_area {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.sns_area li {
  transition: all 0.5s ease-in-out;
}

.sns_area li:hover {
  box-shadow: 1px 1px 8px rgba(0,0,0,0.45);
}

.sns_area a {
  display: inline-block;
}

.sns_area img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Section 05 - Webコラム
   ======================================== */

.sec_05 {
  background: #f9f9f9;
  padding: 40px 0 60px;
}

.sec_05 .heading h2 {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #0066cc;
  margin-bottom: 20px;
}

.sec_05 dl {
  margin: 0;
}

.sec_05 dt {
  color: #888;
  font-size: 13px;
  margin-top: 15px;
}

.sec_05 dd {
  margin: 0 0 5px 0;
}

.sec_05 dd a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.sec_05 dd a:hover {
  color: #0066cc;
  text-decoration: underline;
}

.bpo_category {
  display: inline-block;
  background: #0066cc;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
}

/* ========================================
   Section 06 - お問い合わせCTA
   ======================================== */

.sec_06 {
  padding: 0;
}

.parallax_1 {
  background: #1a2e4a url('/wp/wp-content/uploads/parallax_bg.jpg') center/cover no-repeat fixed;
  padding: 80px 0;
}

.parallax_contents {
  text-align: center;
}

.box_content h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 15px;
}

.box_content .box_txt {
  color: #ccc;
  margin-bottom: 25px;
}

/* ボタン */
.button {
  display: inline-block;
  padding: 15px 40px;
  background: #fff;
  color: #1a2e4a;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border-radius: 3px;
  transition: all 0.3s;
  letter-spacing: 0.05em;
}

.button:hover {
  background: #0066cc;
  color: #fff;
}

/* ========================================
   Section 07 - アクセス
   ======================================== */

.sec_07 {
  background: #fff;
  padding: 40px 0 0;
}

.map_wide {
  width: 100%;
  margin-top: 20px;
}

.map_wide iframe {
  width: 100%;
  height: 400px;
  display: block;
}

/* ========================================
   フッター
   ======================================== */

footer {
  background: #1a2e4a;
  color: #ccc;
  padding: 40px 0 20px;
}

footer .nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  gap: 5px;
}

footer .nav ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 12px;
  padding: 5px 10px;
  transition: color 0.3s;
}

footer .nav ul li a:hover {
  color: #fff;
}

footer .copyright {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

footer .text-small {
  font-size: 11px;
  color: #888;
  line-height: 1.8;
}

/* ページトップ */
.pagetop {
  text-align: center;
  margin-top: 20px;
}

.pagetop a {
  display: inline-block;
  width: 50px;
  height: 50px;
}

/* シェアボタン */
.share_button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #f5f5f5;
}

/* ========================================
   ユーティリティ
   ======================================== */

.text-center {
  text-align: center;
}

.pc-text-center {
  text-align: center;
}

/* ========================================
   レスポンシブ - タブレット
   ======================================== */

@media (max-width: 1024px) {
  .title {
    width: 280px;
  }

  .global_nav ul li a {
    padding: 10px 10px;
    font-size: 12px;
  }
}

/* ========================================
   レスポンシブ - スマートフォン
   ======================================== */

@media (max-width: 768px) {

  /* ヘッダー */
  header {
    position: fixed;
  }

  main {
    margin-top: 60px;
  }

  .primary_header .row {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .title {
    width: 200px;
  }

  .global_nav > ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #1a2e4a;
    z-index: 999;
    padding: 20px;
  }

  .global_nav > ul.open {
    display: flex;
  }

  .global_nav ul li a {
    color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .menu_icon {
    display: block;
  }

  .menu_icon a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
  }

  .hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    position: relative;
  }

  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #333;
    left: 0;
  }

  .hamburger::before { top: -6px; }
  .hamburger::after  { top: 6px; }

  /* PC非表示 */
  .pc-only {
    display: none !important;
  }

  /* スライダー */
  .main_copy {
    width: 80%;
  }

  /* 事業案内 */
  ._th22_module .row {
    flex-direction: column;
    padding: 30px 5%;
  }

  ._th22_module_img_box,
  ._th22_module_text_box {
    width: 100%;
  }

  ._th22_module_text_box {
    padding: 20px 0 0;
  }

  .img_right ._th22_module_img_box,
  .img_right ._th22_module_text_box {
    order: unset;
  }

  .box_txt .col.span_6 {
    width: 100%;
  }

  /* 強み */
  .sec_03 .row {
    flex-direction: column;
    gap: 20px;
  }

  /* SNS */
  .sns_area {
    gap: 10px;
  }

  /* フッター */
  footer .nav ul {
    flex-direction: column;
    align-items: center;
  }

  /* Googleマップ */
  .map_wide iframe {
    height: 250px;
  }

  /* スパン */
  .span_6 {
    width: 100%;
  }
}

/* SP非表示 */
@media (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}
