@charset "UTF-8";

/* --- 共通設定 --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: min(100px, 9.09vw);
}

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
p,
a,
li,
th,
td,
span {
  font-family: "Noto Sans", sans-serif;
}

li {
  list-style: none;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

.main {
  background-color: #2f2f2f;
  background-image: url(../image/top-back7.png);
  background-repeat: no-repeat;
  background-size: cover;
}

/* --- コンテナ設定 --- */
img {
  max-width: 100%;
  height: auto;
  border-style: none;
  display: block;
}

/* 消してる要素 */
.sp-header,
.sp,
.sp-footer {
  display: none;
}

/* アニメーションの動き */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

/* 画面に入った時に付与するクラス */
.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* --- ヘッダー --- */
#header {
  width: 100%;
  height: min(105px, 7.78vw);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 9999;
}

.header-container {
  width: 100%;
  height: 100%;
}

.header-box {
  height: 100%;
}

.header {
  display: flex;
  justify-content: space-between;
}

.header a:hover {
  opacity: 1;
}

.header-logo {
  display: flex;
  align-items: center;
  padding-left: min(25px, 1.85vw);
}

.header-logo img {
  width: min(276px, 20.44vw);
  height: auto;
}

.header-right {
  display: flex;
  flex-direction: column;
  gap: min(20px, 1.48vw);
  padding-right: min(25px, 1.85vw);
}

.header-contact {
  display: flex;
  justify-content: flex-end;
  gap: min(20px, 1.48vw);
  height: min(45px, 3.33vw);
}

.header-tel {
  display: flex;
  align-items: center;
  gap: min(8px, 0.59vw);
}

.header-mail {
  display: flex;
  align-items: center;
  gap: min(8px, 0.59vw);
  padding: 0 min(10px, 0.74vw);
  background-color: #0f2757;
  transition: background-color 0.3s;
}

.header-mail:hover {
  background-color: #232323;
}

.header-tel-icon {
  display: block;
  width: min(24px, 1.78vw);
  height: min(24px, 1.78vw);
  background-image: url(../image/part1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.header-tel:hover .header-tel-icon {
  background-image: url(../image/part2.png);
}

.header-tel-num {
  color: #fff;
  font-size: min(18px, 1.33vw);
  transition: color 0.3s;
}

.header-tel:hover .header-tel-num {
  color: #e41511;
}

.header-mail-icon {
  display: block;
  width: min(18px, 1.33vw);
  height: min(18px, 1.33vw);
  background-image: url(../image/part3.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.header-mail-text {
  color: #fff;
  font-size: min(14px, 1.04vw);
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: min(40px, 2.96vw);
}

.header-nav-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(2px, 0.15vw);
}

.header-nav-en {
  font-size: min(14px, 1.04vw);
  font-weight: 700;
  font-family: "Stack Sans Text", sans-serif;
  color: #e41511;
  transition: color 0.3s;
}

.header-nav-list li a:hover .header-nav-en {
  color: #fcd609;
}

.header-nav-ja {
  font-size: min(14px, 1.04vw);
  color: #fff;
}

/* --- main-v --- */
.main-v-container {
  position: relative;
  width: 100%;
  height: calc(780 / 1440 * 100vw);
  background-image: url(../image/top-back1.png);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.main-v-meiken {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: min(256px, 17.78vw);
  font-weight: bold;
  font-family: "Science Gothic", sans-serif;
  color: #f5f5f5;
  opacity: 0.4;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: min(50px, 3.47vw);
  z-index: 1;
}

.main-v-deco {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(350px, 25.93vw);
  height: min(502px, 37.19vw);
  background-image: url(../image/top-back6.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  z-index: 2;
}

.main-v-title {
  position: absolute;
  bottom: min(105px, 7.78vw);
  left: min(50px, 3.7vw);
  z-index: 3;
}

.main-v-title h1 {
  font-size: min(64px, 4.44vw);
  color: #fff;
  font-weight: bold;
  line-height: 1.3;
}

.p1-a-container {
  padding: min(100px, 7.41vw) 0;
}

.p1-a-box {
  width: min(1120px, 82.96vw);
  padding: 0 min(25px, 1.85vw);
  margin: 0 auto;
}

.topics-item {
  display: flex;
  align-items: center;
  gap: min(40px, 2.96vw);
  text-decoration: none;
  color: #fff;
}

.topics-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.topics-en {
  font-size: min(24px, 1.78vw);
  font-weight: bold;
  font-family: "Stack Sans Text", sans-serif;
  line-height: 1;
  letter-spacing: 0.05em;
}

.topics-ja {
  font-size: min(18px, 1.33vw);
  font-weight: bold;
  line-height: 1;
  margin-top: min(10px, 0.74vw);
}

.topics-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

.topics-year {
  font-size: min(14px, 1.04vw);
  font-weight: bold;
  font-family: "Stack Sans Text", sans-serif;
}

.topics-day {
  font-size: min(18px, 1.33vw);
  font-weight: bold;
  font-family: "Stack Sans Text", sans-serif;
  margin-top: min(4px, 0.3vw);
}

.topics-title {
  font-size: min(14px, 1.04vw);
  font-weight: bold;
  line-height: 1.5;
}

/* --- p1-b --- */
.p1-b {
  overflow-x: hidden;
}

.p1-b-container {
  height: min(923px, 68.37vw);
  background-image: url(../image/top-img1.png), url(../image/top-back2.png);
  background-repeat: no-repeat;
  background-size:
    min(480px, 35.56vw) auto,
    cover;
  background-position:
    right bottom max(-55px, -4.07vw),
    center;
  position: relative;
}

.p1-b-h2 {
  position: absolute;
  left: max(-36px, -2.67vw);
  top: 0;
  z-index: 2;
}

.p1-b-h2 h2 {
  font-size: min(128px, 9.48vw);
  font-family: "Stack Sans Text", sans-serif;
  color: #fff;
  letter-spacing: min(2px, 0.15vw);
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.p1-b-box {
  display: flex;
  height: 100%;
}

.p1-b-content {
  width: min(1174px, 86.96vw);
  background-color: rgba(245, 245, 245, 0.7);
  position: relative;
  padding-top: min(80px, 5.93vw);
  margin-left: auto;
}

.p1-b-inner {
  padding: 0 min(60px, 4.44vw) 0 min(70px, 5.19vw);
  position: relative;
  z-index: 1;
  width: 100%;
}

.p1-b-title {
  font-size: min(36px, 2.67vw);
  font-weight: bold;
  font-family: "Stack Sans Text", sans-serif;
  text-shadow:
    -1px -1px 0 #fff,
    0 -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 0 0 #fff,
    1px 0 0 #fff,
    -1px 1px 0 #fff,
    0 1px 0 #fff,
    1px 1px 0 #fff;
  line-height: 1.4;
  letter-spacing: min(10px, 0.74vw);
  margin-bottom: min(25px, 1.85vw);
}

.p1-b-title em {
  font-size: min(80px, 5.93vw);
  font-style: normal;
  color: #e41511;
}

.p1-b-title em:last-child {
  color: #273c67;
}

.p1-b-lead {
  width: min(803px, 59.48vw);
  font-size: min(16px, 1.19vw);
  font-weight: bold;
  line-height: 2.3;
  letter-spacing: min(2px, 0.15vw);
}

.p1-b-lead2 {
  width: min(805px, 59.63vw);
  font-size: min(24px, 1.78vw);
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: min(2px, 0.15vw);
  margin-top: min(40px, 2.96vw);
}

.p1-b-link {
  margin-top: min(50px, 3.7vw);
}

.p1-b-link .view-more {
  margin: 0 auto;
}

.p1-c-container {
  background-image: url(../image/top-back3.png), url(../image/top-back4.png);
  background-repeat: no-repeat;
  background-size:
    calc(960 / 1440 * 100vw) auto,
    100% auto;
  background-position:
    top calc(-530 / 1440 * 100vw) left,
    top calc(-282 / 1440 * 100vw) left;
  padding: min(100px, 7.41vw) 0;
}

.p1-c-box {
  width: min(1230px, 91.11vw);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto;
}

.p1-c-text {
  width: min(515px, 38.15vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  position: relative;
  z-index: 2;
  padding: min(84px, 6.22vw) 0;
  margin-right: max(-20px, -1.48vw);
}

.p1-c-text img {
  width: min(358px, 26.52vw);
  height: auto;
}

.p1-c-text p {
  font-size: min(20px, 1.48vw);
  font-weight: bold;
  font-family: "Stack Sans Text", sans-serif;
  padding-top: min(25px, 1.85vw);
}

.p1-c-link2 .view-more {
  margin: min(50px, 3.7vw) auto 0;
}

.p1-c-img {
  width: min(710px, 52.59vw);
  margin-left: max(-20px, -1.48vw);
}

.p1-c-box2 {
  width: min(740px, 54.81vw);
  margin: min(45px, 3.33vw) auto 0;
}

.p1-c-text2 p {
  font-size: min(16px, 1.19vw);
  color: #fff;
  line-height: 2;
}

.p1-c-link-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: min(60px, 4.44vw);
}

.p1-c-link {
  margin-left: max(-30px, -2.22vw);
}

.p1-c-link:nth-of-type(1) {
  margin-left: 0;
}

.p1-c-link:nth-of-type(even) {
  margin-top: min(20px, 1.48vw);
}

.p1-c-link a:hover {
  width: min(300px, 22.22vw);
  height: min(155px, 11.48vw);
  position: relative;
  z-index: 2;
  opacity: 1;
}

.p1-c-link a {
  width: min(270px, 20vw);
  height: min(140px, 10.37vw);
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../image/part5.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p1-c-link a span {
  font-size: min(20px, 1.48vw);
  color: #fff;
  position: relative;
}

.p1-c-link a span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + min(12px, 0.89vw));
  transform: translateY(-50%);
  width: min(12px, 0.89vw);
  height: min(24px, 1.78vw);
  background-image: url(../image/part4.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.p1-d {
  overflow: hidden;
}

.p1-d-container {
  position: relative;
}

.p1-d .p1-img {
  width: min(220px, 16.3vw);
}

.p1-d .p1-p p {
  color: #fff;
}

.p1-d-img {
  width: min(250px, 18.52vw);
  margin: min(48px, 3.56vw) auto 0;
}

.p1-d-text {
  text-align: center;
  position: relative;
  z-index: 3;
  padding-bottom: min(24px, 1.67vw);
  margin-top: min(70px, 5.19vw);
}

.p1-d-text p {
  font-size: min(16px, 1.19vw);
  color: #fff;
  line-height: 1.5;
}

.p1-d-back {
  position: absolute;
  left: 50%;
  bottom: max(-36px, -2.5vw);
  z-index: 2;
  transform: translateX(-50%);
}

.p1-d-back p {
  font-size: min(128px, 8.89vw);
  font-weight: bold;
  color: rgba(245, 245, 245, 0.1);
}

.p1-e-container {
  padding: min(150px, 11.11vw) 0;
}

.p1-e-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: calc(40 / 1440 * 100vw);
}

.p1-e .p1-img {
  width: min(310px, 22.96vw);
}

.p1-e .p1-p {
  color: #fff;
}

.p1-e .view-more {
  margin: min(50px, 3.7vw) auto 0;
}

.p1-e-img-box {
  width: calc(930 / 1440 * 100vw);
}

.marqueer {
  margin: min(10px, 0.74vw) 0;
  overflow: hidden;
}

.marqueer ul {
  display: flex;
  margin: 0;
  padding: 0;
  width: max-content;
}

.marqueer ul li {
  list-style: none;
  padding: 0 min(13px, 0.96vw);
  width: min(515px, 38.15vw);
  flex-shrink: 0;
}

.marqueer img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.p1-f {
  padding-bottom: min(150px, 11.11vw);
}

.p1-f-container {
  width: min(1120px, 82.96vw);
  padding: min(60px, 4.44vw) 0;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  margin: 0 auto;
}

.p1-f .p1-img {
  width: min(404px, 29.93vw);
}

.p1-f .p1-p {
  color: #fff;
}

.p1-f-text {
  text-align: center;
  margin-top: min(35px, 2.59vw);
}

.p1-f-text p {
  font-size: min(16px, 1.19vw);
  font-weight: bold;
  color: #fff;
  line-height: 2;
}

.p1-f-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(50px, 3.7vw);
  margin-top: min(60px, 4.44vw);
}

.p1-f-tel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(14px, 1.04vw);
}

.p1-f-tel img {
  width: min(36px, 2.67vw);
  height: auto;
  transition: 0.3s;
}

.p1-f-tel span {
  font-size: min(36px, 2.67vw);
  font-weight: bold;
  color: #fff;
  letter-spacing: min(2px, 0.15vw);
  transition: 0.3s;
}

.p1-f-tel:hover img {
  content: url(../image/part6.png);
}

.p1-f-tel:hover span {
  color: #fcd609;
}

.p1-f-mail {
  width: min(370px, 27.41vw);
  height: min(65px, 4.81vw);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(14px, 1.04vw);
  background-color: #0f2757;
}

.p1-f-mail img {
  width: min(24px, 1.78vw);
  height: auto;
  margin-top: min(4px, 0.3vw);
}

.p1-f-mail span {
  font-size: min(24px, 1.78vw);
  color: #fff;
  letter-spacing: min(2px, 0.15vw);
}

.p1-f-mail:hover {
  background-color: #000;
}

.p1-g {
  position: relative;
  overflow: hidden;
}

.p1-g-container {
  position: relative;
  height: min(436px, 30.28vw);
  background-image: url(../image/top-back5.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  overflow: visible;
}

.p1-g-container::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: min(226px, 15.69vw);
  background-color: #2f2f2f;
  background-image: url(../image/top-back7.png);
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: 1;
}

.p1-g-box {
  width: min(1120px, 77.78vw);
  position: relative;
  z-index: 2;
  padding-top: min(55px, 3.82vw);
  margin: 0 auto;
}

.p1-g .p1-title {
  width: min(360px, 25vw);
  align-items: flex-start;
}

.p1-g .p1-p {
  color: #fff;
}

.p1-g-container {
  position: relative;
  overflow: visible;
}

.p1-g-img {
  display: flex;
  gap: min(30px, 2.08vw);
  margin-top: min(40px, 2.78vw);
  position: relative;
  z-index: 2;
}

.p1-g-img img {
  width: min(350px, 24.31vw);
}

.p1-g-box2 {
  width: min(1120px, 77.78vw);
  padding-bottom: min(100px, 6.94vw);
  margin: min(40px, 2.78vw) auto 0;
}

.p1-g-text {
  margin-top: min(40px, 2.78vw);
}

.p1-g-text p {
  font-size: min(16px, 1.11vw);
  color: #fff;
  line-height: 2;
}

.p1-g .view-more {
  margin: min(50px, 3.47vw) auto 0;
}

/* --- （共通） --- */
.view-more {
  width: min(244px, 18.07vw);
  height: min(55px, 4.07vw);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  position: relative;
  box-shadow: 0 0 min(15px, 1.11vw) rgba(0, 0, 0, 0.25);
  border-radius: min(50px, 3.7vw);
}

.view-more-circle {
  width: min(45px, 3.33vw);
  height: min(45px, 3.33vw);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0f2757;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: min(5px, 0.37vw);
  z-index: 2;
  transform: translateY(-50%);
}

.view-more-circle img {
  width: min(12px, 0.89vw);
  height: min(24px, 1.78vw);
}

.view-more-text {
  font-size: min(16px, 1.19vw);
  font-family: "Stack Sans Text", sans-serif;
  font-weight: bold;
  letter-spacing: min(2px, 0.15vw);
}

.view-more:hover {
  opacity: 1;
  background-color: #0f2757;
  border: min(5px, 0.37vw) solid #fff;
}

.view-more:hover .view-more-text {
  opacity: 1;
  color: #fff;
}

.view-more:hover .view-more-circle {
  background-color: transparent;
  left: 0;
}

.p1-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(25px, 1.85vw);
}

.p1-p {
  font-size: min(20px, 1.48vw);
  font-weight: bold;
  font-family: "Stack Sans Text", sans-serif;
}

/* 事業内容 */
.service .sub-v-container {
  background-image: url(../image/p2-back1.png);
}

.p2-a-container {
  background-image: url(../image/p2-back3.png), url(../image/p2-back2.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position:
    bottom center,
    top center;
  padding: min(100px, 6.94vw) 0 min(140px, 9.72vw);
}

.p2-a-box {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: min(170px, 11.81vw);
}

.p2-a-box:first-child {
  margin-top: 0;
}

.p2-a-box.reverce {
  flex-direction: row-reverse;
}

.p2-a-item {
  width: min(821px, 57.01vw);
  position: relative;
  z-index: 2;
  margin-right: max(-517px, -35.9vw);
  margin-bottom: max(-70px, -4.86vw);
}

.p2-a-box.reverce .p2-a-item {
  margin-right: 0;
  margin-left: max(-517px, -35.9vw);
}

.p2-a-title {
  position: absolute;
  right: 0;
  top: max(-130px, -9.03vw);
  z-index: 5;
  text-align: right;
}

.p2-a-title h3 {
  font-size: min(128px, 8.89vw);
  font-weight: 500;
  color: rgba(15, 39, 87, 0.8);
  letter-spacing: min(4px, 0.28vw);
  text-shadow: min(4px, 0.28vw) min(4px, 0.28vw) 0 rgba(255, 255, 255, 0.7);
}

.p2-a-box.reverce .p2-a-title h3 {
  color: rgba(228, 21, 17, 0.8);
}

.p2-a-text {
  background-color: rgba(255, 255, 255, 0.5);
  padding: min(45px, 3.13vw);
}

.p2-a-text p {
  font-size: min(16px, 1.11vw);
  line-height: 2;
  letter-spacing: min(2px, 0.14vw);
}

.p2-a-img {
  width: calc(1010 / 1440 * 100vw);
}

/* 事業内容 */
.works .sub-v-container {
  background-image: url(../image/p3-back1.png);
}

.p3-a-container {
  background-image: url(../image/p3-back2.png), url(../image/p3-back3.png);
  background-repeat: no-repeat;
  background-size:
    cover,
    min(1254px, 87.08vw) auto;
  background-position:
    top center,
    top min(308px, 21.39vw) center;
  padding: min(100px, 6.94vw) 0;
}

.p3-a-p {
  text-align: center;
}

.p3-a-p p {
  font-size: min(20px, 1.39vw);
  color: #333;
  line-height: 2;
  letter-spacing: 0.1em;
}

.p3-a-box {
  width: min(1120px, 77.78vw);
  margin: min(45px, 3.13vw) auto 0;
  display: grid;
  grid-template-columns: repeat(3, min(350px, 24.31vw));
  gap: min(35px, 2.43vw);
}

.p3-a-item a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.p3-a-img img {
  width: min(350px, 24.31vw);
  height: min(250px, 17.36vw);
  object-fit: cover;
  display: block;
}

.p3-a-title {
  font-size: min(16px, 1.11vw);
  font-weight: bold;
  color: #000;
  line-height: 1.5;
  margin-top: min(10px, 0.69vw);
}

.p3-a-text {
  font-size: min(16px, 1.11vw);
  font-weight: bold;
  line-height: 2;
}

/* 採用情報 */
.recruit .sub-v-container {
  background-image: url(../image/p4-back1.png);
}

.p4-a-container {
  background-image:
    url(../image/p4-back3.png), url(../image/p4-back2.png),
    url(../image/p3-back2.png);
  background-repeat: no-repeat;
  background-size:
    min(1254px, 87.08vw) auto,
    100% auto,
    cover;
  background-position:
    bottom max(-150px, -10.42vw) center,
    top max(-458px, -31.81vw) center,
    center center;
  padding: min(100px, 6.94vw) 0;
}

.p4-a-box {
  position: relative;
}

.p4-a-img-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p4-a-img {
  width: calc(720 / 1440 * 100vw);
}

.p4-a-img2 {
  width: calc(795 / 1440 * 100vw);
  position: relative;
  z-index: 5;
  margin-top: min(45px, 3.13vw);
  margin-left: max(-45px, -3.13vw);
}

.p4-a-item {
  width: min(848px, 58.89vw);
  margin: min(100px, 6.94vw) auto 0;
}

.p4-a-title p {
  font-size: min(48px, 3.33vw);
  color: #fff;
  letter-spacing: 0.1em;
}

.p4-a-title p:last-child {
  text-align: right;
}

.p4-a-title p:first-child span {
  font-size: min(128px, 8.89vw);
  color: #f1110b;
  letter-spacing: 0.1em;
}

.p4-a-title p:last-child span {
  font-size: min(128px, 8.89vw);
  color: #ffbd01;
  letter-spacing: 0.1em;
}

.p4-a-text {
  width: min(426px, 29.58vw);
  margin: min(30px, 2.08vw) auto 0;
}

.p4-a-text p {
  font-size: min(16px, 1.11vw);
  color: #fff;
  line-height: 2;
  letter-spacing: min(2px, 0.14vw);
}

.p4-a-img3 {
  width: min(340px, 23.61vw);
  position: absolute;
  left: 0;
  bottom: max(-190px, -13.19vw);
  z-index: 5;
}

.p4-b-container {
  background-image: url(../image/p2-back3.png), url(../image/p3-back2.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position:
    bottom center,
    top center;
  padding: min(80px, 5.56vw) 0 min(150px, 10.42vw);
}

.p4-b-box {
  width: min(1120px, 77.78vw);
  background-color: #fff;
  padding: min(90px, 6.25vw) min(80px, 5.56vw);
  margin: 0 auto;
}

.p4-b-title {
  display: flex;
  align-items: center;
  gap: min(50px, 3.47vw);
}

.p4-b-title h3 {
  font-size: min(24px, 1.67vw);
  font-family: "Stack Sans Text", sans-serif;
  color: #273c67;
}

.p4-b-title p {
  font-size: min(20px, 1.39vw);
  letter-spacing: min(2px, 0.14vw);
}

.p4-b-table {
  width: 100%;
  margin-top: min(20px, 1.39vw);
}

.p4-b-table table {
  width: 100%;
  border-spacing: min(30px, 2.08vw);
}

.p4-b-table table th,
.p4-b-table table td {
  font-size: min(20px, 1.39vw);
  font-weight: 400;
}

.p4-b-table table th {
  width: min(172px, 11.94vw);
  color: #fff;
  background-color: #013763;
  padding: min(20px, 1.39vw) 0;
}

.p4-b .p1-f-mail {
  margin: min(30px, 2.08vw) auto 0;
}

/* 会社概要 */
.company .sub-v-container {
  background-image: url(../image/p5-back1.png);
}

.p5-a-container {
  background-image: url(../image/p5-back3.png), url(../image/p5-back2.png);
  background-repeat: no-repeat;
  background-size:
    cover,
    min(1254px, 87.08vw) auto;
  background-position:
    top center,
    top min(308px, 21.39vw) center;
  padding: min(100px, 6.94vw) 0;
}

.p5-a-box {
  width: min(1382px, 95.97vw);
  display: flex;
  gap: min(55px, 3.82vw);
  margin: 0 auto;
}

.p5-a-img {
  width: min(555px, 38.54vw);
}

.p5-a-item {
  width: min(772px, 53.61vw);
}

.p5-a-title {
  display: flex;
  align-items: center;
  gap: min(50px, 3.47vw);
  padding-bottom: min(10px, 0.69vw);
}

.p5-a-title h3 {
  font-size: min(24px, 1.67vw);
  font-family: "Stack Sans Text", sans-serif;
}

.p5-a-title p {
  font-size: min(20px, 1.39vw);
  letter-spacing: min(2px, 0.14vw);
}

.p5-a-text {
  width: 100%;
  position: relative;
  margin-top: min(33px, 2.29vw);
}

.p5-a-text span {
  width: min(158px, 10.97vw);
  font-size: min(16px, 1.11vw);
  color: #fff;
  letter-spacing: min(2px, 0.14vw);
  display: inline-block;
  position: absolute;
  left: 0;
  top: max(-20px, -1.39vw);
  z-index: 5;
  background-image: url(../image/p5-back4.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: min(10px, 0.69vw) 0 min(10px, 0.69vw) min(20px, 1.39vw);
}

.p5-a-text p {
  width: min(639px, 44.38vw);
  font-size: min(16px, 1.11vw);
  letter-spacing: min(2px, 0.14vw);
  background-color: #fff;
  padding: min(10px, 0.69vw) 0 min(10px, 0.69vw) min(40px, 2.78vw);
  box-shadow: max(-2px, -0.14vw) max(-2px, -0.14vw) 0 rgba(0, 0, 0, 0.1);
  margin-left: auto;
}

.p5-a-map {
  width: min(1120px, 77.78vw);
  margin: min(60px, 4.17vw) auto 0;
}

.p5-a-map .yahoo-map-responsive iframe,
.p5-a-map .yahoo-map-responsive div {
  width: 100% !important;
  height: min(350px, 24.31vw) !important;
}

/* お問い合わせ */
.contact .sub-v-container {
  background-image: url(../image/p6-back1.png);
}

.p6-a-container {
  background-image: url(../image/p5-back3.png), url(../image/p6-back2.png);
  background-repeat: no-repeat;
  background-size:
    cover,
    min(1254px, 87.08vw) auto;
  background-position:
    top center,
    top min(308px, 21.39vw) center;
  padding: min(100px, 6.94vw) 0;
}

.p6-a-title {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.p6-a-title h3 {
  font-size: min(24px, 1.67vw);
  font-family: "Stack Sans Text", sans-serif;
  color: #273c67;
}

.p6-a-title p {
  font-size: min(20px, 1.39vw);
  letter-spacing: min(2px, 0.14vw);
}

.p6-a-box {
  width: min(1078px, 74.86vw);
  background-color: rgba(254, 254, 254, 0.8);
  padding: min(50px, 3.47vw) min(55px, 3.82vw);
  margin: min(40px, 2.78vw) auto 0;
}

.p6-a-lead {
  text-align: center;
  font-size: min(16px, 1.11vw);
  line-height: 1.8;
  letter-spacing: min(2px, 0.14vw);
}

.contact-table {
  width: 100%;
}

.contact-row {
  display: flex;
  padding: min(22px, 1.53vw) 0;
  border-bottom: 1px solid #d9d9d9;
}

.contact-row.textarea-row {
  border-bottom: none;
}

.contact-head {
  width: min(280px, 19.44vw);
  flex-shrink: 0;
}

.contact-head p {
  display: flex;
  align-items: center;
  gap: min(5px, 0.35vw);
}

.required {
  width: min(42px, 2.92vw);
  height: min(24px, 1.67vw);
  border-radius: 999px;
  background-color: #e60012;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: min(10px, 0.69vw);
  color: #fff;
  line-height: 1;
}

.contact-label {
  font-size: min(16px, 1.11vw);
  font-weight: bold;
  color: #333;
}

.contact-body {
  flex: 1;
}

.contact-body input,
.contact-body textarea {
  width: 100%;
  height: min(30px, 2.08vw);
  border: none;
  background-color: #f3f3f3;
  padding: min(16px, 1.11vw) min(20px, 1.39vw);
  font-size: min(16px, 1.11vw);
  box-sizing: border-box;
}

.contact-body textarea {
  height: min(130px, 9.03vw);
  resize: vertical;
}

.contact-radio .wpcf7-list-item {
  margin: 0 min(40px, 2.78vw) 0 0;
}

.contact-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: min(12px, 0.83vw);
  cursor: pointer;
}

.contact-radio input[type="radio"] {
  width: min(24px, 1.67vw);
  height: min(24px, 1.67vw);
}

.contact-radio .wpcf7-list-item-label {
  font-size: min(16px, 1.11vw);
}

.contact-submit {
  display: flex;
  justify-content: center;
  margin-top: min(60px, 4.17vw);
}

.contact-submit-btn {
  width: min(290px, 20.14vw);
  height: min(47px, 3.26vw);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(10px, 0.69vw);
  border: none;
  cursor: pointer;
  background-color: #0f2757;
  transition: 0.3s;
  border-radius: min(50px, 3.47vw);
}

.contact-submit-icon img {
  width: min(18px, 1.25vw);
  height: auto;
  display: block;
}

.contact-submit-text {
  font-size: min(16px, 1.11vw);
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.08em;
}

.contact-submit-btn:hover {
  background-color: #000;
}

.contact-submit .wpcf7-spinner {
  display: none;
}

.p6-a-box2 {
  width: min(1078px, 74.86vw);
  background-color: #fff;
  padding: min(37px, 2.57vw) min(35px, 2.43vw);
  margin: min(40px, 2.78vw) auto 0;
}

.p6-a-title2 {
  text-align: center;
}

.p6-a-title2 h2 {
  font-size: min(24px, 1.67vw);
  color: #333;
}

.p6-a-item2 {
  height: min(210px, 14.58vw);
  overflow: auto;
  margin-top: min(24px, 1.67vw);
}

.p6-a-item2::-webkit-scrollbar {
  width: 5px;
}

.p6-a-item2::-webkit-scrollbar-thumb {
  background: #d9d9d9;
}

.p6-a-text2 {
  padding-right: min(20px, 1.39vw);
  margin-top: min(40px, 2.78vw);
}

.p6-a-text2:first-child {
  margin-top: 0;
}

.p6-a-text2 h3 {
  font-size: min(16px, 1.11vw);
  font-weight: bold;
  color: #3a568c;
  line-height: 2;
}

.p6-a-text2 p,
.p6-a-text2 ul li {
  font-size: min(16px, 1.11vw);
  color: #333;
  line-height: 2;
}

.p6-a-text2 ul ul {
  padding-left: min(20px, 1.39vw);
}

/* 下層共通 */
.sub-v {
  width: 100%;
  height: calc(340 / 1440 * 100vw);
}

.sub-v-container {
  width: 100%;
  height: 100%;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
}

.sub-b-title {
  position: absolute;
  left: min(160px, 11.11vw);
  bottom: max(-50px, -3.47vw);
  z-index: 5;
}

.sub-b-title p {
  font-size: min(32px, 2.22vw);
  color: #fff;
  letter-spacing: min(2px, 0.14vw);
}

.sub-b-title h1 {
  margin-top: min(35px, 2.43vw);
}

.sub-b-title h1 span {
  font-size: min(78px, 5.42vw);
  font-family: "Stack Sans Text", sans-serif;
  color: #fff;
  letter-spacing: min(4px, 0.28vw);
  position: relative;
  display: inline-block;
  text-shadow: 0 min(4px, 0.28vw) min(10px, 0.69vw) rgba(0, 0, 0, 0.15);
}

.sub-b-title h1 span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(358px, 24.86vw);
  height: min(4px, 0.28vw);
  background-color: #fff;
}

/* パンくず */
.sub-item {
  background-image: url(../image/p5-back3.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.sub-item-box {
  width: min(1120px, 82.96vw);
  padding: min(25px, 1.85vw) 0;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: min(16px, 1.19vw);
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb a,
.breadcrumb span {
  font-size: min(16px, 1.19vw);
  color: #787878;
  text-decoration: none;
  line-height: 1;
}

.breadcrumb img {
  display: block;
}

.breadcrumb li:first-child img {
  width: min(24px, 1.78vw);
  height: auto;
}

.breadcrumb-arrow img {
  width: min(10px, 0.74vw);
  height: auto;
}

/* お知らせ内容 1100で可変 */
.single-container {
  width: 100%;
  padding: min(60px, 5.45vw) 0;
}

.single-box {
  width: min(1000px, 90.91vw);
  margin: 0 auto;
}

.single-title {
  font-size: min(32px, 2.91vw);
  font-weight: 600;
  margin-bottom: min(30px, 2.73vw);
  line-height: 1.4;
}

.single-img {
  width: 100%;
  max-width: min(600px, 54.55vw);
  margin-bottom: min(40px, 3.64vw);
}

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

.single-content {
  font-size: min(16px, 1.45vw);
  line-height: 1.8;
  color: #333;
}

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

/* フッター */
.footer-container {
  background-image: url(../image/footer-back1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: min(55px, 4.07vw);
}

.footer-box {
  width: min(1120px, 82.96vw);
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.footer-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(20px, 1.48vw);
}

.footer-logo {
  width: min(214px, 15.85vw);
}

.footer-text p {
  font-size: min(16px, 1.19vw);
  color: #fff;
}

.footer-right {
  width: 50%;
}

.footer-map {
  width: min(480px, 35.56vw);
}

.yahoo-map-responsive {
  width: 100%;
}

.footer-map .yahoo-map-responsive iframe,
.footer-map .yahoo-map-responsive div {
  width: 100% !important;
  height: min(225px, 16.67vw) !important;
}

.footer-nav {
  padding: min(40px, 2.96vw) 0;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(100px, 7.41vw);
}

.footer-nav li a {
  font-size: min(14px, 1.04vw);
  color: #fff;
}

.copy-right {
  width: min(1290px, 95.56vw);
  text-align: center;
  background-color: #232323;
  padding: min(20px, 1.48vw) 0;
  margin: 0 auto;
}

.copy-right p {
  font-size: min(14px, 1.04vw);
  color: #fff;
}

@media screen and (max-width: 767px) {
  /* 全体 */
  #header,
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  /* ヘッダー */
  .sp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 9999;
    display: block;
  }

  .sp-header-inner {
    display: flex;
    justify-content: space-between;
    height: 100%;
    padding: 0 15px;
    margin-top: 15px;
  }

  .sp-header-logo img {
    width: 180px;
  }

  /* ハンバーガーボタン */
  .sp-menu-btn {
    position: relative;
    width: 54px;
    height: 54px;
    background-color: #273c67;
    border: none;
    z-index: 1000;
  }

  /* 線 */
  .sp-menu-btn span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 3px;
    background-color: #fff;
    transform: translateX(-50%);
    transition: 0.3s;
  }

  /* 上 */
  .sp-menu-btn span:nth-child(1) {
    top: 20px;
  }

  /* 真ん中 */
  .sp-menu-btn span:nth-child(2) {
    top: 27px;
  }

  /* 下 */
  .sp-menu-btn span:nth-child(3) {
    top: 34px;
  }

  /* 開いた時 */
  .sp-menu-btn.is-active span:nth-child(1) {
    top: 27px;
    transform: translateX(-50%) rotate(45deg);
  }

  .sp-menu-btn.is-active span:nth-child(2) {
    opacity: 0;
  }

  .sp-menu-btn.is-active span:nth-child(3) {
    top: 27px;
    transform: translateX(-50%) rotate(-45deg);
  }

  /* 全画面メニュー */
  .sp-header-nav {
    position: fixed;
    top: 0;
    right: -255px;
    width: 255px;
    height: 100vh;
    background-color: #273c67;
    transition: 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .sp-header-nav.is-active {
    right: 0;
  }

  .sp-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sp-nav-list li {
    margin: 25px 0;
  }
  .sp-nav-list li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
  }

  .sp-nav-list li a .first-span {
    font-size: 22px;
  }

  /* 固定フッター */
  .sp-footer {
    width: 100%;
    height: 58px;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
    display: block;
  }

  .sp-footer-container {
    width: 100%;
    height: 100%;
  }

  .sp-footer-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .sp-footer-tel,
  .sp-footer-mail {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .sp-footer-tel {
    background-color: #013763;
  }

  .sp-footer-mail {
    background-color: #a0a0a0;
  }

  .sp-footer-tel img,
  .sp-footer-mail img {
    width: 17px;
    height: auto;
  }

  .sp-footer-tel span,
  .sp-footer-mail span {
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.1em;
  }

  /* --- main-v --- */
  .main-v-container {
    position: relative;
    width: 100%;
    height: 720px;
    background-image: url(../image/top-back1.png);
    background-size: cover;
    background-position: top center;
    overflow: hidden;
  }

  .main-v-meiken {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 76px;
    font-weight: bold;
    font-family: "Science Gothic", sans-serif;
    color: #f5f5f5;
    opacity: 0.4;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 2px;
    z-index: 1;
  }

  .main-v-deco {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 197px;
    height: 282px;
    background-image: url(../image/sp-img1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    z-index: 2;
  }

  .main-v-title {
    position: absolute;
    bottom: 127px;
    left: 27px;
    z-index: 3;
  }

  .main-v-title h1 {
    font-size: 32px;
    color: #fff;
    font-weight: bold;
    line-height: 1.3;
  }

  .p1-a-container {
    padding: 50px 0;
  }

  .p1-a-box {
    width: 92%;
    padding: 0;
    margin: 0 auto;
  }

  .topics-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
    text-decoration: none;
    color: #fff;
  }

  .topics-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
  }

  .topics-en {
    font-size: 24px;
    font-weight: bold;
    font-family: "Stack Sans Text", sans-serif;
    line-height: 1;
    letter-spacing: 0.05em;
  }

  .topics-ja {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin-top: 5px;
  }

  .topics-date {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    line-height: 1;
    flex-shrink: 0;
  }

  .topics-year {
    font-size: 14px;
    font-weight: bold;
    font-family: "Stack Sans Text", sans-serif;
  }

  .topics-day {
    font-size: 18px;
    font-weight: bold;
    font-family: "Stack Sans Text", sans-serif;
    margin-top: 0;
  }

  .topics-title {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
  }

  /* --- p1-b --- */
  .p1-b {
    overflow-x: hidden;
  }

  .p1-b-container {
    height: auto;
    background-image: url(../image/sp-img2.png), url(../image/top-back2.png);
    background-repeat: no-repeat;
    background-size:
      264px auto,
      cover;
    background-position:
      right bottom -12px,
      center;
    position: relative;
  }

  .p1-b-h2 {
    position: absolute;
    left: -14px;
    top: 0;
    z-index: 2;
  }

  .p1-b-h2 h2 {
    font-size: 50px;
    font-family: "Stack Sans Text", sans-serif;
    color: #fff;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    white-space: nowrap;
  }

  .p1-b-box {
    display: flex;
    height: 100%;
  }

  .p1-b-content {
    width: 88%;
    background-color: rgba(245, 245, 245, 0.7);
    position: relative;
    padding: 30px 0 50px;
    margin-left: auto;
  }

  .p1-b-inner {
    padding: 0 5px;
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .p1-b-title {
    font-size: 20px;
    font-weight: bold;
    font-family: "Stack Sans Text", sans-serif;
    text-shadow:
      -1px -1px 0 #fff,
      0 -1px 0 #fff,
      1px -1px 0 #fff,
      -1px 0 0 #fff,
      1px 0 0 #fff,
      -1px 1px 0 #fff,
      0 1px 0 #fff,
      1px 1px 0 #fff;
    line-height: 1.4;
    letter-spacing: normal;
    margin-bottom: 10px;
  }

  .p1-b-title em {
    font-size: 50px;
    font-style: normal;
    color: #e41511;
  }

  .p1-b-title em:last-child {
    color: #273c67;
  }

  .p1-b-lead {
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    line-height: 2.3;
    letter-spacing: normal;
  }

  .p1-b-lead2 {
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: normal;
    margin-top: 40px;
  }

  .p1-b-link {
    margin-top: min(50px, 3.7vw);
  }

  .p1-b-link .view-more {
    margin: 0 auto;
  }

  .p1-c-container {
    background-image: url(../image/top-back3.png), url(../image/top-back4.png);
    background-repeat: no-repeat;
    background-size:
      calc(960 / 1440 * 100vw) auto,
      100% auto;
    background-position:
      top calc(-530 / 1440 * 100vw) left,
      top calc(-282 / 1440 * 100vw) left;
    padding: 100px 0;
  }

  .p1-c-box {
    width: 96%;
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
    margin: 0 auto;
  }

  .p1-c-text {
    max-width: 380px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    position: relative;
    z-index: 2;
    padding: 33px 0;
    margin: -70px auto 0;
  }

  .p1-c-text img {
    width: 259px;
    height: auto;
  }

  .p1-c-text p {
    font-size: 20px;
    font-weight: bold;
    font-family: "Stack Sans Text", sans-serif;
    padding-top: 25px;
  }

  .p1-c-link2 .view-more {
    margin: 45px auto 0;
  }

  .p1-c-img {
    max-width: 400px;
    width: 100%;
    margin-left: 0;
  }

  .p1-c-box2 {
    width: 96%;
    margin: 50px auto 0;
  }

  .p1-c-text2 p {
    font-size: 16px;
    color: #fff;
    line-height: 2;
  }

  .p1-c-link-box {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    align-items: center;
    gap: 10px 0;
    margin-top: 40px;
  }

  .p1-c-link {
    margin-left: -18px;
  }

  .p1-c-link:nth-of-type(1),
  .p1-c-link:nth-of-type(3),
  .p1-c-link:nth-of-type(5) {
    margin-left: 0;
  }

  .p1-c-link:nth-of-type(even) {
    margin-top: 12px;
  }

  .p1-c-link a {
    width: 162px;
    height: 84px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../image/part5.png);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .p1-c-link a span {
    font-size: 12px;
    color: #fff;
    position: relative;
  }

  .p1-c-link a span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    width: 8px;
    height: 14px;
    background-image: url(../image/part4.png);
    background-repeat: no-repeat;
    background-size: contain;
  }

  .p1-d {
    overflow: hidden;
  }

  .p1-d-container {
    position: relative;
  }

  .p1-d .p1-img {
    width: 184px;
  }

  .p1-d .p1-p p {
    color: #fff;
  }

  .p1-d-img {
    width: 250px;
    margin: 50px auto 0;
  }

  .p1-d-text {
    text-align: center;
    position: relative;
    z-index: 3;
    padding-bottom: 0;
    margin-top: 50px;
  }

  .p1-d-text p {
    font-size: 16px;
    color: #fff;
    line-height: 1.5;
  }

  .p1-d-back {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    transform: translateX(-50%);
  }

  .p1-d-back p {
    font-size: 70px;
    font-weight: bold;
    color: rgba(245, 245, 245, 0.1);
  }

  .p1-e-container {
    padding: 100px 0;
  }

  .p1-e-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .p1-e .p1-img {
    width: 258px;
  }

  .p1-e .p1-p {
    color: #fff;
  }

  .p1-e .view-more {
    margin: 50px auto 0;
  }

  .p1-e-img-box {
    width: 100%;
  }

  .marqueer {
    margin: 50px 0 0;
    overflow: hidden;
  }

  .marqueer ul {
    display: flex;
    margin: 0;
    padding: 0;
    width: max-content;
  }

  .marqueer ul li {
    list-style: none;
    padding: 0 13px;
    width: 250px;
    flex-shrink: 0;
  }

  .marqueer img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .p1-f {
    padding-bottom: 100px;
  }

  .p1-f-container {
    width: 96%;
    padding: 20px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin: 0 auto;
  }

  .p1-f .p1-img {
    width: 268px;
  }

  .p1-f .p1-p {
    color: #fff;
  }

  .p1-f-text {
    text-align: center;
    margin-top: 40px;
  }

  .p1-f-text p {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    line-height: 2;
  }

  .p1-f-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
  }

  .p1-f-tel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }

  .p1-f-tel img {
    width: 36px;
    height: auto;
    transition: 0.3s;
  }

  .p1-f-tel span {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
    transition: 0.3s;
  }

  .p1-f-tel:hover img {
    content: url(../image/part6.png);
  }

  .p1-f-tel:hover span {
    color: #fcd609;
  }

  .p1-f-mail {
    width: 350px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    background-color: #0f2757;
  }

  .p1-f-mail img {
    width: 24px;
    height: auto;
    margin-top: 4px;
  }

  .p1-f-mail span {
    font-size: 20px;
    color: #fff;
    letter-spacing: 2px;
  }

  .p1-f-mail:hover {
    background-color: #000;
  }

  .p1-g {
    position: relative;
    overflow: hidden;
  }

  .p1-g-container {
    position: relative;
    height: 250px;
    background-image: url(../image/top-back5.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: visible;
  }

  .p1-g-container::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180px;
    background-color: #2f2f2f;
    background-image: url(../image/top-back7.png);
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: polygon(0 0, 100% 65%, 100% 100%, 0 100%);
    z-index: 1;
  }

  .p1-g-box {
    width: 96%;
    position: relative;
    z-index: 2;
    padding-top: 20px;
    margin: 0 auto;
  }

  .p1-g .p1-title {
    width: 300px;
    align-items: flex-start;
  }

  .p1-g .p1-p {
    color: #fff;
  }

  .p1-g-container {
    position: relative;
    overflow: visible;
  }

  .p1-g-img {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
  }

  .p1-g-img img {
    width: 150px;
  }

  .p1-g-box2 {
    width: 96%;
    padding-bottom: 100px;
    margin: 40px auto 0;
  }

  .p1-g-text {
    margin-top: 0;
  }

  .p1-g-text p {
    font-size: 16px;
    color: #fff;
    line-height: 2;
  }

  .p1-g .view-more {
    margin: 40px auto 0;
  }

  /* --- （共通） --- */
  .view-more {
    width: 244px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    box-sizing: border-box;
    border: 5px solid transparent; /* ホバー時のガタつき防止 */
    transition: all 0.3s ease;
  }

  .view-more-circle {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0f2757;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 5px;
    z-index: 2;
    transform: translateY(-50%);
  }

  .view-more-circle img {
    width: 12px;
    height: 24px;
  }

  .view-more-text {
    font-size: 16px;
    font-family: "Stack Sans Text", sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
  }

  .view-more:hover {
    opacity: 1;
    background-color: #0f2757;
    border: 5px solid #fff;
  }

  .view-more:hover .view-more-text {
    opacity: 1;
    color: #fff;
  }

  .view-more:hover .view-more-circle {
    background-color: transparent;
    left: 0;
  }

  .p1-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .p1-p {
    font-size: 20px;
    font-weight: bold;
    font-family: "Stack Sans Text", sans-serif;
  }

  /* 事業内容 */
  .service .sub-v-container {
    background-image: url(../image/p2-back1.png);
  }

  .p2-a-container {
    background-image:
      url(../image/p2-back3.png), url(../image/sp-p2-back1.png),
      url(../image/p5-back2.png);
    background-repeat: no-repeat;
    background-size:
      cover,
      cover,
      100% auto;
    background-position:
      bottom center,
      center,
      center;
    padding: 50px 0;
  }

  .p2-a-box {
    width: 96%;
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
    margin: 40px auto 0;
  }

  .p2-a-box:first-child {
    margin-top: 0;
  }

  .p2-a-box.reverce {
    flex-direction: column-reverse;
  }

  .p2-a-item {
    width: 90%;
    position: relative;
    z-index: 2;
    margin-right: 0;
    margin-bottom: 0;
    margin-top: -20px;
  }

  .p2-a-box.reverce .p2-a-item {
    margin-right: 0;
    margin-left: 0;
  }

  .p2-a-title {
    position: absolute;
    right: 0;
    top: -40px;
    z-index: 5;
    text-align: right;
  }

  .p2-a-title h3 {
    font-size: 48px;
    font-weight: 500;
    color: rgba(15, 39, 87, 0.8);
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.7);
  }

  .p2-a-box.reverce .p2-a-title h3 {
    color: rgba(228, 21, 17, 0.8);
  }

  .p2-a-text {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
  }

  .p2-a-text p {
    font-size: 14px;
    line-height: 2;
    letter-spacing: min(2px, 0.14vw);
  }

  .p2-a-img {
    width: 100%;
  }

  /* 事業内容 */
  .works .sub-v-container {
    background-image: url(../image/p3-back1.png);
  }

  .p3-a-container {
    background-image: url(../image/p3-back2.png), url(../image/p3-back3.png);
    background-repeat: no-repeat;
    background-size:
      cover,
      100% auto;
    background-position:
      top center,
      center center;
    padding: 50px 0;
  }

  .p3-a-p {
    width: 96%;
    text-align: center;
    margin: 0 auto;
  }

  .p3-a-p p {
    font-size: 16px;
    color: #333;
    line-height: 2;
    letter-spacing: normal;
  }

  .p3-a-box {
    width: 96%;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .p3-a-item {
    max-width: 400px;
    width: 100%;
  }

  .p3-a-item a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
  }

  .p3-a-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .p3-a-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    line-height: 1.5;
    margin-top: 10px;
  }

  .p3-a-text {
    font-size: 16px;
    font-weight: bold;
    line-height: 2;
  }

  /* 採用情報 */
  .recruit .sub-v-container {
    background-image: url(../image/p4-back1.png);
  }

  .p4-a-container {
    background-image:
      url(../image/p4-back3.png), url(../image/sp-p4-back1.png),
      url(../image/p3-back2.png);
    background-repeat: no-repeat;
    background-size:
      100% auto,
      100% auto,
      cover;
    background-position:
      bottom center,
      bottom -130px center,
      center center;
    padding: 50px 0;
  }

  .p4-a-box {
    position: relative;
  }

  .p4-a-img-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .p4-a-img {
    max-width: 500px;
    width: 100%;
  }

  .p4-a-img2 {
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 5;
    margin-top: 50px;
    margin-left: -100px;
  }

  .p4-a-item {
    max-width: 400px;
    width: 100%;
    margin: 40px auto 0;
  }

  .p4-a-title p {
    font-size: 24px;
    color: #fff;
    letter-spacing: 0.1em;
  }

  .p4-a-title p:last-child {
    text-align: right;
  }

  .p4-a-title p:first-child span {
    font-size: 56px;
    color: #f1110b;
    letter-spacing: 0.1em;
  }

  .p4-a-title p:last-child span {
    font-size: 56px;
    color: #ffbd01;
    letter-spacing: 0.1em;
  }

  .p4-a-text {
    width: 96%;
    margin: 30px auto 0;
  }

  .p4-a-text p {
    font-size: 16px;
    color: #fff;
    line-height: 2;
    letter-spacing: normal;
  }

  .p4-a-img3 {
    /* width: 100px;
    position: absolute;
    left: 0;
    bottom: -150px;
    z-index: 5; */
    display: none;
  }

  .p4-b-container {
    background-image: url(../image/p2-back3.png), url(../image/p3-back2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position:
      bottom center,
      top center;
    padding: 50px 0;
  }

  .p4-b-box {
    width: 96%;
    background-color: #fff;
    padding: 20px 10px;
    margin: 0 auto;
  }

  .p4-b-title {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .p4-b-title h3 {
    font-size: 24px;
    font-family: "Stack Sans Text", sans-serif;
    color: #273c67;
  }

  .p4-b-title p {
    font-size: 20px;
    letter-spacing: normal;
  }

  .p4-b-table {
    width: 100%;
    margin-top: 20px;
  }

  .p4-b-table table {
    width: 100%;
    border-spacing: 10px;
  }

  .p4-b-table table th,
  .p4-b-table table td {
    font-size: 16px;
    font-weight: 400;
  }

  .p4-b-table table th {
    width: 100px;
    color: #fff;
    background-color: #013763;
    padding: 20px 0;
  }

  .p4-b .p1-f-mail {
    margin: 30px auto 0;
  }

  /* 会社概要 */
  .company .sub-v-container {
    background-image: url(../image/p5-back1.png);
  }

  .p5-a-container {
    background-image: url(../image/p5-back3.png), url(../image/p5-back2.png);
    background-repeat: no-repeat;
    background-size:
      cover,
      100% auto;
    background-position:
      top center,
      center center;
    padding: 50px 0;
  }

  .p5-a-box {
    width: 96%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0 auto;
  }

  .p5-a-img {
    width: 300px;
  }

  .p5-a-item {
    width: 100%;
  }

  .p5-a-title {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-bottom: 10px;
  }

  .p5-a-title h3 {
    font-size: 24px;
    font-family: "Stack Sans Text", sans-serif;
  }

  .p5-a-title p {
    font-size: 20px;
    letter-spacing: normal;
  }

  .p5-a-text {
    width: 100%;
    position: relative;
    margin-top: 40px;
  }

  .p5-a-text span {
    width: 100px;
    font-size: 16px;
    color: #fff;
    letter-spacing: normal;
    display: inline-block;
    position: absolute;
    left: 0;
    top: -25px;
    z-index: 5;
    background-image: url(../image/p5-back4.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 10px 15px 10px 10px;
  }

  .p5-a-text p {
    width: auto;
    font-size: 16px;
    letter-spacing: normal;
    background-color: #fff;
    padding: 20px 10px 10px 10px;
    box-shadow: -1px -1px 0 rgba(0, 0, 0, 0.1);
    margin-left: auto;
  }

  .p5-a-map {
    width: 96%;
    margin: 40px auto 0;
  }

  .p5-a-map .yahoo-map-responsive iframe,
  .p5-a-map .yahoo-map-responsive div {
    width: 100% !important;
    height: 150px !important;
  }

  /* お問い合わせ */
  .contact .sub-v-container {
    background-image: url(../image/p6-back1.png);
  }

  .p6-a-container {
    background-image: url(../image/p5-back3.png), url(../image/p6-back2.png);
    background-repeat: no-repeat;
    background-size:
      cover,
      100% auto;
    background-position:
      top center,
      center center;
    padding: 50px 0;
  }

  .p6-a-title {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .p6-a-title h3 {
    font-size: 24px;
    font-family: "Stack Sans Text", sans-serif;
    color: #273c67;
  }

  .p6-a-title p {
    font-size: 20px;
    letter-spacing: normal;
  }

  .p6-a-box {
    width: 96%;
    background-color: rgba(254, 254, 254, 0.8);
    padding: 20px 10px;
    margin: 40px auto 0;
  }

  .p6-a-lead {
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: normal;
  }

  .contact-table {
    width: 100%;
    margin-top: 30px;
  }

  .contact-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0 10px;
    border-bottom: 1px solid #d9d9d9;
  }

  .contact-row.textarea-row {
    border-bottom: none;
  }

  .contact-head {
    width: 100%;
    flex-shrink: 0;
  }

  .contact-head p {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .required {
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background-color: #e60012;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: #fff;
    line-height: 1;
  }

  .contact-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }

  .contact-body {
    flex: 1;
  }

  .contact-body input,
  .contact-body textarea {
    width: 100%;
    height: 30px;
    border: none;
    background-color: #f3f3f3;
    padding: 10px 20px;
    font-size: 16px;
    box-sizing: border-box;
  }

  .contact-body textarea {
    height: 130px;
    resize: vertical;
  }

  .contact-radio .wpcf7-list-item {
    margin: 0 40px 0 0;
  }

  .contact-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
  }

  .contact-radio input[type="radio"] {
    width: 18px;
    height: 18px;
  }

  .contact-radio .wpcf7-list-item-label {
    font-size: 14px;
  }

  .contact-submit {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }

  .contact-submit-btn {
    width: 290px;
    height: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    background-color: #0f2757;
    transition: 0.3s;
    border-radius: 50px;
  }

  .contact-submit-icon img {
    width: 18px;
    height: auto;
    display: block;
  }

  .contact-submit-text {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.08em;
  }

  .contact-submit-btn:hover {
    background-color: #000;
  }

  .contact-submit .wpcf7-spinner {
    display: none;
  }

  .p6-a-box2 {
    width: 96%;
    background-color: #fff;
    padding: 10px;
    margin: 40px auto 0;
  }

  .p6-a-title2 {
    text-align: center;
  }

  .p6-a-title2 h2 {
    font-size: 24px;
    color: #333;
  }

  .p6-a-item2 {
    height: 210px;
    overflow: auto;
    margin-top: 20px;
  }

  .p6-a-item2::-webkit-scrollbar {
    width: 4px;
  }

  .p6-a-item2::-webkit-scrollbar-thumb {
    background: #d9d9d9;
  }

  .p6-a-text2 {
    padding-right: 10px;
    margin-top: 30px;
  }

  .p6-a-text2:first-child {
    margin-top: 0;
  }

  .p6-a-text2 h3 {
    font-size: 16px;
    font-weight: bold;
    color: #3a568c;
    line-height: 2;
  }

  .p6-a-text2 p,
  .p6-a-text2 ul li {
    font-size: 16px;
    color: #333;
    line-height: 2;
  }

  .p6-a-text2 ul ul {
    padding-left: 10px;
  }

  /* 下層共通 */
  .sub-v {
    width: 100%;
    height: 150px;
  }

  .sub-v-container {
    width: 100%;
    height: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
  }

  .sub-b-title {
    position: absolute;
    left: 40px;
    bottom: -20px;
    z-index: 5;
  }

  .sub-b-title p {
    font-size: 20px;
    color: #fff;
    letter-spacing: normal;
  }

  .sub-b-title h1 {
    margin-top: 10px;
  }

  .sub-b-title h1 span {
    font-size: 32px;
    font-family: "Stack Sans Text", sans-serif;
    color: #fff;
    letter-spacing: normal;
    position: relative;
    display: inline-block;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .sub-b-title h1 span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background-color: #fff;
  }

  /* パンくず */
  .sub-item {
    background-image: url(../image/p5-back3.png);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sub-item-box {
    width: 96%;
    padding: 20px 0;
    margin: 0 auto;
  }

  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .breadcrumb li {
    display: flex;
    align-items: center;
  }

  .breadcrumb a,
  .breadcrumb span {
    font-size: 14px;
    color: #787878;
    text-decoration: none;
    line-height: 1;
  }

  .breadcrumb img {
    display: block;
  }

  .breadcrumb li:first-child img {
    width: 20px;
    height: auto;
  }

  .breadcrumb-arrow img {
    width: 10px;
    height: auto;
  }

  /* お知らせ内容 1100で可変 */
  .single-container {
    width: 100%;
    padding: 40px 0;
  }

  .single-box {
    width: 94%;
    margin: 0 auto;
  }

  .single-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .single-img {
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
  }

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

  .single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
  }

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

  /* フッター */
  footer {
    margin-bottom: 58px;
  }

  .footer-container {
    background-image: url(../image/footer-back1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 38px;
  }

  .footer-box {
    width: 96%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }

  .footer-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-logo {
    width: 214px;
  }

  .footer-text p {
    font-size: 16px;
    color: #fff;
  }

  .footer-right {
    width: 100%;
  }

  .footer-map {
    width: 100%;
    margin-top: 40px;
  }

  .yahoo-map-responsive {
    width: 100%;
  }

  .footer-map .yahoo-map-responsive iframe,
  .footer-map .yahoo-map-responsive div {
    width: 100% !important;
    height: 150px !important;
  }

  .footer-nav {
    padding: 40px 0;
  }

  .footer-nav ul {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-nav li a {
    font-size: 14px;
    color: #fff;
  }

  .copy-right {
    width: 96%;
    text-align: center;
    background-color: #232323;
    padding: 20px 0;
    margin: 0 auto;
  }

  .copy-right p {
    font-size: 14px;
    color: #fff;
  }
}

@media screen and (max-width: 375px) {
  .main-v-container {
    background-image: url(../image/sp-back1.png);
  }

  .p1-b-container {
    background-image: url(../image/sp-img2.png), url(../image/sp-back2.png);
  }

  .p1-c-container {
    background-image: url(../image/sp-back3.png), url(../image/sp-back4.png);
    background-repeat: no-repeat;
    background-size:
      100% auto,
      100% auto;
    background-position:
      top 300px left,
      top 130px left;
    padding-top: 100px;
  }

  .p1-g-img img:nth-of-type(3) {
    display: none;
  }

  /* フッター */
  .footer-container {
    background-image: url(../image/sp-back5.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 38px;
  }
}
