@charset "UTF-8";
/*
Theme Name : ワークフォー 202504 WO_LP
*/

/* ===================
ベーススタイル
=================== */

/* 基本設計 */

:root {
  --color-main-d: #393C2D;
  --color-main-m: #6B7253;
  --color-main-l: #D7FF35;
  --color-accent: #8F5CAA;
  --bg: #F5F6F2;
  --font-14: 0.875rem;
  --font-16: 1rem;
  --font-18: 1.125rem;
  --font-20: 1.25rem;
  --font-24: 1.5rem;
  --font-28: 1.75rem;
  --font-32: 2rem;
  --font-36: 2.25rem;
  --font-40: 2.5rem;
  --font-48: 3rem;
  --gutter-16: 16px;
  --gutter-24: 24px;
  --gutter-32: 32px;
  --gutter-40: 40px;
  --unit: 60px;
  --transition: 0.3s ease-in-out;
}

@media screen and (max-width: 810px) {
  :root {
    --font-18: 1rem;
    --font-20: 1.125rem;
    --font-24: 1.25rem;
    --font-28: 1.375rem;
    --font-32: 1.5rem;
    --font-36: 1.75rem;
    --font-40: 1.75rem;
    --font-48: 2rem;
    --gutter-24: 20px;
    --gutter-32: 28px;
    --gutter-40: 36px;
    --unit: 48px;
  }
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: "Noto Sans JP", "游ゴシック", YuGothic, "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background: #fff;
  color: var(--color-txt);
  line-height: 2;
}

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

/* 電話番号a表示 */
@media screen and (min-width: 810.1px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }
}

/* PC/SP 出し分け */
@media screen and (max-width: 810px) {
  .pc {
    display: none !important;
  }
}

@media screen and (min-width: 810.1px) {
  .sp {
    display: none !important;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-size: var(--font-20);
  line-height: 1.3;
}

address {
  font-style: normal;
}

ul {
  list-style: none;
}

.disc {
  list-style-type: "・";
  padding-left: 1em;
}

a {
  text-decoration: underline;
  color: var(--color-main);
  transition: opacity var(--transition);
}

@media screen and (min-width: 810.1px) {
  a:hover {
    opacity: .7;
  }
}

.underline {
  text-decoration: underline;
}

.underline_none {
  text-decoration: none;
}


/* サイト幅設計 */
.wrapper {
  width: 100%;
  overflow-x: hidden;
}

.main {
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

.content {
  width: 100%;
  padding: var(--unit) min(5%, 54px);
}

.inner {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.inner_narrow {
  width: min(100%, 800px);
  margin: 0 auto;
}

.w100 {
  width: calc(100vw - 250px);
  margin-left: calc(50% - 50vw + 125px);
}

.w100_img {
  margin-bottom: calc(var(--unit) + var(--gutter-32));
  position: relative;

  &::before {
    content: "";
    position: absolute;
    width: 65%;
    height: 100%;
    right: 0;
    top: var(--gutter-32);
    background: var(--bg);
  }

  img {
    width: 80%;
    position: relative;
  }
}

/* PC */
@media screen and (min-width: 810.1px) {
  .wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
  }
}

/* SP */
@media screen and (max-width: 810px) {
  .w100 {
    width: 100vw;
    margin-left: -5vw;
  }

  .w100_img {
    img {
      width: 95%;
    }
  }
}


/* 個別クラス */
.dib {
  display: inline-block;
}

.tac {
  text-align: center;
  margin-inline: auto;
  width: fit-content;
}

/* PC */
@media screen and (min-width: 810.1px) {
  .tac_pc {
    text-align: center;
  }
}

/* SP */
@media screen and (max-width: 810px) {
  .tac_sp {
    text-align: center;
  }
}

.tar {
  text-align: right;
  margin-left: auto;
  width: fit-content;
}

.tal {
  text-align: left;
  margin-left: auto;
  width: fit-content;
}

.mt_unit {
  margin-top: var(--unit);
}

.mt_1 {
  margin-top: 1em;
}

.bg_yellow {
  position: relative;
}

.bg_yellow>* {
  position: relative;
  z-index: 2;
}

.bg_yellow::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: min(50%, 500px);
  aspect-ratio: 5/3;
  top: calc(var(--gutter-40) * -1);
  right: max(-15%, -150px);
  background: url(../img/bg_yellow.png) top center no-repeat;
  background-size: contain;
}

/* フォント関係 */
.en {
  font-family: "Barlow", "Noto Sans JP", "游ゴシック", YuGothic, "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: bold;
}

main.en {
  font-weight: normal;
}

.ja {
  font-family: "Noto Sans JP", "游ゴシック", YuGothic, "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.num {
  font-family: "Questrial", "Noto Sans JP", "游ゴシック", YuGothic, "Hiragino Sans W3", sans-serif;
}

.small {
  font-size: var(--font-14);
}

/* リスト */
.list {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: .7em 1em;
  font-size: var(--font-20);
}

.list dd {
  font-size: var(--font-16);
}

/* PC */
@media screen and (min-width: 810.1px) {
  .list dt {
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background: var(--color-main-m);
  }

  .list h2 {
    font-weight: normal;
  }
}

/* SP */
@media screen and (max-width: 810px) {
  .list {
    grid-template-columns: 1fr;
  }

  .list h2 {
    font-size: var(--font-24);
    padding: .1em 0 .1em .4em;
    color: var(--color-main-m);
    border-left: 4px solid var(--color-main-m);
  }

  .list dd+dt {
    margin-top: .5em;
  }
}

.list2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: .7em 1em;
  margin-top: 1em;
}

.ttl_cont {
  font-size: var(--font-24);
  padding-left: .4em;
  color: var(--color-main-m);
  border-left: .2em solid var(--color-main-m);
}

.list2 dt {
  font-size: var(--font-20);
}

.list3 {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  text-align: center;
  width: 100%;
  margin-block: var(--gutter-32);
  border-spacing: 0;
}

.list3 li {
  display: grid;
  align-items: center;
  grid-template-rows: subgrid;
  grid-row: span 3;
  background: var(--bg);
  border-radius: .5em;
  padding: 1em;
  gap: .5em;
}

.list3 .ttl {
  font-size: var(--font-20);
  line-height: 1.4;
  margin-bottom: .2em;
}

.flex2 {
  display: flex;
  gap: 1em;
}

.flex2>* {
  flex: 1;
}

/* PC */
@media screen and (min-width: 810.1px) {
  .flex2 {
    align-items: center;
  }
}

/* SP */
@media screen and (max-width: 810px) {
  .flex2 {
    flex-direction: column;
  }
}

/* ボタン類 */
.btn_entry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  text-decoration: none;
  background: var(--color-accent);
  color: #fff;
  font-weight: bold;
  font-size: var(--font-20);
  border-radius: .4em;
  transition: opacity var(--transition), gap var(--transition);
  padding-block: .6em;
}

.btn_entry::after {
  content: "";
  display: block;
  width: .5em;
  height: .5em;
  border-radius: .05em;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-right: .2em;
  transition: margin var(--transition);
}

a:has(.link_txt) {
  display: inline-block;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: bold;
  margin-top: .5em;
}

.link_txt {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  margin-left: .4em;
  width: 2em;
  height: 1.4em;
  background: var(--color-accent);
  border-radius: .7em;
}

.link_txt::before {
  content: "";
  position: absolute;
  width: 40%;
  height: 1px;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.link_txt::after {
  content: "";
  position: absolute;
  width: .4em;
  height: .4em;
  top: 50%;
  right: 22%;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* PC */
@media screen and (min-width: 810.1px) {
  .btn_entry:hover {
    gap: .7em;
  }

  .btn_entry:hover::after {
    margin-right: 0;
  }
}

/* スキップリンク */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden:focus,
.visually-hidden:active {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ヘッダー */
.aside {
  background: var(--bg);
  padding-block: var(--gutter-32);
  font-size: 16px;
}

header .menu li>* {
  display: block;
  position: relative;
  color: var(--color-txt);
  text-decoration: none;
  font-weight: bold;
  line-height: 1.4;
}

header .menu li {
  display: contents;
}

header .menu li>span:not([class]) {
  opacity: .4;
}

header .menu li>.on-page {
  color: var(--color-accent);
}

header .menu li>.on-page::before {
  content: "";
  position: absolute;
  width: .5em;
  height: .5em;
  background: var(--color-accent);
  border-radius: 50%;
  left: 1.5em;
  top: 50%;
  transform: translatey(-50%);
}

header .menu li p {
  color: #fff;
  background: var(--color-main-m);
  margin-block: 1em .5em;
  padding-block: 1em;
}

/* PC */
@media screen and (min-width: 810.1px) {
  header img {
    width: 9em;
    margin-inline: auto;
  }

  header .menu {
    margin-block: 1.5em;
  }

  header .menu li>* {
    padding: .8em 0 .8em 2.5em;
  }

  header .menu li a:hover {
    opacity: 1;
    transition: var(--transition);
  }

  header .menu li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    left: 5%;
    top: 0;
    border-radius: .4em;
    transition: var(--transition);
  }

  header .menu li a span {
    position: relative;
    z-index: 2;
  }

  header .menu li a:hover::after {
    width: 90%;
    background: #fff;
  }
}

/* SP */
@media screen and (max-width: 810px) {
  .aside {
    position: fixed;
    display: grid;
    place-items: center;
    height: 100vh;
    height: 100dvh;
    width: fit-content;
    right: -120vw;
    top: 0;
    background: var(--bg) url(../img/logo_w.svg) no-repeat top 10% right 10%;
    background-size: 40%;
    overflow: scroll;
    padding-bottom: var(--unit);
    z-index: 99;
    transition: all var(--transition);
  }

  .wrapper::before {
    content: "";
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    right: 0;
    background: rgba(22, 14, 29, .6);
    opacity: 0;
    z-index: 98;
    transition: opacity var(--transition);
    pointer-events: none;
  }

  body:has(.burger_active) {
    height: 100%;
    overflow: hidden;
  }

  .aside.burger_active {
    right: 0;
  }

  .wrapper:has(.burger_active)::before {
    opacity: 1;
  }

  header .menu li>* {
    padding: .4em 2em .4em 3em;
  }

  header .menu li p {
    padding-block: .8em;
  }

  /* バーガーボタン */
  .burger_btn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 52px;
    aspect-ratio: 1;
    background: url(../img/bg_burger.svg);
    background-size: cover;
    z-index: 100;
    text-align: center;
  }

  .burger_btn span {
    display: block;
    color: #fff;
    font-size: 10px;
    margin-top: 14px;
    transition: margin-top var(--transition);
  }

  .burger_btn::before,
  .burger_btn span::before,
  .burger_btn span::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    top: 18px;
    transition: all var(--transition);
  }

  .burger_btn::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .burger_btn span::before {
    left: 26%;
  }

  .burger_btn span::after {
    right: 26%;
  }

  .burger_active .burger_btn span {
    margin-top: 16px;
  }

  .burger_active .burger_btn::before {
    opacity: 0;
  }

  .burger_active .burger_btn span::before {
    width: 52%;
    height: 2px;
    left: 24%;
    transform: rotate(22deg);
  }

  .burger_active .burger_btn span::after {
    width: 52%;
    height: 2px;
    right: 24%;
    transform: rotate(-22deg);
  }
}

/* footer */
footer {
  background: url(../img/kv.jpg) center no-repeat;
  background-size: cover;
  width: 100%;
  padding: var(--gutter-24) min(5%, 54px);
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(22, 14, 29, .6);
}

footer .inner {
  position: relative;
  color: #fff;
  font-size: var(--font-14);
  text-align: center;
}

footer p.en {
  font-weight: normal;
}

/* SP */
@media screen and (max-width: 810px) {

  footer .inner {
    font-size: 12px;
  }
}

/* FV */
.fv {
  width: 100%;
  padding: var(--unit) min(5%, 54px);
  background: url(../img/kv.jpg) center no-repeat;
  background-size: cover;
  position: relative;
}

.fv video {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
  animation: kvVideo 5s ease 5s forwards;
}

/* フェードアウト用 keyframes */
@keyframes kvVideo {
  to {
    opacity: 0;
  }
}

.fv::before {
  content: "";
  position: absolute;
  width: 100%;
  height: calc(100% - var(--unit) * 2);
  top: var(--unit);
  left: 0;
  background: rgba(22, 14, 29, .6);
  z-index: 2;
}

.fv .inner {
  padding-block: var(--unit);
  position: relative;
  z-index: 3;
}

.fv .ttl {
  text-align: right;
  color: #fff;
  font-size: clamp(24px, 4vw, 53px);
  letter-spacing: .1em;
  line-height: 1.1;
}

.fv .ttl img {
  width: min(90%, 670px);
  margin-left: auto;
}

.fv .ttl .small {
  font-size: .8em;
}

.fv .ttl_en {
  color: rgba(161, 161, 161, .2);
  text-align: right;
  position: absolute;
  right: 0;
  bottom: var(--unit);
  font-size: var(--font-40);
  line-height: 1.2;
}

.fv .ttl.en {
  letter-spacing: 0;
}

.fv .theme {
  font-size: clamp(30px, 6.2vw, 82px);
  white-space: nowrap;
  color: var(--color-main-l);
  line-height: 1.2;
  width: fit-content;
  text-align: center;
  margin: 1em auto;
  background: linear-gradient(transparent 70%, #000000 30%);
}

.fv img.theme {
  width: min(95%, 780px);
  background: linear-gradient(transparent 60%, #000000 40%);
}

.fv_overview {
  color: #fff;
  position: relative;
}

.fv_overview time {
  font-size: min(var(--font-40), 8vw);
  font-weight: bold;
}

.fv_overview time span {
  font-size: 1.5em;
}

.fv_overview time span.small {
  font-size: .8em;
}

.fv_overview dl {
  display: grid;
  justify-content: center;
  line-height: 1.2;
  grid-template-columns: 3em 1fr;
  gap: 1em;
}

.fv_overview dt {
  background: var(--color-main-m);
  align-self: center;
  padding: .3em .5em;
}

.fv_overview dd p:first-of-type {
  font-size: var(--font-32);
}

@media screen and (min-width: 810.1px) {
  .fv_overview dl {
    font-size: var(--font-20);
  }

  .fv_overview dd p:last-of-type {
    font-size: var(--font-14);
  }
}

/* SP */
@media screen and (max-width: 810px) {
  .fv .ttl {
    font-size: 8vw;
  }

  .fv .ttl.en {
    font-size: 6.5vw;
  }

  .fv .ttl img {
    width: min(80%, 300px);
    margin-left: auto;
  }


  .fv .ttl_en {
    font-size: clamp(12px, 7vw, 40px);
  }

  .fv .theme {
    font-size: 8.5vw;
    padding-right: 5vw;
    margin-right: -5vw;
    margin-block: .6em 2em;
    text-align: right;
  }

  .fv_overview dl {
    gap: .5em .5em;
  }

  .fv_overview dt {
    display: inline-block;
  }

  .fv_overview dd {
    display: contents;
  }

  .fv_overview dd:first-of-type p:last-of-type {
    margin-bottom: 1em;
  }

  .fv_overview p:last-of-type {
    grid-column: 1/3;
    font-size: .8rem;
  }
}

/* TOP他メニュー */
.top_news .ttl {
  color: var(--color-main-m);
  font-size: var(--font-32);
}

.top_news ul {
  background: var(--bg);
  padding: 1em 1.5em;
  border: 4px solid var(--bg);
  margin-top: var(--gutter-16);
  height: 16em;
  overflow-y: scroll;
}

.top_news ul li {
  display: grid;
  gap: .2em 1em;
  grid-template-columns: 10ch 1fr;
  padding-block: .8em;
  line-height: 1.5;
}

.top_news ul li+li {
  border-top: #fff 2px dashed;
}

.top_news ul li article {
  display: contents;
}

.top_news ul a {
  color: var(--color-accent);
}

.top_news ul time {
  font-weight: normal;
  text-align: right;
}

.top_news ul::-webkit-scrollbar {
  /* display: none; */
  width: 12px;
  height: 12px;
}

.top_news ul::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: var(--color-main-m);
}

/* SP */
@media screen and (max-width: 810px) {
  .top_news ul li {
    grid-template-columns: 1fr;
  }

  .top_news ul time {
    text-align: left;
  }
}

/* 第2階層 */
main.content {
  padding-top: var(--gutter-32)
}

.ttl_sub {
  font-size: 16px;
  display: block;
  width: fit-content;
  margin-left: auto;
  line-height: 1.2;
  text-align: right;
  color: var(--color-main-m);
  text-decoration: none;
  font-weight: bold;
}

.ttl_sub p:last-of-type {
  display: flex;
  align-items: center;
  gap: .5em;
}

.ttl_sub p:last-of-type::before {
  content: "";
  display: block;
  flex: 1;
  height: 2px;
  background: var(--color-main-m);
}

.ttl_sec {
  text-align: center;
  margin-block: 2em var(--unit);
  position: relative;
}

.ttl_sec h1 {
  color: #000;
  position: relative;
  z-index: 2;
  font-size: var(--font-32);
}

.ttl_sec span {
  color: var(--bg);
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--font-48);
  line-height: 1;
  width: 100%;
}

/* SP */
@media screen and (max-width: 810px) {
  .ttl_sub {
    font-size: 12px;
  }
}

/* 会長挨拶 */
.chairman {
  display: flex;
  justify-content: center;
  text-align: right;
  gap: 2em;
  align-items: center;
}

.chairman strong span {
  font-size: var(--font-24);
}

.chairman img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: min(400px, 40%);
}

.greeting_txt {
  margin-top: var(--unit);
}

.greeting_txt.en {
  font-weight: normal;
}

:where(.greeting_txt p+p) {
  margin-top: .5em;
}

/* SP */
@media screen and (max-width: 810px) {
  .chairman {
    gap: 1em;
  }

  .chairman img {
    aspect-ratio: 5/6;
    width: min(180px, 35%);
  }
}


/* page en */
main.en .fv_overview dl {
  grid-template-columns: 5.5em 1fr;
}

main.en .fv_overview dt {
  text-align: center;
}

main.en .fv_overview time {
  font-size: min(var(--font-32), 6vw);
}

main.en .ttl_sub {
  font-size: 12px;
}

/* SP */
@media screen and (max-width: 810px) {
  main.en .ttl_sub {
    font-size: 10px;
  }
}