@charset "UTF-8";
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.75;
  background-color: var(--white);
  color: var(--main);
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}

html {
  font-size: 62.5%;
}

img {
  width: 100%;
  vertical-align: bottom;
}

a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.6rem;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 843px) {
  a {
    font-size: 1.3rem;
  }
}
@media (max-width: 767px) {
  a {
    font-size: 1.2rem;
  }
}

ul {
  list-style-type: none;
  font-size: 2rem;
}

@media (max-width: 767px) {
  ul {
    font-size: 12px;
  }
}
ol {
  list-style-position: inside;
  font-size: 1.5rem;
  text-indent: -1em;
  padding-left: 1em;
}

dl {
  font-size: 15px;
}

@media (max-width: 767px) {
  dl {
    font-size: 12px;
  }
}
:root {
  --main: #55554E;
  --sub: #A7A6A6;
  --background: #EAEAEA;
  --accent: #FFDE59;
  --blue: #025F99;
  --white: #fff;
}

@media (max-width: 767px) {
  h1 {
    margin: 0 0 7px 26px;
  }
}

h2 {
  font-size: 5.6rem;
  margin-bottom: 55px;
}
@media (max-width: 843px) {
  h2 {
    font-size: 4.2rem;
  }
}
@media (max-width: 767px) {
  h2 {
    font-size: 3.2rem;
    margin-bottom: 40px;
    letter-spacing: 8px;
  }
}

h3 {
  font-size: 3.2rem;
}
@media (max-width: 843px) {
  h3 {
    font-size: 2.4rem;
  }
}
@media (max-width: 767px) {
  h3 {
    font-size: 2rem;
  }
}

h4 {
  font-size: 1.8rem;
}
@media (max-width: 767px) {
  h4 {
    font-size: 1.6rem;
  }
}

p {
  font-size: 1.6rem;
  letter-spacing: 0.6px;
  line-height: 1.8;
}
@media (max-width: 767px) {
  p {
    font-size: 1.4rem;
  }
}
@media (max-width: 767px) {
  p {
    font-size: 12.5px;
  }
}

main {
  flex: 1;
}
@media (max-width: 767px) {
  main {
    margin-top: 68px;
  }
}

@media (max-width: 767px) {
  .pc {
    display: none;
  }
}

.sp {
  display: none;
}
@media (max-width: 767px) {
  .sp {
    display: inline;
  }
}

/* 部品
------------------------------------------ */
.container {
  margin-left: 230px;
}
@media (max-width: 843px) {
  .container {
    margin-left: 180px;
  }
}
@media (max-width: 767px) {
  .container {
    margin-left: 0;
  }
}

.wrapper {
  max-width: 900px;
  padding: 80px 20px;
  margin: 0 auto;
}

.logo-img {
  width: 100%;
  max-width: 250px;
}
@media (max-width: 767px) {
  .logo-img {
    max-width: 150px;
  }
}

.heading {
  position: relative;
  display: grid;
  letter-spacing: 10px;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
}
.heading::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 45%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background: var(--white);
  border: 5px solid var(--accent);
  border-radius: 50%;
  z-index: 100;
}
@media (max-width: 767px) {
  .heading::before {
    left: -24px;
    top: 37%;
    width: 16px;
    height: 16px;
  }
}
.heading-sub {
  position: relative;
  display: inline-block;
  font-size: 1.6rem;
  color: var(--sub);
  letter-spacing: 4px;
  font-weight: 500;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media (max-width: 843px) {
  .heading-sub {
    font-size: 1.3rem;
  }
}
@media (max-width: 767px) {
  .heading-sub {
    font-size: 1.4rem;
  }
}
.heading-box {
  height: 200px;
  background-color: var(--background);
  padding: 28px 30px;
}
@media (max-width: 767px) {
  .heading-box {
    height: 160px;
  }
}
.heading-detail {
  letter-spacing: 10px;
  line-height: 1;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
}

.heading-en {
  display: inline-block;
  font-family: "Outfit", sans-serif;
}

.heading-en .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
}

.heading-en.is-active .char {
  animation: headingFadeUp 0.5s ease forwards;
}

@keyframes headingFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.flex {
  display: flex;
  align-items: center;
}

.whitespace {
  padding-left: 10px;
}

/* 言語切り替えボタン--------------- */
.language {
  position: absolute;
  top: 2%;
  right: 3%;
}
@media (max-width: 767px) {
  .language {
    top: 5%;
    right: 5%;
  }
}
.language ul {
  display: flex;
  color: var(--sub);
}
.language-link {
  font-weight: bold;
}
@media (max-width: 843px) {
  .language-link {
    font-size: 2.5rem;
  }
}
@media (max-width: 767px) {
  .language-link {
    font-size: 1.5rem;
  }
}
.language-link a {
  font-weight: bold;
}
@media (max-width: 843px) {
  .language-link a {
    font-size: 2.5rem;
  }
}
@media (max-width: 767px) {
  .language-link a {
    font-size: 1.5rem;
  }
}
.language-link:hover {
  color: var(--accent);
}
.language-link:not(:last-child)::after {
  content: "/";
  padding-left: 10px;
  color: var(--white);
}
.language-top ul {
  color: var(--white);
}

/* ボタン--------------- */
.button {
  background-color: var(--sub);
  border-radius: 10px;
  display: block;
  height: 52px;
  line-height: 55px;
  position: relative;
  text-align: center;
  width: 100%;
  font-weight: bold;
}
.button-catalog {
  background-color: var(--accent);
  border: 2px solid var(--accent);
  color: var(--main);
}
.button-catalog:hover {
  background-color: var(--white);
  border: 2px solid var(--accent);
}
.button-materials {
  background-color: var(--accent);
  border: 2px solid var(--accent);
  color: var(--main);
  display: inline-block;
  overflow: hidden;
  position: relative;
}
.button-materials:hover {
  background-color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.button-materials::after {
  animation: 2s 0s shine linear infinite;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 75%);
  content: "";
  height: 100%;
  left: -100%;
  position: absolute;
  top: 0;
  transform: skewX(-15deg);
  width: 100%;
}

@keyframes shine {
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
/* パンくずリスト--------------- */
.breadcrumb {
  padding: 18px 24px;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 15px;
  color: var(--sub);
}

.breadcrumb-item {
  letter-spacing: 0.18em;
  font-size: 1.5rem;
}

.breadcrumb-item:not(:last-child)::after {
  content: ">";
  padding-left: 10px;
}

.breadcrumb-item a:hover {
  opacity: 0.7;
}

.br-pc {
  display: inline;
}
@media (max-width: 843px) {
  .br-pc {
    display: none;
  }
}
@media (max-width: 767px) {
  .br-pc {
    display: none;
  }
}
.br-tb {
  display: none;
}
@media (max-width: 843px) {
  .br-tb {
    display: inline;
  }
}
@media (max-width: 767px) {
  .br-tb {
    display: none;
  }
}
.br-sp {
  display: none;
}
@media (max-width: 843px) {
  .br-sp {
    display: none;
  }
}
@media (max-width: 767px) {
  .br-sp {
    display: inline;
  }
}

/* ヘッダー
------------------------------------------ */
header {
  width: 230px;
  height: 100%;
  background-color: #fff;
  border-right: 2px solid var(--background);
  padding: 40px 35px 0 45px;
  position: fixed;
  top: 0;
}
@media (max-width: 843px) {
  header {
    width: 180px;
    padding: 40px 15px 0 25px;
  }
}
@media (max-width: 767px) {
  header {
    width: 100%;
    height: 68px;
    padding: 0;
    z-index: 10;
    display: flex;
    align-items: center;
  }
}
header li {
  font-size: 1.4rem;
  padding: 10px 0;
}

.header-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 80vh;
}
.header-item {
  letter-spacing: 3px;
  line-height: 1.2;
}
.header-item:hover {
  color: var(--accent);
}

.nav-menu-en li {
  padding: 6px 0 20px;
}

.header-item .ruby {
  color: var(--sub);
  font-size: 1.2rem;
}

header .nav-menu {
  margin: 40px 0 60px;
  font-weight: bold;
}
@media (max-width: 767px) {
  header .nav-menu {
    margin: 10px 0 60px;
  }
}

header .nav-btn {
  font-size: 1.4rem;
}

@media (max-width: 767px) {
  .nav-menu :first-child {
    padding-bottom: 20px;
  }
}

/*  ハンバーガーメニュー
------------------------------------------ */
@media (max-width: 767px) {
  #navi {
    width: 300px;
    background: var(--white);
    padding: 25px;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    opacity: 0;
    transition: 0.5s;
    z-index: 20;
    height: 100vh;
  }
}

@media (max-width: 767px) {
  .open #navi {
    left: 0;
    opacity: 1;
  }
}

@media (max-width: 767px) {
  #navi ul.nav-menu {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  #navi ul li {
    padding: 10px 0;
  }
}

@media (max-width: 767px) {
  .hamburger {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: fixed;
    top: 22px;
    right: 18px;
    transition: 0.5s;
    z-index: 20;
  }
}
@media (max-width: 767px) {
  .hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--main);
    border-radius: 4px;
    display: block;
    position: absolute;
    left: 0;
    transition: 0.5s;
  }
}

@media (max-width: 767px) {
  .hamburger span:nth-child(1) {
    top: 4px;
  }
}

@media (max-width: 767px) {
  .hamburger span:nth-child(2) {
    top: 14px;
  }
}

@media (max-width: 767px) {
  .hamburger span:nth-child(3) {
    bottom: 4px;
  }
}

@media (max-width: 767px) {
  .open .hamburger span {
    background-color: #fff;
  }
}

@media (max-width: 767px) {
  .open .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
  }
}

@media (max-width: 767px) {
  .open .hamburger span:nth-child(2) {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .open .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(45deg);
  }
}

@media (max-width: 767px) {
  #mask {
    display: none;
    transition: 0.5s;
  }
}

@media (max-width: 767px) {
  .open #mask {
    width: 100%;
    height: 100%;
    background-color: #000;
    cursor: pointer;
    display: block;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }
}

/*  SP下部メニュー
------------------------------------------ */
@media (max-width: 767px) {
  .cta-box {
    display: flex;
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    width: 95%;
    align-items: center;
    margin: 0 3px 6px;
  }
}
@media (max-width: 767px) {
  .cta-box-item {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-size: 1.6rem;
    font-weight: bold;
    height: 65px;
    width: 50%;
  }
}
@media (max-width: 767px) {
  .cta-icon-img {
    width: 13px;
    -o-object-fit: cover;
       object-fit: cover;
    margin-right: 3px;
  }
}
@media (max-width: 767px) {
  .cta-contact-box-item-text {
    font-size: 1.6rem;
  }
}

.cta-box-item:first-child {
  background-color: var(--accent);
  border: 2px solid var(--accent);
  color: var(--main);
}
.cta-box-item:first-child:hover {
  background-color: var(--white);
  border: 2px solid var(--accent);
}

.cta-box-item:nth-child(2) {
  background-color: var(--accent);
  border: 2px solid var(--accent);
  color: var(--main);
}
.cta-box-item:nth-child(2):hover {
  background-color: var(--white);
  border: 2px solid var(--accent);
}

.cta-box-item:last-child {
  background-color: var(--white);
  border: 2px solid var(--white);
  color: var(--main);
}
.cta-box-item:last-child:hover {
  background-color: var(--accent);
  border: 2px solid var(--main);
  color: var(--main);
}

.tel {
  flex-direction: column;
}

/* ローディング
------------------------------------------ */
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #ffffff;
  overflow: hidden;
}
.loading-text {
  display: flex;
  align-items: center;
  gap: 0.02em;
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: 1;
  color: var(--sub);
  position: relative;
  z-index: 1;
}
.loading-img {
  max-height: 70px;
}
@media (max-width: 767px) {
  .loading-img {
    max-height: 35px;
  }
}

.char {
  display: inline-block;
  position: relative;
}

.loading-text .char {
  animation: jumpOnce 0.5s ease-out forwards;
  animation-delay: var(--delay);
}

@keyframes jumpOnce {
  0% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0);
  }
}
.char-yellow {
  color: var(--accent);
}

.char-a {
  position: relative;
}

/* 丸本体 */
.loading-circle {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  z-index: 10;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

/* 丸の拡大開始 */
.loading-circle.is-active {
  opacity: 1;
  animation: circleExpand 1.2s ease-in forwards;
}

@keyframes circleExpand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  10% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(140);
    opacity: 1;
  }
}
/* mainVisual
------------------------------------------ */
.mainVisual {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.mainVisual-word {
  position: absolute;
  top: 10%;
  left: 5%;
  color: var(--white);
  text-align: left;
  font-size: 3.2rem;
  line-height: 2;
  z-index: 2;
  isolation: isolate;
}
@media (max-width: 767px) {
  .mainVisual-word {
    top: 15%;
    font-size: 2.5rem;
    line-height: 1.6;
    letter-spacing: 4px;
  }
}
.mainVisual-word-en {
  font-size: 3.2rem;
}
@media (max-width: 767px) {
  .mainVisual-word-en {
    font-size: 1.9rem;
    letter-spacing: 5px;
  }
}
.mainVisual-box {
  position: absolute;
  bottom: 9%;
  right: 4%;
  background-color: var(--white);
  padding: 10px 15px;
  border-radius: 10px;
  z-index: 2;
}
@media (max-width: 767px) {
  .mainVisual-box {
    bottom: 6%;
  }
}
.mainVisual-box h3 {
  font-size: 1.8rem;
}
.mainVisual-box p {
  font-size: 1.4rem;
}
@media (max-width: 767px) {
  .mainVisual-box p {
    font-size: 1.1rem;
  }
}
.mainVisual-box .counseling::before {
  top: 25%;
}
.mainVisual-box .counseling::after {
  top: 25%;
}
.mainVisual-box-en {
  font-size: 1.5rem;
}
@media (max-width: 767px) {
  .mainVisual-box h3 {
    font-size: 1.5rem;
  }
}
@media (max-width: 767px) {
  .mainVisual-box h3 p {
    font-size: 1.1rem;
  }
}
.mainVisual-img {
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* 1文字ずつ表示 */
.mainVisual-word .char {
  display: inline-block;
  color: var(--white) !important;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: calc(var(--delay) * 0.08s);
  z-index: 1;
  overflow: hidden;
}

.mainVisual-word.is-prepared .char,
.mainVisual-word.is-prepared .char::before {
  transition: none !important;
}

/* 発火後 */
.mainVisual-word.is-active .char {
  opacity: 1;
  transform: translateX(0);
}

.mainVisual-word .char::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1em;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s ease;
  transition-delay: calc(var(--delay) * 0.08s);
  z-index: -1;
  border-radius: 2px;
  pointer-events: none;
}

.mainVisual-word.is-active .char::before {
  transform: translateY(-50%) scaleX(1);
}

/* FEATURE
------------------------------------------ */
.feature {
  background-color: var(--background);
  padding: 60px 30px;
}
@media (max-width: 767px) {
  .feature {
    padding: 40px 30px;
  }
}
.feature-box {
  margin: 0 auto;
  max-width: 1022px;
  overflow-x: hidden;
  padding-top: 28px;
}
.feature-box-item {
  display: flex;
  gap: 4%;
  padding: 0 0 30px;
}
@media (max-width: 843px) {
  .feature-box-item {
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .feature-box-item {
    flex-direction: column;
    padding-bottom: 15px;
  }
}
.feature-box-item-even {
  flex-direction: row-reverse;
}
@media (max-width: 767px) {
  .feature-box-item-even {
    flex-direction: column;
  }
}
.feature-box-item-even .feature-img {
  margin: 0 10px 0 50px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 843px) {
  .feature-box-item-even .feature-img {
    margin: 80px 10px 0 10px;
    width: 48%;
  }
}
@media (max-width: 767px) {
  .feature-box-item-even .feature-img {
    margin: 0 auto 10px;
  }
}
.feature-box-item-odd .feature-img {
  margin: 0 50px 0 10px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 843px) {
  .feature-box-item-odd .feature-img {
    margin: 80px 10px 0 10px;
    width: 48%;
  }
}
@media (max-width: 767px) {
  .feature-box-item-odd .feature-img {
    margin: 0 auto 10px;
  }
}
.feature-box-item-text {
  width: 48%;
  max-width: 485px;
}
@media (max-width: 767px) {
  .feature-box-item-text {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .feature-box-item-text p {
    padding: 10px 0 10px;
  }
}
.feature-box-item-text-title-odd {
  display: flex;
  gap: 25px;
  align-items: center;
  position: relative;
  margin: 0 0 25px 20px;
}
@media (max-width: 843px) {
  .feature-box-item-text-title-odd {
    flex-direction: column;
    gap: 5px;
    margin: 0 0 2px 0px;
  }
}
@media (max-width: 767px) {
  .feature-box-item-text-title-odd {
    display: flex;
    flex-direction: row;
    gap: 35px;
  }
}
.feature-box-item-text-title-odd h3 {
  font-size: 3.2rem;
  line-height: 1.3;
}
@media (max-width: 843px) {
  .feature-box-item-text-title-odd h3 {
    font-size: 3rem;
    padding-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .feature-box-item-text-title-odd h3 {
    font-size: 2.8rem;
  }
}
.feature-box-item-text-title-odd img {
  position: absolute;
  top: 35px;
  left: 58px;
  width: 117px;
}
@media (max-width: 843px) {
  .feature-box-item-text-title-odd img {
    top: 23px;
    left: 46px;
    width: 96px;
  }
}
@media (max-width: 767px) {
  .feature-box-item-text-title-odd img {
    top: 30px;
    left: 35px;
    width: 74px;
  }
}
.feature-box-item-text-title-odd-en h3 {
  font-size: 2.4rem;
}
.feature-box-item-text-title-even {
  display: flex;
  gap: 25px;
  align-items: center;
  position: relative;
  margin: 0 0 25px 20px;
}
@media (max-width: 843px) {
  .feature-box-item-text-title-even {
    flex-direction: column;
    gap: 5px;
    margin: 0 0 2px 0px;
  }
}
@media (max-width: 767px) {
  .feature-box-item-text-title-even {
    display: flex;
    flex-direction: row;
    gap: 35px;
  }
}
.feature-box-item-text-title-even h3 {
  font-size: 3.2rem;
  line-height: 1.3;
}
@media (max-width: 843px) {
  .feature-box-item-text-title-even h3 {
    font-size: 3rem;
    padding-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .feature-box-item-text-title-even h3 {
    font-size: 2.8rem;
  }
}
.feature-box-item-text-title-even img {
  position: absolute;
  top: 35px;
  left: 58px;
  width: 117px;
}
@media (max-width: 843px) {
  .feature-box-item-text-title-even img {
    top: 23px;
    left: 46px;
    width: 96px;
  }
}
@media (max-width: 767px) {
  .feature-box-item-text-title-even img {
    top: 30px;
    left: 35px;
    width: 74px;
  }
}
.feature-box-item-text-title-even-en h3 {
  font-size: 2.4rem;
}
.feature-img {
  width: 30%;
}
@media (max-width: 767px) {
  .feature-img {
    width: 70%;
  }
}

.feature-box-item {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

.feature-box-item-odd {
  transform: translateX(80px);
  /* 右から入る */
}

.feature-box-item-even {
  transform: translateX(-80px);
  /* 左から入る */
}

.feature-box-item.is-show {
  opacity: 1;
  transform: translateX(0);
}

.feature-number-wrap {
  position: relative;
  display: inline-block;
  width: 120px;
  flex-shrink: 0;
}
@media (max-width: 843px) {
  .feature-number-wrap {
    width: 96px;
    padding-bottom: 15px;
  }
}
@media (max-width: 767px) {
  .feature-number-wrap {
    width: 74px;
  }
}

.feature-balloon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  z-index: 0;
}

.number {
  position: relative;
  z-index: 1;
  font-size: 6.4rem;
  font-family: "Outfit", sans-serif;
  text-align: center;
  line-height: 1;
  margin: 0;
  display: block;
}
@media (max-width: 843px) {
  .number {
    font-size: 4.8rem;
  }
}
@media (max-width: 767px) {
  .number {
    font-size: 4rem;
  }
}

/* CONTACT US
------------------------------------------ */
.contact {
  padding: 80px 30px 100px;
  position: relative;
  background-image: url(../img/contact.png);
  background-size: cover;
  position: relative;
  height: 470px;
}
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: black;
  opacity: 0.4;
}
.contact-top {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 100%;
}
.contact-top h2 {
  color: var(--white);
  margin: 0 0 50px 34px;
}
@media (max-width: 767px) {
  .contact-top h2 {
    margin: 0 0 35px 34px;
  }
}
.contact-box {
  display: flex;
  gap: 20px;
  justify-content: center;
}
@media (max-width: 843px) {
  .contact-box {
    gap: 30px;
  }
}
@media (max-width: 767px) {
  .contact-box {
    flex-direction: column;
  }
}
.contact-box-item {
  padding: 30px;
  background-color: var(--white);
  border-radius: 10px;
  width: 400px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s ease;
}
@media (max-width: 843px) {
  .contact-box-item {
    padding: 10px;
    width: 275px;
    height: 120px;
  }
}
@media (max-width: 767px) {
  .contact-box-item {
    padding: 20px;
    margin: 0 auto;
    width: 270px;
    height: 75px;
  }
}
.contact-box-item:hover {
  transform: scale(1.07);
}
.contact-box-item-text {
  font-size: 3.2rem;
  font-family: "Outfit", sans-serif;
}
@media (max-width: 843px) {
  .contact-box-item-text {
    font-size: 2.4rem;
  }
}
@media (max-width: 767px) {
  .contact-box-item-text {
    font-size: 2rem;
  }
}

.contact-top .heading-sub {
  color: var(--white);
}

.icon-img {
  width: 25px;
  margin-right: 20px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 767px) {
  .icon-img {
    width: 20px;
  }
}

/* footer
------------------------------------------ */
.footer {
  padding: 10px 30px 20px;
  min-height: 170px;
  margin: 0 auto;
  text-align: left;
  background-color: var(--white);
  color: var(--main);
  width: 100%;
}
@media (max-width: 843px) {
  .footer {
    min-height: 150px;
  }
}
@media (max-width: 767px) {
  .footer {
    padding: 30px 25px 80px;
  }
}
.footer-box {
  display: flex;
  gap: 6%;
}
@media (max-width: 843px) {
  .footer-box {
    gap: 2%;
  }
}
@media (max-width: 767px) {
  .footer-box {
    flex-direction: column;
  }
}
.footer-box-inner {
  width: 47%;
}
@media (max-width: 767px) {
  .footer-box-inner {
    width: 100%;
    margin-bottom: 35px;
  }
}
.footer-box-inner h3 {
  font-size: 1.8rem;
  padding-bottom: 20px;
}
.footer-box-inner-list {
  list-style-type: initial;
  list-style-position: inside;
}
.footer-box-inner li {
  font-size: 1.3rem;
  padding-bottom: 18px;
}
@media (max-width: 843px) {
  .footer-box-inner li {
    font-size: 1.1rem;
  }
}
@media (max-width: 767px) {
  .footer-box-inner li {
    font-size: 1.3rem;
  }
}
.footer-nav {
  width: 47%;
}
@media (max-width: 767px) {
  .footer-nav {
    width: 100%;
    margin-bottom: 20px;
  }
}
.footer-nav-btn {
  display: flex;
  gap: 10px;
}
.footer-nav-btn li {
  width: 100%;
}
.footer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  justify-content: space-between;
  padding: 0 5px 20px;
}
@media (max-width: 767px) {
  .footer-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    padding: 0 5px 0px;
  }
}
.footer-copyright {
  font-size: 1.3rem;
  text-align: center;
}
.footer-item {
  font-weight: bold;
  letter-spacing: 3px;
  line-height: 1;
}
.footer-item:hover {
  color: var(--accent);
}
.footer-text {
  font-size: 1.3rem;
}

.footer-item .ruby {
  font-size: 1.2rem;
  color: var(--main);
}
@media (max-width: 843px) {
  .footer-item .ruby {
    font-size: 1.1rem;
  }
}

.footer-list :first-child {
  grid-area: 1/1/2/2;
}
@media (max-width: 767px) {
  .footer-list :first-child {
    grid-area: 1/1/2/2;
  }
}

.footer-list :nth-child(2) {
  grid-area: 2/1/3/2;
}
@media (max-width: 767px) {
  .footer-list :nth-child(2) {
    grid-area: 2/1/3/2;
  }
}

.footer-list :nth-child(3) {
  grid-area: 1/2/2/3;
}
@media (max-width: 767px) {
  .footer-list :nth-child(3) {
    grid-area: 3/1/4/2;
  }
}

.footer-list :nth-child(4) {
  grid-area: 2/2/3/3;
}
@media (max-width: 767px) {
  .footer-list :nth-child(4) {
    grid-area: 1/2/2/3;
  }
}

.footer-list :nth-child(5) {
  grid-area: 1/3/2/4;
}
@media (max-width: 767px) {
  .footer-list :nth-child(5) {
    grid-area: 2/2/3/3;
  }
}

.footer-list :last-child {
  grid-area: 2/3/3/4;
}
@media (max-width: 767px) {
  .footer-list :last-child {
    grid-area: 3/2/4/3;
  }
}

.company_name {
  text-align: left;
  padding-top: 20px;
  margin-bottom: 15px;
  line-height: 1;
}

/* WORKS
------------------------------------------ */
.works {
  padding: 60px 30px;
}
@media (max-width: 767px) {
  .works {
    padding: 40px 20px 40px 30px;
  }
}
.works-box {
  display: flex;
  justify-content: center;
}
@media (max-width: 767px) {
  .works-box {
    gap: 15px;
  }
}
.works-box-item {
  width: 50%;
}
.works-box-item p {
  font-size: 3.2rem;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}
@media (max-width: 843px) {
  .works-box-item p {
    font-size: 2.2rem;
  }
}
@media (max-width: 767px) {
  .works-box-item p {
    font-size: 1.3em;
  }
}
.works-visual {
  position: relative;
  width: min(100%, 475px);
  margin: 0 auto 25px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .works-visual {
    width: 95%;
  }
}
.works-img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.works-box-item {
  display: block;
}

.works-img-move-left, .works-img-move-right {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
  will-change: transform;
}

/* -------------------------
    貿易事業のアニメーション
-------------------------- */
/* 飛行機：右の外 → 左の外 */
.airplane {
  top: 15%;
  left: 100%;
  width: 120px;
  animation: airplane-across 10s linear infinite;
}
@media (max-width: 843px) {
  .airplane {
    width: 75px;
  }
}
@media (max-width: 767px) {
  .airplane {
    top: 6%;
    width: 60px;
  }
}

@keyframes airplane-across {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-80vw - 200px));
  }
}
.ship {
  bottom: 37%;
  left: -120px;
  width: 120px;
  animation: ship-move 8s linear infinite;
}
@media (max-width: 843px) {
  .ship {
    width: 75px;
  }
}
@media (max-width: 767px) {
  .ship {
    bottom: 61%;
    left: -60px;
    width: 60px;
  }
}

@keyframes ship-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(595px);
  }
}
.truck {
  bottom: 5%;
  right: -120px;
  width: 120px;
  animation: truck-move 7s linear infinite;
}
@media (max-width: 843px) {
  .truck {
    width: 75px;
  }
}
@media (max-width: 767px) {
  .truck {
    top: 40%;
    bottom: auto;
    right: -60px;
    width: 60px;
  }
}

@keyframes truck-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 475px - 120px));
  }
}
/* -------------------------
   ITソリューション事業
-------------------------- */
.tab1 {
  top: 35%;
  right: 37%;
  width: 9%;
  animation: floating 4s ease-in-out infinite alternate-reverse;
  z-index: 3;
}
@media (max-width: 767px) {
  .tab1 {
    top: 17%;
    right: 32%;
    width: 17px;
  }
}

.tab2 {
  bottom: 21%;
  left: 27%;
  width: 12%;
  animation: floating-bottom 3s ease-in-out infinite alternate-reverse;
}
@media (max-width: 767px) {
  .tab2 {
    top: 21%;
    left: 27%;
    bottom: auto;
    width: 19px;
  }
}

.tab3 {
  bottom: 50%;
  right: 17%;
  width: 23%;
  animation: floating-bottom 5s ease-in-out infinite alternate-reverse;
  z-index: 2;
}
@media (max-width: 767px) {
  .tab3 {
    bottom: 75%;
    right: 12%;
    width: 36px;
  }
}

@keyframes floating {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(10%);
  }
}
@keyframes floating-bottom {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(10%);
  }
}
/* 下層ページ
------------------------------------------ */
.works-detail .works-box {
  padding: 60px 30px;
  gap: 10px;
}
@media (max-width: 767px) {
  .works-detail .works-box {
    padding: 25px 10px;
  }
}
.works-detail .works-box-item {
  border: 1px solid var(--background);
  border-radius: 10px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 843px) {
  .works-detail .works-box-item {
    padding: 25px 0px;
  }
}
.works-detail .works-box-item:hover {
  border: 2.5px solid var(--background);
}
.works-detail .works-box-item p {
  padding-bottom: 95px;
}
@media (max-width: 767px) {
  .works-detail .works-box-item p {
    padding-bottom: 20px;
  }
}
.works-detail .works-bottom-box {
  margin-bottom: 80px;
}
.works-detail .works-bottom-box-item {
  display: flex;
  align-items: center;
  background-color: var(--background);
  padding-left: 15px;
  margin: 10px 30px 35px;
  gap: 4%;
}
@media (max-width: 843px) {
  .works-detail .works-bottom-box-item {
    flex-direction: column;
    padding: 0px;
    margin: 10px 20px 35px;
  }
}
.works-detail .works-bottom-box-left {
  margin: 25px 0 25px 0;
  width: 48%;
}
@media (max-width: 843px) {
  .works-detail .works-bottom-box-left {
    width: 100%;
    margin: 0px;
    padding: 20px 10px 20px 10px;
  }
}
.works-detail .works-bottom-box-left h3 {
  line-height: 1;
  margin-bottom: 20px;
}
.works-detail .works-bottom-img {
  width: 48%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 843px) {
  .works-detail .works-bottom-img {
    width: 100%;
  }
}

/* PRODUCTS
------------------------------------------ */
.products {
  padding: 60px 30px;
}
@media (max-width: 767px) {
  .products {
    padding: 35px 30px 60px;
  }
}
.products-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
}
@media (max-width: 767px) {
  .products-box {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.products-img {
  background: var(--background);
  border-radius: 10px;
}

/* PRODUCTS下層ページ
------------------------------------------ */
.products-detail .products-detail-top {
  padding: 60px 30px;
}
@media (max-width: 767px) {
  .products-detail .products-detail-top {
    padding: 20px 10px;
  }
}
.products-detail .products-detail-top h3 {
  font-size: 3.2rem;
  padding-bottom: 20px;
}
@media (max-width: 843px) {
  .products-detail .products-detail-top h3 {
    font-size: 2.6rem;
  }
}
.products-detail .products-top-box {
  display: flex;
  gap: 30px;
  text-align: center;
}
@media (max-width: 767px) {
  .products-detail .products-top-box {
    gap: 8px;
  }
}
.products-detail .products-top-box-item {
  width: 33%;
}
.products-detail .products-top-box-item h4 {
  font-size: 2.8rem;
  text-align: center;
  display: inline-block;
  position: relative;
  padding-right: 30px;
}
@media (max-width: 843px) {
  .products-detail .products-top-box-item h4 {
    font-size: 2.3rem;
  }
}
@media (max-width: 767px) {
  .products-detail .products-top-box-item h4 {
    font-size: 1.5rem;
    line-height: 1.1;
  }
}
.products-detail .products-top-box-item h4::before,
.products-detail .products-top-box-item h4::after {
  content: "";
  position: absolute;
}
.products-detail .products-top-box-item h4::before {
  right: 0;
  top: 50%;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--background);
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .products-detail .products-top-box-item h4::before {
    width: 15px;
    height: 15px;
  }
}
.products-detail .products-top-box-item h4::after {
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--main);
  border-right: 1px solid var(--main);
  transform: translateY(-50%) rotate(135deg);
}
@media (max-width: 767px) {
  .products-detail .products-top-box-item h4::after {
    right: 5px;
    top: 50%;
    width: 5px;
    height: 5px;
  }
}
.products-detail .products-top-box-item img {
  height: 220px;
}
@media (max-width: 843px) {
  .products-detail .products-top-box-item img {
    height: 118px;
  }
}
@media (max-width: 767px) {
  .products-detail .products-top-box-item img {
    height: 90px;
  }
}
.products-detail .products-top-img {
  background: var(--background);
  border-radius: 10px;
}
.products-detail .products-bottom-box {
  border: 1px solid #DDDCDC;
  border-radius: 10px;
  padding: 25px 20px 20px;
  margin: 10px 30px 0px;
}
@media (max-width: 767px) {
  .products-detail .products-bottom-box {
    padding: 25px 15px 20px;
    margin: 10px 15px 0px;
  }
}
.products-detail .products-bottom-box-item ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 15px 0 10px;
}
@media (max-width: 843px) {
  .products-detail .products-bottom-box-item ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .products-detail .products-bottom-box-item ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.products-detail .products-bottom-box-item-list {
  margin-bottom: 10px;
  border-bottom: 1px solid #DDDCDC;
  min-width: 0;
}
.products-detail .products-bottom-box-item-list p,
.products-detail .products-bottom-box-item-list a {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.products-detail .products-img {
  margin-bottom: 15px;
}
.products-detail .products-img-top {
  -o-object-fit: contain;
     object-fit: contain;
}
.products-detail-bottom {
  margin-bottom: 100px;
}

/* SERVICE
------------------------------------------ */
.service {
  padding: 60px 30px;
}
@media (max-width: 767px) {
  .service {
    padding: 0px 30px 50px;
  }
}
.service-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  padding-bottom: 30px;
}
@media (max-width: 767px) {
  .service-box {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-bottom: 20px;
  }
}
.service-img {
  background: var(--background);
  border-radius: 10px;
  height: 260px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 843px) {
  .service-img {
    height: 160px;
  }
}
@media (max-width: 767px) {
  .service-img {
    height: 260px;
  }
}

/*SERVICE下層ページ
------------------------------------------ */
.service-detail .service-container {
  margin: 0 20px;
}
.service-detail .service-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  gap: 30px;
  text-align: center;
  margin-bottom: 70px;
}
@media (max-width: 843px) {
  .service-detail .service-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.service-detail .service-box-item h4 {
  font-size: 2rem;
  text-align: center;
  display: inline-block;
  position: relative;
  padding-right: 30px;
}
@media (max-width: 767px) {
  .service-detail .service-box-item h4 {
    font-size: 1.4rem;
    line-height: 1.1;
  }
}
.service-detail .service-box-item h4::before,
.service-detail .service-box-item h4::after {
  content: "";
  position: absolute;
}
.service-detail .service-box-item h4::before {
  right: 0;
  top: 50%;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--background);
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .service-detail .service-box-item h4::before {
    width: 15px;
    height: 15px;
  }
}
.service-detail .service-box-item h4::after {
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--main);
  border-right: 1px solid var(--main);
  transform: translateY(-50%) rotate(135deg);
}
@media (max-width: 767px) {
  .service-detail .service-box-item h4::after {
    right: 5px;
    top: 50%;
    width: 5px;
    height: 5px;
  }
}
.service-detail .service-box-item p {
  text-align: left;
}
.service-detail .service-box-item img {
  height: 270px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 767px) {
  .service-detail .service-box-item img {
    height: 150px;
  }
}
@media (max-width: 767px) {
  .service-detail .service-box-item img {
    height: 145px;
  }
}
.service-detail .service-img {
  background: var(--background);
  border-radius: 10px;
}
.service-detail .service-img {
  margin-bottom: 15px;
}
.service-detail .service-img-top {
  -o-object-fit: contain;
     object-fit: contain;
}
.service-detail .service-text {
  display: none;
}
.service-detail .service-text p {
  padding-bottom: 10px;
}
.service-detail .service-text dl {
  text-align: left;
}
.service-detail .service-text dd {
  padding-bottom: 10px;
}
.service-detail .service-text ul {
  text-align: left;
  font-size: 1.5rem;
}
@media (max-width: 767px) {
  .service-detail .service-text ul {
    font-size: 1.2rem;
  }
}
.service-detail .service-text.is-open {
  display: block;
}
.service-detail h3 {
  margin: 40px 0 20px;
}
.service-detail .align {
  margin-bottom: 34px;
}
@media (max-width: 767px) {
  .service-detail .align {
    margin-bottom: 18px;
  }
}
.service-detail .js-toggle {
  color: var(--text);
  text-decoration: none;
}

/* MASSAGE
------------------------------------------ */
.massage {
  display: flex;
  gap: 3%;
  padding: 90px 20px;
  background-color: #FFFAE4;
}
@media (max-width: 843px) {
  .massage {
    flex-direction: column;
    padding: 60px 20px 45px;
  }
}
.massage h2 {
  margin-bottom: 25px;
}
.massage h3 {
  font-size: 2.5rem;
  padding-bottom: 20px;
}
@media (max-width: 767px) {
  .massage h3 {
    font-size: 2rem;
  }
}
.massage-box {
  padding: 10px;
  text-align: left;
  width: 47%;
}
@media (max-width: 843px) {
  .massage-box {
    width: 100%;
  }
}
.massage-box-image {
  width: 47%;
}
@media (max-width: 843px) {
  .massage-box-image {
    width: 375px;
    margin: 0 auto;
  }
}
@media (max-width: 843px) {
  .massage-box-image {
    width: 225px;
  }
}
.massage-visual {
  position: relative;
  width: 100%;
}
.massage-text {
  letter-spacing: 2px;
  line-height: 2.2;
  padding-bottom: 20px;
}
.massage-img {
  display: block;
  height: auto;
}
.massage-img-main {
  width: 100%;
  background-color: #fff;
  border-radius: 60px;
  -o-object-fit: contain;
     object-fit: contain;
}

/* 段ボール共通 */
.cardboard1,
.cardboard2,
.cardboard3 {
  position: absolute;
  z-index: 2;
  height: auto;
}

/* 位置指定 */
.cardboard1 {
  bottom: 30%;
  left: 8%;
  width: 25%;
  animation: katakata 6s infinite ease-in-out alternate;
  animation-delay: 0s;
}

.cardboard2 {
  bottom: 64%;
  right: 32%;
  width: 25%;
  animation: katakata 6s infinite ease-in-out alternate;
  animation-delay: 1s;
}

.cardboard3 {
  bottom: 64%;
  right: 6px;
  width: 19%;
  animation: katakata 6s infinite ease-in-out alternate;
  animation-delay: 2s;
}

@keyframes katakata {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  21% {
    transform: translate(0, 0) rotate(0deg);
  }
  22% {
    transform: translate(0, 0) rotate(-3deg);
  }
  23% {
    transform: translate(0, -1px) rotate(0deg);
  }
  24% {
    transform: translate(0, -1px) rotate(3deg);
  }
  25% {
    transform: translate(1px, 0) rotate(-2deg);
  }
  26% {
    transform: translate(0, 1px) rotate(0deg);
  }
  27% {
    transform: translate(0, 0) rotate(3deg);
  }
  28% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}
/* MASSAGE 下層ページ
------------------------------------------ */
.massage-detail {
  padding: 40px 32px;
}
@media (max-width: 767px) {
  .massage-detail {
    padding: 40px 20px;
  }
}
.massage-detail .massage-box {
  display: flex;
  align-items: flex-start;
  gap: 2%;
  width: 100%;
  padding: 0;
}
@media (max-width: 843px) {
  .massage-detail .massage-box {
    flex-direction: column;
  }
}
.massage-detail .massage-box-image {
  position: relative;
  width: 38%;
}
@media (max-width: 843px) {
  .massage-detail .massage-box-image {
    width: 75%;
  }
}
.massage-detail .massage-box-image .cardboard1 {
  position: absolute;
  bottom: 28%;
  left: 8%;
  width: 25%;
  animation: katakata 6s infinite ease-in-out alternate;
  animation-delay: 0s;
}
.massage-detail .massage-box-image .cardboard2 {
  position: absolute;
  bottom: 64%;
  right: 32%;
  width: 25%;
  animation: katakata 6s infinite ease-in-out alternate;
  animation-delay: 1s;
}
.massage-detail .massage-box-image .cardboard3 {
  position: absolute;
  bottom: 65%;
  right: 1px;
  width: 19%;
  animation: katakata 6s infinite ease-in-out alternate;
  animation-delay: 2s;
}
.massage-detail .massage-box-item {
  padding: 10px;
  text-align: left;
  width: 60%;
}
@media (max-width: 843px) {
  .massage-detail .massage-box-item {
    width: 100%;
  }
}
.massage-detail .massage-text {
  letter-spacing: 2px;
  line-height: 2;
  padding-bottom: 20px;
}
@media (max-width: 843px) {
  .massage-detail .massage-img {
    width: 100%;
  }
}
.massage-detail h2 {
  margin-bottom: 25px;
}

/* COMPANY
------------------------------------------ */
.company {
  background-color: var(--main);
  padding-right: 15px;
}
@media (max-width: 843px) {
  .company {
    padding-right: 10px;
  }
}
@media (max-width: 767px) {
  .company {
    padding-right: 15px;
  }
}
.company-box {
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .company-box {
    flex-direction: column;
  }
}
.company-box-item-left {
  color: var(--background);
  width: 70%;
  padding: 80px 75px 110px 30px;
}
@media (max-width: 843px) {
  .company-box-item-left {
    width: 68%;
    padding: 65px 20px 90px 30px;
  }
}
@media (max-width: 767px) {
  .company-box-item-left {
    width: 100%;
    padding: 45px 30px 35px 30px;
  }
}
.company-box-item-left h2 {
  line-height: 1.3;
  letter-spacing: 10px;
}
.company-box-item-left h3 {
  font-size: 2.4rem;
  padding-bottom: 10px;
}
@media (max-width: 767px) {
  .company-box-item-left p {
    padding-bottom: 20px;
  }
}
.company-box-item-right {
  width: 30%;
  margin-right: 15px;
}
@media (max-width: 843px) {
  .company-box-item-right {
    width: 33%;
    margin-right: 5px;
  }
}
@media (max-width: 767px) {
  .company-box-item-right {
    width: 70%;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .company-box-item-right img {
    max-width: 320px;
    margin: 0 15px 50px;
  }
}
.company-box-item-inner {
  display: flex;
  flex-wrap: wrap;
}
.company-box-item-inner dt {
  border-bottom: 1px solid var(--white);
  padding: 10px 0 10px 15px;
  width: 30%;
}
.company-box-item-inner dd {
  border-bottom: 1px solid var(--white);
  padding: 10px 0 10px 15px;
  width: 70%;
}
.company-box-item-inner-dl {
  border-top: 1px solid var(--white);
}

.company-box-item .heading::before {
  top: 25px;
}

.company-box-item .heading-sub::before {
  top: 25px;
}

.company-box-item .heading-sub {
  color: var(--white);
}

.counseling {
  position: relative;
  padding-right: 30px;
}

.counseling-en {
  font-size: 2.5rem;
}
@media (max-width: 843px) {
  .counseling-en {
    font-size: 2rem;
  }
}
@media (max-width: 767px) {
  .counseling-en {
    font-size: 1.8rem;
  }
}

.counseling::before,
.counseling::after {
  content: "";
  position: absolute;
}

.counseling::before {
  right: 0;
  top: 50%;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.counseling::after {
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--main);
  border-right: 1px solid var(--main);
  transform: translateY(-50%) rotate(45deg);
}

/* COMPANY 下層ページ
------------------------------------------ */
.company-detail {
  padding: 40px 32px;
}
@media (max-width: 767px) {
  .company-detail {
    padding: 40px 20px 0;
  }
}
.company-detail .company-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4%;
}
@media (max-width: 843px) {
  .company-detail .company-box {
    flex-direction: column;
  }
}
.company-detail .company-box-item-left {
  color: var(--main);
  width: 52%;
  padding: 10px 0px 110px;
}
@media (max-width: 843px) {
  .company-detail .company-box-item-left {
    width: 100%;
    padding: 10px 0px 50px;
  }
}
.company-detail .company-box-item-left h2 {
  line-height: 0.9;
  letter-spacing: 10px;
  margin-bottom: 20px;
}
.company-detail .company-box-item-right {
  width: 48%;
}
@media (max-width: 843px) {
  .company-detail .company-box-item-right {
    width: 100%;
    text-align: center;
  }
}
.company-detail .company-box-item-inner {
  display: flex;
  flex-wrap: wrap;
}
.company-detail .company-box-item-inner dt {
  border-bottom: 1px solid var(--main);
  padding: 10px 0 10px 15px;
  width: 30%;
}
.company-detail .company-box-item-inner dd {
  border-bottom: 1px solid var(--main);
  padding: 10px 0 10px 15px;
  width: 70%;
}
.company-detail .company-box-item-inner-dl {
  border-top: 1px solid var(--main);
}
.company-detail .company-img {
  padding-bottom: 50px;
}
@media (max-width: 843px) {
  .company-detail .company-img {
    width: 75%;
  }
}
@media (max-width: 767px) {
  .company-detail .company-img {
    padding-bottom: 5px;
  }
}
.company-detail .company-box-item .heading-sub {
  color: var(--main);
}

/* NEWS
------------------------------------------ */
.news {
  padding: 60px 30px;
}
@media (max-width: 767px) {
  .news {
    padding: 30px 20px 35px 30px;
  }
}
.news-btn {
  text-align: right;
}
.news-box-item {
  border-top: 1px solid var(--sub);
  margin-bottom: 25px;
}
.news-list {
  border-bottom: 1px solid var(--sub);
}
.news-link {
  display: flex;
  gap: 5%;
  padding: 20px 0 20px 5px;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}
@media (max-width: 767px) {
  .news-link {
    padding: 15px 0 15px 5px;
  }
}
.news-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--background);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}
.news-title {
  font-size: 1.8rem;
  font-weight: normal;
}
@media (max-width: 843px) {
  .news-title {
    font-size: 1.4rem;
  }
}
.news-date {
  white-space: nowrap;
}
@media (max-width: 843px) {
  .news-date {
    font-size: 1.3rem;
  }
}

.news-list:hover .news-link::before {
  transform: scaleX(1);
}

.news-list.is-featured .news-link::before {
  background-color: #fff3c1;
}

.news-more,
.company-more {
  position: relative;
  display: inline-block;
  padding-right: 88px;
}
@media (max-width: 767px) {
  .news-more,
  .company-more {
    padding-right: 40px;
  }
}
.news-more::after,
.company-more::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 6px;
  width: 70px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
}
@media (max-width: 767px) {
  .news-more::after,
  .company-more::after {
    right: 6px;
    bottom: 6px;
    width: 30px;
  }
}
.news-more::before,
.company-more::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  width: 1.5px;
  height: 12px;
  transform: skewX(38deg) scaleY(0);
  transform-origin: bottom center;
}
@media (max-width: 767px) {
  .news-more::before,
  .company-more::before {
    right: 5px;
    bottom: 6px;
    height: 8px;
  }
}
.news-more.is-active::after,
.company-more.is-active::after {
  animation: arrow-line 0.45s ease forwards;
}
.news-more.is-active::before,
.company-more.is-active::before {
  animation: arrow-head 0.25s ease 0.45s forwards;
}

.news-more::before {
  background: var(--main);
}
.news-more::after {
  background: var(--main);
}

.company-more::before {
  background: var(--white);
}
.company-more::after {
  background: var(--white);
}

@keyframes arrow-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes arrow-head {
  from {
    transform: skewX(38deg) scaleY(0);
  }
  to {
    transform: skewX(38deg) scaleY(1);
  }
}
/* NEWS 一覧ページ ------------------------------------------ */
.news-detail {
  padding: 60px 30px;
}
@media (max-width: 843px) {
  .news-detail {
    padding: 60px 20px;
  }
}
@media (max-width: 767px) {
  .news-detail {
    padding: 30px 30px;
  }
}
.news-detail .news-more-btn {
  font-size: 1.6rem;
  position: relative;
}
.news-detail .news-more-btn::after {
  position: absolute;
  content: "";
  right: -14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--main);
  border-right: 1px solid var(--main);
  transform: translateY(-50%) rotate(135deg);
}
.news-detail .link-text {
  text-align: center;
}
.news-detail .news-link {
  gap: 3%;
}

/* NEWS 個別ページ ------------------------------------------ */
.news-detail-single {
  padding: 20px 70px;
}
@media (max-width: 843px) {
  .news-detail-single {
    padding: 20px 25px;
  }
}
@media (max-width: 767px) {
  .news-detail-single {
    padding: 20px 20px;
  }
}
.news-detail-single .single-box-item {
  margin-bottom: 70px;
}
.news-detail-single .single-title {
  font-size: 2rem;
}
.news-detail-single .single-img {
  max-width: 580px;
  padding-bottom: 20px;
}
.news-detail-single .single-text {
  font-size: 1.6rem;
}
.news-detail-single .news-return {
  text-align: left;
}
.news-detail-single .news-link {
  align-items: flex-start;
}
@media (max-width: 767px) {
  .news-detail-single .news-link {
    flex-direction: column;
  }
}
.news-detail-single .btn-return {
  position: relative;
  padding: 0 0 0 88px;
}
@media (max-width: 767px) {
  .news-detail-single .btn-return {
    padding: 0 0 0 40px;
  }
}
.news-detail-single .btn-return::before {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 6px;
  width: 1.5px;
  height: 12px;
  background: var(--main);
  transform: skewX(138deg);
}
@media (max-width: 767px) {
  .news-detail-single .btn-return::before {
    bottom: 6px;
    left: 4px;
    width: 1.5px;
    height: 8px;
  }
}
.news-detail-single .btn-return::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 2px;
  width: 70px;
  height: 1.1px;
  background: var(--main);
}
@media (max-width: 767px) {
  .news-detail-single .btn-return::after {
    bottom: 6px;
    left: 2px;
    width: 30px;
    height: 1px;
  }
}
.news-detail-single .news-link {
  gap: 3%;
}
.news-detail-single .date {
  white-space: nowrap;
}

/* 
------------------------------------------ */
.entry-form__inner {
  max-width: 665px;
  margin: 0 0 80px;
  position: relative;
  padding: 35px 45px;
  background-color: var(--bg);
}

.mail-address-box {
  display: flex;
}
.mail-address-box img {
  width: 140px;
  height: 25px;
  padding-top: 5px;
}
.mail-address-box p {
  font-size: 14px;
}

.entry-form__inner > * {
  position: relative;
}

.entry-form__note {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

/* ===== フォームレイアウト ===== */
.form {
  display: block;
}

.form__row {
  display: grid;
  grid-template-columns: 155px 1fr;
  /* 左ラベル幅 */
  gap: 10px 14px;
  align-items: center;
  margin: 15px 0;
}

.form__row--top {
  align-items: start;
}

.form__label {
  font-size: 15px;
  line-height: 1.2;
}

/* 入力類 */
.form__input,
.form__select,
.form__textarea {
  border: 1px solid #7a7a7a;
  background: #fff;
  border-radius: 2px;
  font-size: 14px;
  padding: 6px 8px;
  outline: none;
}

.form__input {
  width: 220px;
  /* 画像の短め入力 */
  max-width: 100%;
  height: 28px;
}

.form__input--wide {
  width: 420px;
  /* mailだけ横長 */
  max-width: 100%;
}

.form__select {
  width: 234px;
  height: 35px;
  padding-right: 30px;
}

/* セレクト4つは縦に並ぶ */
.form__field--selects {
  display: grid;
  gap: 8px;
  justify-items: start;
}

/* テキストエリア */
.form__textarea {
  width: 420px;
  max-width: 100%;
  resize: vertical;
  min-height: 155px;
}
@media (max-width: 767px) {
  .form__textarea {
    width: 240px;
  }
}

.form__textarea--m {
  min-height: 110px;
}

.form__textarea--l {
  min-height: 140px;
}

/* ラジオ */
.form__radios {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.radio {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.radio input {
  width: 16px;
  height: 16px;
}

/* 送信 */
.form__actions {
  margin-top: 14px;
  display: block;
  text-align: center;
}

.form__submit {
  width: 210px;
  height: 38px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  color: var(--main);
  background: var(--accent);
  font-size: 1.5rem;
}

.checkbox-text {
  font-size: 16px;
}
@media (max-width: 767px) {
  .checkbox-text {
    font-size: 12px;
  }
}

.form-text {
  font-size: 1.2rem;
}

.form__error {
  margin-top: 6px;
  font-size: 14px;
  color: #c00;
}

/* ===== スマホ対応 ===== */
@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .form__actions {
    grid-template-columns: 1fr;
  }
  .form__input {
    width: 100%;
  }
  .form__submit {
    width: 100%;
  }
  .entry-title h2 {
    font-size: 15px;
  }
}
.btn-line-protection {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.entry-container {
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .entry-container {
    padding: 10px;
  }
}
.entry-container-text-bottom {
  font-size: 12px;
}

.padding {
  padding-left: 64px;
}

/* ===== Thanks===== */
.tksCnCon {
  margin: 70px 0 90px 40px;
}

.tksCnHead {
  font-family: Avenir Next, Avenir, Lato, Arial, Ebrima, Modern, sans-serif;
  margin-bottom: 20px;
  color: var(--sub);
}

.tksCnHeadFc {
  display: block;
  font-weight: 600;
  font-size: 45px;
  margin-bottom: 5px;
  color: var(--accent);
}

.tksCnHeadSc {
  display: block;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 600;
}

.tksCnText {
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 30px;
  margin-bottom: 30px;
}

.tksCnTopAnchor {
  border: 1px solid #000000;
  height: 45px;
  width: 240px;
  line-height: 45px;
  margin: 0 auto;
  font-size: 14px;
  letter-spacing: 1px;
}

.thanks-btn {
  max-width: 250px;
  background-color: var(--accent);
  margin: 0 0 0 20px;
}

/*******error***************************/
.form-error {
  max-width: 720px;
  margin: 100px auto 65px;
  padding: 20px;
  flex: 1;
}

.form-error__title {
  font-size: 22px;
  margin-bottom: 8px;
  text-align: center;
}

.form-error__lead {
  margin-bottom: 12px;
  text-align: center;
}

.form-error__list {
  padding-left: 20px;
  margin: 0 auto 60px;
  width: 268px;
}
@media (max-width: 767px) {
  .form-error__list {
    margin: 0 0px 50px 45px;
  }
}

.form-error__item {
  margin: 6px 0;
}

.form-error__back {
  text-align: center;
}

.form-error__link {
  display: inline-block;
  padding: 10px 60px;
  background: var(--sub);
  color: var(--white);
  text-decoration: none;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.form__field {
  width: 100%;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  box-sizing: border-box;
}

.wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 1.2rem;
}

.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
}

@media (min-width: 960px) {
  .tksCnTopAnchor:hover {
    color: #ffffff;
    transition: 0.3s;
  }
  .tksCnHeadFc {
    font-size: 70px;
    margin-bottom: 7px;
  }
  .tksCnHeadSc {
    font-size: 20px;
  }
  .tksCnText {
    font-size: 16px;
  }
}/*# sourceMappingURL=style.css.map */