/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  color: #333333;
  text-decoration: none;
}

/* common */
header {
  width: 100%;
  position: fixed;
  top: 0;
  padding: 2rem 0;
  margin: 0;
  z-index: 500;
}

header .h-container {
  width: 100%;
  padding: 0 3rem;
  max-width: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

header .right-menu {
  width: 40%;
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: center;
  position: relative;
  gap: 2rem;
}

header h1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 25%;
}
.h-logo {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.h-button {
  width: 45%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.h-button img {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}

.hamburger-container {
  z-index: 1000;
}

/* ハンバーガーアイコン */
.hamburger {
  background-color: rgba(0, 0, 0, 0);
  color: #ee887a;
  border: none;
  padding: 0px;
  width: 55px;
  height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.hamburger .line {
  width: 2.5rem;
  height: 0.1rem;
  background-color: #ee887a;
  margin: 0.3rem 0;
  transition: all 0.3s ease;
}

.hamburger .label {
  font-size: 10px;
  margin-top: 0px;
  color: #fbe1b5;
}

/* ナビメニュー */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #faf6eb;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease forwards;
}

.nav-menu.active {
  display: flex;
}

.close-button {
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  border: 2px solid #e08970;
  color: #e08970;
  font-size: 28px;
  width: 44px;
  height: 44px;
  line-height: 1;
  cursor: pointer;
}

/* メニュー内部 */
.nav-content {
  text-align: center;
  max-width: 940px;
}
.nav-content .logo {
  width: 250px;
  margin-bottom: 3rem;
}
.recruit-title {
  font-size: 14px;
  color: #3d4b79;
  margin-bottom: 30px;
  letter-spacing: 2px;
}
.nav-col-wrapper{
  display: flex;
  flex-direction: row;
  gap: 8rem;
}
.nav-columns {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
}
.nav-columns > li {
  font-size: 18px;
  margin: 2rem 0;
  font-weight: bold;
  color: #666666;
}
.nav-columns > li ul {
  margin-top: 1.5rem;
  margin-left: 2rem;
}
.nav-columns > li ul li {
  font-size: 16px;
  font-weight: normal;
  color: #666666;
  margin: 6px 0;
}

/* アニメーション */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}



header nav {
  display: none;
}

.sp-visible{
  display: none;
}

main {
  margin: 0;
  padding: 0 0;
}

section {
  margin: 0;
}
.container {
  width: 80%;
  max-width: 1200px;
  margin: -5rem auto;
  padding: 5rem 0;
  text-align: center;
}

h2 {
  width: 30%;
  height: 200px;
}

h3 {
  font-size: 1.8rem;
  margin: 1rem auto;
  color: #333333;
}

.section-title {
  font-size: 2.5rem;
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0 auto 3rem;
  gap: 0.5rem;
  position: relative;
}

.section-title img {
  width: auto;
  height: 15px;
}

p {
  width: 100%;
  font-family: NotoSans;
  font-size: 1.5rem;
  line-height: 2;
  color: #333333;
}

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

.button {
  text-decoration: none;
  margin: -5rem auto 0;
  padding: 5rem 0;
}

.button img {
  width: auto;
  height: 60px;
  margin-bottom: 5rem;
}

.line1 {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 5;
}

.line2 {
  width: 100%;
  height: auto;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.line2 .line-deco {
  width: 25%;
  position: absolute;
  right: 0;
  top: -120px;
}

.line3 {
  width: 100%;
  height: auto;
  margin: -3rem auto 0;
  position: relative;
  z-index: 5;
}

.line4 {
  width: 100%;
  height: auto;
  margin: 0 auto 0;
  position: relative;
  z-index: 5;
}
.line4 .line-deco {
  width: 25%;
  position: absolute;
  left: 0;
  top: -120px;
}

.line5 {
  width: 100%;
  height: auto;
  margin: 0 auto -2rem;
  position: relative;
  z-index: 5;
}

.line6 {
  width: 100%;
  height: auto;
  margin: -1rem auto -2rem;
  position: relative;
  z-index: 5;
}

/* footer */

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: top;
  padding: 5rem 7rem;
  margin-top: -2.5vw;
  position: relative;
  z-index: 10;
  background-color: #fff;
}

footer div {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: left;
  gap: 1rem;
}

footer div img {
  width: 50%;
}

footer div p {
  font-size: 1rem;
}

footer div .access {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 0rem;
  font-weight: bold;
  margin: 0 0 3rem;
}

footer div .f-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 1rem;
  font-weight: bold;
}

footer div ul li ul {
  font-weight: normal;
  padding: 1rem 0 0 1.5rem;
  gap: 0.5rem;
}

footer div .contact {
  width: 70%;
}

footer .contact img {
  width: 100%;
}

footer .sp-visible{
  display: none;
}

/* ------------SP Layout------------ */

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

header{
  justify-content: space-around;
  padding: 0;
  background-color: #fff;
}

header .h-container{
  padding: 0rem 0.5rem 0 1rem;

}

header h1{
  padding-top: 0.5rem;
  width: 45%;
}

.nav-content .logo {
  width: 250px;
  margin-bottom: 2rem;
}

.nav-col-wrapper{
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.nav-columns {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  text-align: center;
}
.nav-columns > li {
  font-size: 18px;
  margin:1rem 0;
  font-weight: bold;
}
.nav-columns > li ul {
  margin: 0 0 -2rem 0;
}
.nav-columns > li ul li {
  font-size: 16px;
  font-weight: normal;
  margin: 6px 0;
}


main{
  width: 100%;
}
section{
  width: 100%;
}

.section-title{
  width: 100%;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.section-title img{
  height: 12px;
}

.line1 {
  width: 100%;
  height: auto;
  margin:  auto;
  padding: 0;
  position: relative;
  z-index: 5;
}

.line2,.line4,.line5 {
  width: 100%;
  height: auto;
  margin: -1rem auto 0;
  padding: 0;
  position: relative;
  z-index: 5;
}

.line3{
  margin: -1rem 0 0;
}

.button img{
  width: 70%;
  height: auto;
  padding: 0;
  margin: 3rem 0;
  display: inline-block;
}
.container{
  width: 100%;
  padding: 0 1.5rem;
  margin: 0;
}



footer{
  flex-direction: column;
  padding: 2rem 1rem;
  gap: 2rem;
}

footer .sp-f-logo{
  width: 50%;
  margin-bottom: -1rem;
}

footer div{
  width: 100%;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}


footer div ul li ul li{
  color: #666666;
  margin-top: 0.5rem;
}

footer div ul li{
  color: #666666;
  margin-top: -0.5rem;
}

footer .under-tx{
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

footer .copy-w{
  font-size: 0.7rem;
  margin: auto;
  text-align: center;
}

footer .sp-none{
  display: none;
}

footer .sp-visible{
  display: block;
}

.sp-none{
  display: none;
}

.sp-visible{
  display: block;
}
}