@charset "utf-8";
/* スマホ */
@media (width < 768px) {
}
@media (max-width: 767.99px) {
}
/* タブレット */
@media (width >= 768px) {
}
@media (width >= 1024px) {
}
@media (width >= 768px) and (width < 1024px) {
}
@media (width >= 768px) and (width < 1280px) {
}
@media (width >= 1024px) and (width < 1280px) {
}
@media (min-width: 768px) {
}
@media (min-width: 1024px) {
}
@media (min-width: 768px) and (max-width: 1023.99px) {
}
@media (min-width: 768px) and (max-width: 1279.99px) {
}
@media (min-width: 1024px) and (max-width: 1279.99px) {
}
/* PC */
@media (width >= 1280px) {
}
@media (min-width: 1280px) {
}
/* *****************************************************************************
// BaseのCSS
***************************************************************************** */
/* *************************************
// 変数定義
************************************* */
:root {
  --main-color: #9c0032;
  --sub-color: #f9afaf;
  --text-color: #333;
  --link-color: #00a;
  --default-space: 2rem;
}
/* *************************************
// Base
************************************* */

b,
strong {
  font-weight: 600;
}
a {
  color: var(--link-color);
}
img,
video {
  max-width: 100%;
  height: auto;
}
pre {
  white-space: pre-wrap;
}
/* フォーム用 パーツ*/
input[type='text'],
input[type='password'],
input[type='datetime'],
input[type='datetime-local'],
input[type='date'],
input[type='month'],
input[type='time'],
input[type='week'],
input[type='number'],
input[type='email'],
input[type='url'],
input[type='search'],
input[type='tel'],
input[type='color'],
select,
textarea,
.field {
  display: block;
  width: 100%;
  max-width: 100%;
  background-color: #eaedf2;
  padding: 0 0.75rem;
  line-height: 1.5rem;
  border-radius: 3px;
  min-height: 40px;
}

textarea {
  max-height: 120px;
  field-sizing: content;
  padding-block: 0.75rem;
  min-height: 100px;
}
select {
  background-image: linear-gradient(-45deg, transparent 0%, transparent 50%, #ccc 50%, #ccc 100%), linear-gradient(45deg, transparent 0%, transparent 50%, #ccc 50%, #ccc 100%);
  background-position: right 0.25em center, right 0.75em center;
  background-size: 0.5em 0.5em, 0.5em 0.5em;
  background-repeat: no-repeat, no-repeat;
  padding-right: 2em;
}
input[type='radio'] + span,
input[type='checkbox'] + span {
  position: relative;
  cursor: pointer;
  padding-left: 1.5em;
  line-height: 2.5rem;
}
input[type='radio'] + span:before,
input[type='radio'] + span:after {
  content: '';
  display: block;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}
input[type='radio'] + span:before {
  border: 1px solid var(--text-color);
  width: 1.2em;
  left: 0;
}
input[type='radio'] + span:after {
  background-color: var(--text-color);
  opacity: 0;
  width: 0.8em;
  left: 0.2em;
}
input[type='radio']:checked + span::after {
  opacity: 1;
}
input[type='checkbox'] + span:before,
input[type='checkbox'] + span:after {
  content: '';
  display: block;
  position: absolute;
}
input[type='checkbox'] + span:before {
  aspect-ratio: 1 / 1;
  border: 2px solid #ddd;
  width: 1.2em;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
input[type='checkbox'] + span:after {
  border-bottom: 2px solid red;
  border-left: 2px solid red;
  opacity: 0;
  width: 0.8em;
  height: 0.4em;
  top: calc(50% - 0.3em);
  left: 0.2em;
  transform: rotate(-45deg);
}
input[type='checkbox']:checked + span::after {
  opacity: 1;
}
input[type='date'] {
  align-items: center;
}
.wpcf7-list-item {
  line-height: 2.5rem;
}
.wpcf7-not-valid-tip {
  font-size: 0.8rem;
  font-weight: bold;
  margin: 0.5em 0 0;
}
::placeholder {
  color: #999;
}

/* *************************************
// 汎用ID・Class
************************************* */
.wrap {
  width: 96%;
  max-width: 1040px;
  margin: 0 auto;
}
.cf,
.clearfix {
  display: flow-root;
}
/* 旧clearfixの手法(必要があればコメントアウトを外す) */
.cf:after,
.clearfix:after {
  /*content: "";*/
  /*clear: both;*/
  /*display: block;*/
}

/* 行間 */
#content p {
  margin-bottom: 1rem;
}
/* PC・SPの表示 / 非表示 */
@media (width < 768px) {
  .pc_only {
    display: none;
  }
}
@media (width >= 768px) {
  .sp_only {
    display: none;
  }
}
/*電話番号リンク*/
a[href^='tel:'] {
  text-decoration: none;
  color: inherit;
}
@media (width >= 768px) {
  a[href^='tel:'] {
    pointer-events: none;
  }
}
/* テーブル */
@media (width < 768px) {
  table.two_column tbody th,
  table.two_column tbody td {
    display: block;
  }
}
/* 分割 */
.flex,
.two_in_one,
.three_in_one,
.four_in_one,
.five_in_one,
.six_in_one {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.flex.reverse,
.two_in_one.reverse,
.three_in_one.reverse,
.four_in_one.reverse,
.five_in_one.reverse,
.six_in_one.reverse {
  flex-direction: row-reverse;
}
.flex > div,
.two_in_one > div,
.three_in_one > div,
.four_in_one > div,
.five_in_one > div,
.six_in_one > div {
  width: 100%;
}
@media (width >= 768px) {
  /* 2分割 */
  .two_in_one > div {
    width: calc(100% / 2);
  }
  .flex > div:where(:nth-child(1):nth-last-child(2)),
  .flex > div:where(:nth-child(2):nth-last-child(1)) {
    width: calc(100% / 2);
  }
  /* 3分割 */
  .three_in_one > div {
    width: calc(100% / 3);
  }
  .flex > div:where(:nth-child(1):nth-last-child(3)),
  .flex > div:where(:nth-child(2):nth-last-child(2)),
  .flex > div:where(:nth-child(3):nth-last-child(1)) {
    width: calc(100% / 3);
  }
  /* 4分割 */
  .four_in_one > div {
    width: calc(100% / 4);
  }
  .flex > div:where(:nth-child(1):nth-last-child(4)),
  .flex > div:where(:nth-child(2):nth-last-child(3)),
  .flex > div:where(:nth-child(3):nth-last-child(2)),
  .flex > div:where(:nth-child(4):nth-last-child(1)) {
    width: calc(100% / 4);
  }
  /* 5分割 */
  .five_in_one > div {
    width: calc(100% / 5);
  }
  .flex > div:where(:nth-child(1):nth-last-child(5)),
  .flex > div:where(:nth-child(2):nth-last-child(4)),
  .flex > div:where(:nth-child(3):nth-last-child(3)),
  .flex > div:where(:nth-child(4):nth-last-child(2)),
  .flex > div:where(:nth-child(5):nth-last-child(1)) {
    width: calc(100% / 5);
  }
  /* 6分割 */
  .six_in_one > div {
    width: calc(100% / 6);
  }
  .flex > div:where(:nth-child(1):nth-last-child(6)),
  .flex > div:where(:nth-child(2):nth-last-child(5)),
  .flex > div:where(:nth-child(3):nth-last-child(4)),
  .flex > div:where(:nth-child(4):nth-last-child(3)),
  .flex > div:where(:nth-child(5):nth-last-child(2)),
  .flex > div:where(:nth-child(6):nth-last-child(1)) {
    width: calc(100% / 6);
  }
}
/* youtube レスポンシブ */
.youtube_wrap {
  /*position: relative;*/
  /*width: 100%;*/
  /*padding-top: 56.25%;*/
}
.youtube_wrap iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  /*position: absolute;*/
  /*top: 0;*/
  /*left: 0;*/
  /*width: 100%;*/
  /*height: 100%;*/
}
/* アニメーション用 */
.animation {
  opacity: 0;
}
.animation.animated {
  opacity: 1;
}
/* *****************************************************************************
// 各種パーツ
***************************************************************************** */
/* *************************************
// 見出し(head line)
************************************* */
.hl001 {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
  text-align: center;
  padding: 1.5em 0.5em;
  font-size: clamp(20px, 5.5vw, 50px);
}
.hl001 > *:first-child:nth-last-child(2) {
  line-height: 1.6;
}
.hl001 > *:nth-child(2):last-child {
  display: block;
  font-size: max(0.4em, 12px);
  line-height: 1;
}
.hl001:before {
  content: '';
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('../images/common/hl001_bg.webp');
  background-size: cover;
  background-position: center;
}
/* *************************************
// ボタン(button)
************************************* */
.btn001 {
  margin: var(--default-space) 0;
}
.btn001 input[type='submit'],
.btn001 a {
  display: block;
  width: fit-content;
  padding: 0.5em 3em;
  margin: 0 auto;
  border-radius: 2em;
  white-space: nowrap;
  transition: all 0.5s;
  background: var(--color1);
  color: #fff;
  cursor: pointer;
}
.btn001 input[type='submit']:hover,
.btn001 a:hover {
  opacity: 0.7;
}
/* *************************************
// ローダー(loader)
************************************* */
#loader-bg.l001 {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0px;
  left: 0px;
  background: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.l001 .spinner {
  margin: 100px 0 0;
  width: 70px;
  text-align: center;
}
.l001 .spinner > div {
  width: 18px;
  height: 18px;
  background: var(--color1);

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.l001 .spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.l001 .spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}
@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
/* *************************************
// ヘッダー(header)
************************************* */

/* *************************************
// メインビジュアル(main visual)
************************************* */
.mv001 {
  height: 600px;
  /* overflow: hidden; */
  position: relative;
  padding: 0;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  background: #ccc;
}
.mv001 .mv001_contents {
  position: absolute;
  color: #fff;
  top: 0;
  left: 0%;
  z-index: 1;
  display: grid;
  place-content: center;
  width: 100%;
  height: 100%;
}
.mv001 .mv001_contents .mv001_text {
  font-size: min(7vw, 36px);
  text-align: center;
}
.mv001 .mv001_contents .mv001_text2 {
  font-size: min(3vw, 18px);
  text-align: center;
}

.mv001 .mv001_slider,
.mv001 .mv001_slider .slick-list,
.mv001 .mv001_slider .slick-track {
  width: 100%;
  height: 100%;
}
.mv001 .mv001_slider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
  background: #000;
}
.mv001 .mv001_slider .slick-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.mv001 .mv001_slider > .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.mv001 .mv001_slider .slick-prev,
.mv001 .mv001_slider .slick-next {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  z-index: 1;
  display: flex;
  align-items: center;
}
.mv001 .mv001_slider .slick-prev {
  left: 20px;
  justify-content: flex-end;
}

.mv001 .mv001_slider .slick-next {
  right: 20px;
  justify-content: flex-start;
}
.mv001 .mv001_slider .slick-prev:before,
.mv001 .mv001_slider .slick-next:before {
  content: '';
  width: 10px;
  height: 10px;
  background: transparent;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  display: block;
  margin: 0;
  opacity: 1;
}
.mv001 .mv001_slider .slick-prev:before {
  transform: rotate(225deg);
  margin-right: 7px;
}
.mv001 .mv001_slider .slick-next:before {
  transform: rotate(45deg);
  margin-left: 7px;
}
/* *************************************
// フッター(footer)
************************************* */

/* *************************************
// 記事リスト(post list)
************************************* */
.pl001 {
  padding: calc(var(--default-space) * 2) 0;
}
.pl001 .post_item {
  border-bottom: 1px dashed #ccc;
  display: block;
  padding: calc(var(--default-space) / 4) calc(var(--default-space) / 2);
  margin-bottom: calc(var(--default-space) / 2);
}
.pl001 .post_item a {
  color: inherit;
}
.pl001 .post_item .date {
  width: 100px;
  color: var(--main-color);
}
.pl001 .post_item .category {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-right: 20px;
}
.pl001 .post_item .category > span {
  background: var(--main-color);
  color: #fff;
  padding: 0 15px;
  width: 120px;
  text-align: center;
}

@media (width >= 768px) {
  .pl001 .post_item a {
    display: flex;
  }
  .pl001 .post_item .date {
    flex-shrink: 0;
  }
}
/* *************************************
// 記事個別(post single)
************************************* */
.post_single {
  padding: calc(var(--default-space) * 2) 0;
}
.post_single .date {
  color: var(--main-color);
  opacity: 0.7;
}
.post_single .title {
  font-size: clamp(18px, 4.5vw, 36px);
  font-weight: bold;
  margin-bottom: calc(var(--default-space));
}

/* *************************************
// 記事リスト2(post list)
************************************* */
.pl002 {
  margin: calc(var(--default-space) * 2) 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.pl002 > a {
  width: 100%;
  display: grid;
  gap: 0;
  grid-template-rows: subgrid;
  grid-row: span 4;
  color: var(--text-color);
  background: #fff;
  padding-bottom: 15px;
}

.pl002 > a .image {
  width: 100%;
  aspect-ratio: 3 / 2;
  /* overflow: hidden; */
}
.pl002 > a .image > img {
  width: 100%;
  transition: scale 0.3s;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.pl002 > a:hover .image > img {
  scale: 1.15;
}

.pl002 > a .date {
  color: var(--main-color);
}

.pl002 > a .category {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  margin-top: 5px;
}
.pl002 > a .category > span {
  background: var(--main-color);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 5px 10px;
}
.pl002 > a .title {
  padding: 0;
  background-size: 12px;
  background-position: center right 15px;
  background-repeat: no-repeat;
  line-height: 1.5;
  font-size: 20px;
  font-weight: bold;
}

@media (max-width: 767px) {
  .pl002 {
    width: 90%;
    max-width: 350px;
    grid-template-columns: 100%;
    row-gap: 20px;
    margin: auto;
  }
}

/* *************************************
// カテゴリー一覧リンク
************************************* */

.cat_list001 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 20px;
  margin: calc(var(--default-space) * 2) 0;
}
.cat_list001 > a {
  border: 1px solid var(--main-color);
  color: var(--main-color);
  padding: 5px 20px;
  line-height: 1.5;
  text-align: center;
  min-width: 150px;
}
.cat_list001 > a.current {
  background: var(--main-color);
  color: #fff;
}

@media (max-width: 767px) {
  .cat_list001 > a {
    width: calc(50% - 10px);
  }
}

/* *************************************
// 固定ページ(page single)
************************************* */
.page_single {
  padding: calc(var(--default-space) * 2) 0;
}
/* *************************************
// メールフォーム
************************************* */
table.mail_form {
  margin: auto;
  min-width: 100%;
  table-layout: fixed;
}
table.mail_form tr:first-child {
  border-top: 1px solid #ccc;
}
table.mail_form tr {
  border-bottom: 1px solid #ccc;
 display: grid;
 grid-template-columns:calc(200 * var(--rem)) 1fr;
 gap:calc(8 * var(--rem))  calc(16 * var(--rem));
 @media (width < 768px) {
 grid-template-columns: 1fr;
 padding-block: calc(16 * var(--rem));
 }
}
table.mail_form th,
table.mail_form td {
  vertical-align: middle;
}
table.mail_form th {
  text-align: left;
  font-weight: bold;
}
table.mail_form tr th.required:after {
  content: '\5fc5\9808';
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0 0.4rem;
  border-radius: 0.2rem;
  font-size: 0.75rem;
  white-space: nowrap;
  color: white;
  background: var(--main-color);
}
@media (width >= 768px) {
  table.mail_form th,
  table.mail_form td {
    margin: 0;
    padding-block: calc(var(--default-space) / 2);
  }
}
/* *************************************
// ページネーション
************************************* */
.pagination ul {
  display: flex;
  justify-content: center;
}
.pagination li {
  margin: 0 5px;
  border: none;
}
.pagination li > a,
.pagination li > span {
  padding: 5px 8px;
  display: block;
}
.pagination li > a {
  border: 1px solid var(--color1);
  background: #fff;
}
.pagination li > .page-numbers.current {
  border: 1px solid var(--color1);
  color: #fff;
  background: var(--color1);
}
.pagination li > a:hover,
.pagination li > a:focus {
  background: var(--color1);
  color: #fff;
}

/* *************************************
// 会社案内パーツ
************************************* */

.p002 .title {
  margin-bottom: 40px;
}
.p002 .jp {
  font-size: 35px;
  font-weight: bold;
}
.p002 .en {
  font-size: 20px;
  font-weight: bold;
}
.p002 .two_in_one .image {
  height: 100%;
}
.p002 .two_in_one .image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px 0 0 30px;
  display: block;
}
.p002 .two_in_one > div.right {
  width: 45%;
  position: relative;
}
.p002 .two_in_one > div.left {
  width: 55%;
  display: flex;
  justify-content: center;
}
.p002 .two_in_one > div.left > .inner {
  max-width: 90%;
  width: auto;
}
.p002 .text p {
  line-height: 2;
}

@media (max-width: 1029px) {
  .p002 .two_in_one > div.right,
  .p002 .two_in_one > div.left {
    width: 100%;
  }

  .p002 .two_in_one .image {
    width: 90%;
    margin-left: auto;
  }

  .p002 .two_in_one .image > img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
}

@media (max-width: 767px) {
  .p002 .jp {
    font-size: 28px;
  }
}

.p003 .title {
  text-align: center;
  margin-bottom: 40px;
}
.p003 .jp {
  font-size: 35px;
  font-weight: bold;
}
.p003 .en {
  font-size: 20px;
  font-weight: bold;
}
.p003 .subtitle {
  text-align: center;
  font-weight: bold;
  margin-bottom: 40px;
}

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

@media (max-width: 767px) {
  .p003 .jp {
    font-size: 28px;
  }

  .p003 .text_center {
    text-align: left;
  }
}

.p004 .title {
  text-align: center;
  margin-bottom: 40px;
}
.p004 .jp {
  font-size: 35px;
  font-weight: bold;
}
.p004 .en {
  font-size: 20px;
  font-weight: bold;
}

.p004 table {
  margin-left: auto;
  margin-right: auto;
  min-width: 100%;
}

.p004 table tr th {
  border-bottom: 1px solid #ccc;
  padding: 10px;
}
.p004 table tr td {
  border-bottom: 1px solid #ccc;
  padding: 10px;
}

@media (max-width: 767px) {
  .p004 .jp {
    font-size: 28px;
  }
}

/* セクション */
#company_message {
  padding-bottom: 50px;
}

#company_philosophy {
  padding-top: 50px;
  padding-bottom: 50px;
}

#company_profile {
  padding-top: 50px;
  padding-bottom: 50px;
}
#company_history {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* 背景黒 */
.bg_black {
  position: relative;
  z-index: 0;
  color: #fff;
}

.bg_black:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* *************************************
the-content
************************************* */
.the-content {
}

.the-content p {
  margin-block-end: 1em;
  width: 100%;
}

.the-content h2 {
  font-size: calc(24 * var(--rem));
  background-color: var(--color2);
  font-weight: bold;
  padding: calc(8 * var(--rem)) calc(16 * var(--rem));
  border-radius: 4px;
  margin-block-end: 1em;
  position: relative;
  @media (width < 768px) {
  font-size: calc(18 * var(--rem));
  }
}

.the-content h2::before {
  content: '';
  display: block;
  width: calc(5 * var(--rem));
  height: 100%;
  background-color: var(--color1);
  position: absolute;
  top: 0;
  left: 0;
}

.the-content h3 {
  background-color: var(--color2);
  font-size: calc(20 * var(--rem));
  font-weight: bold;
  padding: calc(8 * var(--rem)) calc(16 * var(--rem));
  border-radius: 4px;
  margin-block-end: 1em;
}

.the-content h4 {
  font-size: calc(18 * var(--rem));
  font-weight: bold;
  margin-block-end: 1em;
}

.the-content ul {
  background-color: var(--color6);
  padding: calc(24 * var(--rem)) calc(40 * var(--rem));
  display: grid;
  gap: calc(16 * var(--rem)) 0;
  margin-block-end: 1em;
}

.the-content ul li {
  position: relative;
  padding-inline-start: calc(16 * var(--rem));
}

.the-content ul li::before {
  content: '';
  display: block;
  width: calc(8 * var(--rem));
  aspect-ratio: 1;
  background-color: var(--color1);
  border-radius: 100vmax;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.the-content a {
  color: var(--color1);
  font-weight: bold;
}

.the-content img {
  margin-block-end: 1em;
  padding-inline: calc(24 * var(--rem));
}

.the-content img.alignright {
  display: block;
  margin: 0 0 0 auto;
  float: right;
}
.the-content img.alignleft {
  display: block;
  margin: 0 auto 0 0;
  float: left;
}
.the-content img.aligncenter {
  display: block;
  margin: 0 auto;
}
