@charset "utf-8";

html {
  font-size: 16px;
  font-weight: 400;
  margin-top: 142px;
  overflow-x: hidden;
}

:root {
  --mainBlack: #242424;
  --mainBlue: #3A75BB;
  --mainBlue-rgb: 58, 117, 187;
  --secondBlue: #EDF5FC;
}

body,
h1,
h2,
h3,
h4,
h5,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "游ゴシック体", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", sans-serif;
  color: var(--mainBlack);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: unset;
}

li {
  list-style: none;
}

img {
  width: 100%;
  height: auto;
}

.container {
  margin-left: auto;
  margin-right: auto;
}

.btn {
  color: #fff;
  background-color: var(--mainBlue);
  border-radius: 50px;
}

.btn1 {
  width: 380px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.btn1 a {
  position: relative;
  box-sizing: border-box;
  width: 380px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
}

.btn1 a img {
  position: absolute;
  right: 40px;
  right: 10.5236%;
  width: 35px;
  height: 35px;
  background-color: #fff;
  border-radius: 50%;
}

.d-sp {
  display: none;
}

@media screen and (max-width: 600px) {
  html {
    margin-top: 78.9px;
  }

  .d-pc {
    display: none;
  }

  .d-sp {
    display: block;
  }
}

@media screen and (max-width: 430px) {
  .btn1 {
    width: 100%;
  }

  .btn1 a {
    width: 100%;
  }
}

@media screen and (max-width: 400px) {
  .btn1 a {
    font-size: 1.25rem;
  }
}

.bread-wrapper {
  max-width: 1920px;
  padding-left: 6.25%;
  padding-right: 6.25%;
  margin: 10px auto 0 auto;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: 0.5em;
  font-size: 0.9rem;
  display: flex;
  justify-content: flex-end;
}

.breadcrumb-list li::after {
  content: ">";
  margin-left: 0.5em;
}

.breadcrumb-list li:last-child::after {
  content: "";
}

/*---------------------
header
---------------------*/
#header .header {
  position: fixed;
  width: 100vw;
  top: 0;
  z-index: 10;
  background-color: #fff;
  overflow-y: auto;
}

#header .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1262px;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 20px;
  padding-right: 20px;
}

#header .logo {
  width: 142px;
  height: 82px;
}

#header .nav {
  min-width: 550px;
  width: 51.5055%;
}

#header .nav ul {
  display: flex;
  justify-content: space-between;
}

#header .nav li {
  font-size: 18px;
}

#header .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 240px;
  height: 60px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

#header .hamburger,
#header .mask {
  display: none;
}

@media screen and (max-width: 1000px) {

  #header .nav,
  #header .contact-btn {
    display: none;
  }

  #header .hamburger {
    display: block;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    background-color: var(--mainBlue);
    border-radius: 50%;
    cursor: pointer;
    padding: 21px 13px;
  }

  #header .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #F2F2F2;
    border-radius: 20px;
    transition: 0.5s;
  }

  #header .hamburger span:first-child {
    margin-bottom: 4px;
  }

  #header .mask {
    margin-top: 63px;
  }

  #header .mask nav li {
    border-bottom: 0.5px solid #ACACAC;
    background: url(../img/common/mask-arrow.svg);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: right 5.8139% center;
  }

  #header .mask nav a {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.575rem;
    padding-left: 13.4883%;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  #header .mask .contact-btn {
    display: block;
    margin-top: 84px;
    margin-bottom: 30px;
  }

  /*---------------------
  open
  ---------------------*/
  #header .open {
    background-color: #F2F2F2;
    height: 100vh;
  }

  #header .open .hamburger span:nth-child(1) {
    transform: translateY(3px) rotate(-315deg);
  }

  #header .open .hamburger span:nth-child(2) {
    transform: translateY(-3px) rotate(315deg);
  }

  #header .open .mask {
    display: block;
  }
}

@media screen and (max-width: 600px) {
  #header .top {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #header .logo {
    width: 102px;
    height: 58.9px;
  }
}



/*---------------------
footer
---------------------*/
#footer .inner {
  box-sizing: border-box;
  max-width: 1920px;
  width: 100%;
  padding-left: 6.25%;
  padding-right: 6.25%;
  background-color: var(--secondBlue);
  clip-path: polygon(0 0, 100% 196px, 100% 100%, 0% 100%);
  margin-top: -196px;
  padding-bottom: 40px;
}

#footer .content {
  display: flex;
  padding-top: 168px;
}

#footer .left {
  flex-shrink: 0;
}

#footer .left .title {
  display: flex;
  align-items: center;
}

#footer .left .title img {
  width: 142px;
}

#footer .left .title h2 {
  font-family: "Outfit", sans-serif;
  color: var(--mainBlue);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.08rem;
  margin-left: 25px;
}

#footer .left .btn {
  margin-top: 35px;
  margin-bottom: 15px;
}

#footer .left .tel {
  font-family: "Outfit", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 30px;
}

#footer .left .text {
  font-size: 1.5rem;
}

#footer .right {
  display: flex;
  margin-top: 100px;
  margin-left: 12.6984%;
}

#footer .right ul:not(:first-child) {
  margin-left: 56px;
}

#footer .right li {
  font-size: 1.5rem;
  font-weight: 500;
}

#footer .right li:not(:first-child) {
  padding-top: 30px;
}

#footer .copyright {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 100px;
}

#footer .d-405_under {
  display: none;
}

@media screen and (max-width: 1440px) {
  #footer .inner {
    padding-left: clamp(20px, calc(50vw - 630px), 90px);
    padding-right: clamp(20px, calc(50vw - 630px), 90px);
  }
}

@media screen and (max-width: 885px) {
  #footer .content {
    display: block;
  }

  #footer .left .btn {
    margin-left: 0;
  }

  #footer .right {
    margin-left: 0;
  }
}

@media screen and (max-width: 600px) {
  #footer .inner {
    clip-path: polygon(0 0, 100% 85px, 100% 100%, 0% 100%);
    margin-top: -85px;
    padding-bottom: 30px;
    padding-left: 5.3488%;
    padding-right: 5.3488%;
  }

  #footer .left .title img {
    width: 97px;
  }

  #footer .left .title h2 {
    font-size: 2.5rem;
    letter-spacing: -0.05rem;
    margin-left: 17px;
  }

  #footer .left .btn {
    margin-top: 40px;
    margin-bottom: 30px;
  }

  #footer .left .tel {
    font-size: 3.5rem;
    margin-bottom: 0px;
  }

  #footer .left .text {
    font-size: 1.125rem;
  }

  #footer .right ul:first-child {
    flex-shrink: 0;
  }

  #footer .right ul:not(:first-child) {
    margin-left: 11.6279%;
  }

  #footer .right li {
    font-size: 1.25rem;
  }

  #footer .copyright {
    margin-top: 50px;
  }
}

@media screen and (max-width: 420px) {
  #footer .left .tel {
    font-size: 3rem;
  }
}

@media screen and (max-width: 405px) {
  #footer .d-405_under {
    display: block;
  }
}

@media screen and (max-width: 360px) {
  #footer .left .tel {
    font-size: 2.5rem;
  }
}



/*---------------------
template1 h2
---------------------*/
.template1 h2 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 4.25rem;
  letter-spacing: 0.09rem;
}

.template1 h2::after {
  display: block;
  content: attr(data-text);
  font-family: "Outfit", sans-serif;
  color: var(--mainBlue);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.0588;
  letter-spacing: 0.36rem;
}

@media screen and (max-width: 600px) {
  .template1 h2 {
    font-size: 0.875rem;
    line-height: 1.625rem;
    letter-spacing: 0.07rem;
  }

  .template1 h2::after {
    font-size: 3.5rem;
    letter-spacing: 0.28rem;
  }
}

@media screen and (max-width: 420px) {
  .template1 h2::after {
    font-size: 3rem;
    letter-spacing: 0.24rem;
  }
}

@media screen and (max-width: 350px) {
  .template1 h2::after {
    font-size: 2.75rem;
    letter-spacing: 0.20rem;
  }
}

/*---------------------
sidebar
---------------------*/


.sidebar {
  font-family: sans-serif;
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c6fb7;
  margin-bottom: 1rem;
}

.related-posts {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.related-post {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.related-post-image {
  width: 100px;
  height: auto;
  flex-shrink: 0;
}

.related-post-title {
  font-size: 1rem;
  font-weight: bold;
  color: #000;
  margin: 0;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.side-keyword {
  display: inline-block;
  padding: 0.3rem 1rem;
  border: 1px solid #333;
  border-radius: 9999px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #333;
  background: #fff;
  transition: 0.2s;
}

.pagination {
  margin: 40px 0;
  text-align: center;
}

.pagination .page-numbers {
  display: flex;
  padding: 8px 15px;
  border-radius: 5px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 10px;
}

.pagination .page-numbers:hover {
  color: #3a75bb;
}

.pagination .page-numbers.current {
  background-color: #3a75bb;
  color: #fff;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  font-weight: bold;
}

.pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.pagination li {
  margin: 0 2px;
  background-color: #EDF5FC;
}

/*---------------------
contact_service
---------------------*/
#contact_service .inner {
  box-sizing: border-box;
  width: 100%;
  background-image: url(../img/service/contact-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  padding-top: 90px;
  padding-bottom: 334px;
  padding-left: calc(50vw - 484px);
  padding-right: calc(50vw - 484px);
}

#contact_service .required::after {
  content: "必須";
  color: #EDF5FC;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1;
  background-color: #CE3434;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 3px;
  margin-left: 12px;
}

#contact_service input::placeholder,
#contact_service textarea::placeholder {
  color: #878787;
  font-size: 1rem;
  opacity: 0.8;
}

#contact_service .check {
  margin-top: 43px;
  margin-bottom: 48px;
}

#contact_service textarea {
  height: 178px;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #D6D6D6;
  border-radius: 5px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 18px;
  padding-right: 18px;
  line-height: 1.875;
}

@media screen and (min-width: 1920px) {
  #contact_service .inner {
    padding-left: 5.3488%;
    padding-right: 5.3488%;
    padding-left: 476px;
    padding-right: 476px;
  }
}

@media screen and (max-width: 1008px) {
  #contact_service .inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 600px) {
  #contact_service .inner {
    background-image: url(../img/service/contact-bg-sp.jpg);
    padding-top: 120px;
    padding-bottom: 378px;
  }

}

@media screen and (max-width: 400px) {
  #contact_service button {
    font-size: 1.25rem;
    width: 310px !important;
  }
}

#contact_service .smf-item__label {
  color: var(--mainBlue);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6666;
  margin-bottom: 12px;
  margin-top: 24px;
}

#contact_service .smf-form--letter .smf-item {
  padding: 0;
}

#contact_service .smf-form--letter .smf-text-control__control {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #D6D6D6;
  border-radius: 5px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 18px;
  padding-right: 18px;
  line-height: 1.875;
}

#contact_service .smf-form--letter .smf-item__col--label {
  padding-bottom: 0;
}

#contact_service .smf-label {
  text-align: center;
  margin: 40px 0;
}

#contact_service .smf-action .smf-button-control__control {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 380px;
  height: 80px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  background-color: var(--mainBlue);
  border-radius: 50px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: none;
  background-image: none;
}

#contact_service .smf-form--letter+.smf-action {
  display: flex;
  justify-content: center;
}

#contact_service .smf-action {
  margin-top: 80px !important;
}

#contact_service form[data-screen="confirm"] {
  padding-top: 100px;
}

#contact_service .smf-button-control__control {
  position: relative;
}

#contact_service .smf-button-control__control::after {
  position: absolute;
  right: 40px;
  right: 10.5236%;
  width: 35px;
  height: 35px;
  background-color: #fff;
  border-radius: 50%;
  content: "";
  background-image: url(../img/common/btn-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/*---------------------
contact_page
---------------------*/
#contact_page .inner {
  padding-top: 120px;
  padding-bottom: 120px;
}

#contact_page .template1 h2 {
  margin-bottom: 40px;
}

#contact_page .required::after {
  content: "必須";
  color: #EDF5FC;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1;
  background-color: #CE3434;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 3px;
  margin-left: 12px;
}

.contact-form-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  padding: 0 88px 50px 88px;
}

.contact-form-qa {
  width: 50%;
}

.faq-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #4a90e2;
  margin-bottom: 50px;
  text-align: left;
}

.faq-item {
  margin-bottom: 45px;
}

.faq-question {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-left: 0;
}

@media (max-width: 768px) {

  .faq-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .faq-question {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .faq-answer {
    font-size: 0.95rem;
  }

  .faq-item {
    margin-bottom: 35px;
  }
}

.contact-form-inner-content {
  width: 50%;
  padding: 40px 30px;
  background-color: #3A75BB;
  color: white;
}

@media (max-width: 800px) {
  .contact-form-inner {
    flex-direction: column-reverse;
    padding: 0 20px 50px 20px;
  }

  .contact-form-qa {
    padding: 0 20px;
    width: 100%;
  }

  .contact-form-inner-content {
    width: 100%;
    background-color: transparent;
    color: #000;
  }
}

@media (max-width: 425px) {
  .contact-form-inner {
    padding: 0;
  }
}

#contact_page .smf-button-control__control {
  position: relative;
}

#contact_page .smf-button-control__control::after {
  position: absolute;
  right: 40px;
  right: 10.5236%;
  width: 35px;
  height: 35px;
  background-color: #3A75BB;
  border-radius: 50%;
  content: "";
  background-image: url(../img/common/btn-arrow-white.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

#contact_page .smf-action .smf-button-control__control {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  color: #3A75BB;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
  background-color: #EDF5FC;
  border-radius: 50px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: none;
  background-image: none;
}

#contact_page .smf-form--letter .smf-text-control__control {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #D6D6D6;
  border-radius: 5px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 18px;
  padding-right: 18px;
  line-height: 1.875;
}

#contact_page .smf-form--letter+.smf-action {
  margin: 74px auto;
  max-width: 380px;
}

#contact_page textarea {
  height: 178px;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #D6D6D6;
  border-radius: 5px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 18px;
  padding-right: 18px;
  line-height: 1.875;
}

/*---------------------
hover
---------------------*/

.contact-btn a:hover {
  background-color: white;
  color: var(--mainBlue);
  border: solid 1px var(--mainBlue);
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.c-txt.line {
  padding-bottom: 5px;
  position: relative;
}

.c-txt.line::before {
  background: black;
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}

.c-txt.line:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.btn1:hover {
  box-shadow: none;
  transition: 0.3s;
  opacity: 0.9;
}

/* ツールチップ用 */
.tooltip-icon {
  position: relative;
  display: inline-block;
  margin-left: 5px;
  cursor: help;
  font-size: 0.9rem;
  color: #555;
}

.tooltip-icon .tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  max-width: 200px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 6px 10px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
}

.tooltip-icon:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ツールチップを常時表示するスタイル */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-wrapper::before {
  content: "タブで切り替えできます";
  position: absolute;
  top: -1.8em;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tooltip-wrapper.show-tooltip::before {
  opacity: 1;
}

#news .template1 a:hover img {
  margin-left: 40px;
  /* 通常30px → 40pxに */
  transition: margin-left 0.3s ease;
}

#news .table .text:hover {
  text-decoration: underline;
}

#column .bottom .text:hover {
  text-decoration: underline;
}

#column .bottom .content img:hover {
  opacity: 0.8;
}

#reference .tab-btn:hover {
  box-shadow: 0px 0px 20px #EDF5FC;
  transition: 0.3s;
}

#service .tab-btn h3:hover {
  color: #124881;
}

.related-post-title:hover {
  text-decoration: underline;
}

.related-post img:hover {
  opacity: 0.8;
}
