:root {
  --ink: #4d4d4d;
  --blue: #64c6df;
  --line: #c9cdd1;
  --gray: #F6F6F6;
  --content: 64em;
  --gothic: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --mincho: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height, 6rem) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-feature-settings: "palt" 1;
  font-kerning: normal;
  font-weight: normal;
  position: relative;
  line-height: 1.9;
  letter-spacing: .035em
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

/*-------------------------------------------
共通
-------------------------------------------*/
ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit
}

.container {
  max-width: var(--content);
  padding-left: 1.5em;
  padding-right: 1.5em;
  margin: 0 auto;
}

.sp-only, .menu-button {
  display: none
}

.pc-only {
  display: block
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease-out, transform .65s ease-out;
}

.scroll-reveal.is-visible,
.scroll-reveal:focus-within {
  opacity: 1;
  transform: none;
}

@media print, (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important
  }
}

section {
    padding-top: 2.5em;
    padding-bottom: 2.5em;
}
.section-heading {
  margin-bottom: 1.5em;
  letter-spacing: 10%;
    text-align: center;
}

.section-heading p {
  color: var(--blue);
  font-family: var(--mincho);
}

.section-heading h2 {
  margin-top: .25em;
  font-size: 1.5em;
  font-weight: normal;
  line-height: 1.3
}

h3 {
  font-family: var(--mincho);
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 10%;
  line-height: 1.5
}

.section-icon {
  width: 2.2em;
  height: 2.2em;
  margin: 0 auto .25em;
  object-fit: contain
}

/*-------------------------------------------
header
-------------------------------------------*/
header {
  z-index: 20;
  background-color: #fff;
  border-bottom: .05em solid #f7f7f7;
  position: sticky;
  padding-top: 0.671em;
  padding-bottom: 0.671em;
  left: 0;
  top: 0;
}

header > div {
  width: 100%;
  max-width: var(--content);
  padding-left: 1.5em;
  padding-right: 1.5em;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: auto;
  line-height: 1.05
}

.logo img{
  width: 8.2em;
}

.logo span {
  margin-top: .25em;
  color: #8c9298;
  font-size: .7em;
  letter-spacing: .08em
}

header nav {
  display: flex;
  align-items: center;
  gap: 1.35em;
  font-size: .9em;
  white-space: nowrap
}

header .nav-inner,
header .nav-links {
  display: contents;
}

header nav a {
  transition: color .2s, background .2s;
}

header nav a:hover {
  color: var(--blue);
}

.nav-contact {
  padding: .5em 1.45em;
  color: #fff;
  background: linear-gradient(
    to right,
    #b6dbe0,
    #5dadd5,
    #b6dbe0
  );
  background-size: 200% 100%;
  background-position: 0 0;
  border-radius: 4em;
  transition: background-position .2s;
}

header nav a.nav-contact:hover {
  background-position: 100% 0;
  color: #fff;
}

/*-------------------------------------------
FV
-------------------------------------------*/
.hero {
  position: relative;
  height: 30em;
  padding: 0;
  overflow: hidden;
  background: url('../images/fv_bg.jpg') center 42%/cover no-repeat
}

.hero .container {
  max-width: calc(var(--content) - 3em);
  width: calc(100% - 3em);
  padding: 0;
  margin: 0 auto;
  position: relative;
  height: 100%;
  display: block
}

.hero-copy {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    color: var(--ink);
    margin: auto;
    height: fit-content;
}

.hero-kicker {
  font-size: 1.8em;
  letter-spacing: .12em
}

.hero h1 {
  margin: 0;
  font-family: var(--mincho);
  font-size: 3.2em;
  font-weight: normal;
  line-height: 1.25;
  letter-spacing: .04em
}

.hero-lead {
  font-family: var(--mincho);
  font-size: 1.3em;
  line-height: 2;
  letter-spacing: .12em
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 3
}

.hero-photo img {
  position: absolute
}

.hero-person {
  right: 0;
  bottom: 0;
  width: 15.2em;
  z-index: 4
}

.hero-scene {
  padding: .35em;
  background: #fff;
  box-shadow: 0 .3em 1.1em rgba(66, 91, 103, .18)
}

.scene-1 {
  top: 2.65em;
  right: 0;
  width: 18.65em;
  z-index: 3;
  transform: rotate(1deg)
}

.scene-2 {
  top: 14.2em;
  right: 8.8em;
  width: 15em;
  transform: rotate(-1deg)
}

.scene-3 {
  top: 19.95em;
  right: 29em;
  width: 13.1em;
  transform: rotate(1deg)
}

/*-------------------------------------------
あなたの職場でこんなお悩みありませんか？
-------------------------------------------*/
.problem {
  padding: 2em 0 2em;
  font-family: var(--mincho);
    text-align: center;
    background: radial-gradient(circle, #EDF0F9 0%, #C9E9F8 60%,#D2E1F4 100%);
}

.problem h2{
    font-size: 1em;
    font-weight: normal;
}
/*-------------------------------------------
研修・講演の特徴
-------------------------------------------*/
.features {
  padding-top: 0;
  padding-bottom: 0;
  overflow-x: clip;
  background: #fff
}

.features .section-heading {
  padding-top: 3.5em;
  padding-bottom: 3.3em;
  margin-bottom: 0;
  background: var(--gray) ;
}

.features article {
    display: flex;
    background: #fff;
    align-items:center
}

.features article div {
    padding-left: 2em;    
}

.feature-num {
  display: block;
  color: var(--blue);
  font-size: 3.1em;
  line-height: 1
}

.features article div h3 {
  margin: .35em 0;
}

.features article div p {
  margin-bottom: .7em;
  line-height: 1.75
}

.features article.reverse{
  flex-direction: row-reverse;
}

.features article.reverse div {
    padding-right: 2em;
    padding-left: 0;    
}

.features article img {
  height: 24em;
  object-fit: cover
}

/* Keep the text inside the container and extend each image to the outer edge. */
.features article > div {
  width: 50%;
  min-width: 0;
  flex-shrink: 0;
}

.features article > img {
  width: 50vw;
  max-width: none;
  flex-shrink: 0;
  margin-left: calc(50% - 50vw);
}

.features article.reverse > img {
  margin-left: 0;
  margin-right: calc(50% - 50vw);
}


/*-------------------------------------------
講師紹介
-------------------------------------------*/
.introduction {
  position: relative;
  min-height: 73em;
  padding-bottom: 0;
  overflow: hidden;
  text-align: center;
  background: var(--gray)
}

.intro-grid {
  position: relative;
  display: block;
}

.intro-photo {
  position: absolute;
  right: -1em;
  bottom: -2.2em;
  width: auto;
  height: 22em;
  overflow: hidden;
}

.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.intro-body {
  max-width: calc(100% - 20em);
  width: 100%;
  margin: auto;
  position: relative;
  z-index: 1;
}

.intro-body dl {
  margin-top: 1.4em;
}

.intro-body dl dt {
  display: inline-block;
  padding: 0 1.4em;
  color: #fff;
  background: linear-gradient(to right, #D9C7FF, #DFB4D3);
  border-radius: 3em;
  font-weight: bold
}

.intro-body dl dd {
  margin-top: .45em;
  font-size: 1em
}

#works {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 29em;
  margin-top: 2em;
  padding: 2.7em 1.5em;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1em;
  text-align: center;
  background: #fff;
  border-radius: .5em
}

#works h3 {
    font-family: var(--gothic);
  margin-bottom: .25em;
  color: #DFB4D3;
}

/*-------------------------------------------
講師メッセージ
-------------------------------------------*/
.message {
  padding: 3em 0;
  background: var(--gray);
}

.message-grid {
  display: grid;
  grid-template-columns: 17.5em 1fr;
  gap: 2em;
  align-items: center
}

.message-photo{
    position: relative;
}

.message-photo div {
  width: 17.5em;
  height: 17.5em;
  overflow: hidden;
  border-radius: 50%
}

.message-photo div img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.message .message-signature {
  position: absolute;
    height: 2.5em;
    width: auto;
    right: 0;
    bottom: 0;
}

/*-------------------------------------------
受講者の声
-------------------------------------------*/
.voices {
  background: var(--gray)
}

.voices-slider article {
  padding: 1.4em 1.25em;
  background: #fff;
  border-radius: .45em;
  box-shadow: 0 .15em .7em rgba(30, 50, 60, .05);
  height: 100%;
}

.voices-slider article div{
    display: flex;
    gap: 1em;
    align-items: center;
}

.voices-slider article img {
  flex-shrink: 0;
  width: 5.75em;
  height: 5.75em;
  object-fit: contain;
  border-radius: 50%
}

.voices-slider article dl {
    font-size: 1.1em;
    line-height: 1.5
}

.voices-slider article h3 {
    font-size: 1.1em;
    font-family: var(--gothic);
    margin: 1em 0 0.75em;
    letter-spacing: 0;
}

.voices-slider {
  padding-left: 1.5em;
  padding-right: 1.5em;
}

.splide__arrow {
  background: transparent;
  opacity: 1;
  font-size: 1.25em;
}

.splide__arrow svg {
  fill: #65bdd7
}

.voices .splide__arrow--prev {
    left: -0.5em
}

.voices .splide__arrow--next {
    right: -0.5em
}

/*-------------------------------------------
炎上チェックについて
-------------------------------------------*/
.check {
  background: var(--gray);
}

.check-grid {
  display: flex;
  gap: 1.5em;
  align-items: center
}

.check-photo {
  width: 20em;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.5em;
}

.check-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/*-------------------------------------------
講演・研修動画
-------------------------------------------*/
.movie {
  text-align: center;
  background: var(--gray);
  padding-top: 0;
}

.movie .section-heading {
  margin-bottom: 1em
}

.movie .section-heading + p{
  line-height: 1.5;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24em), 1fr));
  gap: 1.2em;
  margin-top: 2.2em;
}

.movie-grid div{
  width: 100%;
  max-width: 32.75em;
  min-width: 0;
  justify-self: center;
}

.movie-grid iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  margin-bottom: 0.5em;
}

.movie-item p{
  font-size: .9em;
}

/*-------------------------------------------
FAQ
-------------------------------------------*/
.faq {
  background: var(--gray)
}

.faq-list {
  border-top: .05em solid var(--line)
}

.faq details {
  background: #fff;
  border-bottom: .05em solid var(--line)
}

.faq summary {
  position: relative;
  padding: 1.35em 3em 1.35em 1.25em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1em;
  font-size: 1.5em;
  transform: translateY(-50%)
}

.faq details[open] summary::after {
  content: "−"
}

.faq details p {
  padding: 0 1.4em 1.4em;
  line-height: 1.5em;
}

/* Animate the native disclosure while keeping unsupported browsers usable. */
@supports selector(::details-content) and (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
  .faq details::details-content {
    interpolate-size: allow-keywords;
    height: 0;
    overflow: hidden;
    transition: height .3s ease, content-visibility .3s allow-discrete;
  }

  .faq details[open]::details-content {
    height: auto;
  }

  @media (prefers-reduced-motion: reduce) {
    .faq details::details-content {
      transition: none;
    }
  }
}

/*-------------------------------------------
フッター
-------------------------------------------*/
footer {
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  background: linear-gradient(to right, #b6dbe0, #5dadd5)
}

footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
  margin-bottom: 0.5em
}

footer nav a,
footer nav img {
  display: block;
  width: 2.2em;
  height: 2.2em
}

footer p {
  font-size: .7em
}

@media (max-width: 1279px) and (min-width: 1025px) {
  body {
    font-size: max(14px, 1.563vw);
  }
}

@media (max-width: 1024px) {
  body {
    font-size: clamp(16px, calc(.9rem + .44vw), 20px);
  }

  .sp-only {
    display: block;
  }  

  .pc-only {
    display: none;
  }

  h3,
  .section-heading h2 {
    font-size: 1.75em;
    margin-top: 0;
    letter-spacing: 0;
  }

  .container {
    padding-inline: 1em;
  }

  header {
    padding-top: .5em;
    padding-bottom: .5em;
  }

  header > div {
    padding-left: 1.25em;
    padding-right: 1.25em;
    flex-wrap: wrap;
    gap: .5em;
  }

  .nav-contact.sp-only {
    padding: 0.25em 1em;
  }


  .logo img {
    width: 7em;
  }

  .logo span{
    font-size: .65em;
  }

  header nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: .25em .75em;
    padding-block: .5em;
    font-size: 1em;
    white-space: normal;
  }

  header nav a {
    padding: .6em .75em;
    text-align: center;
  }

  .menu-ready .menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25em;
    flex: 0 0 2.5em;
    width: 2.5em;
    height: 2.5em;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 1.2em;
    height: 2px;
    background: #65B1D7;
    transition: transform .3s ease, opacity .3s ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(calc(.25em + 2px)) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(calc(-.25em - 2px)) rotate(-45deg);
  }

  .menu-ready header nav {
    display: grid;
    grid-template-rows: 0fr;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0;
    background: #fff;
    box-shadow: 0 .4em .8em rgba(0, 0, 0, .08);
    visibility: hidden;
    pointer-events: none;
    transition: grid-template-rows .3s ease-in-out, visibility 0s .3s;
  }

  .menu-ready header .nav-inner {
    display: block;
    min-height: 0;
    overflow: hidden;
  }

  .menu-ready header .nav-links {
    display: flex;
    flex-direction: column;
    gap: .25em;
    max-height: calc(100vh - 4em);
    max-height: calc(100dvh - 4em);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .75em 1.25em 1em;
  }

  .menu-ready header .nav-links a {
    flex-shrink: 0;
  }

  .menu-ready header nav.is-open {
    grid-template-rows: 1fr;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  @media (prefers-reduced-motion: reduce) {
    .menu-button span,
    .menu-ready header nav {
      transition: none;
    }
  }

  .hero {
    height: auto;
  }

  .hero .container {
    max-width: 36em;
    padding-top: 1.25em;
    height: auto;
  }

  .hero-copy {
    position: relative;
  }

  .hero-kicker {
    font-size: 1.25em;
    letter-spacing: .04em;
  }

  .hero h1 {
    font-size: min(55px,7.6vw);
    line-height: 1.75;
  }

  .hero-lead {
    font-size:  min(1.2em,4.4vw);
    letter-spacing: .04em;
    line-height: 1.5;
  }

  .hero-photo {
    position: relative;
    inset: auto;
    width: min(100%, 36em);
    height: fit-content;
    margin: 0.5em auto 0;
    padding-top: 1em;
  }

  .hero-person {
    margin-left: auto;
  }

  .hero-photo img.hero-person {
    position: relative;
    margin-top: -7em;
  }

  .hero-scene {
    padding: .2em;
  }

  .scene-1 {
    top: 0;
    left: calc(50% - 3em);
    width: min(12em,50%);
  }

  .scene-2 {
    top: 17%;
    right: calc(50% + 1.75em);
    width: min(9em,43%);
  }

  .scene-3 {
    display: none;
  }

  .features article > div {
    text-align: center;
  }  

  .features article > img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .features .section-heading {
    padding-top: 2em;
    padding-bottom: 1em;
    background: transparent;
  }

  .feature-num{
    font-size: 2.5em;
    text-align: center;
  }

  .features article,
  .features article.reverse {
    flex-direction: column;
    align-items: stretch;
  }

  .features article > img,
  .features article.reverse > img {
    width: 100%;
    margin: 0 auto;
    max-width: 480px;
  }

  .features article > div,
  .features article.reverse > div {
    width: 100%;
    padding: 1.5em 0;
  }

  .features article div p {
    line-height: 1.9;
  }

  .introduction {
    min-height: 0;
  }

  .introduction .section-heading{
    margin-bottom: 0;
  }  
  
  .intro-grid {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1.5em;
  }

  .intro-photo {
    position: static;
    flex: 0 0 auto;
    height: auto;
    width: min(70%, 14em);
  }


  .intro-photo img {
    height: auto;
  }

  .intro-body {
    max-width: inherit;
    flex: 1;
  }

  #works {
    min-height: 0;
    background: transparent;
    padding: 0;
    gap: 1.5em;
    border-radius:0;
  }

  #works > div{
    background: #fff;
    border: #ECECEC solid 1px;
    padding: 1em 1.5em;
    border-radius:.5rem;
  }

  #works h3{font-size: 1.25em;}

  #works li {
    line-height: 1.5;
    font-size: 0.95em;
  }

  #works li + li {
    margin-top: .3em;
  }

  #works ul {
    text-align: left;
  }

  .message-grid,
  .movie-grid {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1em;
  }

  .message-photo {
    width: min(75%, 17.5em);
    margin-inline: auto;
  }

  .check-photo {
    width: 40%;
  }

  .message-photo div {
    width: 10em;
    height: 10em;
    margin: 0 auto;
  }

  .message .message-signature{
    position: static;
    height: 2em;
    margin: 1em auto;
  }

  .message-body h3{
    font-size: 1.5em;
  }

  .voices{
    background: #fff;
    overflow-x: hidden;
  }

  .voices-slider article {
    padding: 0;
    box-shadow: none;
  }

  .movie{
    background: #fff;
    padding-top: 2.5em;
  }

  .faq summary {
    padding: 1em 2.75em 1em 1em;
  }

  .faq summary::after {
    right: .65em;
  }

  .faq details p {
    padding: 0 1em 1em;
  }

}

@media (max-width: 600px) {
  .hero-person {
    width: 8.75em;
  }

  .hero-photo img.hero-person {
      margin-top: -3.5em;
  }

  .voices-slider {
    visibility: visible;
    padding-left: 0;
    padding-right: 0;
  }

  .voices-slider .splide__track {
    overflow: visible;
  }

  .voices .voices-slider:not(.is-active) .splide__list {
    display: flex;
    flex-direction: column;
    gap: 2.5em;
    height: auto;
  }

  .voices-slider .splide__slide {
    min-width: 0;
  }

  .voices-slider article dl {
    font-size: 1.25em;
  }

  .voices-slider article h3{
    font-size: 1.45em;
    margin-bottom: 0.25em;
     margin-top: 0.5em;
  }

  .check-grid {
    flex-direction: column;
    gap: 1em;
  }

  .check-photo{
    width: 100%;
  }
}

@media (max-width: 480px) {
  .features article > img,
  .features article.reverse > img {
    width: calc(100% + 2em);
    margin-left: -1em;
  }

  .problem .container {
    text-align: left;
  }

}

@media (min-width: 769px) and (max-width: 1024px) {
  .features article > div p{
    text-align: left;
  }
}
