/* FV */
.FV {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
}

.slider {
    position: relative;
    height: clamp(420px, 70vh, 860px);
    overflow: hidden;
    margin-bottom: 0;
    width: 100%;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
    padding-bottom: 56px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
    width: 100%;
    margin: 0;
}

.slide.is-active {
    opacity: 1;
    pointer-events: auto;
    width: 100%;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文字 */
.caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    max-width: min(90%, 980px);
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.caption .eyebrow {
    font-size: 52px;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    letter-spacing: .08em;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, .50);
    text-align: center;
    margin: 0 0 .4em;
}

.headline{
    font-size: 52px;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    letter-spacing: .08em;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, .50);
    text-align: center;
    margin: 0 0 .4em;
}

.headline rt {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    letter-spacing: 0.05em;
    font-size: 0.6em;
    color: #39975c;
    position: relative;
    bottom: 12px;
}

/* ドット＄矢印 */
.dots {
  position: static;
  z-index: 10;
  display: flex;
  justify-content: center;
  bottom: -28px;
  margin: 14px auto 0;
  min-height: 28px;
  gap: 10px;
  padding: 24px 16px;
  margin: 0;
  background: #DFE4E9;
}

.dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.55);
  cursor: pointer;
}

.dots button[aria-current="true"] {
  background: #fff;
}

/* スマホで文字を下寄せ＆読みやすく */
@media (max-width: 640px) {
  .caption { inset: auto 4% 10% 4%; }
}

/* ベースコンテナ */

.service {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.service_container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

/*緑とグレーの帯 */
.service .decoration-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 100%;
    z-index: 0;
}

.service .green-bar {
    position: relative;
    top: 40px;
    left: 60px;
    width: 450px;
    height: 1000px;
    background-color: #39975c;
    z-index: 2;
}

.service .gray-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 90%;
    background-color: #F5F5F5;
    z-index: 1;
}

.section-line {
  border: none;
  border-top: 1px solid #ccc;
  margin: 40px 0;
  margin-left: 80px;
  position: relative;
  z-index: 4;
  width: calc(100%-80px);
}

.section-line::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 4px;
    right: 0;
    width: 120px;
    height: 5px;
    background-color: #39975c;
}

/* 見出し　*/
.section-title {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
    position: relative;
    margin-left: 120px;
    z-index: 5;
    letter-spacing: -0.1em;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .50);
}

.maincatch {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 50px;
    font-weight: 600;
    position: relative;
    left: -180px;
    top: -8px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .50)
}

.white {
    color: #fff;
    letter-spacing: 0.05em;
}

.for {
    color: #39975c;
    letter-spacing: 0.05em;
    font-size: 32px;
}

.green {
    color: #39975c;
    letter-spacing: 0.05em;
}

.catch {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 28px;
    font-weight: 600;
    position: relative;
    left: 120px;
    padding-top: -4px;
}

.subtext {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 18px;
    position: relative;
    left: 180px;
    margin-bottom: 40px;
}

.cards {
    display: flex;
    justify-content: center;
    margin-left: 50px;
    gap: 0px;
    flex-wrap: wrap;
    z-index: 3;
}

.card-wrapper {
    position: relative;
    width: 400px;
    margin: 24px;
}

.card-back {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background-color: #eee;
    z-index: 0;
}

.card-front {
    height: 735px;
    position: relative;
    background: #fff;
    z-index: 1;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    color: #e7360e;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 10px;
    margin-top: 0;
}

.card-text {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.6;
    text-align: left;
}

.btn {
    display: inline-block;
    background-color: #e7360e;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    margin: 20px auto;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 24px;
    font-weight: 600;
}

/* ニュース */

.news {
    position: relative;
    z-index: 3;
}

.news-list {
    position: relative;
    left: 120px;
    list-style: none;
    padding: 0;
    margin-left: 300px;
    margin-top: 40px;
    max-width: 950px;
    z-index: 4;
}

.news-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.news-list li:first-child {
    border-top: 1px solid #ccc;
}

.news-list .date {
    width: 200px;
    color: #e7360e;
    font-size: 18px;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    margin-left: 80px;
    white-space: nowrap;
    text-align: left;
}

.news-list a {
    display: flex;
    align-items: flex-start;
    color: #000;
    margin-left: 24px;
    text-decoration: none;
}

.news-list .text {
    width: 400px;
    font-size: 18px;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    flex: 1;
    text-align: left;
}

/* アクセス */

.access-section {
    margin-top: -200px;
}

.access-box {
    max-width: 1500px;
    height: 1000px;
    margin: 0 auto;
    padding-top: 24px;
    margin-top: 80px;
    background-color: #e9e9e9;
    text-align: center;
    position: relative;
}

.access-map-box {
    position: relative;
    background-image: url('../img/アクセス写真.jpeg');
    background-size: cover;
    background-position: center;
    height: 1000px;
}

.access-map-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.office-info {
    position: relative;
    display: flex;
    width: 940px;
    height: 100px;
    background-color: #fff;
    padding: 0px 60px;
    margin: 0px auto;
    text-align: left;
    top: 60px;
    z-index: 2;
    gap: 24px;
    align-items: center;
}

.office-label {
    display: inline-block;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #39975c;
    border: 2px solid #39975c;
    border-radius: 30px;
    padding: 8px 20px;
    height: 40px;
}

.office-address {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 18px;
    font-weight: 600;
    top: -24px;
}

.access-map {
    position: relative;
    width: 1060px;
    height: 500px;
    background-color: #fff;
    padding-top: 2px;
    margin: 0 auto;
    top: 80px;
    z-index: 2;
}

.access-title {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0.3em;
    margin-top: 0;
}

/* 採用　*/


.recruit-section {
    margin-top: -120px;
}


.recruit-container {
    position: relative;
    display: flex;
    top: 60px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 60px 20px;
    height: 600px;
    justify-content: center;
}

.recruit-content {
    z-index: 2;
}

.recruit-title {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 50px;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.2em;
    position: relative;
    margin-left: 120px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .50);
}

.recruit-catch {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 28px;
    font-weight: 600;
}

.entry-box {
    display: flex;
    border-radius: 8px;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #39975c;
    margin: 0 auto;
    gap: 24px;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 320px;
    top: -24px;
}

.entry-text {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 42px;
    font-weight: 600
}

.recruit-text {
    position: relative;
    top: 28px;
    left: 320px;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 24px;
    font-weight: 600;
}

.recruit-text ruby {
    ruby-position: over;
}

.recruit-text rt {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    letter-spacing: 0.05em;
    font-size: 0.6em;
    color: #39975c;
    position: relative;
    bottom: 12px;
}

.entry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 2px solid #39975c;
    color: #39975c;
    border-radius: 100%;
    text-decoration: none;
    transition: 0.3s;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.recruit-photo {
    position: relative;
    flex: 0 0 auto;
    margin-left: auto;
    width: 40%;
    height: 200px;
    background: url('../img/採用.jpeg') bottom/cover no-repeat; 
    clip-path: polygon(220px 0, 100% 0, 100% 100%, 0 100%);
    overflow: hidden;
    z-index: 1;
    padding-top: 40px;
    top: 120px;
}

.recruit-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    clip-path: inherit;
}

/* 0927追記 */
body{margin: 0;}