/* Common Styles */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.serif-jp {
  font-family: "Noto Serif JP", serif;
}

.text-sky-500 {
  color: #0384bd;
}

.white-text {
  color: #ffffff;
}

.text-shadow {
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.7);
}

.font-base {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: #ffffff;
}

h2 {
  justify-content: center !important;
  flex-direction: column;
}

h2 .jp {
  display: inline-block;
  font-size: 2.5rem;
  margin-right: 1rem;
}

h2 .en {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  h2 {
    text-align: center;
    width: 100%;
  }

  h2 .jp {
    font-size: 24px;
    margin: 0;
  }

  h2 .en {
    font-size: 20px;
  }
}

/* header */
/* Header Styles */
#header {
  height: 80px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 1.39%;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
}

#header .logo {
  display: flex;
  align-items: center;
}

#header .company-type {
  font-weight: 500;
}

#header .company-name {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.5;
}

#header .navigation {
  gap: 40px;
}

#header .nav-list li {
  margin-left: 24px;
}

#header .nav-link {
  font-size: 1.25rem;
  transition: all 0.3s ease-in-out;
  position: relative;
}

#header .nav-link::before {
  display: block;
  width: 100%;
  height: 2px;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #0384bd;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

#header .nav-link:hover::before {
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 40px;
  border-radius: 18px;
  cursor: pointer;
  background: linear-gradient(90deg, #0513c1 0%, #31b8da 100%);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-button:hover,
.contact-button:focus {
  opacity: 0.8;
}

#header #mask {
  display: none;
  width: 100%;
  height: 100vh;
  padding: 10%;
  background: #ddd;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

#header.active #mask {
  display: block;
  opacity: 0.8;
  z-index: 10;
}

@media (max-width: 1024px) {
  #header .navigation {
    height: 100%;
    gap: 8px;
  }

  #header ul.nav-list {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.2s ease-in-out;
    z-index: 11;
  }

  #header.active ul.nav-list li {
    margin-bottom: 20px;
    margin-left: 0;
  }

  #header.active ul.nav-list {
    display: flex;
    opacity: 1;
  }

  #header.active ul.nav-list .lg {
    display: block;
  }

  #mainMenuTrigger {
    padding: 10px;
    border: 1px solid #000;
    position: relative;
    top: 0;
    right: 0;
    cursor: pointer;
    z-index: 11;
  }

  #mainMenuTrigger a {
    padding: 10px;
  }

  #mainMenuTrigger .lines {
    display: block;
    width: 22px;
    height: 1px;
    background-color: #000;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
  }

  #mainMenuTrigger .lines:nth-of-type(1) {
    top: 18%;
  }

  #mainMenuTrigger .lines:nth-of-type(2) {
    top: 38%;
  }

  #mainMenuTrigger .lines:nth-of-type(3) {
    top: 58%;
  }

  #mainMenuTrigger .text {
    font-size: 10px;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%);
  }

  /* クリック動作 */

  #header.active #mainMenuTrigger {
    position: absolute;
    top: 16px;
    right: 16px;
  }

  #header.active #mainMenuTrigger .lines:nth-of-type(1) {
    top: 73%;
    transform: rotate(45deg) translate(-63%);
    transition: 0.5s;
  }

  #header.active #mainMenuTrigger .lines:nth-of-type(2) {
    opacity: 0;
  }

  #header.active #mainMenuTrigger .lines:nth-of-type(3) {
    top: 27%;
    transform: rotate(-45deg) translate(-65%);
    transition: 0.5s;
  }

  #header.active #mainMenuTrigger .text {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  #header {
    padding: 0;
  }

  #header .logo {
    padding: 20px;
    padding-right: 0;
  }

  #header .company-type {
    font-size: 1.07rem;
  }

  #header .company-name {
    font-size: 1.43rem;
  }

  #header .contact-button {
    width: auto;
    height: 100%;
    padding: 0 8px;
    border-radius: 0;
  }
}

/* Top Section */
#top {
  width: 100%;
  height: calc(100vh - 80px);
  background: url(img/topBG.png) center / cover;
}

#top .top-inner {
  max-width: 883px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

#top #topMessage {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
}

@media (max-width: 768px) {
  #top {
    height: 200px;
  }
}

/* Message Section */

#message .message-inner {
  max-width: 1000px;
  margin: 0 auto 120px;
  padding: 8.3% 1%;
}

#message .message-box {
  gap: 60px;
}

#message .imgBox {
  flex: 1;
}

#message .textBox {
  flex: 1;
  position: relative;
  top: 10rem;
}

#message .textBox h2 {
  margin-bottom: 40px;
}

#message .sub-message-inner {
  width: 100%;
}

#message .sub-message-inner h3 {
  padding: 6.46% 2.22%;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgb(3, 132, 189) 0%,
    rgb(142, 220, 255) 100%
  );
}

#message .sub-message-inner h3 img {
  display: block;
  max-width: 1070px;
  margin: 0 auto;
}

#message .management-creed {
  padding: 146px 0;
}

#message .management-creed .listBox {
  text-align: center;
}

#message .management-creed .listBox h4 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 40px;
}

#message .management-creed .imgBox {
  max-width: 300px;
}

#message .management-creed ol {
  list-style: decimal;
  text-align: left;
}

#message .management-creed li {
  border-bottom: 1px dashed #bbbbbb;
  list-style: decimal inside;
  font-size: 1.25rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  #message .message-inner {
    padding: 40px 4.3% 0;
    margin: 0 0 75px 0;
  }

  #message .message-box {
    padding-top: 32px;
    flex-direction: column;
    gap: 32px;
  }

  #message .imgBox {
    height: 200px;
    overflow: hidden;
    flex: none;
  }

  #message .textBox {
    top: 0;
  }

  #message .textBox h2 {
    margin-bottom: 24px;
  }

  #message .textBox .element-2 {
    padding: 0 5%;
  }

  #message .management-creed {
    padding: 64px 4.3%;
    justify-content: center;
  }

  #message .management-creed .listBox h4 {
    font-size: 1.428rem;
    margin-bottom: 40px;
  }

  #message .management-creed li {
    font-size: 1rem;
  }
}

/* business */

/* Section Business Styles */
#business {
  width: 100%;
  position: relative;
}

#business .sub-header {
  width: 100%;
  height: 400px;
  background: url(img/businessBG.png) center / cover;
  position: relative;
}

#business h2 {
  display: inline-block;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#business .business-inner {
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 80px 3.34% 0;
  position: relative;
}

#business .textBox {
  margin-bottom: 160px;
}

#business h3 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 30px;
}

#business .textBox p {
  max-width: 550px;
  font-size: 1.25rem;
  line-height: 1.5;
}

#business .bgShape {
  width: 100%;
  height: 84%;
  clip-path: polygon(100% 0, 100% 60%, 0 100%, 0 40%);
  background: #d6edfc;
  position: absolute;
  top: 300px;
  left: 0;
  z-index: -1;
}

#business .ul-container {
  width: 100%;
  flex-direction: row-reverse;
  margin: 0 auto 550px;
  gap: 5%;
}

#business .itemBoxWrapper:first-child {
  position: relative;
  top: -250px;
}

#business .itemBoxWrapper:nth-child(2) {
  position: relative;
  top: 0;
}

#business .itemBoxWrapper:last-child {
  position: relative;
  top: 250px;
}

#business .itemBox {
  max-width: 400px;
  padding: 24px 24px 48px 24px;
  border-radius: 8px;
  box-shadow: 16px 16px 4px #ddd;
  background: linear-gradient(
    #dee3e7,
    #eff1f3 70%,
    #fcfdff 80%,
    #eff1f3 90%,
    #ebeef1 95%,
    #ebeef1
  );
}

#business .itemBox .imgBox {
  margin-bottom: 40px;
}

#business .itemBox .imgBox img {
  max-height: 350px;
  max-width: 350px;
}

#business .itemBox p {
  font-size: 1.5rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  #business .sub-header {
    height: 200px;
  }

  #business .business-inner {
    padding: 64px 4.3%;
  }

  #business .business-inner h3 {
    width: 80%;
    margin: 0 auto;
    font-size: 1.428rem;
    margin-bottom: 32px;
  }

  #business .textBox {
    margin-bottom: 48px;
  }

  #business .textBox p {
    max-width: none;
    font-size: 1rem;
    padding: 0 4.3%;
  }

  #business .ul-container {
    flex-direction: column;
    gap: 64px;
    padding: 0 16px;
    margin-bottom: 0;
  }

  #business .itemBoxWrapper:first-child {
    top: 0;
  }

  #business .itemBoxWrapper:last-child {
    top: 0;
  }

  #business .itemBox {
    padding: 24px;
    max-width: 480px;
    text-align: center;
  }

  #business .itemBox p {
    font-size: 16px;
    max-width: 364px;
    text-align: left;
  }
}

/* Section Attraction Styles */
#attraction {
  position: relative;
}

#attraction .bgShape {
  width: 100%;
  height: 106%;
  clip-path: polygon(0 0, 100% 90%, 100% 100%, 0% 100%);
  background: #f5f7ff;
  position: absolute;
  top: -100px;
  z-index: -2;
}

#attraction .attraction-inner {
  padding: 0 4% 100px;
}

#attraction h2 {
  margin-bottom: 80px;
}

#attraction .container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

#attraction .container ul {
  gap: 90px;
}

#attraction .li-row {
  width: 100%;
  gap: 4%;
}

#attraction .li-row:nth-child(even) {
  flex-direction: row-reverse;
}

#attraction .container .imgBox {
  width: 450px;
  height: 450px;
  overflow: hidden;
  position: relative;
}

#attraction .container .imgBox img {
  width: auto;
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#attraction .container .li-row:nth-child(2) .imgBox img {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#attraction .container .textBox {
  width: 51%;
  padding: 48px 32px;
  background: #fff;
  border-radius: 16px;
}

#attraction .container .textBox h3 {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 48px;
  line-height: 1.3;
  position: relative;
  left: 4.5rem;
}

#attraction .container .li-row .textBox h3::before {
  display: block;
  height: 60px;
  width: 60px;
  content: "";
  background: url(img/number1.svg) center / cover;
  position: absolute;
  top: 0;
  left: -72px;
}

#attraction .container .li-row:nth-child(2) .textBox h3::before {
  content: "";
  background-image: url(img/number2.svg);
  top: -13px;
}

#attraction .container .li-row:last-child .textBox h3::before {
  content: "";
  background-image: url(img/number3.svg);
  top: -13px;
}

#attraction .container .textBox p {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  #attraction h2 {
    margin-bottom: 24px;
  }

  #attraction .attraction-inner {
    padding-bottom: 40px;
  }

  #attraction .container {
    padding: 0 4.3%;
  }

  #attraction .container ul {
    gap: 40px;
  }

  #attraction .container li.li-row {
    flex-direction: column;
    padding: 24px 4.7% 0;
    position: relative;
  }

  #attraction .container .imgBox {
    width: 100%;
    height: 200px;
    top: 84px;
  }

  #attraction .container .li-row:nth-child(2) .imgBox img {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  #attraction .container .textBox {
    width: 89%;
    padding: 16px;
    margin-top: 120px;
  }

  #attraction .container .textBox h3 {
    font-size: 18px;
    position: absolute;
    top: 24px;
    margin: 0;
  }

  #attraction .container .li-row .textBox h3::before {
    width: 48px;
    height: 48px;
    left: -60px;
  }

  #attraction .container .textBox p {
    font-size: 1rem;
  }
}

/* #occupation-section */

#occupation {
  padding: 80px 5.4% 120px;
  overflow: hidden;
}


#occupation .occupation-inner {
  max-width: 1000px;
  margin: 0 auto 100px;
  gap: 160px;
}

#occupation .occupation-inner .container {
  position: relative;
}

#occupation .occupation-inner .container .bgShape {
  width: 93%;
  height: 100%;
  background: #f6f6f6;
  position: absolute;
  top: 120px;
  left: 140px;
}

#occupation .occupation-inner .itemBox {
  gap: 6%;
  padding-top: 80px;
  margin-bottom: 64px;
  position: relative;
}

#occupation .imgBox {
  flex: 1;
}

#occupation .textBox {
  padding: 40px 16px 0;
  flex: 1;
}

#occupation .textBox h3 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 48px;
  text-align: center;
}

#occupation .button {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.2s ease-in-out;
}

#occupation .button:hover {
  border-bottom: 2px solid #000;
}

#occupation .button:active {
  scale: 0.7;
}

#occupation .button .serif-jp {
  font-size: 1.5rem;
  position: relative;
}

#occupation .button .serif-jp::before {
  display: block;
  width: 24px;
  height: 24px;
  content: url(img/arrow.svg);
  position: absolute;
  bottom: 16px;
  left: 110%;
}

@media (max-width: 768px) {
  #occupation {
    padding: 40px 5.4% 100px;
  }

  #occupation .occupation-inner {
    gap: 110px;
    margin-bottom: 0;
  }

  #occupation .occupation-inner .itemBox {
    flex-direction: column;
    margin-bottom: 24px;
    padding-top: 0;
  }

  #occupation .occupation-inner .container .bgShape {
    width: 100%;
    left: 0;
    top: 64px;
  }

  #occupation h2 {
    margin-bottom: 48px;
  }

  #occupation .occupation-inner .textBox {
    padding-left: 12%;
    padding-right: 12%;
  }

  #occupation .button .serif-jp {
    font-size: 18px;
  }

  #occupation .button .serif-jp::before {
    width: 21px;
    bottom: 9px;
  }
}

/* Section Interview Styles */
#interview {
  padding: 80px 0;
}

#interview .sub-header {
  height: 400px;
  width: 100%;
  background: url(./img/interviewBG.png) center / cover;
  position: relative;
  margin-bottom: 100px;
}

#interview h2 {
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#interview .interview-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 4.3%;
}

#interview .interview-inner .titleBox {
  margin-bottom: 80px;
}

#interview .interview-inner .titleBox h3 {
  font-size: 2rem;
  font-weight: 500;
}

#interview .icon {
  width: 90px;
  height: 90px;
}

#interview .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  width: 100%;
  padding: 0 48px;
}

#interview .card {
  padding: 24px 40px;
  background-color: rgba(198, 232, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

#interview .imgBox .avatar {
  text-align: center;
  margin-bottom: 24px;
}

#interview .avatar img {
  width: 160px;
  height: 160px;
  border-radius: 32px;
  margin-bottom: 24px;
}

#interview .avatar .name {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  #interview {
    padding: 40px 0;
  }

  #interview .sub-header {
    height: 200px;
    margin-bottom: 64px;
  }

  #interview .interview-inner .titleBox {
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
  }

  #interview .interview-inner .titleBox h3 {
    font-size: 18px;
    text-align: center;
  }

  #interview .container {
    grid-template-columns: repeat(1, 1fr);
    padding: 0 24px;
  }

  #interview .div {
    font-size: 20px;
  }

  #interview .icon {
    width: 48px;
    height: 48px;
  }

  #interview .card {
    width: 100%;
  }
}

/* Section Row Styles */
#ws {
  display: flex;
  padding-top: 80px;
}

#ws #welfare {
  padding: 80px 5.6% 160px;
  border-right: 1px solid #333;
  background: url(img/welfareBG.png) center / cover;
  flex: 1;
}

#ws h2 {
  text-align: center;
  margin-bottom: 80px;
}

#ws #welfare li {
  gap: 40px;
  padding: 12px 0;
  margin-bottom: 64px;
}

#ws #welfare img {
  width: 100px;
  height: 100px;
}

#ws #welfare .textBox h3 {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 24px;
  position: relative;
}

#ws #welfare .textBox h3::before {
  display: block;
  content: "";
  width: 100%;
  height: 0.5em;
  background: #31b8da;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}

#ws #welfare .textBox p {
  line-height: 1.5;
}

@media (max-width: 768px) {
  #ws {
    flex-direction: column;
    padding-top: 40px;
  }

  #ws #welfare {
    padding: 40px 5.4%;
    border-right: none;
  }

  #ws h2 {
    margin-bottom: 40px;
  }

  #ws #welfare .textBox p {
    font-size: 15px;
  }

  #ws #welfare li {
    margin-bottom: 40px;
    gap: 4%;
  }

  #ws #welfare li:last-child {
    margin-bottom: 0;
  }
}

#ws #schedule {
  padding: 80px 5.6% 160px;
  background: url(img/scheduleBG.png) center / cover;
  flex: 1;
}

#ws #schedule dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 334px;
  margin: 0 auto;
  padding: 0 16px;
}

#ws #schedule dt {
  width: 35%;
  font-size: 1.5rem;
  padding: 24px 0;
  border-bottom: 1px solid gray;
}

#ws #schedule dd {
  width: 65%;
  font-size: 1.5rem;
  padding: 24px 0;
  border-bottom: 1px solid gray;
}

@media screen and (max-width: 768px) {
  #ws #schedule {
    padding: 40px 5.4%;
  }

  #ws #schedule dt,
  #ws #schedule dd {
    padding: 12px 0;
    font-size: 20px;
  }
}

/* Section Recruit Styles */
#recruit {
  padding: 0 0 40px 0;
}

#recruit .sub-header {
  width: 100%;
  height: 400px;
  background: url(img/recruitBG.png) center / cover;
  position: relative;
}

#recruit h2 {
  display: inline-block;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#recruit .recruit-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 0;
}

#recruit .recruit-inner h3 {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 100px;
}

#recruit table {
  width: 100%;
  border: 2px solid #bbbbbb;
}

#recruit table tr {
  padding: 40px 0;
  border-bottom: 1px solid #bbbbbb;
}

#recruit table tr:last-child {
  border-bottom: none;
}

#recruit table th,
#recruit table td,
#recruit table li,
#recruit table p,
#recruit table a {
  font-size: 1.25rem;
  font-weight: 400;
}

#recruit table th {
  width: 26%;
  padding: 16px 16px 16px 40px;
  text-align: left;
}

#recruit table td {
  width: 74%;
  padding: 16px 0 16px 48px;
  border-left: 1px solid #bbb;
}

#recruit table td a.map:hover{
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  #recruit {
    padding-bottom: 24px;
  }

  #recruit .sub-header {
    height: 200px;
  }

  #recruit .recruit-inner {
    padding: 40px 10.4%;
  }

  #recruit .recruit-inner h3 {
    font-size: 20px;
    margin-bottom: 40px;
  }

  #recruit table tr {
    flex-direction: column;
    padding: 0;
  }

  #recruit table th,
  #recruit table td {
    width: 100%;
  }

  #recruit table th {
    text-align: center;
    padding: 16px 0;
  }

  #recruit table td {
    padding: 40px 10%;
    border-left: none;
    border-top: 1px solid #bbb;
  }

  #recruit table li,
  #recruit table p {
    font-size: 16px;
  }
}

/* Contact Section Styles */
#contact {
  padding: 80px 0;
  border-top: 1px solid #d9d9d9;
  margin: 0 auto;
  text-align: center;
}

#contact h2 {
  font-size: 1.5rem;
  margin-bottom: 48px;
}

#contact .container {
  width: 764px;
  margin: 0 auto;
}

#contact .tel a {
  font-size: 2.5rem;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
}

#contact .tel a:hover {
  text-shadow: 4px 4px 2px #b4c8ed;
}

#contact .information {
  font-size: 1.25rem;
}

#contact .button {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #0513c1 0%, #31b8da 100%);
  transition: opacity 0.3s ease;
}

#contact .button:hover,
#contact .button:focus {
  opacity: 0.8;
}

#contact .button:active {
  scale: 0.9;
}

#contact .button span {
  display: block;
  margin: 0 10px;
  font-size: 1.25rem;
}

#contact .button img {
  width: 20.48px;
  height: 32px;
}

@media (max-width: 768px) {
  #contact {
    padding: 40px 4.6%;
  }

  #contact h2 {
    font-size: 20px;
    margin-bottom: 24px;
  }

  #contact .tel {
    font-size: 32px;
    margin-bottom: 10px;
  }

  #contact .container {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  #contact .info {
    margin-bottom: 24px;
  }

  #contact .information {
    font-size: 16px;
  }

  #contact .phone-number a {
    font-size: 32px;
  }

  #contact .business-hours {
    font-size: 16px;
  }

  #contact .button {
    justify-content: center;
  }

  #contact .button span {
    margin: 0 4px;
    font-size: 16px;
  }
}

/* footer */

/* Footer Styles */
#footer {
  margin: 0 auto;
  padding: 64px 0 40px; /* 追加されたパディング */
  background-color: #333333;
}

#footer .navigation {
  max-width: 1140px;
  margin: 0 auto 40px;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

#footer .ul-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  width: 700px;
  padding: 24px 0;
  margin: 0 auto;
}

#footer .nav-link,
#footer .info p {
  font-size: 1.25rem;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  position: relative;
}

#footer .nav-link {
  letter-spacing: normal;
}

#footer .nav-link::before {
  display: block;
  width: 100%;
  height: 2px;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #0384bd;
  opacity: 0;
  transition: all 0.2s ease-in-out;
}

#footer .nav-link:hover::before {
  opacity: 1;
  transition: all 0.1s ease-in-out;
}

#footer .nav-link:active {
  scale: 0.9;
}

#footer .info {
  text-align: center;
  margin-bottom: 100px;
}

#footer .info-inner {
  display: inline-flex;
  align-items: flex-start;
  gap: 40px;
}

#footer .info-inner .name {
  margin-bottom: 8px;
}

#footer .copy {
  text-align: center;
}

#footer .copy span {
  color: #4bc0f3;
}

#goTop {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: url(img/goTopBG.png) center / cover;
  position: fixed;
  right: 5%;
  bottom: -100px;
  transition: all 0.2s ease-in-out;
}

#goTop.UpMove{
  bottom: 10%;
}

#footer #goTop:hover,
#footer #goTop:focus {
  opacity: 0.8;
  border-color: #000;
}

@media (max-width: 768px) {
  #footer {
    padding: 32px 0px 20px;
  }

  #footer .ul-nav {
    width: 100%;
    gap: 4%;
    padding: 16px 8.5%;
    row-gap: 16px;
  }

  #footer .ul-nav li {
    width: 56%;
  }

  #footer .ul-nav li:nth-child(odd) {
    width: 40%;
  }

  #footer .nav-link {
    font-size: 15px;
  }

  #footer .info {
    padding: 0px 16px;
    margin-bottom: 40px;
  }

  #footer .info p {
    text-align: left;
    font-size: 16px;
  }

  #footer .info-inner {
    flex-direction: column;
    gap: 16px;
  }

  #footer .info-inner .name {
    font-size: 20px;
  }

  #footer #goTop {
    width: 48px;
    height: 48px;
  }
}

/* #contactPage */

#contactPage #topView #contact-title {
  width: 100%;
  height: 400px;
  background: url(img/contactBG.png) center / cover;
  position: relative;
}

#contactPage #topView {
  margin-bottom: 100px;
}

#contactPage .wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.2%;
}

#contactPage .dsc {
  background: linear-gradient(
    90deg,
    #d9d9d9d1,
    #edf0fbd1 30%,
    #e5e8f2cf 40%,
    #dde0e9d2 75%,
    #aaa9a9b0
  );
  padding: 1rem;
}

#contactPage .dsc p,
#contactPage .dsc span {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
}

#contactPage .strong {
  font-weight: 700 !important;
}

form ul {
  margin-bottom: 80px;
}

form ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 0;
  position: relative;
  border-bottom: 1px solid #ddd;
}

form ul li .labelBox {
  position: relative;
}

form ul li label,
form li#privacy span {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  margin-right: 150px;
}

form ul li span.required {
  display: inline-block;
  height: 44px;
  padding: 8px 14px;
  color: #db5a6b;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  position: absolute;
  top: 50%;
  right: 20%;
  transform: translateY(-50%);
}

form input,
form textarea {
  height: 44px;
  width: 100%;
  font-size: 20px;
  padding: 10px;
  background: #eaf0f3b2;
  border: 1px solid #ddd;
  font-family: sans-serif;
}

form li div.box {
  width: 100%;
  max-width: 591px;
  display: flex;
  justify-content: space-between;
}

form ul li span {
  font-size: 20px;
}

form .box .word {
  margin-right: 16px;
}

form li textarea {
  max-width: 591px;
  height: 222px;
}

form input:focus {
  outline-color: #019ea7;
}

form li#privacy {
  align-items: inherit;
  border-bottom: none;
  padding-bottom: 24px;
}

form li#privacy span {
  font-size: 18px;
  margin-right: 146px;
}

form li#privacy .textarea {
  max-width: 591px;
  height: 374px;
  padding: 22px 10px 2px 22px;
  border: 2px solid #bbb;
  position: relative;
}

#privacy .textInner {
  height: 100%;
  padding-right: 15px;
  overflow-y: scroll;
}

#privacy .textInner p {
  text-align: left;
  font-family: "Noto Serif Jp";
}

#privacy .textInner li {
  flex-direction: column;
  border: none;
  padding: 16px 0;
}

#privacy .textInner li h3 {
  margin-bottom: 1rem;
}

li.check {
  justify-content: center;
  gap: 100px;
}

li.check .box {
  display: block;
  max-width: none;
  width: 24px;
}

li.check .required {
  width: 100px;
  left: 100%;
}

li.check input {
  height: 24px;
  margin-top: 10px;
}

#buttonBox button {
  display: inline-block;
  width: 400px;
  height: auto;
  border: none;
  border-radius: 18px;
  padding: 18px 40px;
  font-size: 32px;
}

#goTop.goTopPage {
  font-size: 14px;
  letter-spacing: normal;
  padding: 14px 9px 9px;
}

@media screen and (max-width: 768px) {
  #contactPage #topView #contact-title {
    height: 200px;
    margin-bottom: 32px;
  }

  #contactPage .dsc p,
  #contactPage .dsc span {
    font-size: 18px;
  }

  form ul{
    margin-bottom: 48px;
  }

  form li {
    flex-direction: column;
  }

  form li .labelBox,
  form li .label{
    margin-right: auto;
  }

  form ul li span.required {
    width: 64px;
    padding: 0;
    font-size: 16px;
    left: 110%;
  }

  form ul li label,
  form li#privacy span {
    margin-bottom: 16px;
    margin-right: 0;
    font-size: 16px;
  }

  form input, form textarea{
    height: 40px;
    font-size: 16px;
  }

  form li#privacy .textarea{
    margin: 0 auto;
  }

  form li.check{
    gap: 24px;
  }

  li.check .required{
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
  }

  form li.check .labelBox{
    margin: 0;
  }

  form ul li span{
    font-size: 18px;
  }

  #buttonBox button{
    width: auto;
    font-size: 18px;
  }

  #footer #goTop.goTopPage{
    width: 56px;
    height: 56px;
    font-size: 9px;
    padding: 6px;
    padding-top: 10px;
  }

}

/* #thanksPage */

#thanksPage .thanksPageInner{
  padding: 3rem 0;
}

#thanksPage .thanksMessageInner{
  margin-bottom: 64px;
}

#thanksPage h2 {
  background: linear-gradient(
    90deg,
    #d9d9d9d1,
    #edf0fbd1 30%,
    #e5e8f2cf 40%,
    #dde0e9d2 75%,
    #aaa9a9b0
  );
  padding: 2rem;
  text-align: center;
  font-size: 24px;
}

#thanksPage #buttonBox{
  text-align: center;
}