@charset "UTF-8"; /* CSS Document */ //ブレイクポイントを指定------ここから $xl: 1399px; $lg: 1199px; $md: 991px; $sm: 767px; $xs: 575px; @mixin xl { @media screen and (max-width: ($xl)) { @content; } } @mixin lg { @media screen and (max-width: ($lg)) { @content; } } @mixin md { @media screen and (max-width: ($md)) { @content; } } @mixin sm { @media screen and (max-width: ($sm)) { @content; } } @mixin xs { @media screen and (max-width: ($xs)) { @content; } } //ブレイクポイントを指定------ここまで //カラー指定 $main-color: #289c4c; $sub-color: #fabe00; section { padding-bottom: 10rem; @include md { padding-bottom: 8rem; } @include sm { padding-bottom: 6rem; } } //ul-header------ここから #ul-header { .ul-img { img { @include md { object-position: 65% center; } @include xs { object-position: 75% center; } } } .recruit-bg { background-color: #eef7f1; padding: 16rem 0 8rem; margin-top: -8rem; @include md { padding: 14rem 0 6rem; margin-top: -7rem; } @include xs { padding: 12rem 0 4rem; margin-top: -6rem; } dl { letter-spacing: 0.04em; dt { font-size: 30px; font-size: 3rem; color: $main-color; line-height: 1.4; margin-bottom: 2.5rem; @include md { font-size: 27px; font-size: 2.7rem; } @include md { font-size: 24px; font-size: 2.4rem; margin-bottom: 1.5rem; } } dd { line-height: 2.25; @include xs { line-height: 2; } } } } } //person------ここから #person { .person-img { display: flex; justify-content: center; column-gap: 4rem; margin-bottom: 4rem; @include md { column-gap: 3rem; } @include sm { column-gap: 2rem; } @include xs { flex-wrap: wrap; margin-bottom: 2rem; } img { width: 250px; @include md { width: 200px; } @include sm { width: 150px; } } } } //interview------ここから #interview { .interview-content { margin-bottom: 6rem; &:nth-of-type(1) { .interview-header { background-image: url("../img/recruit-interview1-1.jpg"); } } &:nth-of-type(2) { .interview-header { background-image: url("../img/recruit-interview2-1.jpg"); } } &:nth-of-type(3) { margin-bottom: 0; .interview-header { background-image: url("../img/recruit-interview3-1.jpg"); } } } .interview-header { position: relative; height: 315px; background-size: cover; background-position: center; margin-bottom: 5rem; @include md { height: 250px; } @include sm { height: 230px; margin-bottom: 3rem; } @include xs { height: 180px; margin-bottom: 1rem; background-position: 45%; } .interview-header__info { position: absolute; width: 30%; bottom: 0; right: 0; padding: 4rem; background-color: #fff; letter-spacing: 0.04em; @include lg { width: 35%; } @include md { width: 37%; padding: 3rem 1rem 3rem 3rem; } @include sm { width: 45%; padding: 2rem 1rem 2rem 2rem; } @include xs { width: 60%; padding: 1rem 0rem 0 1.5rem; } .interview-header__dept { @include xs { font-size: 14px; font-size: 1.4rem; } } .interview-header__name { position: relative; color: $main-color; font-size: 14px; font-size: 1.4rem; font-weight: 600; margin-bottom: 2rem; @include xs { margin-bottom: 1.5rem; } .initial { font-size: 26px; font-size: 2.6rem; @include xs { font-size: 21px; font-size: 2.1rem; } } .career { color: #000; font-weight: 400; @include xs { font-size: 14px; font-size: 1.4rem; } } &::after { content: ''; width: 70px; height: 1px; display: inline-block; background-color: $main-color; position: absolute; bottom: -1rem; left: 0; @include xs { bottom: -0.5rem; } } } .interview-header__comment { font-size: 18px; font-size: 1.8rem; font-weight: 600; @include sm { font-size: 17px; font-size: 1.7rem; } @include xs { font-size: 15px; font-size: 1.5rem; letter-spacing: 0; line-height: 1.6; } } } } .interview-qa { display: flex; justify-content: space-between; flex-wrap: wrap; dl { width: 50%; margin-bottom: 5rem; @include sm { width: 100%; margin-bottom: 3rem; } @include xs { width: 100%; margin-bottom: 2rem; } dt { display: flex; align-items: center; font-size: 19px; font-size: 1.9rem; line-height: 1.4; @include md { font-size: 18px; font-size: 1.8rem; } @include xs { font-size: 17px; font-size: 1.7rem; } span { font-family: "Barlow Condensed", sans-serif; font-size: 43px; font-size: 4.3rem; font-weight: 500; color: $main-color; letter-spacing: 0; margin-right: 1rem; @include md { font-size: 40px; font-size: 4rem; } @include xs { font-size: 32px; font-size: 3.2rem; } } } dd { margin-bottom: 4rem; @include md { margin-bottom: 3rem; } @include sm { margin-bottom: 2rem; } @include xs { font-size: 15px; font-size: 1.5rem; margin-bottom: 1rem; } } } .interview-qa__img { width: 45%; height: 310px; overflow: hidden; margin-bottom: 5rem; @include md { height: 280px; } @include sm { width: 100%; margin-bottom: 3rem; } @include xs { width: 100%; height: 200px; margin-bottom: 2rem; } img { width: 100%; height: 100%; object-fit: cover; } } } } //gallery #gallery { .gallery-content { margin-bottom: 4rem; h4 { font-size: 20px; font-size: 2rem; font-weight: 600; color: $main-color; letter-spacing: 0.04em; margin-bottom: 0; @include xs { font-size: 18px; font-size: 1.8rem; margin-bottom: 0.25rem; } } p { margin-bottom: 1.5rem; letter-spacing: 0.04em; line-height: 1.6; } .gallery-content__img { display: flex; gap: 1rem; @include sm { flex-wrap: wrap; } .img-box { @include sm { width: calc(50% - 0.5rem); } @include xs { width: 100%; height: 200px; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; } } } } } } //faq #faq { .faq-bg { background-color: #fef8e5; padding: 8rem 0; @include md { padding: 6rem 0; } @include xs { padding: 4rem 0; } } .accordion { .accordion-item { margin-bottom: 2.5rem; border: none; border-radius: 0.5rem; padding: 0 3rem 0 4rem; background-color: #fff; @include sm { padding: 0 1rem 0 2rem; } @include xs { padding: 0 1rem; } } .accordion-button { background-color: #fff; font-size: 1.6rem; font-weight: 600; padding: 1rem; display: flex; align-items: center; width: 100%; text-align: left; border: none; outline: none; transition: color 0.2s; cursor: pointer; span { font-family: "Barlow Condensed", sans-serif; font-size: 43px; font-size: 4.3rem; color: $main-color; margin-right: 2rem; margin-bottom: 0.5rem; @include xs { font-size: 35px; font-size: 3.5rem; margin-right: 1rem; } } &:hover { color: #aaa; } &:focus { box-shadow: none; } &::after { content: "\f13a"; /* Font Awesome 上矢印 fa-angle-up */ font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 25px; font-size: 2.5rem; transition: transform 0.3s ease; color: $sub-color; margin-left: auto; flex-shrink: 0; @include xs { font-size: 20px; font-size: 2rem; } } &.collapsed::after { transform: rotate(0deg); } &:not(.collapsed)::after { transform: rotate(180deg); } } .accordion-body { padding: 2rem 0; border-top: 1px solid #ddd; @include xs { padding: 1.5rem 0; line-height: 1.6; } } } } //description #description { .description-content { display: flex; margin-bottom: 7.5rem; @include md { margin-bottom: 5.5rem; } @include xs { display: block; margin-bottom: 3.5rem; } .jobtype { background-color: #eef7f1; writing-mode: vertical-rl; padding: 2rem 1rem; margin-right: 3.5rem; @include sm { margin-right: 2.5rem; } @include xs { writing-mode: inherit; margin: 0 0 1.5rem 0; padding: 1rem; } h4 { font-size: 30px; font-size: 3rem; margin: 0; @include md { font-size: 27px; font-size: 2.7rem; } @include md { font-size: 24px; font-size: 2.4rem; } span { font-family: "Barlow Condensed", sans-serif; font-size: 20px; font-size: 2rem; color: $main-color; margin-top: 2rem; @include xs { font-size: 16px; font-size: 1.6rem; margin-top: 0; margin-left: 1rem; } } } } dl { width: 100%; display: grid; grid-template-columns: 150px 1fr; @include md { grid-template-columns: 100px 1fr; } @include xs { grid-template-columns: 1fr; } dt { width: 150px; font-weight: 500; border-bottom: solid 1px rgba(40,156,76,0.6); padding: 1.5rem 0 1.5rem 2rem; @include md { width: 100px; padding: 1.25rem 0 1.25rem 1rem; } @include xs { width: 100%; padding: 0 1rem; } } dd { border-bottom: solid 1px rgba(200,200,200,0.6); padding: 1.5rem 0 1.5rem 2rem; @include md { padding: 1.25rem 0 1.25rem 1rem; } @include sm { padding: 1.25rem 0 1.25rem 1.25rem; } @include xs { padding: 0.5rem 1rem; border-bottom: none; margin-bottom: 1.5rem; } div { display: flex; flex-wrap: nowrap; @include md { flex-wrap: wrap; } p { margin-right: 1em; margin-bottom: 0; line-height: 1.8; } } } } } .stop { position: relative; &::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.8); /* 半透明レイヤー */ z-index: 1; } &::after { content: "現在募集を\A行っておりません"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); /* 中央配置 */ white-space: pre-line; text-align: center; color: #808080; font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; font-size: 33px; font-size: 3.3rem; font-weight: 600; border: 2px solid #808080; padding: 2rem 3rem; background: #fff; z-index: 2; line-height: 1.4; box-sizing: border-box; @include sm { width: 70%; font-size: 30px; font-size: 3rem; } @include xs { width: 70%; font-size: 25px; font-size: 2.5rem; padding: 2rem; } } } .recruit-contact { a { display: flex; align-items: center; background-image: url("../img/recruit-contact-pc.jpg"); background-size: cover; background-position: center; width: 90%; height: 150px; margin: 0 auto; padding: 0 4rem; &:hover { opacity: 0.7; } @include md { height: 130px; } @include sm { width: 100%; padding: 0 3rem; } @include xs { background-image: url("../img/recruit-contact-sp.jpg"); height: 100px; padding: 0 1.5rem; } } img { &:first-child { width: 70px; margin-right: 4rem; @include md { width: 50px; margin-right: 3rem; } @include xs { width: 40px; margin-right: 1rem; } } &:last-child { width: 55px; margin-left: auto; @include md { width: 45px; } @include xs { width: 35px; } } } p { font-size: 27px; font-size: 2.7rem; font-weight: 600; color: #fff; line-height: 1.5; @include md { font-size: 24px; font-size: 2.4rem; } @include xs { font-size: 18px; font-size: 1.8rem; letter-spacing: 0; } } } }