@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPMincho&display=swap");

:root {
  --font-sans-serif: "dnp-shuei-mgothic-std", sans-serif;
  --font-serif: "BIZ UDPMincho", serif;
  --color-body: #000;
  --color-link: #0d6efd;
  --color-red: #eb4e12;
  --color-brown: #8c000f;
  --color-yellow: #f8c605;
  --color-white: #ffffff;
  --max-width: 1420px;
}

body {
  font-family: var(--font-sans-serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body);
}

a {
  color: var(--color-link);
}

a:hover {
  color: var(--color-link);
  text-decoration: none;
}

.my-ajax-loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.my-container {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
}

.my-header {
  position: relative;
  background: url(../img/header-bg.jpg?v2) center center / cover no-repeat;
}

.my-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #000;
  opacity: 0.59;
  z-index: 1;
}

.my-header .my-header-body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1920/500;
  min-height: 170px;
  color: #fff;
  z-index: 1;
}

.my-header-body h1 {
  background: url(../img/symbol01.svg) top center / 50px no-repeat;
  padding: 55px 12px 0;
  font-size: 46px;
  margin: 0;
}

.my-header-top {
  position: relative;
  background: var(--color-red);
  z-index: 1;
}

.my-header-top .my-container {
  display: flex;
  align-items: center;
  height: 44px;
  font-size: 14px;
  color: #fff;
}

.my-header-symbol {
  position: absolute;
  top: 7.8vw;
  right: 0;
  left: 0;
  z-index: 2;
}

.my-header-symbol img {
  width: 100px;
  height: 100px;
}

.my-header-menu-btn {
  position: fixed;
  top: 50px;
  right: 10px;
  width: 70px;
  z-index: 10;
}

.my-header-menu-btn img {
  width: 100%;
}

.my-header-menu-btn-close {
  width: 70px;
}

.my-header-menu-btn-close img {
  width: 100%;
}

.my-header-nav a {
  color: #fff;
  text-decoration: none;
}

.my-header-nav a:hover {
  opacity: 0.8;
}

.my-header-nav .offcanvas.offcanvas-end {
  --bs-offcanvas-width: 358px;
  --bs-offcanvas-bg: var(--color-red);
}

.my-header-nav .offcanvas-body ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  margin-bottom: 30px;
}

.my-header-nav .offcanvas-body li {
  width: 100%;
  border-bottom: 1px solid #fff;
}

.my-header-nav .offcanvas-body li a {
  display: block;
  padding: 7px 0;
}

.my-header-nav .offcanvas-body p {
  text-align: right;
  font-size: 12px;
}

.my-header-logo {
  position: absolute;
  top: -1vw;
  right: 0;
  left: 0;
  width: 47.3vw;
  margin: 0 auto;
  z-index: 2;
}

.my-header-home {
  position: relative;
  overflow: hidden;
}

.my-header-home-bottom {
  position: absolute;
  bottom: 30px;
  width: 100%;
  z-index: 2;
}

.my-header-home-cols {
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 100%;
}

.my-header-home-cols > div:first-child {
  width: 647.32px;
}

.my-header-home-cols > div:first-child a,
.my-header-home-cols > div:first-child img {
  display: block;
  width: 100%;
  transition: opacity ease-out 0.4s;
  margin-top: 20px;
}

.my-header-home-cols > div:first-child a:hover {
  opacity: 0.8;
}

.my-header-home-cols > div:last-child {
  width: 678px;
}

.my-header-home-cols dl,
.my-header-home-cols dd {
  margin: 0;
}

.my-header-home-cols dt {
  display: flex;
  justify-content: space-between;
  font-size: 26px;
  margin: 0 0 12px;
  color: #fff;
}

.my-header-home-cols dt a {
  display: inline-block;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  text-decoration: none;
  transition: opacity ease-out 0.4s;
}

.my-header-home-cols dt a:hover {
  opacity: 0.8;
}

.my-header-home-cols dd {
  background: rgba(255, 255, 255, 0.82);
  padding: 20px 30px;
  outline: #707070 solid 1px;
  outline-offset: -8px;
}

.my-header-home-cols table {
  width: 100%;
  font-size: 18px;
  font-weight: bold;
}

.my-header-home-cols th,
.my-header-home-cols td {
  padding: 0.4em 0;
  border-bottom: 1px solid #707070;
}

.my-header-home-cols th {
  color: var(--color-brown);
  padding-right: 1em;
}

.my-header-home-cols td a {
  color: inherit;
  text-decoration: none;
}

.my-header-home-cols td a:hover {
  text-decoration: underline;
}

.my-main {
  position: relative;
  background: #d8b06b url(../img/main-bg.png) center;
  overflow: hidden;
}
.map{
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 50px;
    overflow: hidden;
}
.map_l{
    float: left;
    width: 49%;
    margin-right:2%;
}
.map_r{
    float: left;
    width: 49%;
}
.map_r img{
    width: 100%;
    height: auto;
}
.my-map {
  position: relative;
  height: min(812px, 42vw);
}

.my-map > iframe {
  display: block;
  width: 100%;
  height: 100%;
}
/* Google Mapを囲う要素 */
.g-map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%; /* 比率を4:3に固定 */
}

/* Google Mapのiframe */
.g-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.my-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 60px;
}

.my-tags > label > input {
  display: none;
}

.my-tags > label > span {
  display: flex;
  align-items: center;
  height: 35px;
  padding: 0 10px;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.my-tags > label > :checked + span {
  background: var(--color-red);
  color: #fff;
}

.my-date {
  color: var(--color-brown);
  font-weight: bold;
}

#home h2 {
  font-family: var(--font-serif);
  font-size: 62px;
  color: var(--color-brown);
}

#home h2::before {
  content: "";
  display: block;
  width: 1.5em;
  height: 0.37em;
  background: url(../img/home-title-bg.svg) center / contain no-repeat;
}

#home h2 > span {
  font-size: 0.73em;
  vertical-align: baseline;
}

#home h2 > small {
  display: block;
  font-size: 0.33em;
}

#home00 {
  background: #fff url(../img/home01-bg01.svg) top center / 324px repeat-x;
}

#home00 .my-container {
  background: url(../img/home00-bg01.png) top 300px right 12px / 37% no-repeat;
  padding-top: 135px;
  padding-right: min(40%, 650px);
  padding-bottom: 100px;
}
#home00 .home00_img{
  display:none;
}
#home00 .my-container::before {
  content: "";
  position: absolute;
  bottom: 145px;
  left: -250px;
  width: 782px;
  height: 574px;
  background: url(../img/home01-bg02.svg) center / contain no-repeat;
  pointer-events: none;
}

#home00 .my-container > p {
  font-size: 22px;
  line-height: 1.5;
  margin-top: 1.5em;
}

#home00 .my-container > a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 29px;
  background: url(../img/home01-btn.svg) center / contain no-repeat;
  width: 13.3em;
  height: 3.2em;
  margin-top: 2em;
  text-decoration: none;
  color: inherit;
  transition: opacity ease-out 0.4s;
}

#home00 .my-container > a:hover {
  opacity: 0.8;
}

#home01 {
  background: #fff url(../img/home01-bg01.svg) top center / 324px repeat-x;
}

#home01 .my-container {
  background: url(../img/home01-bg03.jpg) top 175px right 12px / 32% no-repeat;
  padding-top: 135px;
  padding-right: min(40%, 550px);
  padding-bottom: 285px;
}

#home01 .my-container::before {
  content: "";
  position: absolute;
  bottom: 145px;
  left: -250px;
  width: 782px;
  height: 574px;
  background: url(../img/home01-bg02.svg) center / contain no-repeat;
  pointer-events: none;
}

#home01 .my-container > p {
  font-size: 22px;
  line-height: 1.5;
  margin-top: 1.5em;
}

#home01 .my-container > a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 29px;
  background: url(../img/home01-btn.svg) center / contain no-repeat;
  width: 13.3em;
  height: 3.2em;
  margin-top: 2em;
  text-decoration: none;
  color: inherit;
  transition: opacity ease-out 0.4s;
}

#home01 .my-container > a:hover {
  opacity: 0.8;
}

#home02 {
  min-height: 586px;
}

#home02 .my-container {
  padding-top: 120px;
}

#home02 .my-container::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 40vw;
  width: 903px;
  height: 570px;
  background: url(../img/home02-bg.svg) center / contain no-repeat;
  pointer-events: none;
}

#home02 .my-container > a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  width: 14em;
  height: 4em;
  color: #000;
  text-decoration: none;
  border-radius: 2em;
  background: #e9d2a7;
  border: 4px solid #cc280e;
  margin-top: 2em;
}

#home02 .my-container > a::after {
  content: "→";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  height: 1em;
  line-height: 1;
  margin: auto 29px auto auto;
  transition: margin-right ease-out 0.4s;
}

#home02 .my-container > a:hover::after {
  margin-right: 15px;
}

#home02 table {
  position: absolute;
  top: 120px;
  right: 12px;
  width: 1020px;
  font-size: 22px;
  font-weight: bold;
  border-collapse: separate;
  border-spacing: 0 4px;
}

#home02 tr {
  background: rgba(255, 255, 255, 0.7);
}

#home02 th,
#home02 td {
  padding: 1em;
}

#home02 th {
  color: var(--color-brown);
}

#home02 td a {
  color: inherit;
  text-decoration: none;
}

#home02 td a:hover {
  text-decoration: underline;
}

#home03 .my-container {
  padding-top: 280px;
  padding-bottom: 67px;
}

#home03 .my-container::before {
  content: "";
  position: absolute;
  top: 100px;
  left: -70px;
  width: 397px;
  height: 130px;
  background: url(../img/home03-bg.svg) center / contain no-repeat;
  pointer-events: none;
}

#home03 dl {
  position: absolute;
  right: 12px;
  bottom: 60px;
  padding: 0;
  margin: 0;
}

#home03 dt {
  display: inline-block;
  line-height: 64px;
  padding: 0 20px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 40px;
  color: #fff;
  background: var(--color-red);
}

#home03 dd {
  margin-top: 30px;
}

#home03 dd ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 22px;
}

#home03 dd li {
  display: flex;
  align-items: center;
  gap: 10px;
}

#home03 dd img {
  width: 49px;
}

#menu {
  padding-top: 46px;
  padding-bottom: 200px;
}

#menu .col > a {
  display: block;
  border: 10px solid #fff;
  color: inherit;
  text-decoration: none;
}

#menu .col > a:hover {
  opacity: 0.8;
}

#menu .col > a > img {
  display: block;
  width: 100%;
}

#menu .col > a > div {
  position: relative;
  padding: 12px 20px;
  background: var(--color-yellow);
}

#menu .col > a > div > span {
  display: block;
  font-size: 18px;
  min-height: 3em;
}

#menu .col > a > div > .bi {
  position: absolute;
  top: 12px;
  right: 6px;
  color: #fff;
  transition: margin-right ease-out 0.3s;
}

#menu .col > a:hover > div > .bi {
  margin-right: -6px;
}

#menu .modal-content {
  background: transparent;
  border: 0;
}

#menu .modal-content .btn-close {
  width: 48px;
  height: 48px;
  background: url(../img/modal-close.svg) center / contain no-repeat;
  margin-left: auto;
  opacity: 1;
}

#menu .modal-body {
  position: relative;
  padding: 0;
  background: var(--color-yellow);
  font-size: 28px;
}

#menu .modal-body > img {
  width: 100%;
}

#menu .modal-body dl {
  padding: 1em;
  margin: 0;
}

#menu .modal-body dt {
  text-align: center;
}

#menu .modal-body dd ul {
  list-style: none;
  padding: 0;
}

#menu .modal-body dd li {
  margin-top: 0.3em;
}

#menu .modal-body dd li {
  display: flex;
  gap: 10px;
}

#menu .modal-body dd li strong {
  font-size: 0.6em;
  height: 1.8em;
  padding: 0.1em 0.3em;
  border-radius: 4px;
  background: var(--color-red);
  color: #fff;
  white-space: nowrap;
  margin-top: 0.5em;
}

#menu .modal-body dd p {
  margin: 0;
}

#news a {
  color: inherit;
  text-decoration: none;
}

#news a:hover {
  text-decoration: underline;
}

.my-footer {
  position: relative;
  background: var(--color-brown);
  color: #fff;
}

.my-footer a {
  color: inherit;
  text-decoration: none;
}

.my-footer a:hover {
  opacity: 0.8;
}

.my-footer-details {
  position: absolute;
  top: 85px;
  max-width: 400px;
  font-size: 12px;
}

.my-footer-details dl,
.my-footer-details dd {
  margin: 0;
}

.my-footer-details dt {
  border-left: 4px solid #fff;
  padding-left: 6px;
}

.my-footer-logo {
  display: block;
  max-width: 367px;
}

.my-footer-logo img {
  width: 100%;
  height: auto;
}

.my-footer-tel {
  font-size: 19px;
}

.my-footer-tel img {
  width: 26px;
  vertical-align: text-bottom;
}

.my-footer-nav {
  width: 600px;
  padding: 80px 0;
  margin-left: auto;
}

.my-footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 60px;
  margin-bottom: 50px;
}

.my-footer-nav li {
  width: 240px;
  border-bottom: 1px solid #fff;
}

.my-footer-nav li a {
  position: relative;
  display: block;
  padding: 0 0 7px 38px;
}

.my-footer-nav li a::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-yellow);
}

.my-footer-nav p {
  text-align: right;
  font-size: 12px;
}

.my-footer small {
  display: block;
  font-size: 11px;
  padding: 1em;
  text-align: center;
  color: var(--color-yellow);
}

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
  .my-header-logo {
    top: -80px;
    width: 500px;
  }

  .my-header-home {
    height: 800px;
  }

  .my-header-home .carousel {
    width: 1420px;
    margin-left: calc((100vw - 1420px) / 2);
  }

  .my-header-home-cols {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .my-header-home-cols > div:first-child {
    width: 100%;
    max-width: 400px;
  }

  .my-header-home-cols > div:last-child {
    width: 100%;
    max-width: 678px;
  }

  .my-header-home-cols > div:first-child img {
    width: 100%;
   height: auto;
  }

  #home02 table {
    position: static;
    width: 100%;
    margin-top: 30px;
  }
}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  #home03 dl {
    position: static;
    margin-top: 40px;
  }
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .my-header-symbol {
    top: 50px;
  }

  .my-header-symbol img {
    width: 80px;
    height: 80px;
  }
  #home00 .my-container {
    background: none;
    padding-right: 12px;
  }
#home00 .home00_img{
  display:block;
  margin-top: 20px;
}
#home00 .home00_img img{
   width:100%;
   height: auto;
}
  #home01 .my-container {
    background: none;
    padding-right: 12px;
  }

  .my-footer-details {
    display: block;
    position: relative;
    top: auto;
    padding: 50px 0;
    width: 80%;
    margin: 0 auto;
}
.map{
    max-width: 95%;
    margin: 0 auto;
    margin-bottom: 50px;
    overflow: hidden;
}
.map_l{
    float: inherit;
    width: 100%;
    margin-right:0;
   margin-bottom:15px;
}
.map_r{
    float: inherit;
    width: 100%;
}
.map_r img{
    width: 100%;
    height: auto;
}
}
/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .my-header-logo {
    top: -50px;
    width: 350px;
  }

  .my-header-home-cols table {
    font-size: 16px;
  }

  #home h2 {
    font-size: 40px;
  }

  #home01 .my-container > a {
    font-size: 22px;
  }

  #home02 .my-container > a,
  #home02 table {
    font-size: 16px;
  }

  .my-footer-nav {
    width: 100%;
    padding: 50px 0;
  }

  .my-footer-nav ul {
    flex-direction: column;
    align-items: center;
  }
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  #menu .modal-body {
    font-size: 20px;
  }
}

/*--Privacy Policy--*/
#privacy {
  padding-top: 46px;
  padding-bottom: 200px;
}
#privacy .tit {
  font-size: 23px;
  font-weight: bold;
  border-bottom: 2px solid var(--color-red);
  margin-top: 30px;
}
#privacy .stc {
  font-size: 18px;
}
/*--Contact--*/
#contact {
  padding-top: 46px;
  padding-bottom: 200px;
}
#contact .stc {
  font-size: 18px;
}

/*--Recruit--*/
#recruit .catch {
  font-size: 30px;
  text-align: center;
  margin: 30px 0;
}
.rec_table {
  margin: 30px 0;
  font-size: 18px;
}
.rec_table th {
  background-color: var(--color-red);
  color: #fff;
  padding: 15px;
  border-bottom: solid 2px var(--color-white);
}
.rec_table td {
  padding: 10px;
}

@media screen and (max-width: 640px) {
  .last rec_table td:last-child {
    border-bottom: none;
    width: 100%;
  }
  .rec_table {
    width: 100%;
  }
  .rec_table th,
  .rec_table td {
    border-bottom: none;
    display: block;
    width: 100%;
  }
}

/*--Mailmag--*/
#mailmag {
  margin-bottom: 40px;
}
#mailmag .catch {
  font-size: 30px;
  text-align: center;
  margin: 30px 0;
}
#mailmag .h2_tit {
  font-size: 23px;
  border-left: 5px solid var(--color-red);
  padding: 5px;
}
#mailmag .h2_tit_sub {
  font-size: 18px;
  margin-left: 15px;
}
#step h3 {
  background: var(--color-white);
  display: flex;
  align-items: center;
  font-size: 19px;
  font-weight: bold;
  color: #892d2b;
  margin-bottom: 35px;
}
#step dl dd {
  margin-bottom: 30px;
}
#step dl dt {
  font-weight: bold;
  color: var(--color-red);
  font-size: 20px;
}
#mailmag .att {
  font-size: 18px;
  color: var(--color-brown);
}
#mailmag a:link {
  display: inline-block;
  background-color: var(--color-red);
  padding: 10px;
  color: var(--color-white);
  text-decoration: none;
  border-radius: 5px;
}
#mailmag .result {
  display: inline-block;
  border: 2px solid var(--color-red);
  padding: 5px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

/*--ヘッダ部分動画埋め込み--*/
.video_container{
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
}
.video_container iframe {
position: absolute;
top: -60px;
left: -7.5%;
width: 115%;
height: 115%;
}
@media screen and (max-width: 768px) {
.video_container iframe {
position: absolute;
top: -30px;
left: 0;
width: 100%;
height: 115%;
}
}
