@charset "UTF-8";
/*--------------------------------------------
  ブレイクポイント設定
--------------------------------------------*/
@media screen and (max-width: 767px) {
  .sm_none {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 968px) {
  .md_none {
    display: none;
  }
}

@media screen and (min-width: 969px) {
  .lg_none {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  .xl_none {
    display: none;
  }
}

body::before {
  z-index: 0;
}

/*--------------------------------------------
  下層ページ共通
--------------------------------------------*/
.sub_sec_title {
  margin: 0 0 1em;
}
@media screen and (min-width: 969px) {
  .sub_sec_title {
    margin: 0 0 2em;
  }
}
.sub_sec_title .sub_sec_title_sub {
  font-family: "Inter", sans-serif;
  color: var(--navy);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  row-gap: 0.5em;
  font-size: clamp(14px, 1vw, 18px);
  flex-direction: column;
}
.sub_sec_title .sub_sec_title_sub::before {
  content: "";
  display: inline-block;
  width: 23px;
  aspect-ratio: 23/9;
  background-image: url(../images/common/ico_title_bg.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.sub_sec_title .sub_sec_title_main {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 32px);
  text-align: center;
  margin-top: 0.5em;
}

.sub_content_wrap {
  width: min(86%, 1200px);
  margin: 0 auto 12em;
}
@media screen and (max-width: 767px) {
  .sub_content_wrap {
    margin-bottom: 6em;
  }
}
.sub_content_wrap:first-of-type {
  margin-top: 4em;
}
@media screen and (max-width: 767px) {
  .sub_content_wrap:first-of-type {
    margin-top: 2em;
  }
}

main {
  background-image: url(../images/sub/bg.png);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: auto 100%;
}

/*--------------------------------------------
  会社概要ページ
--------------------------------------------*/
.company .company_inner {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.8em;
  padding: 3em;
}
@media screen and (max-width: 767px) {
  .company .company_inner {
    padding: 2em;
  }
}
.company .company_inner:first-of-type {
  margin-bottom: 2em;
}
.company .company-table {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1em;
}
.company .company-table:not(:last-of-type) {
  border-bottom: 1px solid #ededed;
  margin: 0 0 2em;
  padding-bottom: 2em;
}
@media screen and (max-width: 767px) {
  .company .company-table:not(:last-of-type) {
    margin: 0 0 1em;
    padding-bottom: 1em;
  }
}
.company .company-table dt {
  font-weight: 600;
  color: var(--fg);
}
.company .company-table dd {
  margin: 0;
  line-height: 1.7;
}
.company .company-table dd a {
  color: var(--navy);
  text-decoration: none;
}
.company .company-table dd ul {
  margin: 0;
  padding-left: 1.2em;
}
.company .company-table dd ul li {
  margin-bottom: 6px;
}
.company .access-box {
  display: grid;
  row-gap: 3em;
}
@media screen and (max-width: 767px) {
  .company .access-box {
    row-gap: 2em;
  }
}
.company .access-box .map {
  border-radius: 12px;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  line-height: 0;
}
@media screen and (max-width: 767px) {
  .company .access-box .map {
    min-height: 240px;
  }
}
.company .access-box .map iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
@media screen and (max-width: 767px) {
  .company .company-table {
    grid-template-columns: 1fr;
  }
  .company .access-box {
    grid-template-columns: 1fr;
  }
}
.company .photo {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 450px;
  overflow: hidden;
  border-radius: 12px;
}
.company .photo img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

/*--------------------------------------------
  ご挨拶ページ
--------------------------------------------*/
.greeting p {
  text-align: center;
  filter: drop-shadow(0.5em 0.5em 1.5em var(--white));
}
.greeting p:first-of-type {
  margin-bottom: 1.6em;
}
.greeting .sign {
  margin-top: 18px;
}
.greeting .sign .company {
  margin: 0;
  font-weight: 600;
  color: #222;
}
.greeting .sign .name {
  margin: 6px 0 0;
  color: #444;
}

/*--------------------------------------------
  関連事業所紹介
--------------------------------------------*/
.offices .related_intro {
  margin: 0 0 3em;
}
.offices .related_intro p {
  margin: 0 auto;
  line-height: 1.9;
  text-align: center;
}
.offices .related_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.offices .related_card {
  background: var(--white);
  border-radius: 14px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
  text-align: center;
}
.offices .related_card:hover {
  transform: translateY(-2px);
}
.offices .related_card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  pointer-events: none;
}
.offices .related_head {
  margin: 0 0 14px;
}
.offices .related_head .related_kicker {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--mustard);
  letter-spacing: 0.06em;
  font-weight: 600;
}
.offices .related_head .related_title {
  margin: 0;
  line-height: 1.55;
  color: var(--navy);
  letter-spacing: 0.02em;
  font-size: clamp(15px, 1vw, 17px);
}
.offices .related_body p {
  margin: 0 0 12px;
  line-height: 1.95;
  color: #333;
}
.offices .related_body p:last-child {
  margin-bottom: 0;
}
.offices .links_card {
  background: var(--white);
  border-radius: 14px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.offices .links_card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  pointer-events: none;
}
.offices .links_list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.offices .links_list li {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.offices .links_list li:first-child {
  border-top: 0;
}
.offices .links_list li a {
  display: block;
  padding: 14px 4px;
  text-decoration: none;
  color: #222;
  line-height: 1.6;
}
.offices .links_list li a:hover {
  opacity: 0.75;
}
@media screen and (max-width: 767px) {
  .offices .related_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .offices .related_card,
  .offices .links_card {
    padding: 22px;
    border-radius: 12px;
  }
}

.privacy .privacy_card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  position: relative;
}
.privacy .privacy_card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  pointer-events: none;
}
.privacy .privacy_intro {
  margin: 0 0 24px;
  line-height: 1.95;
  color: #333;
}
.privacy .privacy_section {
  margin-bottom: 3em;
}
.privacy .privacy_section h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 0.2em;
}
.privacy .privacy_section p {
  margin: 0 0 10px;
  line-height: 1.95;
  color: #333;
}
.privacy .privacy_section ul:not(.note_list) {
  margin: 6px 0 0;
  padding-left: 1.2em;
}
.privacy .privacy_section ul:not(.note_list) li {
  margin-bottom: 6px;
  line-height: 1.8;
  color: #333;
}
@media screen and (max-width: 767px) {
  .privacy .sub_content_wrap {
    padding: 44px 16px;
  }
  .privacy .privacy_card {
    padding: 24px;
    border-radius: 12px;
  }
}
form input,
form textarea{
    padding: 5px;
    border-radius: 4px;
    border: 1px solid var(--mustard);
  width: 100%;
}
.hyoka{
    color: var(--mustard);
}

.error{
  color: red;
  font-weight: bold;
}
.imeon {
	ime-mode: active; /* 全角モード */
}
.imeoff {
	ime-mode: inactive; /* 半角モード */
}