/*--------------------------------------------------------
全体共通CSS
----------------------------------------------------------*/
:root {
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-lightblack: #222222;
  --color-main: #1F4896;
  --color-lightgray: #F4F7F8;
  --color-sub: #AABCD4;
  --bg-gray: #FCFCFC;
  --font-main: "Hiragino Sans","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN","Helvetica Neue","MS PGothic",sans-serif;
}
* {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Helvetica Neue", "Helvetica", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
a {
  outline: none;
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  text-decoration: none;
}
a:focus {
  outline: none;
}
a:visited {
  color: unset;
}
ul {
  padding: 0;
  margin: 0;
}
li {
  list-style: none;
}
main {
  overflow: hidden;
}
img {
  width: 100%;
  height: auto;
}
table {
  border-collapse: collapse;
}
p {
  margin: 0;
  padding: 0;
}
.post, 
.page {
  margin: 0;
}
.inner {
  width: 80%;
  max-width: 1140px;
  margin: auto;
  padding: 90px 0;
}
.flex-container {
  display: flex;
  justify-content: space-around;
  max-width: 1100px;
  margin: auto;
}
.desc {
  line-height: 1.8;
  font-size: 0.9rem;
}
.noscroll {
  overflow: hidden;
  height: 100%;
}
@media only screen and (max-width: 1080px) {
  .inner {
    width: 90%;
    padding: 60px 0;
  }
}

@media only screen and (max-width: 767px) {
  .inner {
    padding: 40px 0;
  }
}
/* 2カラムセクション */
.top-column-flex {
  display: grid;
  position: relative;
}
.top-column-flex.left {
  grid-template-columns: 1fr 1.55fr;
}
.top-column-flex.right {
  grid-template-columns: 1.55fr 1fr;
}
.top-column-flex .item-text {
  position: relative;
  z-index: 2;
  width: 130%;
}
.top-column-flex.right .item-text {
  left: -30%;
}
.top-column-flex.right .item-text .main-ttl {
  padding-right: 80px;
}
.top-column-flex.right .item-text .sub-ttl {
  justify-content: end;
  padding-right: 160px;
}
.top-column-flex .item-image {
  position: relative;
  z-index: 1;
  aspect-ratio: 800/530;
}
.top-column-flex .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

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

}

@media only screen and (max-width: 767px) {
  .top-column-flex.left,
  .top-column-flex.right {
    grid-template-columns: 1fr;
  }
  .top-column-flex.right {
    grid-auto-flow: row dense;
  }
  .top-column-flex.right .item-text {
    order: 1;
    left: unset;
  }
  .top-column-flex.right .item-image {
    order: 2;
  }
  .top-column-flex .item-text {
    width: 95%;
  }
  .top-column-flex .item-image {
    width: 95%;
    top: -10%;
    right: -5%;
  }
}

/* 共通ボックステキスト */
.box-text {
  background-color: var(--bg-gray);
  padding: 40px 30px;
}
.box-text .main-text {
  color: var(--color-main);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 2;
}
.box-text .sub-text {
  color: var(--color-main);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.8;
  margin-top: 40px;
  padding-top: 40px;
  position: relative;
}
.box-text .sub-text::before {
  content: "";
  width: 60%;
  height: 1px;
  background-color: var(--color-main);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.box-text .sub-text.left::before {
  left: 0;
  transform: translateX(0);
}

@media only screen and (max-width: 1080px) {
  .box-text {
    padding: 20px;
  }
  .box-text .main-text {
    font-size: 1.2rem;
  }
  .box-text .sub-text {
    margin-top: 20px;
    padding-top: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .box-text .main-text {
    font-size: 1rem;
  }
  .box-text .sub-text {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 0.8rem;
  }
}

/* お問い合わせ・採用セクション */
.wide-flex-common {
  display: flex;
}
.wide-flex-common.right {
  flex-direction: row-reverse;
}
.wide-flex-common .item-image {
  width: 55%;
  height: 32vw;
  position: relative;
  min-height: 429px;
}
.wide-flex-common .item-image::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background-color: rgba(0,0,0,0.2);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
.wide-flex-common .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wide-flex-common .item-image .default-title {
  position: absolute;
  top: 50px;
  right: 50px;
  width: calc(90% - 120px);
  z-index: 1;
}
.wide-flex-common.right .item-image .default-title {
  right: unset;
  left: 50px;
}
.wide-flex-common .item-text {
  width: 45%;
  background-color: var(--color-main);
}
.wide-flex-common.left .item-text {
  padding: 50px;
}
.wide-flex-common.right .item-text {
  padding: 50px;
}
.wide-flex-common.right .item-text .text-inner {
  margin-left: auto;
}
.wide-flex-common .item-text .text-inner {
  width: fit-content;
  color: var(--color-white);
}
.wide-flex-common .item-text .text-inner h3 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 2;
}
.wide-flex-common .item-text .text-inner .icon {
  margin: 15px 0;
  position: relative;
  width: 60%;
}
.wide-flex-common .item-text .text-inner .icon::before {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--color-white);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.wide-flex-common .item-text .text-inner .icon .icon-square {
  background-color: var(--color-white);
  margin: 0 auto;
}
.wide-flex-common .item-text .text-inner p {
  font-size: 0.9rem;
  line-height: 2;
}
.wide-flex-common .item-text .text-inner .default-btn {
  margin-top: 30px;
}

@media only screen and (max-width: 1080px) {
  .wide-flex-common.right .item-text {
    padding: 30px 20px 30px 30px;
  }
  .wide-flex-common.left .item-text {
    padding: 30px 30px 30px 20px;
  }
  .wide-flex-common .item-text .text-inner h3 {
    font-size: 1.2rem;
    line-height: 1.8;
  }
  .wide-flex-common .item-image {
    width: 50%;
    min-height: 346px;
  }
  .wide-flex-common .item-text {
    width: 50%;
  }
  .wide-flex-common .item-image .default-title {
    right: 30px;
    width: calc(90% - 30px);
  }
  .wide-flex-common.right .item-image .default-title {
    left: 30px;
  }
  .wide-flex-common .item-text .text-inner p {
    font-size: 0.8rem;
    line-height: 1.8;
  }
}

@media only screen and (max-width: 767px) {
  .wide-flex-common,
  .wide-flex-common.right {
    flex-direction: column;
  }
  .wide-flex-common .item-image {
    width: 100%;
    min-height: unset;
    height: 50vw;
  }
  .wide-flex-common .item-text {
    width: 100%;
  }
  .wide-flex-common.right .item-text,
  .wide-flex-common.left .item-text {
    padding: 30px;
  }
  .wide-flex-common.right .item-text .text-inner {
    margin: auto;
  }
  .wide-flex-common .item-text .text-inner h3 {
    font-size: 1.1rem;
  }
  .wide-flex-common .item-text .text-inner .icon {
    margin: 10px auto;
  }
  .wide-flex-common .item-image .default-title {
    right: unset;
    width: calc(90% - 30px);
    left: 20px;
    top: 25px;
  }
  .wide-flex-common .item-image .default-title .main-ttl {
    font-size: 1.8rem;
  }
  .wide-flex-common .item-image .default-title .sub-ttl {
    font-size: 1rem;
  }
}

/* デフォルトテーブル */
.default-table {
  border-collapse: separate;
  border-spacing: 6px;
  margin: 0;
}
.default-table th {
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 20px;
  text-align: left;
  width: 25%;
}
.default-table td {
  background-color: #FCFCFC;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 20px;
  width: 75%;
  line-height: 1.8;
}
.default-table td a {
  color: #404040;
}

@media only screen and (max-width: 767px) {
  .default-table th,
  .default-table td {
    font-size: 0.7rem;
    padding: 20px 10px;
  }
}

@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
@media only screen and (min-width: 1081px) {
  .tb,
  .sp {
    display: none;
  }
  .pc {
    display: block;
  }
}
@media only screen and (max-width: 1080px) and (min-width: 768px) {
  .pc,
  .sp {
    display: none;
  }
  .tb {
    display: block;
  }
}
@media only screen and (max-width: 767px) {
  .pc,
  .tb {
    display: none;
  }
  .sp {
    display: block;
  }
}