@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/




#content .c-tabList {
  margin-bottom: 3rem!important;
}

.c-gnav>.menu-item>a:after {
	bottom: 12px;
}

.bogo-language-name {
  padding: 1rem;
}


.bogo-language-name a {
	opacity: 0.3;
}

.bogo-language-name a:hover {
	  /*color: #ff8484;*/
	   color: #212121;
	   opacity: 1;
}

.bogo-language-name a:active {
	  color: #212121;
      opacity: 1;
}


#bogo_language_switcher-3 .c-widget__title.-spmenu {
	display: none;
}

/*--------------------------------------------------------------
 *              BOGO【 多言語切り替えプラグイン 】表記
 * --------------------------------------------------------------*/

.widget_bogo_language_switcher .w-header__title {
  display: none;
}

.bogo-language-switcher {
  display: flex;
  flex-direction: row-reverse;
}

.bogo-language-switcher a {
  padding: 1em;
  color: var(--color_text);
  font-weight: 700;
}

.bogo-language-switcher .current a {
  /* color: #38A1D6;*/
  color: var(--color_main);
  opacity: 1;
}

.bogo-language-switcher .en-US {
  position: relative;
}

.bogo-language-switcher .en-US::before {
  content: "";
  width: 1px;
  height: 65%;
  background-color: var(--color_text);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}



.bogoflags, .bogoflags-before:before {
	display: none;
}



<div class="contents__btn">
        <?php
        $locale = get_locale();
        $link = home_url('/company'); // デフォルトは日本語

        if ($locale == 'en') {
            // 英語の場合
            $link = home_url('/en/company'); // 英語で作成したaboutページへのリンク
        }
        ?>
        <a href="<?php echo esc_url($link); ?>" class="c-btn">
            <?php
            $locale = get_locale();
            if ($locale == 'ja'): ?>
                <!-- 日本語用のテキスト -->
                ABOUTボタン
            <?php else: ?>
                <!-- 英語用のテキスト -->
                ABOUT Button
            <?php endif; ?>
        </a>
    </div>






.swell-block-button:hover a  {
	color: var(--color_main)!important;
}
.is-style-btn_line:hover a {
	color: var(--color_main)!important;
	font-weight: bold;
}

.c-pageTitle {
	display: none;
}

.l-content {
	margin-top: 0!important;
	padding-top: 0!important;
	margin-bottom: 0!important;
}
.post_content {
	margin-top: 0!important;
}



.p-breadcrumb.-bg-on {
	display: none!important;
}


h2 {
	color: var(--color_main)!important;
	font-size: 2rem!important;
}


.img-only-fw {
	height: 60vh;
}





/* Contact Form7スマホ・タブレット用カスタマイズ */
@media(max-width:850px){
/* テーブルの見出しとフォーム */
table.inquiry th,table.inquiry td {
   display:block;
   padding:1em 0!important;
   width:100%;
   border:0;
}

/* 送信ボタン */
input.wpcf7-submit{
   margin-bottom:30px;
   width:100%;
}
}

/* 日付タグ上のテキストをPCとスマホで変更 */
@media(max-width:900px){
.pcdate{
   display: none;
}
}
@media(min-width:1000px){
.spdate{
   display: none;
}
/* 日付タグの幅を調整 */
.wpcf7-date.dateform{
   width: 25%;
}
}

/* Contact Form7全体カスタマイズ */

/* 自動入力されるPタグを無効にする */
.inquiry p {
   display: inline;
}

/*テーブル下に余白.枠線・テキストの行間 */
table.inquiry {
   margin-bottom: 30px;
   border:solid 1px #d7d7d7;
   line-height:1.2;
   vertical-align:middle;
}

/* テーブルの行 */
.inquiry tr {
   border:0!important;
}

/* テーブルの見出し側 */
.inquiry th{
   text-align:left;
   font-size:14px;
   color:#444;
   padding:1em 0.5em;
   width:0;
   background:#efefef;
   border:solid 1px #d7d7d7;
   white-space: nowrap;
}

/* 必須と任意タグ */
.haveto,.any{
   font-size:13px;
   padding:5px;
   background:#ff9393;
   color:#fff;
   border-radius:2px;
   margin-right:5px;
   font-weight:normal;
}

/* 任意タグの背景カラー */
.any{
   background:#93c9ff;
}

/* テーブルフォーム側 */
.inquiry td{
   font-size:13px;
   border:solid 1px #d7d7d7;	
}

/* 入力エリア幅最大 */
.wpcf7-form-control {
   width: 100%;
}

/* フォーム入力欄の余白・背景カラー・枠線消す指定 */
.inquiry input,.inquiry select,.inquiry textarea {
   margin: 5px 0;
   background:#eff1f5;
   border: none;
   padding:0.7em;
}
.inquiry textarea {
   padding-bottom:10em;
}

/* チェックボックスとラジオボタンの位置調整 */
.wpcf7-list-item-label,.wpcf7-checkbox,input[type=checkbox],input[type=radio]{
   vertical-align:middle;
}
.wpcf7-list-item-label{
   padding:0 5px 0 2px;
}
/*ラジオボタンを縦並び指定*/
.verticallist{
   display:inline-grid;
}

/* 送信ボタンのデザイン */
.wpcf7-submit{
   display: block;
   margin:10px auto;
   padding:1em 0;
   width:80%;
   background:var(--color_main);
   color:#fff;
   font-size:18px;
   font-weight:bold;	 
   border-radius:4px;
   border: none;
}

/* 送信ボタンマウスホバー時 */
.wpcf7-submit:hover{
   opacity: 0.9;
   transition: 0.3s;
}

/* フォーム上部に表示されるエラーメッセージを非表示 */
.screen-reader-response {
    display: none;
}

/* フォーム内エラーメッセージを赤色に指定 */
.wpcf7-not-valid-tip {
    color: #e92323;
}

/* Contact Form7スマホ・タブレット用カスタマイズ */
@media(max-width:850px){
/* テーブルの見出しとフォーム */
table.inquiry th,table.inquiry td {
   display:block;
   padding:1em 0!important;
   width:100%;
   border:0;
}

/* 送信ボタン */
input.wpcf7-submit{
   margin-bottom:30px;
   width:100%;
}
}

/* 日付タグ上のテキストをPCとスマホで変更 */
@media(max-width:900px){
.pcdate{
   display: none;
}
}
@media(min-width:1000px){
.spdate{
   display: none;
}
/* 日付タグの幅を調整 */
.wpcf7-date.dateform{
   width: 25%;
}
}

/* Contact Form7全体カスタマイズ */

/* 自動入力されるPタグを無効にする */
.inquiry p {
   display: inline;
}

/*テーブル下に余白.枠線・テキストの行間 */
table.inquiry {
   margin-bottom: 30px;
   border:solid 1px #d7d7d7;
   line-height:1.2;
   vertical-align:middle;
}

/* テーブルの行 */
.inquiry tr {
   border:0!important;
}

/* テーブルの見出し側 */
.inquiry th{
   text-align:left;
   font-size:14px;
   color:#444;
   padding:1em 0.5em;
   width:0;
   background:#efefef;
   border:solid 1px #d7d7d7;
   white-space: nowrap;
}

/* 必須と任意タグ */
.haveto,.any{
   font-size:13px;
   padding:5px;
   background:#ff9393;
   color:#fff;
   border-radius:2px;
   margin-right:5px;
   font-weight:normal;
}

/* 任意タグの背景カラー */
.any{
   background:#93c9ff;
}

/* テーブルフォーム側 */
.inquiry td{
   font-size:13px;
   border:solid 1px #d7d7d7;	
}

/* 入力エリア幅最大 */
.wpcf7-form-control {
   width: 100%;
}

/* フォーム入力欄の余白・背景カラー・枠線消す指定 */
.inquiry input,.inquiry select,.inquiry textarea {
   margin: 5px 0;
   background:#eff1f5;
   border: none;
   padding:0.7em;
}
.inquiry textarea {
   padding-bottom:10em;
}

/* チェックボックスとラジオボタンの位置調整 */
.wpcf7-list-item-label,.wpcf7-checkbox,input[type=checkbox],input[type=radio]{
   vertical-align:middle;
}
.wpcf7-list-item-label{
   padding:0 5px 0 2px;
}
/*ラジオボタンを縦並び指定*/
.verticallist{
   display:inline-grid;
}

/* 送信ボタンのデザイン */
.wpcf7-submit{
   display: block;
   margin:10px auto;
   padding:1em 0;
   width:80%;
   background:var(--color_main);
   color:#fff;
   font-size:18px;
   font-weight:bold;	 
   border-radius:4px;
   border: none;
}

/* 送信ボタンマウスホバー時 */
.wpcf7-submit:hover{
   opacity: 0.9;
   transition: 0.3s;
}

/* フォーム上部に表示されるエラーメッセージを非表示 */
.screen-reader-response {
    display: none;
}

/* フォーム内エラーメッセージを赤色に指定 */
.wpcf7-not-valid-tip {
    color: #e92323;
}



@media (max-width: 600px) {
	.column-reverse .swell-block-columns__inner {
		flex-direction: column-reverse;
	}
	
	.img-only-fw {
		height: 40vh;
	}
}


@media (max-width: 600px) {
	.column-reverse .swell-block-columns__inner {
		flex-direction: column-reverse;
	}
	
	.img-only-fw {
		height: 40vh;
	}
}
/* ----------------------------
  グローバル・基本カスタム
----------------------------- */

#content .c-tabList {
  margin-bottom: 3rem !important;
}

.c-gnav > .menu-item > a:after {
  bottom: 12px;
}

.c-pageTitle {
  display: none;
}

.l-content,
.post_content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
}

.p-breadcrumb.-bg-on {
  display: none !important;
}

h2 {
  color: var(--color_main) !important;
  font-size: 1.1rem !important;
}

.img-only-fw {
  height: 60vh;
}

body.single-post .l-mainContent__inner {
  padding-top: 80px !important;
}


/* ----------------------------
  多言語プラグイン（BOGO）関連
----------------------------- */

.bogo-language-name {
  padding: 1rem;
}

.bogo-language-name a {
  opacity: 0.3;
}

.bogo-language-name a:hover,
.bogo-language-name a:active {
  color: #212121;
  opacity: 1;
}

#bogo_language_switcher-3 .c-widget__title.-spmenu {
  display: none;
}

.widget_bogo_language_switcher .w-header__title {
  display: none;
}

.bogo-language-switcher {
  display: flex;
  flex-direction: row-reverse;
}

.bogo-language-switcher a {
  padding: 1em;
  color: var(--color_text);
  font-weight: 700;
}

.bogo-language-switcher .current a {
  color: var(--color_main);
  opacity: 1;
}

.bogo-language-switcher .en-US {
  position: relative;
}

.bogo-language-switcher .en-US::before {
  content: "";
  width: 1px;
  height: 65%;
  background-color: var(--color_text);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.bogoflags,
.bogoflags-before:before {
  display: none;
}

/*
=======================================================
 このコードは将来的に多言語化（例：BOGO, Polylang, WPML）
 を導入した際に、言語別リンクとボタン表示を切り替えるための
 ベースとして使用します。今は未使用のため非表示にしています。
=======================================================
↓ 必要なテンプレートファイルに移して使ってください
*/


/* ----------------------------
  Contact Form 7 カスタマイズ
----------------------------- */

.inquiry p {
  display: inline;
}

table.inquiry {
  margin-bottom: 30px;
  border: solid 1px #d7d7d7;
  line-height: 1.2;
  vertical-align: middle;
}

.inquiry tr {
  border: 0 !important;
}

.inquiry th {
  text-align: left;
  font-size: 14px;
  color: #444;
  padding: 1em 0.5em;
  width: 0;
  background: #efefef;
  border: solid 1px #d7d7d7;
  white-space: nowrap;
}

.inquiry td {
  font-size: 13px;
  border: solid 1px #d7d7d7;
}

.inquiry input,
.inquiry select,
.inquiry textarea {
  margin: 5px 0;
  background: #eff1f5;
  border: none;
  padding: 0.7em;
}

.inquiry textarea {
  padding-bottom: 10em;
}

.wpcf7-form-control {
  width: 100%;
}

.wpcf7-list-item-label,
.wpcf7-checkbox,
input[type=checkbox],
input[type=radio] {
  vertical-align: middle;
}

.wpcf7-list-item-label {
  padding: 0 5px 0 2px;
}

.verticallist {
  display: inline-grid;
}

.haveto,
.any {
  font-size: 13px;
  padding: 5px;
  color: #fff;
  border-radius: 2px;
  margin-right: 5px;
  font-weight: normal;
}

.haveto {
  background: #ff9393;
}

.any {
  background: #93c9ff;
}

.wpcf7-submit {
  display: block;
  margin: 10px auto;
  padding: 1em 0;
  width: 80%;
  background: var(--color_main);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  border: none;
}

.wpcf7-submit:hover {
  opacity: 0.9;
  transition: 0.3s;
}

.screen-reader-response {
  display: none;
}

.wpcf7-not-valid-tip {
  color: #e92323;
}


/* ----------------------------
  レスポンシブ対応（フォーム・画像など）
----------------------------- */

@media (max-width: 850px) {
  table.inquiry th,
  table.inquiry td {
    display: block;
    padding: 1em 0 !important;
    width: 100%;
    border: 0;
  }

  input.wpcf7-submit {
    margin-bottom: 30px;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .pcdate {
    display: none;
  }
}
@media (min-width: 1000px) {
  .spdate {
    display: none;
  }

  .wpcf7-date.dateform {
    width: 25%;
  }
}

@media (max-width: 600px) {
  .column-reverse .swell-block-columns__inner {
    flex-direction: column-reverse;
  }

  .img-only-fw {
    height: 40vh;
  }
}


/* ----------------------------
  ボタンホバー効果
----------------------------- */
.swell-block-button:hover a {
  color: var(--color_main) !important;
}

.is-style-btn_line:hover a {
  color: var(--color_main) !important;
  font-weight: bold;
}


/* ----------------------------
  brタグ（デバイス別表示制御）
----------------------------- */
.br-sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .br-sp {
    display: inline;
  }
}

.br-pc {
  display: inline;
}
@media screen and (max-width: 768px) {
  .br-pc {
    display: none;
  }
}
/* ----------------------------
  フォントウェイト変更
----------------------------- */

.post_content dt,
.post_content h2,
.post_content h3,
.post_content h4 {
  font-weight: 500; /* ← 変更したいウェイトに */
}

/* ローディング中にヘッダーやSPメニューを完全に非表示 */
body.loading-active .l-header,
body.loading-active .p-spMenu,
body.loading-active .l-drawer {
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ================================
  トップページ中央白ボックス化（背景グレー）
================================ */
body.home {
  background-color: #ececec !important;
}

.top-content-wrapper {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 960px;
  margin: 60px auto;
  padding: 60px 30px;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .top-content-wrapper {
    padding: 40px 20px;
    margin: 30px auto;
  }
}

body.home {
  background-color: #ececec !important;
}


/* ================================
  デバイス別表示切替クラス
<div class="pc-only">PCだけに表示</div>
<div class="tab-only">タブレットだけに表示</div>
<div class="sp-only">スマホだけに表示</div>
<div class="pc-hide">PCでは非表示</div>
<div class="tab-hide">タブレットでは非表示</div>
<div class="sp-hide">スマホでは非表示</div>
================================ */


/* 初期状態：すべて表示 */
.pc-only,
.tab-only,
.sp-only,
.pc-hide,
.tab-hide,
.sp-hide {
  display: block;
}

/* ===== PCのみ表示 ===== */
@media screen and (max-width: 1024px) {
  .pc-only {
    display: none !important;
  }
}

/* ===== タブレットのみ表示（769〜1024px）===== */
@media screen and (max-width: 768px), screen and (min-width: 1025px) {
  .tab-only {
    display: none !important;
  }
}

/* ===== スマホのみ表示（〜768px）===== */
@media screen and (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}

/* ===== PCのみ非表示 ===== */
@media screen and (min-width: 1025px) {
  .pc-hide {
    display: none !important;
  }
}

/* ===== タブレットのみ非表示 ===== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .tab-hide {
    display: none !important;
  }
}

/* ===== スマホのみ非表示 ===== */
@media screen and (max-width: 768px) {
  .sp-hide {
    display: none !important;
  }
}
