@charset "utf-8";

/* ヘッダー
-------------------------------------*/
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background: transparent;
  /* 初期は透明 */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.is-solid {
  background-color: var(--main-color);
}

header .head-area {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 1rem 1.5rem;
  transition: width 0.3s ease;
}

header.is-solid .head-area {
  align-items: center;
}

.head-logo {
  width: clamp(50px, 10vw, 110px);
  transition: width 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

header.is-solid .head-logo {
  width: 50px;
}

header .head-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 15px;
}

.nav-area {
  padding: 0 1rem;
}

.nav-area ul {
  display: flex;
  justify-content: center;
  gap: 2em;
}

.nav-area ul li {
  padding: 0 .5rem;
}

.head-contact-btn {
  display: flex;
  background: var(--blue-gradient);
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  color: var(--white);
  padding: 0 2em 0 10px;
}

a.head-contact-btn:hover {
  background: linear-gradient(90deg, #41c2f1 15%, #004B96 100%);
  opacity: 1;
  color: var(--white);
}

.head-contact-btn::before {
  content: '';
  width: 46px;
  height: 45px;
  background: url(../images/common/mail-icon-header.svg) no-repeat center / contain;
  display: inline-block;
}

.head-contact-btn img {
  max-width: 20px;
}

.head-contact-btn p {
  margin: 0;
  white-space: nowrap;
}

.head-contact-btn:hover {
  color: var(--white);
  opacity: .8;
}

.head-contact-btn img:hover {
  opacity: 1;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
}

#mobile-nav {
  display: none;
}

/* オーバーレイ */
.overlay {
  display: none;
}

@media screen and (max-width: 960px) {

  header h1 {
    margin-bottom: 0;
  }

  header.is-solid {
    background-color: unset;
  }

  header.is-solid .head-logo {
    opacity: 0;
  }

  header .head-area.active {
    background-color: var(--main-color);
    background-image: repeating-linear-gradient(90deg,
        transparent 0,
        transparent calc(100% / 6 - 1px),
        #1F3046 calc(100% / 6 - 1px),
        #1F3046 calc(100% / 6));
    background-attachment: fixed;
  }

  header .head-area.active .head-logo {
    opacity: 1;
  }


  header .head-nav {
    padding-bottom: 1rem;
  }

  #mobile-nav {
    display: block;
    background-color: var(--main-color);
    background-image: repeating-linear-gradient(90deg,
        transparent 0,
        transparent calc(100% / 6 - 1px),
        #1F3046 calc(100% / 6 - 1px),
        #1F3046 calc(100% / 6));
    background-attachment: fixed;
    padding-bottom: 4em;

  }

  .nav-area {
    display: none;
    /* クローン使用しない時はblockにする */
    position: fixed;
    left: 0;
    /*top: 0;*/
    /* クローン使用しない時に使う */
    width: 100%;
    padding: 0;
    transform: translateY(-200%);
    transition: transform 0.3s ease;
    z-index: 9;
    /* クローン使用しない時は削除する */
  }

  .nav-area.is-open {
    transform: translateY(0);
  }

  .head-contact-btn {
    display: none;
  }

  .nav-area ul {
    display: block;
    padding: 1em 2em;
  }

  .nav-area ul li {
    /* border-bottom: 1px solid var(--white); */
    text-align: left;
    padding: 1rem;
  }

  .nav-area li.sp-view {
    display: block;
  }

  .nav-area ul li:last-of-type {
    border-bottom: none;
  }

  .nav-area ul li a {
    color: var(--white);
  }

  .mobile-contact-area {
    background: linear-gradient(150deg, #00A7E4 10%, #004B96 50%);
    width: 80vw;
    max-width: 400px;
    margin: 0 auto 2em;
    padding: 2em;
    color: var(--white);
    border-radius: 10px;
    text-align: center;
  }

  .mobile-contact-btn {
    background: var(--white);
    border-radius: 4px;
    color: var(--main-color);
    text-align: left;
    padding: 1em;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    transition: background 0.8s ease;
    line-height: 1.5;
  }

  .mobile-contact-btn::before {
    content: '';
    float: left;
    width: 39px;
    height: 28px;
    background: url(../images/common/mail-icon-footer.svg) no-repeat center / contain;
    display: inline-block;
  }

  .mobile-contact-btn::after {
    content: '';
    float: right;
    width: 39px;
    height: 28px;
    background: url(../images/common/link-arrow-footer.svg) no-repeat center / contain;
    display: inline-block;
  }

  header .footer-pp,
  header .copyright {
    text-align: center;
  }

  /* ハンバーガーボタン */
  .hamburger {
    display: block;
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--blue-gradient);
    border-radius: 5px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  .hamburger span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
  }

  .hamburger span:nth-of-type(1), .hamburger span:nth-of-type(2), .hamburger span:nth-of-type(3) {
    height: 2px;
    background-color: var(--white);
    width: 45%;
    left: 50%;
    transform: translateX(-50%);
  }

  .hamburger span:nth-of-type(1) {
    top: 17px;
  }

  .hamburger span:nth-of-type(2) {
    top: 25px;
  }

  .hamburger span:nth-of-type(3) {
    top: 33px;
  }

  /*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/
  .hamburger.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-35deg);
    width: 30%;
  }

  .hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(35deg);
    width: 30%;
  }

  /* オーバーレイ */
  .overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 8;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open {
    overflow: hidden;
  }
}

.bg-blue {
  background-color: var(--main-color);
  color: var(--white);
}

.bg-white {
  background-color: var(--white);
  color: var(--sub-color_01);
  background-image: none;
}

.section-border {
  border: none;
  /* デフォルトボーダーを消す */
  height: 30px;
  /* 高さを指定 */
  background: url(../images/common/hr-blue.png), var(--main-color);
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  /* 高さいっぱいに拡大 */
  margin: 0;
}

.section-border-w {
  background: url(../images/common/hr-gray.svg), var(--white);
}


.link-btn {
  background: var(--blue-gradient);
  border-radius: 4px;
  color: var(--white);
  text-align: left;
  padding: 0.5em 1em;
  width: 300px;
  transition: background 0.8s ease;
  line-height: 1.5;
}

.link-btn::after {
  content: '';
  float: right;
  margin-left: 10px;
  width: 39px;
  height: 28px;
  background-image: url('../images/common/link-arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}

.link-btn:hover {
  background: linear-gradient(90deg, #41c2f1 15%, #004B96 100%);
  opacity: 1;
  color: var(--white);
}

.bg-white .h2-ttl .ttl-ja {
  color: #091E39;
}

a.text-link {
  text-decoration: underline;
  font-weight: bold;
  color: #091E39;
}

a.text-link::after {
  content: '';
  float: right;
  margin: 4px 0 0 10px;
  width: 1.5em;
  height: 1em;
  background-image: url('../images/common/link-arrow-blue.svg');
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 15px;
}

@media screen and (max-width: 768px) {
  .link-btn {
    display: block;
    margin: 0 auto;
  }
}

/* フッター
-------------------------------------*/
footer {
  padding: 1rem 1rem;
  background-color: var(--light-gray);
  color: var(--sub-color_01);
}

.footer-contact-area {
  background: var(--blue-gradient);
  width: 100%;
  padding: 2em;
  color: var(--white);
  border-radius: 10px;
  position: absolute;
  width: 90vw;
  left: 50%;
  transform: translateX(-50%);
  top: -25%;
}

.footer-contact-btn {
  background: var(--white);
  border-radius: 4px;
  color: var(--main-color);
  text-align: left;
  padding: 1em;
  max-width: 300px;
  width: 70vw;
  transition: background 0.8s ease;
  line-height: 1.5;
}

.footer-contact-btn:hover {
  opacity: 0.9;
}

.footer-contact-btn::before {
  content: '';
  float: left;
  width: 39px;
  height: 28px;
  background: url(../images/common/mail-icon-footer.svg) no-repeat center / contain;
  display: inline-block;
}


.footer-contact-btn::after {
  content: '';
  float: right;
  width: 39px;
  height: 28px;
  background: url(../images/common/link-arrow-footer.svg) no-repeat center / contain;
  display: inline-block;
}

.footer-contact-area p {
  margin: 0;
}

.footer-tel {
  margin: 0.4em 0;
  font-size: clamp(26px, 3vw, 38px);
}

.footer-tel::before {
  content: '';
  float: left;
  margin-right: 5px;
  margin-top: 3px;
  width: 0.6em;
  height: 1em;
  background: url(../images/common/tel-icon-footer.svg) no-repeat center / contain;
  display: inline-block;
}

.footer-flex {
  margin-top: 120px;
}

.foot-logo {
  max-width: clamp(160px, 25vw, 250px);
}

.footer-pp {
  text-decoration: underline;
  text-align: left;
  display: block;
}

.copyright {
  font-size: 11px;
  text-align: left;
  margin: 0;
  color: #7C8089;
}

@media screen and (max-width: 768px) {
  .footer-contact-area {
    background: linear-gradient(135deg, #00A7E4 10%, #004B96 50%);
  }

  .footer-contact-btn {
    padding: 0.5em 1em;
  }

  .footer-flex {
    margin-top: 200px;
  }

  .footer-pp {
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}


/* トップページ
-------------------------------------*/
/* FV */
.fv {
  text-align: center;
  position: relative;
}

.fv-txt {
  position: absolute;
  bottom: 10%;
  left: 10%;
  z-index: 2;
  max-width: 80vw;
}

.fv-txt {
  position: absolute;
  bottom: 10%;
  left: 10%;
  z-index: 2;
  max-width: 80vw;
}

.fv .slick-slide img {
  height: 100vh;
  object-fit: cover;
}

/* ズームイン */
@keyframes zoomIn {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

/* ズームアウト */
@keyframes zoomOut {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1);
  }
}

.fv .slick-slide img {
  height: 100lvh;
  object-fit: cover;
  transform: scale(1);
}

/* 1番目のスライド（奇数番目）：ズームイン */
.fv .slick-slide:nth-child(odd).slick-active img {
  animation: zoomIn 5s ease-out forwards;
}

/* 2番目のスライド（偶数番目）：ズームアウト */
.fv .slick-slide:nth-child(even).slick-active img {
  animation: zoomOut 5s ease-out forwards;
}

.news-top {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  z-index: 2;
  background-color: var(--black);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  width: clamp(200px, 40vw, 440px);
  max-width: 440px;
  height: 6em;
}

.sub__slider-wrapper {
  width: 100%;
  overflow: visible;
  /* ← hidden から visible に変更 */
  padding: 40px 0;
  /* ← 上下パディングを追加（飛び出し部分を含む） */
}

.sub__slider,
.sub__slider-item {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

.sub__slider-item {
  width: 280px;
  margin-right: 20px;
}

/* 奇数番目のスライド（上に凹む） */
.sub__slider-item:nth-child(odd) {
  transform: translateY(-20px);
  /* 上に20px */
  padding: 20px 0;
}

/* 偶数番目のスライド（下に飛び出す） */
.sub__slider-item:nth-child(even) {
  transform: translateY(20px);
  /* 下に20px */
  padding: 20px 0;
}

.sub__slider-item img {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  /* ← hidden から visible に変更 */
}

.h2-ttl .ttl-ja {
  color: #A6B7D1;
  font-size: 19px;
  display: inline-block;
  font-weight: bold;
}

.h2-ttl .ttl-ja::before {
  content: '';
  float: left;
  width: 1em;
  height: 1.2em;
  background: url(../images/common/ttl-border.svg) no-repeat center center / contain;
  margin-right: 10px;
}

.h2-ttl .ttl-en {
  font-size: clamp(36px, 15vw, 100px);
  font-weight: bold;
  margin-top: 0.5rem;
  font-family: 'Roboto', sans-serif;
}

.top-business-flex {
  align-items: stretch;
}

.top-business-flex>div {
  display: block;
  border-radius: 4px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  padding: clamp(3em, 6vw, 5em) clamp(2em, 4vw, 4em);
  overflow: hidden;
  position: relative;
  box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.18);
}

.top-business-flex>div:first-child {
  background-image: url(../images/top/top-business-l.jpg);
}

.top-business-flex>div:last-child {
  background-image: url(../images/top/top-business-r.jpg);
}

/* 疑似要素で拡大オーバーレイを作成 */
.top-business-flex>div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease;
  transform: scale(1.1);
  border-radius: 10px;
  pointer-events: none;
  z-index: 0;
}

.top-business-flex>div:first-child::before {
  background-image: url(../images/top/top-business-l.jpg);
}

.top-business-flex>div:last-child::before {
  background-image: url(../images/top/top-business-r.jpg);
}

.top-business-flex>div:hover::before {
  opacity: 1;
}

/* h3, p, a を前面に出す */
.top-business-flex>div h3,
.top-business-flex>div p,
.top-business-flex>div a {
  position: relative;
  z-index: 2;
}

.top-business-flex>div a {
  width: 100%;
}

.top-business-flex>div h3 {
  font-size: 30px;
  line-height: 1.8;
}

.top-business-flex>div h3 span {
  color: #A6B7D1;
  font-family: roboto, sans-serif;
  font-size: 18px;
  font-weight: normal;
}

.top-business-flex>div p {
  line-height: 1.8;
  margin-bottom: 3em;
}

.news-area {
  height: 10em;
}

/* html ul .news-area-li {
  color: var(--sub-color_01);
  border-bottom: 1px solid #D3D3D9;
  padding: 0.8em 0.1em;
  display: flex;
  white-space: nowrap;
}
 */


@media screen and (max-width: 768px) {
  .fv-txt {
    left: 50%;
    transform: translateX(-50%);
    bottom: 12em;
  }

  .news-top {
    width: 100%;
    max-width: none;
    bottom: 0;
    left: 0;
  }

  .news-area {
    height: 14em;
  }
}


/* 下層ページ
-------------------------------------*/
/* FV */
.sub-page .fv {
  text-align: left;
}

.sub-page .fv img {
  min-height: 320px;
  object-fit: cover;
}

.sub-page .fv .subpage-fv-txt {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(0, -50%);

}

.sub-page .fv .h2-ttl {
  color: var(--white);
}

.sub-page .fv .h2-ttl .ttl-ja {
  color: var(--white);
}

.h2-ja-en {
  font-size: clamp(28px, 5vw, 42px);
  position: relative;
  padding-top: 0.5em;
  /* 線と文字の間隔 */
  line-height: 1;
}

.h2-ja-en::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--white);
}

.sub-page .fv ul {
  color: var(--white);
  justify-content: flex-start;
  font-size: 13px;
  font-weight: 500;
}

.sub-page .fv ul li a {
  text-decoration: underline;
  color: #A6B7D1;
}

.sub-page .fv ul p {
  color: #A6B7D1;
  font-size: 0.9em;
  margin: 0;
  padding: 0 1em;
}



.bg-white .h2-ja-en::before {
  background-color: var(--main-color);
}

.h2-ja-en span {
  font-size: 18px;
  color: #004B96;
  font-weight: 500;
  font-family: roboto, sans-serif;
}

.h3-ja-en {
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1;
}

.h3-ja-en span {
  font-size: 18px;
  color: #004B96;
  font-weight: 500;
  font-family: roboto, sans-serif;
  display: block;
  line-height: 2;
}


.h3-num {
  font-weight: bold;
  font-size: 31px;
  display: inline-block;
  margin-right: 5px;
}

.h3-num span {
  font-family: roboto, sans-serif;
  font-size: 0.9em;
  background: var(--blue-gradient);
  padding: 7px;
  display: inline-block;
  margin-right: 10px;
}

/* 会社案内 */

.philosophy-txt {
  font-family: zenoldmincho, serif;
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 33px);
  text-align: center;
  line-height: 2;
  padding: 0 3em 0 1em;
  background: url(../images/company/philosophy-bg-l.svg) no-repeat top left / contain,
    url(../images/company/philosophy-bg-r.svg) no-repeat bottom right / contain;
  background-size: 10%;
  display: inline-block;
}

.philosophy-ul li {
  padding-left: 0.5em;
  margin: 1em;
  list-style: disc;
}

.philosophy-ul li span {
  display: block;
  text-indent: -1em;
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 5px;
}

.table-wrapper.company-table-wrapper {
  padding: 1em;
}

.table-wrapper.company-table-wrapper table th {
  border-right: none;
}

.table-wrapper.company-table-wrapper table td {
  text-align: left;
}

@media screen and (max-width: 768px) {
  .table-wrapper.company-table-wrapper table tr {
    border-bottom: none;
  }

  .table-wrapper.company-table-wrapper table th {
    display: block;
    width: 100% !important;
  }

  .table-wrapper.company-table-wrapper table td {
    display: block;
  }


}


/* 業務内容 */

.business-flex-area .flex:nth-child(odd) {
  flex-direction: row-reverse;
}

.table-wrapper {
  background: white;
  overflow: hidden;
  padding: 4em 1em;
}

.table-wrapper.table-blue {
  background: var(--main-color);
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrapper table tr:first-of-type th:not(:first-child) {
  text-align: center;
}

.table-wrapper table tr {
  border-bottom: 1px solid var(--gray);
}

.table-wrapper.table-blue table tr {
  border-bottom: 1px solid #2F435D;
}

.table-wrapper table tr:last-child {
  border-bottom: none;
}

.table-wrapper table tr th:first-child {
  width: 10em;
}

.table-wrapper table th {
  color: var(--sub-color_01);
  padding: 16px;
  text-align: left;
  font-weight: 600;
  border-right: 1px solid var(--gray);
  background-color: var(--light-gray);
}

.table-wrapper table th {
  color: var(--sub-color_01);
  padding: 16px;
  text-align: left;
  font-weight: 600;
  border-right: 1px solid var(--gray);
  background-color: var(--light-gray);
}

.table-wrapper.table-blue table th {
  background-color: #0F2746;
  color: var(--white);
  border-right: 1px solid #2F435D;

}

.table-wrapper table th:last-child {
  border-right: none;
}

.table-wrapper td {
  padding: 16px;
  text-align: center;
  background-color: var(--white);
}

.table-wrapper.table-blue td {
  background-color: var(--main-color);
  border-right: 1px solid #2F435D;
}

.table-wrapper td:last-child {
  border-right: none;
}

.table-wrapper tbody tr:last-child td {
  border-bottom: none;
}



@media screen and (max-width: 768px) {
  .business-flex-area .flex {
    align-items: center;
  }

  /* SP用テーブルのスタイル */
  .sp-only table {
    width: 100%;
    border-collapse: collapse;
  }

  .sp-only table .table-header {
    background-color: #0F2746;
    color: white;
    padding: 12px;
    font-weight: 600;
    text-align: center !important;
    border-right: none;
    border-bottom: 1px solid #2F435D;
  }

  .sp-only table td {
    background-color: var(--main-color);
    padding: 12px;
    border-right: 1px solid #2F435D;
    border-bottom: 1px solid #2F435D;
    font-size: 13px;
  }

  .sp-only table td:first-child {
    width: 40%;
    text-align: left;
    font-weight: 600;
  }

  .sp-only table td:last-child {
    border-right: none;
  }

  .sp-only table tr:last-child td {
    border-bottom: none;
  }
}

/* 採用情報 */
.list-timeline>li {
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
  gap: 2em;
}

.list-timeline li .time {
  width: calc(100% / 6);
  flex-shrink: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.list-timeline li .time .ttl {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: 500;
  width: 82px;
  height: 82px;
  line-height: 82px;
  margin-bottom: .5rem;
  background: url(../images/recruit/time-bg.png) no-repeat center / contain;
}

.list-timeline li .time .line {
  display: block;
  width: 2px;
  background-color: #D3D3D9;
  flex: 1 1 auto;
}

.list-timeline li .content {
  flex: 1 1 auto;
}

.list-timeline li .content p {
  line-height: 1.8;
  font-size: 15px;
  margin: 0.3em 0 2em;
}

.list-timeline li .content p span {
  font-weight: bold;
  font-size: 21px;
  display: block;
  margin-bottom: 5px;
}

.timeline-img-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 4em 1em;
  height: 100%;
}


/* お問い合わせ
-------------------------------------*/
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea, select {
  height: 38px;
  padding: 6px 10px;
  background-color: var(--white);
  border: 1px solid var(--dark-gray);
  box-shadow: none;
  box-sizing: border-box;
  font-size: 16px;
  border-radius: 0;
  border-radius: 4px;
  width: 80%;
}

input, textarea, select {
  margin-bottom: 0;
}

textarea {
  min-height: 190px;
  padding-top: 6px;
  padding-bottom: 6px;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
.btn-form-top {
  width: 200px;
  height: 50px;
  border: none;
  border-radius: 100px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all .3s;
  cursor: pointer;
  margin: .25rem .5rem;
}

input[type="submit"], .btn-form-top {
  background-color: var(--main-color);
  border: 1px solid var(--main-color);
  color: var(--white);
}

input[type="reset"], input[type="button"] {
  background-color: var(--deep-dark-gray);
  border: 1px solid var(--deep-dark-gray);
  color: var(--white);
}

input[type="submit"]:hover, .btn-form-top:hover {
  background-color: var(--white);
  color: var(--main-color);
}

input[type="reset"]:hover, input[type="button"]:hover {
  background-color: var(--white);
  color: var(--deep-dark-gray);
}

.btn-form-top {
  width: 240px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.form-contact th {
  vertical-align: text-top;
  text-align: right;
  font-size: clamp(16px, 2vw, 18px);
  padding-right: 2rem;
  padding-top: 2rem;
  width: 10em;
}

.form-mult input {
  margin-bottom: .5rem;
}

.form-input__name {
  max-width: 200px;
}

.form-input__age {
  max-width: 60px;
  margin-right: .5rem;
}

.form-input__wide {
  width: 100%;
}

/* SEO用 */
fieldset {
  padding: 0;
  border: none;
}

.visually-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 確認画面 */
/* PHP工房フォーム使用時
max-width:572px の
form input[type="submit"], form input[type="reset"], form input[type="button"]
だけは向こうでコメントアウト文にしてください */
#formWrap {
  width: 100% !important;
  max-width: 700px;
}

.tbl-form-confirm :is(th, td) {
  border: 1px solid var(--gray);
}

.tbl-form-confirm th {
  font-weight: normal;
  background: #efefef;
  text-align: left;
}

.tbl-form-confirm td {
  background-color: var(--white);
}

@media screen and (max-width: 960px) {
  .tbl-form.table960 th {
    text-align: left;
    padding-top: 0;
  }

  .tbl-form.table960 input:not(.input-post-code):not(.input-number):not([type="radio"]):not([type="checkbox"]),
  .tbl-form.table960 textarea {
    width: 100%;
  }

  .tbl-form.table960 input {
    margin: 0;
  }

  .tbl-form.table960 .form-mult input {
    margin-bottom: .5rem;
  }

  /* 確認画面 */
  .tbl-form-confirm.table960 :is(th, td) {
    padding: 1rem .5rem;
  }

  .tbl-form-confirm.table960 th {
    border-bottom: none;
  }

  .tbl-form-confirm.table960 tr:not(:first-of-type) th {
    border-top: none;
  }
}

@media screen and (max-width: 768px) {
  .tbl-form.table768 th {
    text-align: left;
    padding-top: 0;
  }

  .tbl-form.table768 input:not(.input-post-code):not(.input-number):not([type="radio"]):not([type="checkbox"]),
  .tbl-form.table768 textarea {
    width: 100%;
  }

  .tbl-form.table768 input {
    margin: 0;
  }

  .tbl-form.table768 .form-mult input {
    margin-bottom: .5rem;
  }

  /* 確認画面 */
  .tbl-form-confirm.table768 :is(th, td) {
    padding: 1rem .5rem;
  }

  .tbl-form-confirm.table768 th {
    border-bottom: none;
  }

  .tbl-form-confirm.table768 tr:not(:first-of-type) th {
    border-top: none;
  }
}

@media screen and (max-width: 560px) {
  .tbl-form.table560 th {
    text-align: left;
    padding-top: 0;
  }

  .tbl-form.table560 input:not(.input-post-code):not(.input-number):not([type="radio"]):not([type="checkbox"]),
  .tbl-form.table560 textarea {
    width: 100%;
  }

  .tbl-form.table560 input {
    margin: 0;
  }

  .tbl-form.table560 .form-mult input {
    margin-bottom: .5rem;
  }

  /* 確認画面 */
  .tbl-form-confirm.table560 :is(th, td) {
    padding: 1rem .5rem;
  }

  .tbl-form-confirm.table560 th {
    border-bottom: none;
  }

  .tbl-form-confirm.table560 tr:not(:first-of-type) th {
    border-top: none;
  }
}



/* その他
-------------------------------------*/
/* ページトップへ戻るボタン */
#page-top {
  position: fixed;
  right: 15px;
  bottom: -70px;
  z-index: 4;
  transition: bottom 0.3s ease-in-out;
}

#page-top.show {
  bottom: 20px;
  /* 表示時の位置 */
}

#page-top a {
  display: block;
  width: 50px;
  font-weight: bold;
  background: var(--blue-gradient);
  color: var(--white);
  text-align: center;
  padding: 15px 5px;
  border-radius: 5px;
  transition: background-color 0.3s;
}