@charset "UTF-8";
/*
Theme Name:  Hitoma
Description: A single page theme for minimalist.
Theme URI:   https://soooooko.com/wordpress-themes/hitoma/
Author:      Soooooko
Author URI:  https://soooooko.com/
Text Domain: hitoma
Version:     1.0.3
Tags:        one-columns, responsive
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* **************************
  ベース
************************** */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "SF Pro JP", "SF Pro Text", "SF Pro Icons", "Hiragino Kaku Gothic Pro", "\30D2\30E9\30AE\30CE\89D2\30B4   Pro W3", メイリオ, Meiryo, "\FF2D\FF33   \FF30\30B4\30B7\30C3\30AF", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #585757;
  background: #f5f5f5;
  margin: 0;
  padding: 15px;
}

h1 {
  font-size: 1.6rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 1rem;
  font-weight: normal;
}

h6 {
  font-size: 1rem;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  margin: 2rem 0 1.6rem;
}

p {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}

img {
  vertical-align: middle;
  border-style: none;
  max-width: 100%;
  height: auto;
}

a {
  color: #1887e2;
}

a:hover {
  color: #136bb4;
}

blockquote {
  position: relative;
  font-style: italic;
  margin: 2rem;
}

cite {
  font-size: 0.9em;
  margin-bottom: 1.6rem;
}

ul {
  margin-bottom: 1.0rem;
}

ul li {
  margin-bottom: 0.3rem;
}

table {
  width: 100%;
  margin: 1.6rem 0;
  border-top: #c0c0c0 solid 1px;
  border-right: #c0c0c0 solid 1px;
  border-collapse: collapse;
}

th {
  font-weight: normal;
  background: #c0c0c0;
  padding: 0.6rem;
  border-right: #c0c0c0 solid 1px;
  border-bottom: #c0c0c0 solid 1px;
}

td {
  margin: 0;
  padding: 0.6rem;
  border-left: #c0c0c0 solid 1px;
  border-bottom: #c0c0c0 solid 1px;
  word-break: break-all;
}

iframe {
  max-width: 100%;
}

figure {
  margin: 0 0 1rem;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

label {
  width: 100%;
}

input {
  width: 100%;
  color: #686868;
  background: #f7f7f7;
  border: 1px solid #d1d1d1;
  padding: 0.4rem;
}

textarea {
  width: 100%;
  color: #686868;
  background: #f7f7f7;
  border: 1px solid #d1d1d1;
  padding: 0.4rem;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
  cursor: pointer;
  width: 100%;
  color: #ffffff;
  background-color: #1887e2;
  padding: 1rem;
  border: none;
  line-height: 1;
  -webkit-appearance: none;
  border-radius: 0;
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
  background-color: #115e9d;
}

button a, input[type="button"] a, input[type="reset"] a, input[type="submit"] a {
  color: #ffffff;
  text-decoration: none;
}

button a:hover, input[type="button"] a:hover, input[type="reset"] a:hover, input[type="submit"] a:hover {
  color: #ffffff;
  text-decoration: none;
}

.button {
  padding: 1rem;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.download {
  max-width: 100%;
  color: #ffffff;
  background-color: #1887e2;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.download:hover {
  color: #ffffff;
  background-color: #115e9d;
}

.back {
  max-width: 920px;
  color: #ffffff;
  background-color: #585757;
  margin: 0 auto;
}

.back a {
  display: block;
  color: #ffffff;
}

.back:hover {
  color: #ffffff;
  background-color: #323131;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

pre {
  color: #ffffff;
  background: #1C4678;
  padding: 1rem;
  line-height: 1.6rem;
  border-radius: 5px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

code {
  color: #ffffff;
  background: #1C4678;
  padding: 4px;
  border-radius: 5px;
}

/* **************************
  ヘッダー
************************** */
header {
  max-width: 920px;
  margin: 10px auto 20px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 767px) {
  header {
    flex-direction: column;
  }
}

.title {
  color: #212121;
  display: flex;
  align-items: center;
}

.title a {
  color: #212121;
  text-decoration: none;
}

@media (max-width: 767px) {
  .title {
    display: flex;
    text-align: center;
    max-width: 100%;
    flex-shrink: 0;
  }
}

.title-logo {
  display: block;
  margin-right: 10px;
}

@media (max-width: 767px) {
  .title-logo {
    margin-right: 0 !important;
    margin-bottom: 10px;
  }
}

.title-text {
  font-size: 1.6rem;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .title-text {
    margin-top: 0 !important;
    display: block;
  }
}

@media (max-width: 1000px) {
  .contact {
    display: table;
    margin: 1rem auto 1rem auto;
  }
}


@media(min-width:751px){
  .sp{
      display: none !important;
  }
}
@media(max-width:750px){
  .pc{
      display: none !important;
  }
}

.contact-number {
  font-size: 1.3rem;
  font-weight: bold;
}

.contact-text {
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 4px;
}

/* **************************
  メインコンテンツ
************************** */
main {
  display: block;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

main > section {
  margin-bottom: 20px;
}

.main_image {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.main_image-catch_phrase {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-size: 2.2rem;
  /*font-weight: bold;*/
  color: #ffffff;
  margin-top: 0;
  /*text-shadow: -2px -2px 0 gray, -2px 0 0 gray, -2px 2px 0 gray,
  0 -2px 0 gray,                  0 2px 0 gray,
2px -2px 0 gray,  2px 0 0 gray,  2px 2px 0 gray;*/
}

@media (max-width: 767px) {
  .main_image-catch_phrase {
    font-size: 1.8rem;
  }
}

@media (max-width: 599px) {
  .main_image-catch_phrase {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .main_image-catch_phrase {
    font-size: 1rem;
  }
}

.contents-container {
  width: 100%;
  background-color: #ffffff;
}

.contents-container_toka {
  width: 100%;
}

.contents {
  width: 100%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 5px 40px 5px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .contents {
    padding: 10px;
  }
}

.contents h1 {
  margin-top: 4rem;
}

.contents h1:first-child {
  margin-top: 0;
}

.contents p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.contents img {
  margin-bottom: 1rem;
}

/* **************************
  マップ
************************** */
.map {
  max-width: 920px;
  margin: 20px auto 0 auto;
  overflow: hidden;
}

.map-footer {
  font-size: 0.9rem;
}

.map-footer > p {
  margin-top: 0;
}

/* **************************
  フッター
************************** */
footer {
  max-width: 450px;
  margin: 40px auto;
  text-align: center;
}

footer a {
  color: #585757;
  text-decoration: none;
}

.footer-scroll_up {
  display: block;
  font-weight: bold;
}

.footer-scroll_up::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-top: 5px solid #585757;
  border-right: 5px solid #585757;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  margin-left: auto;
  margin-right: auto;
}

.footer-scroll_up:hover {
  color: #ff0000;
  text-decoration: none;
}

.footer-scroll_up:hover::before {
  border-top: 5px solid #ff0000;
  border-right: 5px solid #ff0000;
}

.footer-information {
  border-top: 10px solid #585757;
  margin-top: 15px;
  padding-top: 20px;
}

.footer-information-privacy_policy {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* **************************
  その他
************************** */
.response_code {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
}

/* **************************
  WordPressデフォルト書き換え
************************** */
.contents-container .wp-block-column {
  margin-right: 16px;
}

.contents-container .wp-block-column:first-child {
  margin-left: 0;
}

.contents-container .wp-block-column:last-child {
  margin-right: 0;
}

@media (min-width: 600px) {
  .contents-container .wp-block-column:last-child {
    margin-left: 0;
  }
  .contents-container .wp-block-column:not(first-child), .contents-container .wp-block-column:nth-child(2n) {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .contents-container .wp-block-column:last-child {
    margin-left: 0;
  }
  .contents-container .wp-block-column:not(first-child) {
    margin-left: 16px;
  }
  .contents-container .wp-block-column:not(first-child), .contents-container .wp-block-column:nth-child(2n) {
    margin-left: 0;
  }
}

@media screen and (min-width: 600px) and (max-width: 781px) {
  .contents-container .wp-block-column {
    flex-basis: 100%;
  }
  .contents-container .wp-block-column:last-child {
    margin-right: 0;
  }
}

@media (max-width: 781px) {
  .contents-container .wp-block-column {
    margin-right: 16px;
  }
  .contents-container .wp-block-column:not(first-child), .contents-container .wp-block-column:nth-child(2n) {
    margin-right: 0;
  }
  .contents-container .wp-block-column:not(first-child):last-child, .contents-container .wp-block-column:nth-child(2n):last-child {
    margin-right: 0;
  }
  .contents-container .wp-block-column:last-child {
    margin-right: 0;
  }
}

.contents-container .wp-block-image .aligncenter,
.contents-container .wp-block-image .alignleft,
.contents-container .wp-block-image .alignright,
.contents-container .wp-block-image.is-resized {
  display: block;
}

.contents-container .wp-block-image .aligncenter {
  text-align: center;
}

.contents-container .wp-block-image .alignleft {
  text-align: left;
}

.contents-container .wp-block-image .alignright {
  text-align: right;
}



/* 2カラム楽勝 */
.flex_contact_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.contact_list1{
    padding-top:5px;
    padding-right:5px;
    text-align: right;
}

.contact_list2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-decoration: none;
}

a.btn-contact:hover {
  opacity: 0.5;
}


.h2_check {
  position: relative;
  color: black;
  background: #d0ecff;
  line-height: 1.4;
  padding: 0.25em 0.5em;
  margin: 2em 0 0.5em;
  border-radius: 0 5px 5px 5px;
}

.h2_check:after {
  /*タブ*/
  position: absolute;
  font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
  font-weight: 900;
  content: '事業内容';
  background: #2196F3;
  color: #fff;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 3px 7px 1px;
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.05em
}


.contents_imagewaku{
  padding: 2px;
  border: 5px solid #e8bf85;
  box-shadow: 1px 1px 3px #999;
}

.main_image-catch_phrase .sub-text {
  display: inline-block;        /* 青背景の箱にする */
  background-color: #004a99;    /* 好みのブルー */
  color: #fff;
  font-size: 1.6rem;              /* 少し小さめ */
  padding: 4px 12px;            /* 上下左右の余白 */
  border-radius: 4px;           /* 角丸（不要なら削除） */
  margin-top: 6px;
  letter-spacing: 0.1em;        /* 字間 */
}

@media (max-width: 767px) {
  .main_image-catch_phrase .sub-text {
  font-size: 1.0rem;              /* 少し小さめ */
  
}
}

/* コンテナ：横→縦のレスポンシブ */
.kv {
  display: flex;
  flex-wrap: wrap;           /* はみ出し時に折り返し */
  align-items: stretch;
  margin-bottom: 20px;
  border-radius: 15px;
  background-color: #4f92da;    /* 好みのブルー */
}

.kv_b {
  background-color: #104475;
}

.kv_ｙ {
  background-color: #74c1d4;
}

.kv_z {
  background-color: #fc7c05;
}

/* 左カラム（テキスト） */
.kv__text {
  flex: 1 1 50%;
  max-width: 50%;
  color: #fff;
  padding: 32px 24px;
  box-sizing: border-box;
}

.kv__text h3 {
  font-size: 1.4rem;
  margin: 0 0 1rem;
  font-weight: bold;
}

.kv__text h4 {
  font-size: 1.0rem;
  margin: 0 0 1rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}


/* 右カラム（画像） */
.kv-image {
  flex: 1 1 50%;
  max-width: 40%;
  display: flex;                /* 中央寄せ用 */
  justify-content: center;      /* 横方向センター */
  margin:30px;
  /* align-items: center;          縦方向センター */
  box-sizing: border-box;
  /* background: #f5f5f5;          背景色つけてもOK */
}

.kv-image img {
  max-width: 80%;   /* 横幅に収まるように */
  object-fit: contain;
}

/* スマホは縦並び＝1カラム */
@media (max-width: 767px) {
  .kv {
    flex-direction: column;
  }
  .kv__text,
  .kv-image {
    flex: 1 1 100%;
    padding: 10px 1rem;
    margin-top:0px;
    max-width: 100%;
  }
}

/* ===== Recruit hero 共通：同じ画像をPC/スマホで使用。スマホは中心トリミング ===== */
.recruit-hero{
  --overlay: rgba(8,24,48,.42);
  position: relative;
  width: 100%;

  /* PC用: 16:9（古環境でも無難に動くように padding-top でフォールバック） */
  aspect-ratio: 16 / 9;
  height: 0;                 /* fallback */
  padding-top: 56.25%;       /* fallback: 16:9 */
  min-height: 420px;

  border-radius: 14px;
  overflow: hidden;
  background: var(--bg) center/cover no-repeat;  /* Center Crop */
  margin-bottom: 20px;
}
.recruit-hero::before{
  content:"";
  position:absolute; inset:0;
  background: var(--overlay);
  backdrop-filter: saturate(120%) blur(1px);
}

.recruit-inner{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center; /* PCは中央 */
  gap: 14px;
  /* clamp 非対応対策：先に固定値 → 後から clamp */
  padding: 12px;
  padding: clamp(12px, 3vw, 32px);
  color:#fff; text-align:center;
}

.recruit-eyebrow{
  margin:0;
  letter-spacing:.18em;
  font-weight:700;
  font-size: 1.2rem;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
}

.recruit-frame{
  max-width: min(760px, 86%);
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 8px;
  background: rgba(0, 54, 112, .55);
  padding: 10px 14px;
  padding: clamp(10px, 2.2vw, 18px) clamp(14px, 3vw, 28px);
}
.recruit-frame p{
  margin:0;
  line-height:1.8;
  font-size: 14px;
  font-size: clamp(14px, 2.2vw, 18px);
}

.recruit-copy{
  max-width: min(820px, 75%);
  color:#e8f1ff;
  line-height:1.9;
  font-size: 13px;
  font-size: clamp(13px, 2vw, 16px);
  margin: 0;
}

.recruit-contacts{
  display:flex; flex-wrap:wrap; gap:12px; justify-content:center;
}
.recruit-contacts .btn{
  display:inline-block;
  padding:.9rem 1.2rem;
  border-radius: 6px;
  background:#1887e2; color:#fff; text-decoration:none;
  font-weight:600; line-height:1;
}
.recruit-contacts .btn:hover{ background:#136bb4; }
.recruit-contacts .btn-outline{
  background: transparent; color:#fff; border:2px solid #fff;
}
.recruit-contacts .btn-outline:hover{
  background: rgba(255,255,255,.12);
}

/* ===== Smartphone 判定を“厚め”に：max-width / max-device-width / タッチ環境 ===== */
@media screen and (max-width: 768px),
       screen and (max-device-width: 768px),
       (hover: none) and (pointer: coarse){

  .recruit-hero{
    /* PCの比率指定を確実に打ち消す */
    aspect-ratio: auto;      /* 新ブラウザ用 */
    height: auto;            /* paddingハックを無効化 */
    padding-top: 0;          /* ↑とセットで解除 */

    min-height: 70vh;       /* 画面いっぱいを安定確保 */
    border-radius: 10px;
    background-position: center;
    background-size: cover;
  }

  .recruit-inner{
    justify-content: flex-start;         /* 上寄せ */
    align-items: center;
    padding: 6vh 16px 6vh;              /* safe-area は使わず vh で安定化 */
    gap: 10px;
  }

  .recruit-eyebrow{
    font-size: 1.1rem;
    font-size: clamp(1.1rem, 4.5vw, 1.6rem);
    letter-spacing: .16em;
  }

  .recruit-frame{
    max-width: 92%;
    padding: 10px 14px;
    border-width: 1.5px;
    background: rgba(0,54,112,.50);
  }
  .recruit-frame p{
    line-height: 1.7;
    font-size: 13px;
    font-size: clamp(13px, 3.8vw, 15px);
  }

  .recruit-copy{
    max-width: 92%;
    font-size: 12px;
    font-size: clamp(12px, 3.6vw, 14px);
    line-height: 1.7;
    margin-top: 6px;
  }

  .recruit-contacts{
    flex-direction: column;
    gap: 10px;
    width: 92%;
    max-width: 320px;
    margin: 0 auto;
  }
  .recruit-contacts .btn{
    width: 100%;
    padding: .85rem 1rem;
  }
}
