@charset "UTF-8";

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


body {
  margin: 0;
}

li {
  list-style: none;
}

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

h1, h2, h3, a, span, th, td, li {
  font-family: "Zen Maru Gothic", sans-serif;
}

p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #333333;
}

a:hover {
  opacity: .8;
}

.color1 {
  color: #e60012;
}

.color2 {
  color: #0062b2;
}

.color3 {
  color: #58d6ff;
}

.color4 {
  color: #f7ae00;
}

.color5 {
  color: #ff3878;
}

/* --- コンテナ設定 --- */
.w-container {
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
}

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

/* 消してる要素 */
.sp-header, .p1-a .link-botan.sp, .prev, .next, .sp-img, .fixed-floating-footer, .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(214px, 16.46vw);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  width: 100%;
  /* 3px → 0.23vw */
  padding: min(3px, 0.23vw) 1.5% 0 2%;
}

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

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

.header-nav {
  height: min(130px, 10vw);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.header-link .tel1 a, .header-link .tel2 a {
  width: min(262px, 20.15vw);
  height: min(50px, 3.85vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: min(30px, 2.31vw);
  line-height: 1;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: min(50px, 3.85vw);
}

.header-link a span {
  font-size: min(16px, 1.23vw);
}

.header-link .contact {
  width: min(270px, 20.77vw);
  height: min(50px, 3.85vw);
}

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

.header-nav ul li {
  padding-left: min(30px, 2.31vw);
  padding-right: min(30px, 2.31vw);
  border-left: 1px dashed #f18900;
}

.header-nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-nav ul li span {
  font-size: min(18px, 1.38vw);
}

.header-nav ul li a img {
  width: auto;
  height: min(37px, 2.85vw);
}

/* トップ */
.top {
  background-image: url(../image/back2.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center top;
}

.main-v-container {
  position: relative;
  z-index: 10;
}

.main-v {
  width: 100%;
  height: min(910px, 53.52vw);
  position: relative; 
}

.slide-img {
  position: absolute;
  /* 135px を 1300基準で計算 (135/1300*100) */
  top: min(135px, 10.38vw);
  right: 0;
  /* width は 1800基準 (1500/1800*100) */
  width: min(1500px, 83.33vw);
  /* topと同じ値を引くことで隙間を防止 */
  height: min(775px, 45.58vw);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top right;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

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

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

.main-v-container {
  position: relative;
  z-index: 10;
}

.main-v-title {
  position: absolute;
  top: min(242px, 17.29vw);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(../image/top-back1.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: min(190px, 10.56vw) min(23px, 1.28vw) min(180px, 10vw) min(118px, 6.56vw);
}

.main-v-title p:first-child {
  font-size: min(40px, 2.22vw);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  position: relative;
  letter-spacing: min(5px, 0.28vw);
  color: #32aa5b;
}

.main-v-title p:first-child::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: min(-30px, -1.67vw);
  width: min(79px, 4.39vw);
  height: min(45px, 2.5vw);
  background: url(../image/part4.png) no-repeat center center / contain;
}

.main-v-title p:first-child::after {
  content: "";
  position: absolute;
  bottom: 100%;
  right: min(65px, 3.61vw);
  width: min(79px, 4.39vw);
  height: min(45px, 2.5vw);
  background: url(../image/part3.png) no-repeat center center / contain;
}

.main-v-title p:last-child {
  font-size: min(40px, 2.22vw);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: bold;
  letter-spacing: min(5px, 0.28vw);
  color: #f18900;
}

.main-v-title h1 {
  font-size: min(40px, 2.22vw);
  font-weight: bold;
  letter-spacing: min(5px, 0.28vw);
  padding-top: min(20px, 1.11vw);
  padding-bottom: min(20px, 1.11vw);
}

.main-v-title h1 span {
  font-size: min(60px, 3.33vw);
  font-weight: bold;
  letter-spacing: min(5px, 0.28vw);
}

.main-v-title p:last-child span {
  font-size: min(60px, 3.33vw);
  font-weight: bold;
  letter-spacing: min(5px, 0.28vw);
}

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

.p1-a-container {
  max-width: 1300px;
  padding: min(80px, 6.15vw) min(10px, 0.77vw);
  margin: 0 auto;
}

.p1-a-box {
  display: flex;
  gap: min(138px, 10.62vw);
}

.p1-a-item {
  background-image: url(../image/top-back2.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: min(30px, 2.31vw);
  padding-bottom: min(30px, 2.31vw);
  flex-shrink: 0; /* 幅を維持 */
}

.p1-a-title {
  text-align: center;
  padding-bottom: min(60px, 4.62vw);
}

.p1-a-title h2 {
  font-size: min(40px, 3.08vw);
  padding-bottom: min(28px, 2.15vw);
}

.p1-a-title p {
  font-size: min(24px, 1.85vw);
}

/* ニュースエリア */
.news-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: min(10px, 0.77vw);
  padding-top: min(15px, 1.15vw);
}

.news-item {
  border-bottom: 1px dashed #858585;
  padding-bottom: min(15px, 1.15vw);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: min(20px, 1.54vw);
  margin-bottom: min(5px, 0.38vw);
}

.date {
  color: #f2598a;
  font-size: min(22px, 1.69vw);
  font-family: sans-serif;
}

.category {
  font-size: min(18px, 1.38vw);
  background: #0062b2;
  color: #fff;
  padding: min(2px, 0.15vw) min(12px, 0.92vw);
  border-radius: 50px;
}

.news-title {
  font-size: min(20px, 1.54vw);
  font-weight: bold;
  line-height: 1.5;
}

.p1-b {
  background-image: url(../image/top-back3.png), url(../image/top-back4.png), url(../image/back1.png);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: min(360px, 20vw) auto, min(435px, 24.17vw) auto, 100% 100%;
  background-position: right min(100px, 5.56vw) top min(100px, 5.56vw), left min(60px, 3.33vw) bottom min(170px, 9.44vw), center center;
}

.p1-b-container {
  padding-top: min(90px, 6.43vw);
  padding-bottom: min(110px, 7.86vw);
}

.p1-b-box {
  text-align: center;
  padding-top: min(50px, 3.57vw);
}

.p1-b-box p {
  font-size: min(20px, 1.43vw);
  line-height: 2em;
}

.p1-b-box p span {
  font-size: min(20px, 1.43vw);
  font-weight: bold;
}

.p1-c {
  background-image: url(../image/top-back5.png), url(../image/top-back6.png);
  background-repeat: no-repeat, no-repeat;
  background-size: min(448px, 32vw) auto, min(294px, 21vw) auto;
  background-position: right 8.7% top min(75px, 5.36vw), left 47% bottom min(60px, 4.29vw);
}

.p1-c-container {
  padding-top: min(80px, 5.71vw);
  padding-bottom: min(80px, 5.71vw);
}

.p1-c-box {
  width: min(1300px, 92.86vw);
  display: flex;
  justify-content: space-between;
  margin: max(-110px, -9.17vw) auto 0;
}

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

.p1-c-text {
  width: min(702px, 50.14vw);
  padding-top: min(180px, 12.86vw);
  padding-bottom: min(56px, 4vw);
}

.p1-c-text p {
  font-size: min(20px, 1.43vw);
  line-height: 2em;
  letter-spacing: 1.5px;
}

.p1-d {
  background-image: url(../image/back1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.p1-d-container {
  padding-top: min(80px, 5vw);
  padding-bottom: min(170px, 10.63vw);
}

.p1-d-img {
  width: min(1530px, 95.63vw);
  margin: min(50px, 3.13vw) auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: min(30px, 1.88vw);
}

.p1-d-img a {
  display: block;
}

.p1-e-container {
  padding-top: min(180px, 10.29vw);
  padding-bottom: min(130px, 7.43vw);
}

.p1-e-box {
  display: flex;
  justify-content: center;
}

.p1-e-img-box {
  position: relative;
  margin-top: max(-60px, -3.43vw);
  margin-right: max(-25px, -1.43vw);
}

.p1-e-img1 {
  width: min(750px, 42.86vw);
  height: auto;
}

.p1-e-img2 {
  width: min(178px, 10.17vw);
  height: auto;
  position: absolute;
  bottom: max(-10px, -0.57vw);
  left: max(-120px, -6.86vw);
  z-index: 10;
}

.p1-e-text-box {
  position: relative;
  z-index: 2; /* セクション内での重なり順 */
  margin-left: max(-50px, -2.86vw);
}

.p1-e-text {
  width: min(790px, 45.14vw);
  padding: min(66px, 3.77vw) min(55px, 3.14vw);
  position: relative;
  z-index: 1; /* z-indexを付与 */
}

/* 白背景と背景画像をここに分離 */
.p1-e-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-image: url(../image/top-back13.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top;
  border-radius: 20px;
  z-index: -1; /* テキストより後ろ、img5より前に配置 */
}

.p1-e-img5 {
  width: min(210px, 12vw);
  height: auto;
  position: absolute;
  top: max(-110px, -6.29vw);
  right: max(-110px, -6.29vw);
  z-index: -2; /* ::before(白背景)よりもさらに後ろへ */
}

.p1-e-img4 {
  width: min(306px, 17.49vw);
  height: auto;
  position: absolute;
  bottom: max(-60px, -3.43vw);
  right: max(-120px, -6.86vw);
  z-index: 10; /* テキストや白背景よりも上 */
}

/* 以下、変更なし */
.p1-e-link {
  display: flex;
  justify-content: center;
  gap: min(20px, 1.14vw);
}

.tel-img {
  width: min(289px, 16.51vw);
  height: auto;
}

.p1-e-text-box .contact {
  width: min(275px, 15.71vw);
  height: auto;
}

.p1-e-text h3 {
  text-align: center;
  font-size: min(50px, 2.86vw);
  color: #f18900;
  letter-spacing: 5px;
  padding-bottom: min(20px, 1.14vw);
  border-bottom: 1px dashed #f18900;
  margin-bottom: min(40px, 2.29vw);
}

.p1-e-text p {
  text-align: center;
  font-size: min(20px, 1.14vw);
  line-height: 1.5;
  margin-bottom: min(40px, 2.29vw);
}

.p1-f {
  background-image: url(../image/back1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.p1-f-container {
  padding-top: min(130px, 7.65vw);
  padding-bottom: min(240px, 14.12vw);
}

.p1-f-img {
  width: min(1650px, 97.06vw);
  margin: min(80px, 4.71vw) auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(20px, 1.18vw);
}

.p1-f-img img {
  width: min(315px, 18.53vw);
  height: auto;
  display: block;
}

.p1-g-container {
  padding-top: min(100px, 5.88vw);
  padding-bottom: min(150px, 8.82vw);
}

.p1-g-box {
  width: min(870px, 51.18vw);
  background-image: url(../image/top-back10.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: min(190px, 11.18vw);
  padding-bottom: min(170px, 10vw);
  margin: 0 auto;
}

.p1-g .link-botan a {
  display: flex;
  align-items: center;
  width: min(193px, 11.35vw);
  height: min(49px, 2.88vw);
  background-color: #f18900;
  font-size: min(20px, 1.18vw);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  position: relative;
  transition: opacity 0.3s;
  padding-left: min(15px, 0.88vw);
  margin: 0 auto;
  box-shadow: min(3px, 0.18vw) min(3px, 0.18vw) 0 #d96100;
}

.p1-g-img1 {
  width: min(210px, 11.67vw);
  height: auto;
  position: absolute;
  top: 0;
  right: max(-400px, -22.22vw);
  z-index: 10;
}

.p1-g-img2 {
  width: min(315px, 17.5vw);
  height: auto;
  position: absolute;
  bottom: max(-80px, -4.44vw);
  left: max(-400px, -22.22vw);
  z-index: 10;
}


/* サービス内容 */
.p2-a {
  padding-top: min(36px, 2.57vw);
}

.p2-a-container {
  width: min(1280px, 91.43vw);
  background-image: url(../image/part5.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top;
  padding-top: min(44px, 3.14vw);
  padding-bottom: min(120px, 8.57vw);
  margin: 0 auto;
}

.p2-a-box {
  display: flex;
  justify-content: space-between;
  margin-top: min(100px, 7.14vw);
}

.p2-a-img {
  width: min(640px, 45.71vw);
  height: auto;
}

.p2-a-text {
  width: min(590px, 42.14vw);
}

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

.p2-a .h3-title {
  margin-top: min(35px, 2.5vw);
  margin-bottom: min(20px, 1.43vw);
}

.p2-a .h3-title h3 {
  font-size: min(24px, 1.71vw);
  font-weight: 400;
  padding-left: min(15px, 1.07vw);
}

.p2-a-text .h3-title + p {
  font-size: min(16px, 1.14vw);
  padding-left: min(20px, 1.43vw);
  margin-bottom: min(50px, 3.57vw);
}

.p2-a-img2 {
  text-align: right;
}

.p2-a-img2 img {
  width: min(426px, 30.43vw);
  height: auto;
}

.p2-b {
  background-image: url(../image/back1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.p2-b-container {
  width: min(1280px, 75.29vw);
  padding-top: min(55px, 3.24vw);
  padding-bottom: min(300px, 17.65vw);
  margin: 0 auto;
}

.p2-b-title {
  text-align: center;
  position: relative;
}

.p2-b-title h2 {
  font-size: min(40px, 2.35vw);
  line-height: 1.5;
}

.p2-b-title img {
  width: min(80px, 4.71vw);
  height: auto;
}

.p2-b-box {
  display: flex;
  justify-content: space-around;
  position: relative;
  margin-top: min(30px, 1.76vw);
}

.p2-b-item {
  width: min(410px, 24.12vw);
  height: min(490px, 28.82vw);
  background-color: #fcdae2;
  padding: min(10px, 0.59vw) min(28px, 1.65vw) 0 min(14px, 0.82vw);
}

.p2-b .h3-title h3 {
  font-size: min(19px, 1.12vw);
  letter-spacing: normal;
  padding-left: min(10px, 0.59vw);
}

.p2-b-img {
  text-align: center;
  padding-top: min(14px, 0.82vw);
  padding-bottom: min(20px, 1.18vw);
}

.p2-b-img img {
  width: min(350px, 20.59vw);
  height: auto;
}

.p2-b-text p {
  font-size: min(16px, 0.94vw);
}

.p2-b-text p:first-child {
  padding-bottom: min(17px, 1vw);
}

.p2-b-text p:last-child {
  padding-top: min(17px, 1vw);
}

.p2-b-img2 img {
  width: min(217px, 12.4vw);
  height: auto;
  position: absolute;
  top: 0;
  left: max(-200px, -11.43vw);
  z-index: 10;
}

.p2-b-img3 img {
  width: min(448px, 25.6vw);
  height: auto;
  position: absolute;
  right: max(-50px, -2.86vw);
  bottom: max(-210px, -12vw);
  z-index: 10;
}

.p2-c-container {
  width: min(1280px, 91.43vw);
  padding-top: min(130px, 9.29vw);
  padding-bottom: min(110px, 7.86vw);
  margin: 0 auto;
}

.p2-c-box {
  background-color: #fff;
  padding: min(45px, 3.21vw);
}

.p2-c-title {
  text-align: center;
  background-color: #f2598a;
  padding-top: min(15px, 1.07vw);
  padding-bottom: min(15px, 1.07vw);
  border-radius: min(30px, 2.14vw);
  margin-left: min(10px, 0.71vw);
  margin-right: min(10px, 0.71vw);
}

.p2-c-title h2 {
  font-size: min(30px, 2.14vw);
  font-weight: 400;
  color: #fff;
}

.p2-c-box2 {
  display: flex;
  justify-content: space-between;
  margin-top: min(60px, 4.29vw);
}

.p2-c-item {
  width: min(580px, 41.43vw);
}

.p2-c .h3-title h3 {
  font-size: min(24px, 1.71vw);
  padding-left: min(30px, 2.14vw);
}

.p2-c-item ul {
  margin-top: min(44px, 3.14vw);
}

.p2-c-item ul li {
  font-size: min(16px, 1.14vw);
  padding-top: min(15px, 1.07vw);
  padding-bottom: min(15px, 1.07vw);
  border-bottom: 1px dashed #9a9a9a;
  display: flex;
  align-items: center;
}

.p2-c-item ul li::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: min(37px, 2.64vw);
  height: min(40px, 2.86vw);
  background-image: url(../image/pdf.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-right: min(10px, 0.71vw);
  margin-top: min(2px, 0.14vw);
}

.p2-c-text {
  text-align: center;
  padding-top: min(80px, 5.71vw);
}

.p2-c-text p {
  font-size: min(16px, 1.14vw);
}

.p2-c-text .contact {
  width: min(350px, 25vw);
  height: auto;
  margin: min(20px, 1.43vw) auto 0;
}

.p2-d {
  background-image: url(../image/back1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.p2-d-container {
  background-image: url(../image/part6.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top min(20px, 1.33vw);
  padding-top: min(70px, 4.67vw);
  padding-bottom: min(190px, 12.67vw);
}

.p2-d-box {
  width: min(1280px, 71.11vw);
  display: flex;
  justify-content: space-around;
  position: relative;
  margin: min(56px, 3.73vw) auto 0;
}

.p2-d-item {
  width: min(528px, 29.33vw);
}

.p2-d-title {
  padding-top: min(7px, 0.47vw);
  padding-bottom: min(7px, 0.47vw);
  border-left: 5px solid #f2598a;
  margin-bottom: min(25px, 1.67vw);
}

.p2-d-item2 .p2-d-title {
  border-left: 5px solid #0062b2;
}

.p2-d-title h3 {
  font-size: clamp(10px, 1.6vw, 24px);
  padding-left: min(20px, 1.33vw);
}

.p2-d-item span {
  width: 100%;
  display: inline-block;
  font-size: clamp(10px, 1.07vw, 16px);
  background-color: #fcdae2;
  padding: min(16px, 1.07vw) min(10px, 0.67vw);
  border-radius: min(10px, 0.67vw);
}

.p2-d-item.p2-d-item2 span {
  background-color: #7fcef4;
}

.p2-d-item p {
  font-size: clamp(9px, 1.07vw, 16px);
  padding: min(16px, 1.07vw) min(10px, 0.67vw);
  border-left: 3px dashed #fcdae2;
  margin-left: min(20px, 1.33vw);
}

.p2-d-item.p2-d-item2 p {
  border-left: 3px dashed #7fcef4;
}

.p2-d-img img {
  width: min(294px, 16.33vw);
  height: auto;
  position: absolute;
  bottom: max(-100px, -5.56vw);
  left: max(-250px, -13.89vw);
  z-index: 10;
}

.p2-e-container {
  padding-top: 120px;
  padding-bottom: 200px;
}

.p2-e-img {
  width: min(1280px, 91.43vw);
  margin: min(50px, 3.57vw) auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.p2-e-img img {
  width: min(395px, 28.21vw);
  height: auto;
  margin-bottom: min(20px, 1.43vw);
}


/* 利用者様専用 */
.p3-a-container {
  padding-top: min(67px, 4.79vw);
  padding-bottom: min(720px, 51.43vw);
}

.p3-a-box {
  width: min(44vw, 440px);
  margin: min(5vw, 50px) auto 0;
  padding: min(3vw, 30px);
  background: #fff;
  border-radius: min(1.2vw, 12px);
  box-shadow: 0 min(0.4vw, 4px) min(2vw, 20px) rgba(0,0,0,0.15);
  font-family: sans-serif;
}

.basic-auth-mock h2 {
  font-size: min(2vw, 20px);
  margin-bottom: min(0.8vw, 8px);
  color: #1f1f1f;
  font-weight: 500;
}

.auth-url {
  font-size: min(1.4vw, 14px);
  color: #444;
  margin-bottom: min(2.4vw, 24px);
  word-break: break-all;
}

.auth-row {
  display: flex;
  align-items: center;
  margin-bottom: min(1.6vw, 16px);
}

.auth-row label {
  width: min(9vw, 90px);
  font-size: min(1.5vw, 15px);
  color: #1f1f1f;
}

.auth-row input {
  flex: 1;
  height: min(4.8vw, 48px);
  border: min(0.1vw, 1px) solid #747775;
  border-radius: min(0.8vw, 8px);
  padding: 0 min(1.6vw, 16px);
  font-size: min(1.6vw, 16px);
  outline: none;
  transition: border 0.2s;
}

.auth-row input:focus {
  border: min(0.2vw, 2px) solid #0b57d0;
  padding: 0 min(1.5vw, 15px);
}

.auth-btns {
  display: flex;
  justify-content: flex-end;
  gap: min(1.2vw, 12px);
  margin-top: min(3.2vw, 32px);
}

.btn-login, .btn-cancel {
  width: min(10vw, 100px);
  height: min(4vw, 40px);
  border-radius: min(2vw, 20px);
  font-size: min(1.4vw, 14px);
  cursor: pointer;
  border: none;
  font-weight: 500;
}

.btn-login {
  background-color: #0b57d0;
  color: #fff;
}

.btn-login:hover {
  background-color: #0842a0;
}

.btn-cancel {
  background-color: #d3e3fd;
  color: #041e49;
}

.btn-cancel:hover {
  background-color: #c0d7f9;
}



/* 利用者様　中 */
.p4-a-container {
  width: min(92.8vw, 1300px);
  padding-top: min(4.2vw, 60px);
  padding-bottom: min(64.2vw, 900px);
  margin: 0 auto;
}

.p4-a-img {
  width: 100%;
  padding: min(5vw, 70px) min(0.7vw, 10px);
}



/* 採用情報 */
.p5-a-container {
  padding-top: min(70px, 5vw);
  padding-bottom: min(400px, 28.5714vw);
}

.p5-a-box {
  width: min(930px, 58.125vw);
  background-color: #fff;
  position: relative;
  padding: min(60px, 4.2857vw) min(84px, 6vw);
  margin: min(90px, 6.4286vw) auto 0;
}

.p5-a-title {
  width: min(500px, 35.7143vw);
  text-align: center;
  background-image: url(../image/p5-img2.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: bottom;
  padding-bottom: min(30px, 2.1429vw);
  margin: 0 auto;
}

.p5-a-title h2 {
  font-size: min(30px, 2.1429vw);
  color: #f18900;
}

.p5-a-item p {
  text-align: center;
  font-size: clamp(10px, 1.1429vw, 16px);
  line-height: 1.6;
  padding-top: min(30px, 2.1429vw);
}

.p5-a-img-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: min(80px, 5.7143vw);
}

.p5-a .header-link {
  flex-direction: column;
  gap: min(50px, 3.5714vw);
}

.p5-a .header-link a {
  border: 1px solid #f18900;
}

.p5-a .contact {
  width: min(350px, 25vw);
  height: auto;
}

.p5-a-img img {
  width: clamp(0px, 26.4375vw, 423px);
  height: auto;
  position: absolute;
  top: clamp(-260px, -16.25vw, 0px);
  left: clamp(-315px, -19.6875vw, 0px);
  z-index: 10;
}

/* 施設概要 */
.p6-a-container {
  padding-top: min(70px, 4.375vw);
  padding-bottom: min(245px, 15.3125vw);
}

.p6-a-box {
  width: min(930px, 58.125vw);
  background-color: #fff;
  position: relative;
  padding: min(90px, 5.625vw) min(70px, 4.375vw);
  margin: min(82px, 5.125vw) auto 0;
}

.p6-a-box p {
  text-align: center;
  font-size: min(30px, 1.875vw);
  line-height: 1.6;
  color: #f18900;
}

.p6-a-img1 img {
  width: min(244px, 15.25vw);
  height: auto;
  position: absolute;
  right: max(-262px, -16.375vw);
  bottom: max(-130px, -8.125vw);
  z-index: 10;
}

.p6-a-img2 img {
  width: min(288px, 18vw);
  height: auto;
  position: absolute;
  left: max(-300px, -18.75vw);
  bottom: 0;
  z-index: 10;
}

.p6-b {
  background-image: url(../image/p6-back.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.p6-b-container {
  background-image: url(../image/p6-img5.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top min(20px, 1.4286vw);
  padding-top: min(210px, 15vw);
  padding-bottom: min(140px, 10vw);
}

.p6-b-img {
  width: min(1280px, 91.4286vw);
  display: flex;
  justify-content: space-between;
  margin: min(80px, 5.7143vw) auto 0;
}

.p6-b-img img {
  width: min(622px, 44.4286vw);
  height: auto;
}

.p6-b-box {
  width: min(1280px, 91.4286vw);
  margin: min(180px, 12.8571vw) auto 0;
}

.p6-b-title {
  text-align: center;
  background-color: #f2598a;
  padding-top: min(20px, 1.4286vw);
  padding-bottom: min(20px, 1.4286vw);
  border-radius: min(50px, 3.5714vw);
  margin-left: min(30px, 2.1429vw);
  margin-right: min(30px, 2.1429vw);
}

.p6-b-title h3 {
  font-size: min(30px, 2.1429vw);
  color: #fff;
}

.p6-b-table {
  width: min(835px, 59.6429vw);
  margin: min(40px, 2.8571vw) auto 0;
}

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

.p6-b-table table tr th, .p6-b-table table tr td {
  text-align: left;
  font-size: min(18px, 1.2857vw);
  font-weight: 400;
  padding-top: min(20px, 1.4286vw);
  padding-bottom: min(20px, 1.4286vw);
  border: 1px solid #ccc;
}

.p6-b-table table tr th {
  width: min(272px, 19.4286vw);
  background-color: #fff2f2;
  padding-left: min(40px, 2.8571vw);
}

.p6-b-table table tr td {
  width: auto;
  padding-left: min(100px, 7.1429vw);
}

.p6-b-table table tr td span.staff-item {
  display: block;
  position: relative;
  padding-left: 1.2em;
  text-align: left;
}

.p6-b-table table tr td span.staff-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: min(5px, 0.3571vw);
  width: min(18px, 1.2857vw);
  height: min(18px, 1.2857vw);
  background-color: #f18900;
  border-radius: 50%;
}

.p6-b-map {
  width: min(1110px, 79.2857vw);
  margin: min(60px, 4.2857vw) auto 0;
}

.p6-b-map p {
  width: fit-content;
  margin: 0 auto;
  text-align: left;
  line-height: 1.6;
  font-size: min(16px, 1.1429vw);
  position: relative;
  padding-left: min(25px, 1.7857vw);
}

.p6-b-map p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: min(25px, 1.7857vw);
  height: min(25px, 1.7857vw);
  background-image: url(../image/p6-img6.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.p6-b-map iframe {
  width: 100%;
  height: min(390px, 27.8571vw);
  margin-top: min(20px, 1.4286vw);
  border: 0;
}

.p6-c-container {
  padding-top: min(96px, 6.8571vw);
  padding-bottom: min(262px, 18.7143vw);
}

.p6-c .p6-b-title {
  background-color: #f18900;
}

.p6-c .p6-b-table table tr th {
  background-color: #ffedd6;
}

.p6-c-img {
  text-align: left;
  margin-top: min(220px, 15.7143vw);
}

.p6-c-img img {
  width: min(306px, 21.8571vw);
  height: auto;
}


/* お問い合わせ */
.p7-a-container {
  padding-top: min(60px, 4vw);
  padding-bottom: min(100px, 6.6667vw);
}

.p7-a-text {
  text-align: center;
  margin-top: min(30px, 2vw);
  margin-bottom: min(100px, 6.6667vw);
}

.p7-a-text p {
  font-size: min(16px, 1.0667vw);
}

.p7-a-text p:last-child {
  margin-top: min(30px, 2vw);
}

.p7-a-box {
  width: min(1400px, 93.3333vw); /* 1400/1500 */
  background-image: url(../image/p7-img1.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top;
  text-align: center;
  padding-top: min(100px, 6.6667vw);
  margin: 0 auto;
}

.p7-title {
  width: min(497px, 33.1333vw); /* 497/1500 */
  text-align: center;
  background-image: url(../image/p5-img2.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: bottom;
  padding-bottom: min(22px, 1.4667vw);
  margin: 0 auto;
}

.p7-title h3 {
  font-size: min(24px, 1.6vw);
  color: #333;
  font-weight: 400;
}

.p7-a-link {
  margin-top: min(40px, 2.6667vw);
  margin-bottom: min(20px, 1.3333vw);
}

.p7-a-link .header-link {
  justify-content: center;
}

.p7-a-link .header-link a {
  border: 1px solid #f18900;
}

.p7-a-box p {
  font-size: min(16px, 1.0667vw);
  color: #f18900;
}

.p7-b {
  background-image: url(../image/p7-back.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.p7-b-container {
  width: min(84vw, 840px);
  padding-top: min(12vw, 120px);
  padding-bottom: min(17vw, 170px);
  margin: 0 auto;
}

.p7-b-text {
  text-align: center;
  margin-top: min(4.5vw, 45px);
  margin-bottom: min(8vw, 80px);
}

.p7-b-text span {
  font-size: min(1.6vw, 16px);
  color: #f2598a;
}

.p7-b-text p {
  font-size: min(1.6vw, 16px);
}

.wpcf7 {
  color: #fff;
  padding: min(6vw, 60px) 0;
}

.form-row {
  display: flex;
  border-bottom: min(0.1vw, 1px) solid #333;
  padding: min(3.5vw, 35px) 0;
  align-items: center;
}

.form-row:first-child {
  align-items: flex-start;
}

.textarea-row {
  align-items: flex-start;
}

.form-label {
  width: min(40vw, 400px);
  font-size: min(1.8vw, 18px);
  padding-left: min(2vw, 20px);
}

.required {
  color: #ff0000;
  font-weight: bold;
}

.sub-label {
  font-size: min(1.6vw, 16px);
  color: #333;
  padding-left: min(2vw, 20px);
}

.form-input {
  flex: 1;
  padding-right: min(2vw, 20px);
}

.form-input input[type="text"],
.form-input input[type="email"],
.form-input input[type="tel"],
.form-input textarea {
  width: 100%;
  max-width: min(80vw, 800px);
  height: min(5.5vw, 55px);
  padding: 0 min(1.5vw, 15px);
  border: min(0.1vw, 1px) solid #ccc;
  border-radius: min(0.4vw, 4px);
  font-size: min(1.6vw, 16px);
  color: #333;
  background-color: #fff;
}

.form-input input::placeholder,
.form-input textarea::placeholder {
  color: #949494 !important;
  opacity: 1;
}
.form-input input::-webkit-input-placeholder,
.form-input textarea::-webkit-input-placeholder {
  color: #949494 !important;
}
.form-input input:-ms-input-placeholder,
.form-input textarea:-ms-input-placeholder {
  color: #949494 !important;
}

.textarea-row textarea {
  height: min(25vw, 250px);
  padding-top: min(1.5vw, 15px);
}

.zip-btn-display {
  display: inline-block;
  background-color: #f18900;
  color: #fff;
  padding: min(0.8vw, 8px) min(2vw, 20px);
  margin-top: min(1vw, 10px);
  font-size: min(1.6vw, 16px);
  font-weight: bold;
  border-radius: min(0.4vw, 4px);
  pointer-events: none;
  user-select: none;
  cursor: default;
}

.wpcf7-list-item {
  margin: 0 min(2.5vw, 25px) 0 0;
}
.wpcf7-list-item-label {
  color: #333;
  font-size: min(1.6vw, 16px);
}

.form-submit-container {
  text-align: center;
  padding-top: min(8vw, 80px);
}

.form-submit-container input[type="submit"] {
  width: min(35vw, 350px);
  height: min(6.8vw, 68px);
  border: none;
  cursor: pointer;
  background-image: url(../image/contact-botan.png); 
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: transparent;
  color: transparent;
  transition: opacity 0.3s;
}

.form-submit-container input[type="submit"]:hover {
  opacity: 0.8;
}

.wpcf7-spinner {
  display: none;
}

.p7-c-container {
  width: min(90.7vw, 1180px);
  padding-top: min(7.2vw, 94px);
  padding-bottom: min(44.6vw, 580px);
  margin: 0 auto;
}

.p7-c-title {
  text-align: center;
  background-color: #f2598a;
  padding-top: min(1.1vw, 15px);
  padding-bottom: min(1.1vw, 15px);
  border-radius: min(3.8vw, 50px);
}

.p7-c-title h2 {
  font-size: min(2.3vw, 30px);
  font-weight: 400;
  color: #fff;
}

.p7-c-box {
  padding-left: min(1.5vw, 20px);
  padding-right: min(1.5vw, 20px);
  margin-top: min(6.9vw, 90px);
}

.p7-c-p {
  margin-bottom: min(1.9vw, 25px);
}

.p7-c-p h3 {
  display: flex;
  align-items: center;
  font-size: min(1.2vw, 16px);
  font-weight: 400;
  color: #333;
}

.p7-c-p h3::before {
  content: "";
  display: inline-block;
  width: min(1.2vw, 16px);
  height: min(1.2vw, 16px);
  background-color: #f18900;
  border-radius: 50%;
  margin-right: min(0.3vw, 5px);
  flex-shrink: 0;
}

.p7-c-p p {
  font-size: min(1.2vw, 16px);
}

.p7-c-p li {
  font-size: min(1.2vw, 16px);
  color: #333;
}


/* お知らせ一覧 */
.p8-a-container {
  width: min(90.9vw, 1000px);
  padding-top: min(5.4vw, 60px);
  padding-bottom: min(9.1vw, 100px);
  margin: 0 auto;
}

.p8-a-item {
  border-bottom: min(0.1vw, 1px) dashed #858585;
  padding-top: min(1.3vw, 15px);
  padding-bottom: min(1.3vw, 15px);
}

.p8-a-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.p8-a-meta {
  display: flex;
  align-items: center;
  gap: min(1.8vw, 20px);
  margin-bottom: min(0.4vw, 5px);
}

.p8-a-date {
  color: #f2598a;
  font-size: min(2vw, 22px);
  font-family: sans-serif;
}

.p8-a-category {
  font-size: min(1.6vw, 18px);
  background: #0062b2;
  color: #fff;
  padding: min(0.18vw, 2px) min(1vw, 12px);
  border-radius: min(4.5vw, 50px);
}

.p8-a-title {
  font-size: min(1.8vw, 20px);
  font-weight: bold;
  line-height: 1.5;
  color: #333;
}

.p8-a-pagination {
  text-align: center;
  margin-top: min(4.5vw, 50px);
  display: flex;
  justify-content: center;
  gap: min(0.9vw, 10px);
}

.p8-a-pagination .page-numbers {
  display: inline-block;
  padding: min(0.7vw, 8px) min(1.4vw, 16px);
  border: min(0.1vw, 1px) solid #333;
  text-decoration: none;
  color: #333;
  font-size: min(1.2vw, 14px);
}

.p8-a-pagination .current {
  background: #333;
  color: #fff;
}

/* お知らせ */
.single-container {
  width: min(90vw, 900px);
  padding-top: min(6vw, 60px);
  padding-bottom: min(10vw, 100px);
  margin: 0 auto;
}

.single-title {
  font-size: min(3.2vw, 32px);
  font-weight: bold;
  line-height: 1.4;
  color: #333;
  margin-bottom: min(4vw, 40px);
  text-align: center;
  padding-bottom: min(2vw, 20px);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.single-content {
  font-size: min(1.8vw, 18px);
  line-height: 1.8;
  color: #444;
  margin-bottom: min(6vw, 60px); /* ボタンとの間隔 */
}

/* 戻るボタンのスタイル */
.single-back {
  text-align: center;
}

.btn-back {
  display: inline-block;
  width: min(20vw, 200px);
  height: min(5vw, 50px);
  line-height: min(5vw, 50px);
  background-color: #333;
  color: #fff;
  text-decoration: none;
  font-size: min(1.6vw, 16px);
  border-radius: min(5vw, 50px);
  transition: opacity 0.3s;
}

.btn-back:hover {
  opacity: 0.8;
}

.single-content img {
  max-width: min(50vw, 500px);
  width: 100%;
  height: auto;
  display: block;
  margin: min(3vw, 30px) auto;
  border-radius: min(0.4vw, 4px);
}











/* 下層ページ共通 */
.sub {
  background-image: url(../image/back2.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center top;
}

.sub-v {
  width: 100%;
  background-color: #fff;
  padding-top: min(135px, 10.38vw);
}

.sub-v-container {
  height: min(530px, 27.89vw);
  background-image: url(../image/sub-back.png), url(../image/sub-back2.png);
  background-repeat: no-repeat;
  background-size: auto min(530px, 27.89vw), auto min(485px, 25.53vw);
  background-position: right, left bottom -20px;
  display: flex;
  align-items: center; 
}

.sub-title h1 {
  display: inline-block;
  font-size: clamp(10px, 3.16vw, 60px);
  color: #f18900;
  background-color: #fff;
  line-height: 1;
  padding: min(25px, 1.32vw) min(150px, 7.89vw);
  border-radius: 20px;
  margin-left: min(100px, 5.26vw); 
}

.h2-title.sub-h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h2-title.sub-h2 h2 {
  color: #f18900;
}

.title-dots {
  display: flex;
  justify-content: center;
  gap: min(15px, 1.07vw);
  margin-top: min(20px, 1.43vw);
}

.dot {
  width: clamp(6px, 0.71vw, 10px);
  height: clamp(6px, 0.71vw, 10px);
  border-radius: 50%;
}

.dot-1 { background-color: #ff3878; }
.dot-2 { background-color: #f18900; }
.dot-3 { background-color: #0062b2; }

.h3-title {
  border-left: 5px solid;
  border-image: linear-gradient(to bottom, #7fcef4 50%, #ff3878 50%) 1;
}

.h3-title h3 {
  font-weight: 400;
}


/* 共通パーツ */
.link-botan a {
  display: flex;
  align-items: center;
  width: min(193px, 14.85vw);
  height: min(49px, 3.77vw);
  background-color: #f18900;
  font-size: min(20px, 1.54vw);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  position: relative;
  transition: opacity 0.3s;
  padding-left: min(15px, 1.15vw);
  margin: 0 auto;
}

.link-botan a::after {
  content: "";
  position: absolute;
  right: min(15px, 1.15vw);
  width: min(49px, 3.77vw);
  height: min(12px, 0.92vw);
  background: url(../image/part2.png) no-repeat center center / contain;
}

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

.h2-title h2 {
  font-size: min(50px, 3.57vw);
}

.h2-title p {
  font-size: min(20px, 1.43vw);
  color: #f18900;
}

.h2-title img {
  width: min(96px, 6.86vw);
  height: auto;
  padding-top: min(20px, 1.43vw);
}

/* フッター */
footer {
  background-image: url(../image/back2.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.footer-con-contaner {
  background-image: url(../image/back1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding-top: min(100px, 6.25vw);
  padding-bottom: min(100px, 6.25vw);
}

.footer-con-box {
  width: min(1030px, 64.38vw);
  position: relative;
  margin: min(60px, 3.75vw) auto 0;
}

.footer-con-text {
  text-align: center;
}

.footer-con-text p {
  font-size: min(20px, 1.25vw);
}

.footer-con-box .header-link {
  justify-content: center;
  margin-top: min(60px, 3.75vw);
}

.footer-con-box .header-link .tel1 a,
.footer-con-box .header-link .tel2 a {
  border: 1px solid #f18900;
}

.footer-inst {
  width: min(297px, 18.56vw);
  height: auto;
  margin: min(60px, 3.75vw) auto 0;
  position: relative;
}

.footer-inst::after {
  content: "";
  position: absolute;
  top: max(-20px, -1.25vw);
  right: max(-35px, -2.19vw);
  width: min(132px, 8.25vw);
  height: min(34px, 2.13vw);
  background-image: url(../image/part1.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

.footer-con-img1 {
  width: min(500px, 27.78vw);
  height: auto;
  position: absolute;
  top: max(-250px, -13.89vw);
  right: max(-300px, -16.67vw);
  z-index: 10;
}

.footer-con-img2 {
  width: min(300px, 16.67vw);
  height: auto;
  position: absolute;
  bottom: max(-70px, -3.89vw);
  left: max(-260px, -14.44vw);
  z-index: 10;
}

.footer-container {
  padding-top: min(130px, 7.88vw);
}

.footer-box {
  display: flex;
  gap: min(80px, 4.44vw);
  background-image: url(../image/footer-back.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: bottom;
  padding-left: min(90px, 5vw); /* ここだけ1800基準を維持 */
  padding-bottom: min(130px, 7.88vw);
}

.footer-logo {
  width: min(243px, 14.73vw);
  height: auto;
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: min(30px, 1.82vw);
}

.footer-item p {
  font-size: clamp(10px, 1.09vw, 18px);
  letter-spacing: 2px;
  line-height: 1.6;
}

.footer-nav {
  width: min(560px, 33.94vw);
  padding-left: min(50px, 2.78vw);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  row-gap: min(30px, 1.82vw);
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  width: 33.33%;
  margin-bottom: min(15px, 0.91vw);
  position: relative;
  padding-left: min(18px, 1.09vw);
  box-sizing: border-box;
}

.footer-nav ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: min(6px, 0.36vw) 0 min(6px, 0.36vw) min(8px, 0.48vw);
  border-color: transparent transparent transparent #f18900;
}

.footer-nav ul li a {
  text-decoration: none;
  color: #333;
  font-size: clamp(10px, 1.09vw, 18px);
  display: block;
}

.copy-right {
  text-align: center;
  padding-top: min(30px, 1.82vw);
  padding-bottom: min(30px, 1.82vw);
}

.copy-right p {
  font-size: clamp(10px, 1.09vw, 18px);
}

.top-botan {
  position: fixed;
  right: min(90px, 5.45vw);
  bottom: min(160px, 9.7vw);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.top-botan.is-show {
  opacity: 1;
  visibility: visible;
}

.top-botan a {
  display: block;
}

.top-botan img {
  width: min(87px, 5.27vw);
  height: auto;
}





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

  .sp-img, .sp-br {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }

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

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

  .sp-header-logo img {
    width: 136px;
    height: auto;
  }

  /* ハンバーガーボタン */
  .sp-menu-btn {
    position: relative;
    width: 38px;
    height: 38px;
    background-color: #0842a0;
    border: none;
    z-index: 1000;
    cursor: pointer;
    padding: 0;
    display: block;
  }

  /* 3本線の共通設定 */
  .sp-menu-btn span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
  }

  /* 線の垂直位置を微調整（文字とのバランスを考慮） */
  .sp-menu-btn span:nth-child(1) { top: 9px; }
  .sp-menu-btn span:nth-child(2) { top: 16px; }
  .sp-menu-btn span:nth-child(3) { top: 23px; }

  /* 下にMENUのテキストを常時表示 */
  .sp-menu-btn::after {
    content: "MENU";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7px;
    color: #fff;
    font-family: sans-serif;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1;
    transition: opacity 0.3s; /* 切り替えをスムーズに */
  }

  /* ×印に変形（2本目の線を消して1と3を中央16pxで交差） */
  .sp-menu-btn.is-active span:nth-child(1) {
    top: 16px;
    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: 16px;
    transform: translateX(-50%) rotate(-45deg);
  }

  /* ×印のときは文字を完全に消す */
  .sp-menu-btn.is-active::after {
    content: ""; 
    opacity: 0;
  }

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

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

  .sp-nav-list {
    list-style: none;
    text-align: center;
  }

  .sp-nav-list li { margin: 25px 0; }
  .sp-nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
  }

  /* トップ */
  .top {
    background-image: url(../image/back2.png);
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: center top;
  }

  .main-v {
    width: 100%;
    height: auto;
  }

  .slide-img {
    position: absolute;
    top: 70px;
    left: 30%; 
    width: 70%;
    height: 305px;
    background-repeat: no-repeat;
    background-size: auto 100%; 
    background-position: left top;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
  }

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

  .main-v-title {
    position: static;
    text-align: center;
    display: inline-block;
    top: 100px;
    padding: 100px 9px 55px 49px;
    margin-top: 270px;
  }

  .main-v-title p:first-child {
    font-size: 22px;
    letter-spacing: normal;
  }

  .main-v-title p:first-child::before {
    left: 5%;
    width: 41px;
    height: 23px;
  }

  .main-v-title p:first-child::after {
    right: 30px;
    width: 42px;
    height: 24px;
  }

  .main-v-title p:last-child {
    font-size: 22px;
    letter-spacing: normal;
  }

  .main-v-title h1 {
    font-size: 22px;
    letter-spacing: normal;
    padding-top: 0;
    padding-bottom: 0;
  }

  .main-v-title h1 span {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .main-v-title p:last-child span {
    font-size: 32px;
    letter-spacing: 2px;
  }

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

  .p1-a-container {
    max-width: 92%;
    padding: 40px 0;
    margin: 0 auto;
  }

  .p1-a-box {
    flex-direction: column;
    align-items: center;
    gap: 56px;
  }

  .p1-a-item {
    background-size: auto 100%;
    background-position: center;
    padding-top: 60px;
    padding-bottom: 40px;
    flex-shrink: 0; /* 幅を維持 */
  }

  .p1-a-title {
    width: 100%;
    text-align: center;
    padding-bottom: 0;
  }

  .p1-a-title h2 {
    font-size: 30px;
    padding-bottom: 14px;
  }

  .p1-a-title p {
    font-size: 18px;
  }

  .p1-a .link-botan {
    display: none;
  }

  .p1-a .link-botan.sp {
    display: block;
  }

  /* ニュースエリア */
  .news-box {
    width: 100%;
    gap: 5px;
    padding-top: 7px;
  }

  .news-item {
    padding-bottom: 7px;
  }

  .news-meta {
    gap: 10px;
    margin-bottom: 5px;
  }

  .date {
    font-size: 22px;
  }

  .category {
    font-size: 18px;
    padding: 2px 6px;
    border-radius: 50px;
  }

  .news-title {
    font-size: 18px;
  }

  .p1-b {
    background-image: url(../image/top-back3.png), url(../image/sp-top-img1.png), url(../image/sp-back1.png);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 164px auto, 196px auto, 100% 100%;
    background-position: right top, left bottom 100px, center center;
  }

  .p1-b-container {
    padding-top: 120px;
    padding-bottom: 270px;
  }

  .p1-b-box {
    width: 92%;
    padding-top: 25px;
    margin: 0 auto;
  }

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

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

  .p1-c {
    background-image: url(../image/top-back5.png), url(../image/top-back6.png);
    background-repeat: no-repeat, no-repeat;
    background-size: 217px auto, 153px auto;
    background-position: right top, left 4% bottom 200px;
  }

  .p1-c-container {
    padding-top: 110px;
    padding-bottom: 90px;
  }

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

  .p1-c-img {
    max-width: 400px;
    width: 100%;
    height: auto;
  }

  .p1-c-text {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

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

  .p1-d-container {
    width: 92%;
    padding-top: 70px;
    padding-bottom: 117px;
    margin: 0 auto;
  }

  .p1-d-img {
    max-width: 400px;
    width: 100%;
    margin: 70px auto 0;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .p1-e-container {
    width: 92%;
    padding-top: 87px;
    padding-bottom: 140px;
    margin: 0 auto;
  }

  .p1-e-box {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .p1-e-img-box {
    position: relative;
    margin-top: 0;
    margin-right: 0;
  }

  .p1-e-img1 {
    max-width: 400px;
    width: 100%;
    height: auto;
  }

  .p1-e-img2 {
    width: 82px;
    height: auto;
    bottom: -620px;
    left: -4%;
    z-index: 10;
  }

  .p1-e-text-box {
    max-width: 400px;
    width: 100%;
    position: relative;
    z-index: 2; /* セクション内での重なり順 */
    margin-left: 0;
  }

  .p1-e-text {
    width: 100%;
    padding: 90px 13px 40px;
    position: relative;
    z-index: 1; /* z-indexを付与 */
  }

  /* 白背景と背景画像をここに分離 */
  .p1-e-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: url(../image/sp-top-img2.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top;
    border-radius: 20px;
    z-index: -1; /* テキストより後ろ、img5より前に配置 */
  }

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

  .p1-e-img4 {
    width: 168px;
    height: 75px;
    position: absolute;
    bottom: 0;
    top: -40px;
    right: 10px;
    z-index: 10; /* テキストや白背景よりも上 */
  }

  /* 以下、変更なし */
  .p1-e-link {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .tel-img {
    width: 288px;
    height: auto;
  }

  .p1-e-text-box .contact {
    width: 288px;
    height: auto;
  }

  .p1-e-text h3 {
    font-size: 35px;
    letter-spacing: normal;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f18900;
    margin-bottom: 20px;
  }

  .p1-e-text p {
    text-align: left;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .p1-f-container {
    padding-top: 80px;
    padding-bottom: 110px;
  }

  .p1-f-img {
    display: flex !important;
    flex-wrap: wrap !important; /* ここで折り返す */
    justify-content: center;
    gap: 30px 20px;
    width: 95%;
    margin: 40px auto 0;
  }
  .p1-f-img img {
    width: 40%; 
    max-width: 260px;
    height: auto;
  }

  .p1-g-container {
    padding-top: 100px;
    padding-bottom: 150px;
  }

  .p1-g-box {
    width: 92%;
    background-image: url(../image/top-back10.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    position: relative;
    transform-style: preserve-3d;
    z-index: 0;
    padding-top: min(19.5vw, 150px);
    padding-bottom: min(19.5vw, 150px);
    margin: 0 auto;
  }

  .p1-g .link-botan a {
    display: flex;
    align-items: center;
    width: min(17.1429vw, 120px);
    height: min(4.2857vw, 30px);
    background-color: #f18900;
    font-size: min(2.1429vw, 15px);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    position: relative;
    transition: opacity 0.3s;
    padding-left: min(2vw, 14px);
    margin: 0 auto;
    box-shadow: min(0.5714vw, 4px) min(0.5714vw, 4px) 0 #d96100;
  }

  .p1-g .link-botan a::after {
    content: "";
    position: absolute;
    right: min(2vw, 15px);
    width: min(4vw, 31px);
    height: min(1vw, 8px);
  }

  .p1-g-img1 {
    width: 83px;
    height: auto;
    position: absolute;
    top: -90px;
    right: -4%;
    transform: translateZ(-1px);
    z-index: -1;
  }

  .p1-g-img2 {
    width: 177px;
    height: auto;
    position: absolute;
    bottom: -122px;
    left: -4%;
    z-index: 10;
  }

  /* サービス内容 */
  .p2-a {
    padding-top: 40px;
  }

  .p2-a-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 60px;
    margin: 0 auto;
  }

  /* .p2-a .h2-title h2 {
    font-size: 28px;
  } */

  .p2-a-box {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
  }

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

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

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

  .p2-a .h3-title {
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .p2-a .h3-title h3 {
    font-size: 18px;
    padding-left: 8px;
  }

  .p2-a-text .h3-title + p {
    font-size: 16px;
    padding-left: 10px;
    margin-bottom: 25px;
  }

  .p2-a-img2 img {
    width: 200px;
    height: auto;
  }

  .p2-b {
    background-image: url(../image/sp-sub-back.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

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

  .p2-b-title h2 {
    font-size: 20px;
    line-height: 1.5;
  }

  .p2-b-title img {
    width: 80px;
    height: auto;
  }

  .p2-b-box {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
  }

  .p2-b-item {
    max-width: 400px;
    width: 100%;
    height: auto;
    background-color: #fcdae2;
    padding: 10px 18px;
  }

  .p2-b .h3-title h3 {
    font-size: 16px;
    padding-left: 10px;
  }

  .p2-b-img {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .p2-b-img img {
    width: 100%;
    height: auto;
  }

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

  .p2-b-text p:first-child {
    padding-bottom: 15px;
  }

  .p2-b-text p:last-child {
    padding-top: 15px;
  }

  .p2-b-img2 img {
    display: none;
  }

  .p2-b-img3 img {
    width: 200px;
    height: auto;
    position: absolute;
    right: 0;
    bottom: -60px;
    z-index: 10;
  }

  .p2-c-container {
    width: 92%;
    padding-top: 60px;
    padding-bottom: 60px;
    margin: 0 auto;
  }

  .p2-c-box {
    padding: 25px;
  }

  .p2-c-title {
    text-align: center;
    background-color: #f2598a;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 20px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .p2-c-title h2 {
    font-size: 20px;
  }

  .p2-c-box2 {
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
  }

  .p2-c-item {
    width: 100%;
    padding-top: 20px;
  }

  .p2-c .h3-title h3 {
    font-size: 16px;
    padding-left: 15px;
  }

  .p2-c-item ul {
    margin-top: 22px;
  }

  .p2-c-item ul li {
    font-size: 16px;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .p2-c-item ul li::before {
    width: 18px;
    height: 20px;
    margin-right: 5px;
    margin-top: 2px;
  }

  .p2-c-text {
    padding-top: 40px;
  }

  .p2-c-text p {
    font-size: 16px;
  }

  .p2-c-text .contact {
    width: 300px;
    height: auto;
    margin: 20px auto 0;
  }

  .p2-d {
    background-image: url(../image/sp-sub-back.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  .p2-d-container {
    background-image: url(../image/part6.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top 10px;
    padding-top: 40px;
    padding-bottom: 150px;
  }

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

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

  .p2-d-title {
    padding-top: 7px;
    padding-bottom: 7px;
    margin-bottom: 20px;
  }

  .p2-d-title h3 {
    font-size: 18px;
    padding-left: 10px;
  }

  .p2-d-item span {
    font-size: 16px;
    padding: 15px 10px;
    border-radius: 10px;
  }

  .p2-d-item p {
    font-size: 16px;
    padding: 15px 10px;
    margin-left: 10px;
  }

  .p2-d-img img {
    width: 150px;
    height: auto;
    position: absolute;
    bottom: -110px;
    left: 0;
    z-index: 10;
  }

  .p2-e-container {
    padding-top: 120px;
    padding-bottom: 200px;
  }

  .p2-e-img {
    width: 92%;
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .p2-e-img img {
    width: 48%;
    height: auto;
    margin-bottom: 4%;
  }

  /* 利用者様専用 */
  .p3-a-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 300px;
    margin: 0 auto;
  }

  .p3-a-box {
    max-width: 400px;
    width: 100%;
    margin: 30px auto 0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }

  .basic-auth-mock h2 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .auth-url {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .auth-row {
    margin-bottom: 12px;
  }

  .auth-row label {
    width: 80px;
    font-size: 14px;
  }

  .auth-row input {
    flex: 1;
    height: 34px;
    border: 1px solid #747775;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
  }

  .auth-row input:focus {
    border: 2px solid #0b57d0;
    padding: 0 10px;
  }

  .auth-btns {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
  }

  .btn-login, .btn-cancel {
    width: 70px;
    height: 30px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    border: none;
    font-weight: 500;
  }


  /* 利用者様　中 */
  .p4-a-container {
    width: 96%;
    padding-top: 40px;
    padding-bottom: 400px;
    margin: 0 auto;
  }

  .p4-a-img {
    width: 100%;
    padding: 30px 0;
  }


  /* 採用情報 */
  .p5-a-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 200px;
    margin: 0 auto;
  }

  .p5-a-box {
    max-width: 500px;
    width: 100%;
    padding: 30px 40px;
    margin: 30px auto 0;
  }

  .p5-a-title {
    width: 100%;
    text-align: center;
    background-image: url(../image/p5-img2.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom;
    padding-bottom: 20px;
    margin: 0 auto;
  }

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

  .p5-a-item p {
    text-align: left;
    font-size: 16px;
    padding-top: 20px;
  }

  .p5-a-img-box {
    flex-direction: column;
    gap: 25px;
    padding-top: 40px;
  }

  .p5-a .header-link {
    gap: 25px;
  }

  .p5-a .header-link .tel1 a, .p5-a .header-link .tel2 a {
    width: 250px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border-radius: 50px;
  }

  .p5-a .header-link a span {
    font-size: 16px;
  }

  .p5-a .contact {
    width: 250px;
    height: auto;
  }

  .p5-a-img img {
    width: 130px;
    height: auto;
    position: absolute;
    top: -70px;
    left: -4%;
    z-index: 10;
  }


  /* 施設概要 */
  .p6-a-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 120px;
    margin: 0 auto;
  }

  .p6-a-box {
    width: 100%;
    padding: 40px 30px;
    margin: 30px auto 0;
  }

  .p6-a-box p {
    font-size: 18px;
  }

  .p6-a-img1 img {
    width: 100px;
    height: auto;
    position: absolute;
    right: -4%;
    bottom: -100px;
    z-index: 10;
  }

  .p6-a-img2 img {
    width: 80px;
    left: -4%;
    bottom: 0;
    top: -130px;
    z-index: 10;
  }

  .p6-b {
    background-image: url(../image/sp-sub-back.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  .p6-b-container {
    background-image: url(../image/p6-img5.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top 10px;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .p6-b-img {
    width: 92%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px auto 0;
  }

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

  .p6-b-box {
    width: 92%;
    margin: 90px auto 0;
  }

  .p6-b-title {
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 50px;
    margin-left: 0;
    margin-right: 0;
  }

  .p6-b-title h3 {
    font-size: 20px;
  }

  .p6-b-table {
    width: 100%;
    margin: 30px auto 0;
  }

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

  .p6-b-table table tr th {
    width: 30%;
    padding-left: 10px;
  }

  .p6-b-table table tr td {
    width: auto;
    padding-left: 10px;
  }

  .p6-b-table table tr td span.staff-item::before {
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
  }

  .p6-b-map {
    width: 100%;
    margin: 40px auto 0;
  }

  .p6-b-map p {
    width: fit-content;
    margin: 0 auto;
    text-align: left;
    line-height: 1.6;
    font-size: 16px;
    position: relative;
    padding-left: 20px;
  }

  .p6-b-map p::before {
    width: 20px;
    height: 20px;
    background-image: url(../image/p6-img6.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

  .p6-b-map iframe {
    width: 100%;
    height: 180px;
    margin-top: 10px;
    border: 0;
  }

  .p6-c-container {
    padding-top: min(96px, 6.8571vw);
    padding-bottom: min(262px, 18.7143vw);
  }

  .p6-c .p6-b-title {
    background-color: #f18900;
  }

  .p6-c .p6-b-table table tr th {
    background-color: #ffedd6;
  }

  .p6-c-img {
    text-align: left;
    margin-top: 40px;
  }

  .p6-c-img img {
    width: 150px;
    height: auto;
  }


  /* お問い合わせ */
  .p7-a-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 50px;
    margin: 0 auto;
  }

  .p7-a-text {
    margin-top: 30px;
    margin-bottom: 50px;
  }

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

  .p7-a-text p:last-child {
    margin-top: 20px;
  }

  .p7-a-box {
    width: 100%;
    background-image: url(../image/p7-img1.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top;
    text-align: center;
    padding-top: 80px;
    margin: 0 auto;
  }

  .p7-title {
    width: 300px;
    text-align: center;
    background-image: url(../image/p5-img2.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom;
    padding-bottom: 20px;
    margin: 0 auto;
  }

  .p7-title h3 {
    font-size: 20px;
  }

  .p7-a-link {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .p7-a-link .header-link {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .p7-a-box p {
    font-size: 14px;
  }

  .p7-a .header-link .tel1 a, .p7-a .header-link .tel2 a {
    width: 250px;
    height: 48px;
    justify-content: center;
    font-size: 24px;
    border-radius: 50px;
  }

  .p7-a .header-link a span {
    font-size: 16px;
  }

  .p7-b {
    background-image: url(../image/sp-sub-back.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  .p7-b-container {
    width: 92%;
    padding-top: 60px;
    padding-bottom: 80px;
    margin: 0 auto;
  }

  .p7-b-text {
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .p7-b-text span {
    font-size: 14px;
  }

  .p7-b-text p {
    font-size: 14px;
  }

  .wpcf7 {
    color: #fff;
    padding: 30px 0;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #333;
    padding: 15px 0 10px;
  }

  .form-row:first-child {
    align-items: flex-start;
  }

  .textarea-row {
    align-items: flex-start;
  }

  .form-label {
    width: 100%;
    font-size: 16px;
    padding-left: 0;
  }

  .sub-label {
    font-size: 14px;
    color: #333;
    padding-left: 10px;
  }

  .form-input {
    width: 100%;
    padding-right: 0;
  }

  .form-input input[type="text"],
  .form-input input[type="email"],
  .form-input input[type="tel"],
  .form-input textarea {
    width: 100%;
    max-width: 400px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
  }

  .textarea-row textarea {
    height: 180px;
    padding-top: 10px;
  }

  .zip-btn-display {
    display: inline-block;
    background-color: #f18900;
    color: #fff;
    padding: 8px 20px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    pointer-events: none;
    user-select: none;
    cursor: default;
  }

  .wpcf7-list-item {
    margin: 0 20px 0 0;
  }
  .wpcf7-list-item-label {
    color: #333;
    font-size: 14px;
  }

  .form-submit-container {
    text-align: center;
    padding-top: 40px;
  }

  .form-submit-container input[type="submit"] {
    width: 260px;
    height: 50px;
    border: none;
    cursor: pointer;
    background-image: url(../image/contact-botan.png); 
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: transparent;
    color: transparent;
    transition: opacity 0.3s;
  }

  .p7-c-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 250px;
    margin: 0 auto;
  }

  .p7-c-title {
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 50px;
  }

  .p7-c-title h2 {
    font-size: 20px;
    font-weight: 400;
  }

  .p7-c-box {
    padding-left: 0;
    padding-right: 0;
    margin-top: 40px;
  }

  .p7-c-p {
    margin-bottom: 20px;
  }

  .p7-c-p h3 {
    font-size: 16px;
  }

  .p7-c-p h3::before {
    width: 12px;
    height: 12px;
    margin-right: 5px;
  }

  .p7-c-p p {
    font-size: 14px;
  }

  .p7-c-p li {
    font-size: 14px;
  }


  /* お知らせ一覧 */
  .p8-a-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 50px;
    margin: 0 auto;
  }

  .p8-a-item {
    border-bottom: 1px dashed #858585;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .p8-a-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
  }

  .p8-a-date {
    font-size: 18px;
  }

  .p8-a-category {
    font-size: 16px;
    padding: 0 12px;
    border-radius: 50px;
  }

  .p8-a-title {
    font-size: 18px;
  }

  .p8-a-pagination {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .p8-a-pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid #333;
    text-decoration: none;
    color: #333;
    font-size: 14px;
  }

  .p8-a-pagination .current {
    background: #333;
    color: #fff;
  }

  /* お知らせ */
  .single-container {
    width: 92%;
    padding-top: 40px;
    padding-bottom: 50px;
    margin: 0 auto;
  }

  .single-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: min(6vw, 60px); /* ボタンとの間隔 */
  }

  /* 戻るボタンのスタイル */
  .btn-back {
    display: inline-block;
    width: 150px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    border-radius: 50px;
    transition: opacity 0.3s;
  }

  .btn-back:hover {
    opacity: 0.8;
  }

  .single-content img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
  }



  /* 共通パーツ */
  .link-botan a {
    width: 193px;
    height: 49px;
    font-size: 20px;
    padding-left: 15px;
  }

  .link-botan a::after {
    right: 15px;
    width: 49px;
    height: 12px;
  }

  .h2-title h2 {
    font-size: 40px;
  }

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

  .h2-title img {
    width: 96px;
    height: auto;
    padding-top: 10px;
  }

  .p1-d, .p1-f, .footer-con-contaner {
    background-image: url(../image/sp-back1.png);
  }


  /* 下層ページ共通 */
  .sub-v {
    padding-top: 70px;
  }

  .sub-v-container {
    height: 250px;
    background-image: url(../image/sub-back.png), url(../image/sub-back2.png);
    background-repeat: no-repeat;
    background-size: 700px auto, auto 100%;
    background-position: left 200px center, left bottom -20px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .sub-title h1 {
    font-size: 32px;
    padding: 10px 58px;
    border-radius: 20px;
    margin-left: 38px; 
  }

  .title-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }

  .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
  }


  /* フッター */
  .footer-con-contaner {
    padding-top: 140px;
    padding-bottom: 230px;
  }

  .footer-con-box {
    width: 92%;
    position: relative;
    margin: 50px auto 0;
  }

  .footer-con-text p {
    font-size: 18px;
  }

  .footer-con-box .header-link {
    flex-direction: column;
    align-items: center;
    gap: 35px;
    margin-top: 30px;
  }

  .footer-con-box .header-link .tel1 a, .footer-con-box .header-link .tel2 a {
    width: 317px;
    height: 70px;
    justify-content: center;
    font-size: 36px;
    line-height: 1;
    background-color: #fff;
    border-radius: 50px;
  }

  .footer-con-box .header-link a span {
    font-size: 19px;
  }

  .footer-con-box .header-link .contact {
    width: 317px;
    height: auto;
  }

  .footer-inst {
    width: 297px;
    height: auto;
    margin: 60px auto 0;
    position: relative;
  }

  .footer-inst::after {
    top: -20px;
    right: -35px;
    width: 132px;
    height: 34px;
  }

  .footer-con-img1 {
    width: 274px;
    height: auto;
    position: absolute;
    top: -350px;
    right: 0;
    z-index: 10;
  }

  .footer-con-img2 {
    width: 132px;
    height: auto;
    position: absolute;
    bottom: -150px;
    left: 0;
    z-index: 10;
  }

  .footer-container {
    padding-top: 74px;
  }

  .footer-box {
    width: 92%;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    background-image: none;
    padding-left: 0; /* ここだけ1800基準を維持 */
    padding-bottom: 0;
    margin: 0 auto 60px;
  }

  .footer-logo {
    width: 230px;
    height: auto;
    margin: 0 auto;
  }

  .footer-text {
    gap: 30px;
  }

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

  .footer-nav {
    width: 100%;
    padding-left: 30px;
  }

  .footer-nav ul {
    flex-direction: column;
    row-gap: 30px;
  }

  .footer-nav ul li {
    width: 100%;
    margin-bottom: 0;
    padding-left: 10px;
  }

  .footer-nav ul li::before {
    border-width: 6px 0 6px 8px;
  }

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

  .copy-right {
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid #f2598a;
  }

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

  .top-botan {
    display: none;
  }

  .fixed-floating-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    height: 70px; /* お好みの高さに */
    z-index: 9999;
    border-top: 1px solid #fff;
    text-align: center;
  }

  .ff-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #fff;
  }

  .ff-item a {
    text-decoration: none;
    color: #fff;
    display: block;
    width: 100%;
    font-weight: bold;
  }

  /* 各ボタンの背景色 */
  .ff-beside { background-color: #ff8000; } /* オレンジ */
  .ff-links  { background-color: #ff9900; } /* 明るいオレンジ */
  .ff-contact { background-color: #ffb300; } /* 黄色 */
  .ff-top     { background-color: #66cc33; flex: 0 0 70px; border-right: none; } /* 緑 (TOPボタン) */

  /* 文字サイズ調整 */
  .ff-sub { display: block; font-size: 15px; margin-top: 5px; }
  .ff-main { display: block; font-size: 15px; line-height: 1.2; }
  .ff-tel { font-size: 18px; display: inline-flex; align-items: center; gap: 5px; }

  /* 電話マーク（受話器）をBeforeで入れる */
  .ff-tel::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    /* ここにアップロードされた受話器の画像パスを */
    background: url(../image/tel2.png) no-repeat center/contain;
  }

  .ff-contact a {
    display: flex;
    flex-direction: column; /* 上下に並べる */
    align-items: center;    /* 左右中央 */
    justify-content: center; /* 上下中央 */
    height: 100%;           /* 親の高さに合わせる */
    text-decoration: none;
  }

  .ff-contact a::before {
    content: "";
    width: 45px;
    height: 41px;
    display: block;
    background-image: url(../image/mail.png);
    background-repeat: no-repeat;
    background-size: contain; /* coverよりcontainの方が画像が欠けません */
    margin-bottom: 2px; /* アイコンと文字の間の微調整 */
  }

  /* TOPに戻る画像 */
  .ff-top img {
    width: 30px; /* 画像サイズに合わせて調整 */
    height: auto;
    vertical-align: middle;
  }



}

@media screen and (max-width: 500px) {
  .sub-v-container {
    background-position: left 120px center, left bottom -20px;
  }
}

@media screen and (max-width: 430px) {
  /* トップ */
  .slide-img {
    top: 70px; /* ヘッダーの高さに合わせて調整 */
    left: 15%;  /* 左の余白を最小限にして左に寄せる */
    width: 85%; /* 画像の表示エリアを右端まで広げる */
    height: 305px; /* 高さを維持、または適宜変更 */
    background-size: auto 100%; /* 画像を縮小せず高さを固定 */
    background-position: left top; /* 左端を固定して右側を切り落とす */
  }

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

  .p1-f-container.fade-up {
    display: block !important;
    text-align: left !important;
  }

  .p1-f-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .p1-f-img {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 75px; 
    
    /* paddingは0にして、下のbefore/afterで調整します */
    padding: 0 !important; 
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  /* 1枚目を中央に押し出すための「見えない壁」 */
  .p1-f-img::before,
  .p1-f-img::after {
    content: '';
    flex: 0 0 calc((100vw - 314px) / 2); /* 画像の左右に画面半分の余白を強制 */
    pointer-events: none;
  }

  .p1-f-img::-webkit-scrollbar {
    display: none;
  }

  .p1-f-img img {
    flex: 0 0 314px !important;
    width: 314px;
    height: auto;
    scroll-snap-align: center; /* 常に中央に吸着 */
    object-fit: contain;
  }

  /* ボタン */
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    
    /* 背景や枠線を消す場合 */
    background: transparent; 
    border: none;
    padding: 0;
    
    /* ボタン全体のサイズ */
    width: 20px; 
    height: 36px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slider-btn img {
    /* 画像をボタンの幅に合わせる */
    width: 100%;
    height: auto;
    display: block;
  }

  .prev { left: 10px; }
  .next { right: 10px; }

}