@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;
}

li {
  list-style: none;
}

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

h2 {
  font-family: "Inter", sans-serif;
}

p {
  font-family: "Noto Serif JP", serif;
}

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

a:hover {
  opacity: .8;
}


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

/* 消してる要素 */
.sp-header, .p1-b-img, .sp-br {
  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(80px, 5.71vw);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  width: 100%;
  padding: min(14px, 1vw) min(10px, 0.71vw) 0 min(20px, 1.43vw);
}

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

.header-logo {
  width: min(261px, 18.64vw);
  height: auto;
}

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

.header-nav ul {
  display: flex;
  align-items: center;
  gap: min(20px, 1.43vw);
}

.header-nav ul li a {
  font-size: clamp(9px, 1.29vw, 18px);
  font-family: "Inter", sans-serif;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.header-link {
  display: flex;
  gap: min(20px, 1.43vw);
}

.header-tel, .header-mail {
  width: min(240px, 17.14vw);
  height: min(62px, 4.43vw);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.header-tel {
  background-image: url(../image/te-back.png);
}

.header-mail {
  background-image: url(../image/mail-back.png);
}

.header-tel a, .header-mail a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(10px, 0.71vw);
  color: #fff;
}

.header-tel a img {
  width: min(20px, 1.43vw);
  height: auto;
}

.header-mail a img {
  width: min(27px, 1.93vw);
  height: auto;
}

.header-tel a span {
  font-size: clamp(9px, 1.71vw, 24px);
}

.header-mail a span {
  font-size: clamp(9px, 1.57vw, 22px);
}

/* トップ */
.main-v {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.slide-img.is-active {
  opacity: 1;
  z-index: 2;
}

.slide1 { background-image: url(../image/top-back1.png); }
.slide2 { background-image: url(../image/top-back2.png); }
.slide3 { background-image: url(../image/top-back3.png); }

.main-v-container {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.main-v-title {
  padding-left: min(40px, 3.33vw);
}

.main-v-title p {
  font-size: clamp(9px, 3vw, 36px);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  color: #fff;
}

.main-v-title h1 {
  font-size: clamp(9px, 4.17vw, 50px);
  color: #fff;
  padding-left: min(20px, 1.67vw);
}

.p1-a {
  background-image: url(../image/top-back8.png), url(../image/top-back9.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: left, right;
}

.p1-a-container {
  padding: min(70px, 5.83vw) 0 min(35px, 2.92vw);
}

.p1-a .h2-title {
  text-align: center;
}

.p1-a-box {
  display: flex;
  justify-content: space-between;
  width: min(1010px, 84.17vw);
  margin: min(67px, 5.58vw) auto min(70px, 5.83vw);
}

.p1-a-post {
  width: min(300px, 25vw);
  background-color: #fff;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.p1-a-post a {
  display: block;
}

.p1-a-thumb {
  width: 100%;
  height: min(220px, 18.33vw);
  overflow: hidden;
  background-color: #fff;
}

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

.p1-a-content {
  padding: min(6px, 0.5vw) min(13px, 1.08vw) min(23px, 1.92vw);
}

.p1-a-title {
  font-size: clamp(9px, 1.67vw, 20px);
  font-weight: 400;
  margin-bottom: min(12px, 1vw);
}

.p1-a-date {
  font-size: clamp(9px, 1.33vw, 16px);
  display: block;
}

.p1-b {
  background-image: url(../image/top-back4.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p1-b-container {
  padding: min(90px, 7.5vw) 0 min(70px, 5.83vw);
}

.p1-b-box {
  width: min(522px, 43.5vw);
  margin-left: min(80px, 6.67vw);
}

.p1-b-text {
  margin-top: min(94px, 7.83vw);
  margin-bottom: min(75px, 6.25vw);
}

.p1-b-text p {
  font-size: clamp(9px, 1.5vw, 18px);
  line-height: 1.7;
}

.p1-c-container {
  padding: min(80px, 5.56vw) 0;
}

.p1-c-box {
  width: min(1440px, 100vw);
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.p1-c-img img {
  width: min(811px, 56.32vw);
  height: auto;
}

.p1-c-item {
  width: min(890px, 61.81vw);
  background-color: #fff;
  position: relative;
  z-index: 10;
  padding: min(10px, 0.69vw) min(80px, 5.56vw) min(25px, 1.74vw) min(36px, 2.5vw);
  margin-left: max(-260px, -18.06vw);
}

.p1-c-text {
  margin-top: min(54px, 3.75vw);
}

.p1-c-text p {
  font-size: clamp(9px, 1.25vw, 18px);
  line-height: 1.7;
}

.p1-c-box2 {
  text-align: center;
  margin-top: min(100px, 8vw);
}

.p1-c-box2 h3 {
  font-size: clamp(9px, 2.4vw, 30px);
  font-weight: 400;
}

.p1-c-img-box {
  width: min(1150px, 92vw);
  display: flex;
  justify-content: space-between;
  margin: min(66px, 5.28vw) auto min(54px, 4.32vw);
}

.p1-c-img-box img {
  width: min(350px, 28vw);
  height: auto;
}

.p1-d {
  background-image: url(../image/top-back5.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p1-d-container {
  padding: min(95px, 7.04vw) 0 min(80px, 5.93vw);
}

.p1-d .h2-title {
  text-align: center;
}

.p1-d-box {
  width: min(1270px, 94.07vw);
  display: flex;
  justify-content: space-between;
  margin: min(65px, 4.81vw) auto 0;
}

.p1-d-item {
  width: min(648px, 48vw);
}

.p1-d-text {
  margin-bottom: min(65px, 4.81vw);
}

.p1-d-text p {
  font-size: clamp(9px, 1.78vw, 24px);
  line-height: 1.7;
}

.p1-d-img img {
  width: min(606px, 44.89vw);
  height: auto;
}

.p1-e {
  background-color: #F6F6F6;
}

.p1-e-container {
  padding: min(136px, 11.33vw) 0 min(105px, 8.75vw);
}

.p1-e-box {
  width: min(1000px, 83.33vw);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.p1-e-item {
  width: min(528px, 44vw);
}

.p1-e-text {
  margin-top: min(53px, 4.42vw);
}

.p1-e-text p {
  font-size: clamp(9px, 2vw, 24px);
  line-height: 1.7;
}

.p1-e-img img {
  width: min(355px, 29.58vw);
  height: auto;
}

.p1-f {
  background-image: url(../image/top-back6.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p1-f-container {
  padding: min(90px, 6.25vw) 0 min(105px, 7.29vw);
}

.p1-f .h2-title {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-left: min(250px, 17.36vw);
  gap: min(20px, 1.39vw);
  width: 100%;
}

.p1-f .h2-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.p1-f .h2-title h2 {
  font-size: clamp(9px, 4.17vw, 60px);
  line-height: 1;
  color: #fff;
  margin: 0;
}

.p1-f .h2-title p {
  font-size: clamp(9px, 1.67vw, 24px);
  line-height: 1.5;
  color: #fff;
  margin-top: min(10px, 0.69vw);
}

.p1-f .h2-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: min(30px, 2.08vw);
  width: min(240px, 16.67vw);
  height: 1px;
  background-color: #fff;
  z-index: 1;
}

.p1-f .h2-title::after {
  content: "";
  margin-top: min(30px, 2.08vw);
  height: 1px;
  background-color: #fff;
  flex-grow: 1;
}

.p1-f-l-line {
  position: absolute;
  left: min(152px, 10.56vw);
  top: min(30px, 2.08vw);
  width: 1px;
  height: min(190px, 13.19vw);
  background-color: #fff;
  z-index: 2;
}

.p1-f-l-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(370px, 25.69vw);
  height: 1px;
  background-color: #fff;
}

.p1-f-box {
  display: flex;
  justify-content: flex-end;
  margin-top: min(53px, 3.68vw);
  margin-bottom: min(74px, 5.14vw);
}

.p1-f-item {
  width: min(746px, 51.81vw);
  margin-right: min(123px, 8.54vw);
}

.p1-f-text p {
  font-size: clamp(9px, 1.67vw, 24px);
  color: #fff;
  line-height: 1.7;
}

.p1-f .link-botan a {
  border: 1px solid #FFFFFF;
}

.p1-f .link-botan a span {
  color: #fff;
}

.p1-g {
  background-image: url(../image/top-back7.png);
  background-repeat: no-repeat;
  background-size: cover; 
}

.p1-g-container {
  padding: min(50px, 4.17vw) 0 min(110px, 9.17vw);
}

.p1-g .h2-title {
  text-align: center;
}

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

.p1-g-text {
  text-align: center;
  margin-top: min(15px, 1.25vw);
  margin-bottom: min(64px, 5.33vw);
}

.p1-g-text p {
  font-size: clamp(9px, 2.0vw, 24px);
  color: #fff;
  line-height: 1.8;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.p1-g-link {
  display: flex;
  justify-content: center;
  gap: min(200px, 14.81vw);
}

.p1-g-link .link-botan {
  margin-left: 0;
  margin-right: 0;
}

.p1-g-link .link-botan a span {
  color: #fff;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.p1-g-link .p1-g-tel a span::before,
.p1-g-link .p1-g-mail a span::before {
  content: "";
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-right: min(12px, 0.89vw);
  flex-shrink: 0;
}

.p1-g-link .p1-g-tel a span::before {
  width: min(20px, 1.48vw);
  height: min(25px, 1.85vw);
  background-image: url(../image/tel.png);
}

.p1-g-link .p1-g-mail a span::before {
  width: min(27px, 2.0vw);
  height: min(20px, 1.48vw);
  background-image: url(../image/mail.png);
}

/* 会社案内 */
.p2-a-container {
  padding-top: min(100px, 7.41vw);
  padding-bottom: min(75px, 5.56vw);
}

.p2-a .h2-title {
  text-align: center;
}

.p2-a-box {
  width: min(965px, 71.48vw);
  margin: min(45px, 3.33vw) auto 0;
}

.p2-a-box p {
  font-size: min(18px, 1.33vw);
  line-height: 1.7;
}

.p2-a-p {
  margin-bottom: min(35px, 2.59vw);
}

.p2-a-item {
  text-align: center;
  margin-top: min(35px, 2.59vw);
}

.p2-a-item p {
  font-size: min(20px, 1.48vw);
}

.p2-b {
  background-color: #F6F6F6;
}

.p2-b-container {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.p2-b-box {
  display: flex;
  justify-content: space-between;
}

.p2-b-table {
  flex: 1;
  padding: min(90px, 6.25vw) min(90px, 6.25vw) min(83px, 5.76vw);
}

.p2-b-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: min(40px, 2.78vw);
}

.p2-b-table tr th, 
.p2-b-table tr td {
  font-size: min(18px, 1.25vw);
  font-weight: 400;
  line-height: 1.7;
  padding-top: min(16px, 1.11vw);
  padding-bottom: min(16px, 1.11vw);
  border-bottom: 1px solid #000;
}

.p2-b-table tr th {
  width: min(158px, 10.97vw);
  text-align: left;
}

.p2-b-img {
  display: block;
}

.p2-b-img img {
  width: min(577px, 40.07vw);
  height: auto;
  display: block;
}

/* 業務内容 */
.p3-a-container {
  padding-top: min(90px, 6.67vw);
  padding-bottom: min(185px, 13.7vw);
}

.p3-a-box {
  width: min(1280px, 94.81vw);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.p3-a-img {
  width: min(725px, 53.7vw);
  height: auto;
}

.p3-a-item {
  width: min(522px, 38.67vw);
  padding-top: min(17px, 1.26vw);
}

.p3-a-text {
  margin-top: min(30px, 2.22vw);
}

.p3-a-text p {
  font-size: min(18px, 1.33vw);
  line-height: 1.7;
}

.p3-b {
  background-image: linear-gradient(
    to bottom, 
    transparent min(100px, 7.41vw), 
    #F6F6F6 min(100px, 7.41vw)
  );
  margin-top: calc(min(100px, 7.41vw) * -1);
}

.p3-b-container {
  padding-bottom: min(110px, 8.15vw);
}

.p3-b .p3-a-box.reverse {
  flex-direction: row-reverse;
}

.p3-b .p3-a-box:nth-child(n+2) {
  margin-top: min(100px, 7.41vw);
}

.p3-b .p3-a-box:nth-child(4) .h2-title h2 {
  white-space: nowrap;
  font-size: min(56px, 4.15vw);
}

/* 採用情報 */
.p4-a-container {
  background-image: url(../image/p4-back1.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right;
}

.p4-a-box {
  padding-top: min(100px, 7.41vw);
}

.p4-a-item {
  padding-bottom: min(54px, 4vw);
  margin-left: min(80px, 5.93vw);
}

.p4-a-item h2 {
  font-size: min(36px, 2.67vw);
  font-weight: 400;
  font-family: "Noto Serif JP", serif;
  line-height: 1.7;
}

.p4-a-item p {
  width: min(700px, 48.61vw);
  font-size: min(18px, 1.25vw);
  line-height: 1.7;
  margin-top: min(40px, 2.96vw);
}

.p4-a-p {
  text-align: right;
  margin-bottom: calc(min(8px, 0.59vw) * -1);
}

.p4-a-p p {
  font-size: min(60px, 4.44vw);
  font-family: "Inter", sans-serif;
  color: #fff;
  line-height: 1;
}

.p4-b {
  background-color: #F6F6F6;
}

.p4-b-container {
  padding-bottom: min(100px, 7.41vw);
}

.p4-b-box {
  width: min(1280px, 94.81vw);
  display: flex;
  justify-content: space-between;
  padding-top: min(100px, 7.41vw);
  margin: 0 auto;
}

.p4-b-img {
  width: min(724px, 53.63vw);
  height: auto;
}

.p4-b-item {
  width: min(522px, 38.67vw);
  padding-top: min(17px, 1.26vw);
}

.p4-b-text {
  margin-top: min(30px, 2.22vw);
}

.p4-b-text p {
  font-size: min(18px, 1.33vw);
  line-height: 1.7; /* list-styleから修正しました */
}

.p4-b .p4-b-box.reverse {
  flex-direction: row-reverse;
}

.p4-c-container {
  width: min(1280px, 94.81vw);
  padding: min(100px, 7.41vw) 0;
  margin: 0 auto;
}

.p4-c-title {
  text-align: center;
  padding-bottom: min(20px, 1.48vw);
  border-bottom: 1px solid #000;
}

.p4-c-title h2 {
  font-size: min(36px, 2.67vw);
  font-weight: 400;
  font-family: "Noto Serif JP", serif;
}

.p4-c-table {
  width: 100%;
  margin-top: min(50px, 3.7vw);
}

.p4-c-table table {
  width: 100%;
  border-spacing: 0 min(16px, 1.19vw);
  margin-bottom: min(64px, 4.74vw);
}

.p4-c-table table tr th,
.p4-c-table table tr td {
  font-size: min(20px, 1.48vw);
  font-weight: 400;
  font-family: "Noto Serif JP", serif;
  line-height: 1.7;
  padding-top: min(10px, 0.74vw);
  padding-bottom: min(10px, 0.74vw);
}

.p4-c-table table tr th {
  width: min(160px, 11.85vw);
  color: #fff;
  background-color: #394F98;
  position: relative;
}

.p4-c-table table tr th::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  background-image: url(../image/part3.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: min(20px, 1.48vw);
  height: min(13px, 0.96vw);
}

.p4-c-table table tr td {
  width: auto;
  background-color: #F6F6F6;
  padding-left: min(22px, 1.63vw);
}

/* お問い合わせ */
.p5-a-container {
  padding-top: min(65px, 4.8vw);
  padding-bottom: min(560px, 41vw);
}

.p5-a-title {
  text-align: center;
  padding-bottom: min(25px, 1.8vw);
  position: relative;
}

.p5-a-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 27px;
  height: 1px;
  background-color: #000;
}

.p5-a-title h2 {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  font-family: "Noto Serif JP", serif;
}

.p5-a-box {
  width: min(1080px, 90%);
  margin: min(50px, 3.7vw) auto 0;
}

.form-table {
  width: 100%;
  border-collapse: collapse;
}

.form-table tr {
  border-bottom: 1px solid #ddd;
}

.form-table th {
  width: 30%;
  text-align: left;
  vertical-align: middle;
  font-weight: normal;
}

.form-table td {
  padding-top: min(25px, 1.85vw);
  padding-bottom: min(25px, 1.85vw);
}

.form-table tr:last-child th {
  vertical-align: top;
  padding-top: min(30px, 2.2vw);
}

.form-table th p {
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.2vw, 16px);
}

.required, .optional {
  display: inline-block;
  width: 50px;
  margin-right: min(20px, 1.4vw);
  font-size: clamp(14px, 1vw, 14px);
}

.required {
  color: #E08B8B;
  font-size: clamp(14px, 0.9vw, 13px);
  font-family: "Inter", sans-serif;
}

.optional {
  color: #5B72C2;
  font-size: clamp(14px, 0.9vw, 13px);
  font-family: "Inter", sans-serif;
}

.p5-a-box .wpcf7-form-control:not(.wpcf7-submit):not([type="radio"]):not(textarea) {
  width: 100%;
  height: 46px;
  border: 1px solid #979797;
  background-color: #fff;
  padding: 0 15px;
  font-size: clamp(14px, 1.2vw, 16px);
  box-sizing: border-box;
}

.p5-a-box textarea.wpcf7-form-control {
  width: 100%;
  height: min(200px, 14.8vw);
  border: 1px solid #979797;
  background-color: #fff;
  padding: 15px;
  font-size: clamp(14px, 1.2vw, 16px);
  box-sizing: border-box;
  display: block;
}

.p5-a-box span.wpcf7-form-control.wpcf7-radio {
  border: none !important;
  display: flex;
  gap: min(30px, 2.2vw);
  padding-left: 0;
  height: auto;
  min-height: 46px;
  align-items: center;
}

.p5-a-box .wpcf7-list-item {
  border: none !important;
  margin: 0;
  display: flex;
  align-items: center;
  font-size: clamp(14px, 1.2vw, 16px);
}

.p5-a-box .wpcf7-list-item input[type="radio"] {
  width: auto;
  height: auto;
  border: none !important;
  background: none !important;
  margin: 0 8px 0 0;
  padding: 0;
  box-shadow: none !important;
  cursor: pointer;
  flex-shrink: 0;
}

.form-submit {
  text-align: center;
  margin-top: min(60px, 4.4vw);
}

.wpcf7-submit {
  display: inline-block;
  width: min(300px, 22.2vw);
  height: min(70px, 5.2vw);
  background-color: #394F98;
  color: #fff;
  border: none;
  font-size: clamp(14px, 1.3vw, 18px);
  cursor: pointer;
}

.p5-a-box2 {
  width: min(1280px, 95%);
  margin: min(80px, 5.9vw) auto 0;
}

.p5-a-text {
  width: 100%;
  height: min(234px, 17.3vw);
  overflow-y: scroll;
  border: 1px solid #979797;
  background-color: #fff;
  padding: min(25px, 1.8vw);
  box-sizing: border-box;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.8;
  color: #333;
  margin-top: min(25px, 1.8vw);
}

.p5-a-p {
  margin-bottom: min(30px, 2.2vw);
}

.p5-a-p:last-child {
  margin-bottom: 0;
}

.wpcf7-spinner {
  display: none;
}

/* 施工事例 */
.p6-a-container {
  padding-top: min(100px, 7.4vw);
  padding-bottom: min(500px, 37vw);
}

.p6-a-box {
  width: min(1150px, 90%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: min(50px, 3.7vw);
  justify-content: flex-start;
}

.p6-a-post {
  width: min(350px, 25.9vw);
}

.p6-a-thumb {
  width: 100%;
  overflow: hidden;
}

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

/* お知らせ */
.p7-a-container {
  padding: min(80px, 5.9vw);
  padding-bottom: min(80px, 5.9vw);
}

.p7-a-box {
  width: min(1000px, 90%);
  margin: 0 auto;
}

.p7-a-title {
  text-align: center;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: min(40px, 3vw);
}

.p7-a-entry {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.8;
}

.p7-a-entry img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: min(40px, 3vw) auto; 
}

.p7-a .link-botan {
  margin-top: min(40px, 3vw);
}

/* お知らせ一覧 */
.p8-a-container {
  padding: min(80px, 6.7vw) 0;
}

.p8-a-box {
  width: min(1010px, 84.1vw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: min(40px, 3.3vw) min(20px, 1.7vw);
}

.p8-a-post {
  width: min(300px, 25vw);
  background-color: #fff;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.p8-a-post a {
  display: block;
  text-decoration: none;
}

.p8-a-thumb {
  width: 100%;
  height: min(220px, 18.3vw);
  overflow: hidden;
  background-color: #fff;
}

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

.p8-a-content {
  padding: min(10px, 0.8vw) min(15px, 1.2vw) min(20px, 1.7vw);
}

.p8-a-title {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: bold;
  margin-bottom: min(10px, 0.8vw);
  line-height: 1.4;
}

.p8-a-date {
  font-size: clamp(12px, 1.2vw, 14px);
  display: block;
}

.pagination {
  width: 100%;
  text-align: center;
  margin-top: min(50px, 4.2vw);
}

.pagination .page-numbers {
  margin: 0 min(5px, 0.4vw);
  padding: min(8px, 0.7vw) min(12px, 1vw);
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  font-size: clamp(12px, 1.1vw, 14px);
}

.pagination .current {
  background: #333;
  color: #fff;
  border: 1px solid #333;
}



/* 下層共通 1350で可変 */
.sub-v {
  width: 100%;
  height: min(490px, 36.3vw);
  background-image: url(../image/sub-back2.png), url(../image/sub-back.png);
  background-repeat: no-repeat;
  background-size: auto 100%, cover;
  background-position: left top, center;
}

.sub-v-container {
  width: 100%;
  height: 100%;
}

.sub-title {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: min(130px, 9.63vw);
}

.sub-title h1 {
  font-size: clamp(32px, 4.44vw, 60px);
  font-weight: 400;
  font-family: "Inter", sans-serif;
}

.sub-title p {
  font-size: clamp(18px, 2.67vw, 36px);
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  letter-spacing: 1px;
}

.sub-a {
  background-image: url(../image/sub-back3.png);
  background-repeat: no-repeat;
  background-size: min(396px, 29.33vw) 100%;
  background-position: left;
}

.sub-b {
  background-image: url(../image/sub-back4.png);
  background-repeat: no-repeat;
  background-size: min(396px, 29.33vw) 100%;
  background-position: left;
}

.p5-a.sub-a, .p6-a.sub-a, .p8-a.sub-a {
  background-image: 
    url(../image/sub-back3.png), 
    linear-gradient(to bottom, transparent min(824px, 61vw), #f6f6f6 min(824px, 61vw));
  background-repeat: no-repeat;
  background-size: min(396px, 29vw) min(824px, 61vw), 100% 100%;
  background-position: left top, center top;
  margin: 0 auto;
  width: 100%;
}





/* 共通パーツ　1350pxで可変 */
.h2-title h2 {
  font-size: clamp(9px, 4.44vw, 60px);
  font-weight: 400;
}

.h2-title p {
  font-size: clamp(9px, 1.78vw, 24px);
}

.link-botan {
  width: min(313px, 23.19vw);
  margin: 0 auto;
}

.link-botan a {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: min(13px, 0.96vw) min(10px, 0.74vw) min(13px, 0.96vw) 0;
  border-radius: 10px;
}

.link-botan a span {
  font-size: clamp(9px, 1.48vw, 20px);
}

.link-botan a img {
  width: min(14px, 1.04vw);
  height: auto;
}

/* ボタンのそれぞれのcss　1350pxで可変 */
.p1-a .link-botan a {
  gap: min(44px, 3.26vw);
  border: 1px solid #006C4F;
}

.p1-b .link-botan a {
  gap: min(48px, 3.56vw);
  border: 1px solid #24354E;
}

.p1-c .link-botan a {
  gap: min(50px, 3.7vw);
  border: 1px solid #24354E;
}

.p1-d .link-botan a {
  gap: min(48px, 3.56vw);
  border: 1px solid #24354E;
}

.p1-f .link-botan a {
  gap: min(54px, 4vw);
  border: 1px solid #FFFFFF;
}

.p1-g .link-botan a {
  gap: min(54px, 4vw);
  border: 1px solid #FFFFFF;
}

.p4-c .link-botan a {
  gap: min(48px, 3.56vw);
  border: 1px solid #24354E;
}

.p7-a .link-botan a {
  gap: min(44px, 3.26vw);
  border: 1px solid #006C4F;
}


/* フッター */
.footer-map {
  width: 100%;
}

.footer-map iframe {
  width: 100%;
  height: min(523px, 40.23vw);
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(123px, 9.46vw);
  position: relative;
  padding: min(40px, 3.08vw) 0 min(30px, 2.31vw);
}

.footer-nav ul {
  display: flex;
  gap: min(20px, 1.54vw);
}

.footer-nav ul li a {
  font-size: clamp(9px, 1.38vw, 18px);
}

.footer-logo {
  position: absolute;
  top: 50%;
  left: min(70px, 5.38vw);
  z-index: 10;
  transform: translateY(-50%);
}

.footer-logo img {
  width: min(261px, 20.08vw);
  height: auto;
}

.copy-right {
  text-align: center;
  background-color: #041835;
  padding: min(20px, 1.54vw) 0;
}

.copy-right p {
  font-size: clamp(9px, 1.23vw, 16px);
  color: #fff;
}









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

  .sp-br {
    display: block;
  } 

  /* ヘッダー */
 .sp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 9999;
    display: block; /* スマホでは表示 */
  }

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

  .sp-header-logo {
    width: 260px;
    height: 62px;
  }

  .sp-header-logo a {
    display: block;
  }

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

  .sp-menu-btn span {
    position: absolute;
    left: 12.5px;
    width: 35px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
  }

  .sp-menu-btn span:nth-child(1) { top: 12px; }
  .sp-menu-btn span:nth-child(2) { top: 21px; }
  .sp-menu-btn span:nth-child(3) { top: 30px; }

  .sp-menu-btn small {
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    color: #fff;
    font-size: 14px;
    font-family: "Zen Maru Gothic", sans-serif;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1;
    transition: 0.3s;
  }

  .sp-menu-btn.is-active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }

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

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

  .sp-menu-btn.is-active small {
    opacity: 0;
  }

  /* 全画面メニュー */
  .sp-header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #000;
    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;
  }

  /* トップ */
  .main-v-container {
    align-items: flex-end;
    padding-bottom: 160px;
  }

  .main-v-title {
    padding-left: 15px;
  }

  .main-v-title p {
    font-size: min(24px, 5.33vw);
  }

  .main-v-title h1 {
    font-size: 36px;
    padding-left: 12px;
  }

  .p1-a {
    background-image: none;
  }

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

  .p1-a-box {
    justify-content: center;
    width: 100%;
    margin: 60px auto;
  }

  .p1-a-post:nth-child(n+2) {
    display: none;
  }

  .p1-a-post {
    width: 313px;
  }

  .p1-a-thumb {
    width: 100%;
    height: 220px;
  }

  .p1-a-content {
    padding: 6px 13px 23px;
  }

  .p1-a-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .p1-a-date {
    font-size: 16px;
  }

  .p1-b {
    background-image: none;
  }

  .p1-b-container {
    padding: 0 0 120px;
  }

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

  .p1-b-text {
    margin-top: 50px;
    margin-bottom: 30px;
  }

  .p1-b-text p {
    font-size: 18px;
  }

  .p1-b-img {
    max-width: 500px;
    width: 100%;
    display: block;
    margin: 25px auto 0;
  }

  .p1-c-container {
    padding: 0 0 60px;
  }

  .p1-c-box {
    width: 92%;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }

  .p1-c-img img {
    max-width: 500px;
    width: 100%;
  }

  .p1-c-item {
    width: 100%;
    background-color: transparent;
    position: relative;
    z-index: 10;
    padding: 0;
    margin-left: 0;
    margin-top: -115px;
  }

  .p1-c .h2-title {
    max-width: 390px;
    width: min(390px, 81.25vw);
    background-color: #fff;
    padding: min(14px, 2.9vw) min(20px, 4.2vw);
    margin: 0 auto;
  }

  .p1-c-text {
    margin-top: 18px;
  }

  .p1-c-text p {
    font-size: 18px;
  }

  .p1-c-box2 {
    width: 100%;
    text-align: center;
    margin-top: 55px;
    overflow: hidden; 
  }

  .p1-c-box2 h3 {
    font-size: 30px;
  }

  .p1-c-img-box {
    width: 108%;
    margin-left: -4%;
    margin-right: -4%;
    
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 65px;
  }

  .p1-c-img-box img {
    width: 30%;
    height: auto;
    object-fit: cover;
  }

  .p1-d {
    background-image: url(../image/sp-top-back4.png);
  }

  .p1-d-container {
    padding: 40px 0 60px;
  }

  .p1-d-box {
    width: 92%;
    flex-direction: column-reverse;
    align-items: center;
    gap: 35px;
    margin: 25px auto 0;
  }

  .p1-d-item {
    width: 100%;
  }

  .p1-d-text {
    margin-bottom: 35px;
  }

  .p1-d-text p {
    font-size: min(24px, 5.58vw);
  }

  .p1-d-img img {
    max-width: 500px;
    width: 100%;
    height: auto;
  }

  .p1-e {
    background-color: #F6F6F6;
  }

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

  .p1-e-box {
    width: 92%;
    display: flex;
    justify-content: space-between;
    background-image: url(../image/sp-top-back5.png);
    background-repeat: no-repeat;
    background-size: 256px auto;
    background-position: top right;
    margin: 0 auto;
  }

  .p1-e-item {
    width: 100%;
  }

  .p1-e-text {
    margin-top: 14px;
  }

  .p1-e-text p {
    font-size: 18px;
  }

  .p1-e-img {
    display: none;
  }

  .p1-f {
    background-image: url(../image/sp-top-back6.png);
  }

  .p1-f-container {
    padding: 0 0 62px;
  }

  .p1-f .h2-title {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 4%;
    gap: 0;
    width: 100%;
  }

  .p1-f .h2-text-group {
    flex-direction: row;
    align-items: flex-end;
    gap: 22px;
  }

  .p1-f .h2-title h2 {
    font-size: 60px;
    line-height: 1;
    color: #fff;
    margin: 0;
  }

  .p1-f .h2-title p {
    font-size: 24px;
    line-height: 1.5;
    color: #fff;
    margin-top: 0;
  }

  .p1-f .h2-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: auto;
    bottom: -20px;
    width: min(83px, 17.3vw);
    height: 1px;
    background-color: #fff;
    z-index: 1;
  }

  .p1-f .h2-title::after {
    content: "";
    position: absolute;
    right: 0;
    top: auto;
    bottom: -20px;
    width: min(316px, 65.8vw);
    margin-top: 0;
    height: 1px;
    background-color: #fff;
    flex-grow: 1;
  }

  .p1-f-l-line {
    display: none;
  }

  .p1-f-l-line::after {
    display: none;
  }

  .p1-f-box {
    justify-content: flex-start;
    margin-top: 35px;
    margin-bottom: 74px;
  }

  .p1-f-item {
    width: 92%;
    margin: 0 auto;
  }

  .p1-f-text p {
    font-size: 16px;
  }

  .p1-g-container {
    width: 92%;
    padding: 36px 0 30px;
    margin: 0 auto;
  }

  .p1-g-text {
    margin-top: 23px;
    margin-bottom: 50px;
  }

  .p1-g-text p {
    font-size: 20px;
  }

  .p1-g-link {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }

  .p1-g-link .link-botan {
    margin-left: 0;
    margin-right: 0;
  }

  .p1-g-link .link-botan a span {
    color: #fff;
    display: inline-flex;
    align-items: center;
    line-height: 1;
  }

  .p1-g-link .p1-g-tel a span::before,
  .p1-g-link .p1-g-mail a span::before {
    content: "";
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .p1-g-link .p1-g-tel a span::before {
    width: 20px;
    height: 25px;
    background-image: url(../image/tel.png);
  }

  .p1-g-link .p1-g-mail a span::before {
    width: 27px;
    height: 20px;
    background-image: url(../image/mail.png);
  }

  /* 会社案内 */
  .p2-a-container {
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .p2-a-box {
    width: 92%;
    margin: 30px auto 0;
  }

  .p2-a-box p {
    font-size: 16px;
  }

  .p2-a-p {
    margin-bottom: 30px;
  }

  .p2-a-item {
    margin-top: 30px;
  }

  .p2-a-item p {
    font-size: 18px;
  }

  .p2-b {
    background-color: #F6F6F6;
  }

  .p2-b-container {
    width: 92%;
    padding-bottom: 50px;
    margin: 0 auto;
  }

  .p2-b-box {
    flex-direction: column;
    align-items: center;
  }

  .p2-b .h2-title h2 {
    font-size: min(60px, 13.33vw);
  }

  .p2-b-table {
    width: 100%;
    flex: 1;
    padding: 40px 0;
  }

  .p2-b-table table {
    margin-top: 30px;
  }

  .p2-b-table tr th, 
  .p2-b-table tr td {
    font-size: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .p2-b-table tr th {
    width: 130px;
    text-align: left;
  }

  .p2-b-img {
    display: block;
  }

  .p2-b-img img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
  }

  /* 業務内容 */
  .p3-a-container {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .p3-a-box {
    width: 92%;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }

  .p3-a-img {
    max-width: 500px;
    width: 100%;
    height: auto;
  }

  .p3-a-item {
    width: 100%;
    padding-top: 10px;
  }

  .p3-a-text {
    margin-top: 20px;
  }

  .p3-a-text p {
    font-size: 16px;
  }

  .p3-b {
    background-image: linear-gradient(
      to bottom, 
      transparent 100px, 
      #F6F6F6 100px
    );
    margin-top: 0;
  }

  .p3-b-container {
    padding-bottom: 50px;
  }

  .p3-b .p3-a-box.reverse {
    flex-direction: column;
  }

  .p3-b .p3-a-box:nth-child(n+2) {
    margin-top: 45px;
  }

  .p3-b .p3-a-box:nth-child(4) .h2-title h2 {
    white-space: wrap;
    font-size: 60px;
  }


  /* 採用情報 */
  .p4-a-container {
    background-image: none;
  }

  .p4-a-box {
    width: 92%;
    padding-top: 50px;
    margin: 0 auto;
  }

  .p4-a-item {
    padding-bottom: 30px;
    margin-left: 0;
  }

  .p4-a-item h2 {
    font-size: 36px;
  }

  .p4-a-item p {
    width: 100%;
    font-size: 16px;
    margin-top: 29px;
  }

  .p4-a-p {
    display: none;
  }

  .p4-b {
    background-color: #F6F6F6;
  }

  .p4-b-container {
    padding-bottom: 50px;
  }

  .p4-b-box {
    width: 92%;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
  }

  .p4-b-img {
    max-width: 500px;
    width: 100%;
    height: auto;
  }

  .p4-b-item {
    width: 100%;
    padding-top: 10px;
  }

  .p4-b-text {
    margin-top: 10px;
  }

  .p4-b-text p {
    font-size: 16px;
  }

  .p4-b .p4-b-box.reverse {
    flex-direction: column;
  }

  .p4-c-container {
    width: 94%;
    padding: 50px 0;
    margin: 0 auto;
  }

  .p4-c-title {
    padding-bottom: 20px;
  }

  .p4-c-title h2 {
    font-size: 36px;
  }

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

  .p4-c-table table {
    width: 100%;
    border-spacing: 0 10px;
    margin-bottom: 50px;
  }

  .p4-c-table table tr th,
  .p4-c-table table tr td {
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .p4-c-table table tr th {
    width: 110px;
  }

  .p4-c-table table tr th::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    background-image: url(../image/part3.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 13px;
  }

  .p4-c-table table tr td {
    width: auto;
    background-color: #F6F6F6;
    padding-left: 10px;
  }


  /* お問い合わせ */
  .p5-a-container {
    padding-top: 50px;
    padding-bottom: 100px;
  }

  .p5-a-title {
    padding-bottom: 20px;
  }

  .p5-a-title h2 {
    font-size: 20px;
  }

  .p5-a-box {
    width: 92%;
    margin: 40px auto 0;
  }

  .form-table th, .form-table td {
    display: block;
  }

  .form-table th {
    width: 100%;
    padding-top: 10px;
  }

  .form-table td {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .form-table tr:last-child th {
    padding-top: 10px;
  }

  .form-table th p {
    font-size: 16px;
  }

  .required, .optional {
    display: inline-block;
    width: 50px;
    margin-right: 0;
    font-size: 14px;
  }

  .required {
    font-size: 13px;
  }

  .optional {
    font-size: 13px;
  }

  .p5-a-box .wpcf7-form-control:not(.wpcf7-submit):not([type="radio"]):not(textarea) {
    width: 100%;
    height: 40px;
    border: 1px solid #979797;
    background-color: #fff;
    padding: 0 15px;
    font-size: 14px;
    box-sizing: border-box;
  }

  .p5-a-box textarea.wpcf7-form-control {
    width: 100%;
    height: 150px;
    border: 1px solid #979797;
    background-color: #fff;
    padding: 15px;
    font-size: 16px;
    box-sizing: border-box;
    display: block;
  }

  .p5-a-box span.wpcf7-form-control.wpcf7-radio {
    border: none !important;
    display: flex;
    gap: 10px;
    padding-left: 0;
    height: auto;
    min-height: 46px;
    align-items: center;
  }

  .p5-a-box .wpcf7-list-item {
    border: none !important;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 15px;
  }

  .p5-a-box .wpcf7-list-item input[type="radio"] {
    width: auto;
    height: auto;
    border: none !important;
    background: none !important;
    margin: 0 5px 0 0;
    padding: 0;
    box-shadow: none !important;
    cursor: pointer;
    flex-shrink: 0;
  }

  .form-submit {
    text-align: center;
    margin-top: 50px;
  }

  .wpcf7-submit {
    display: inline-block;
    width: 200px;
    height: 50px;
    background-color: #394F98;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
  }

  .p5-a-box2 {
    width: 92%;
    margin: 40px auto 0;
  }

  .p5-a-text {
    width: 100%;
    height: 234px;
    padding: 10px;
    font-size: 16px;
    margin-top: 25px;
  }

  .p5-a-p {
    margin-bottom: 20px;
  }

  /* 施工事例 */
  .p6-a-container {
    padding-top: 50px;
    padding-bottom: 100px;
  }

  .p6-a-box {
    width: 92%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .p6-a-post {
    width: 100%;
    max-width: 500px; 
  }

  .p6-a-thumb {
    width: 100%;
    overflow: hidden;
  }

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

  /* お知らせ */
  .p7-a-container {
    padding: 40px;
    padding-bottom: 40px;
  }

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

  .p7-a-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .p7-a-entry {
    font-size: 16px;
  }

  .p7-a-entry img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 20px auto; 
  }

  .p7-a .link-botan {
    margin-top: 40px;
  }

  /* お知らせ一覧 */
  .p8-a-container {
    padding: 40px 0;
  }

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

  .p8-a-post {
    width: 300px;
  }

  .p8-a-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #fff;
  }

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

  .p8-a-content {
    padding: 10px 15px 20px; 
  }

  .p8-a-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .p8-a-date {
    font-size: 14px;
    display: block;
  }

  .pagination {
    width: 100%;
    text-align: center;
    margin-top: 50px;
  }

  .pagination .page-numbers {
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    text-decoration: none;
    font-size: 14px;
  }

  .pagination .current {
    background: #333;
    color: #fff;
    border: 1px solid #333;
  }





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

  .sub-title {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
  }

  .sub-title h1 {
    font-size: 50px;
  }

  .sub-title p {
    font-size: 24px;
  }

  .sub-a {
    background-image: none;
  }

  .sub-b {
    background-image: none;
  }

  .p5-a.sub-a, .p6-a.sub-a, .p8-a.sub-a {
    background-image: none;
  }




  /* 共通パーツ */
  .h2-title h2 {
    font-size: 60px;
  }

  .h2-title p {
    font-size: 24px;
  }

  .link-botan {
    width: 313px;
  }

  .link-botan a {
    padding: 13px 10px 13px 0;
    border-radius: 10px;
  }

  .link-botan a span {
    font-size: 20px;
  }

  .link-botan a img {
    width: 14px;
  }


  /* ボタンのそれぞれのcss　1350pxで可変 */
  .p1-a .link-botan a {
    gap: 44px;
    border: 1px solid #006C4F;
  }

  .p1-b .link-botan a {
    gap: 48px;
    border: 1px solid #24354E;
  }

  .p1-c .link-botan a {
    gap: 50px;
    border: 1px solid #24354E;
  }

  .p1-d .link-botan a {
    gap: 48px;
    border: 1px solid #24354E;
  }

  .p1-f .link-botan a {
    gap: 54px;
    border: 1px solid #FFFFFF;
  }

  .p1-g .link-botan a {
    gap: 54px;
    border: 1px solid #FFFFFF;
  }

  .p4-c .link-botan a {
    gap: 48px;
    border: 1px solid #24354E;
  }

  .p7-a .link-botan a {
    gap: 44px;
    border: 1px solid #006C4F;
  }


  /* フッター */
  .footer-map iframe {
    width: 100%;
    height: 173px;
  }

  .footer-nav {
    width: 92%;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    position: relative;
    padding: 12px 0 40px;
    margin: 0 auto;
  }

  .footer-nav ul {
    width: 285px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-nav ul li a {
    font-size: 18px;
  }

  .footer-logo {
    position: static;
    z-index: 1;
    transform: translateY(0);
  }

  .footer-logo img {
    width: 261px;
    height: auto;
  }

  .copy-right {
    padding: 17px 0;
  }

  .copy-right p {
    font-size: 16px;
  }




}


@media screen and (max-width: 480px) {
  /* トップ */
  .main-v {
    width: 100%;
    height: 606px;
    position: relative;
    overflow: hidden;
  }

  .slide1 { background-image: url(../image/sp-top-back1.png); }
  .slide2 { background-image: url(../image/sp-top-back2.png); }
  .slide3 { background-image: url(../image/sp-top-back3.png); }

  .p1-g {
    background-image: url(../image/sp-top-back7.png);
  }

  /* 下層共通 */
  .sub-v {
    background-image: url(../image/sub-back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
  }


}