@charset "UTF-8";

/*
 * The new CSS reset - version 1.11.2 (last updated 15.11.2023)
 * GitHub page: https://github.com/elad2412/the-new-css-reset
 * Copyright (c) 2021 Elad Shechter
 * Licensed under MIT (https://github.com/elad2412/the-new-css-reset/blob/main/LICENSE)
 */
:where(:not(audio,canvas,html,iframe,img,svg,video):not(svg,symbol)){all:unset;display:revert}*,:after,:before{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}a,button{cursor:revert}menu,ol,summary,ul{list-style:none}img{max-inline-size:100%;max-block-size:100%}table{border-collapse:collapse}input,textarea{-webkit-user-select:auto}textarea{white-space:revert}meter{-webkit-appearance:revert;appearance:revert}:where(pre){all:revert;box-sizing:border-box}::placeholder{color:unset}:where([hidden]){display:none}:where([contenteditable]:not([contenteditable="false"])){-moz-user-modify:read-write;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}:where([draggable="true"]){-webkit-user-drag:element}:where(dialog:modal){all:revert;box-sizing:border-box}::-webkit-details-marker{display:none}

/*
 * 共通
 */
:root {
  --color-primary-050: #f9f9fa;
  --color-primary-100: #e5f3e7;
  --color-primary-200: #cde5d1;
  --color-primary-300: #a5d0ad;
  --color-primary-400: #76b281;
  --color-primary-500: #579e64;
  --color-primary-600: #40794a;
  --color-primary-700: #35603d;
  --color-primary-800: #2d4e34;
  --color-primary-900: #27402c;
  --color-primary-950: #112215;
  --color-gray-050: #f9f9fa;
  --color-gray-100: #f2f2f5;
  --color-gray-200: #e1e1e4;
  --color-gray-300: #cccccf;
  --color-gray-400: #a6a6ac;
  --color-gray-500: #808088;
  --color-gray-600: #6b6b71;
  --color-gray-700: #55555b;
  --color-gray-800: #404046;
  --color-gray-900: #202024;
  --color-gray-950: #101012;
  --color-black: #000;
  --color-white: #fff;
  --color-brand: var(--color-primary-500);
  --color-text: var(--color-gray-900);
  --color-link: #3385bf;
  --color-background: var(--color-gray-050);
  --size-radius: 0.25rem;
  --size-content-max-width: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
  background-color: var(--color-background);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.section {
  margin: 8.75rem auto 0;
  max-width: var(--size-content-max-width);
}

@media screen and (max-width: 992px) {
  .section {
    margin: 8.75rem auto 0;
    padding: 0 1rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    margin: 5rem auto 0;
  }
}

.section-heading {
  font-size: 2rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .section-heading {
    font-size: 1.5rem;
  }
}

.article {
  .section-heading {
    time {
      color: var(--color-gray-600);
      font-size: 1rem;
      font-weight: normal;
      display: block;
      margin-bottom: 1rem;
    }
  }
}

.section-content {
  margin-top: 2.5rem;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .section-content {
    margin-top: 2rem;
  }
}

.section-table {
  width: 100%;

  caption {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }

  tr:first-child {
    border-top: 1px solid var(--color-gray-200);
  }

  tr {
    border-bottom: 1px solid var(--color-gray-200);
  }

  th, td {
    padding: 1rem;
  }

  th {
    font-weight: bold;
    line-height: 1.5;
    width: 25%;
  }

  dt {
    font-weight: bold;
  }
}

@media screen and (max-width: 768px) {
  .section-table {
    caption {
      font-size: 1.25rem;
    }

    th, td {
      display: block;
    }

    th {
      padding: 1rem 1rem 0;
      width: 100%;
    }

    td {
      padding: 0.5rem 1rem 1rem;
    }
  }
}

.section-list {
  list-style-type: disc;
  padding-left: 1rem;
}

a {
  text-decoration: underline;
  color: var(--color-link);

  &:hover {
    text-decoration: none;
  }
}

.primary-button {
  display: inline-block;
  background: var(--color-brand);
  border: 1px solid var(--color-primary-600);
  border-radius: var(--size-radius);
  color: var(--color-white);
  font-weight: bold;
  padding: 1rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.5;
  text-align: center;

  &:hover {
    background: var(--color-primary-600);
  }
}

@media screen and (max-width: 768px) {
  .primary-button {
    display: block;
  }
}

.secondary-button {
  display: inline-block;
  border: 1px solid var(--color-primary-600);
  border-radius: var(--size-radius);
  color: var(--color-primary-600);
  padding: 1rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;

  &:hover {
    background: var(--color-primary-100);
  }
}

@media screen and (max-width: 768px) {
  .secondary-button {
    display: block;
  }
}

.mt-md {
  margin-top: 2.5rem;
}

@media screen and (max-width: 768px) {
  .mt-md {
    margin-top: 2rem;
  }
}

.mt-sm {
  margin-top: 1.5rem;
}

@media screen and (max-width: 768px) {
  .mt-sm {
    margin-top: 1rem;
  }
}

/*
 * パンくずリスト
 */
.breadcrumb {
  max-width: var(--size-content-max-width);
  margin: 2rem auto 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;

  .breadcrumb__item {
    display: flex;
    gap: 1rem;
    align-items: center;

    &:has(a)::after {
      content: "\f105";
      font-family: FontAwesome;
      color: var(--color-gray-400);
    }
  }
}

@media screen and (max-width: 992px) {
  .breadcrumb {
    margin: 2rem 1rem 0;
  }
}

@media screen and (max-width: 768px) {
  .breadcrumb {
    margin: 1.5rem 1rem 0;
  }
}

/*
 * アコーディオン
 */
.accordion__item {
  margin-top: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--size-radius);

  &:first-child {
    margin-top: 0;
  }
}

.accordion__trigger {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: bold;
  padding: 2rem;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  cursor: pointer;

  &:hover {
    background: var(--color-primary-100);
  }

  .fa {
    margin-left: 1rem;
    align-self: center;
    font-size: 1.5rem;
    color: var(--color-brand);
  }
}

@media screen and (max-width: 768px) {
  .accordion__trigger {
    padding: 1.5rem;
  }
}

.accordion__panel {
  margin: 0 2rem 2rem;
}

@media screen and (max-width: 768px) {
  .accordion__panel {
    margin: 0 1.5rem 1.5rem;
  }
}

/*
 * アクセシビリティ
 */
a, button {
  &:focus-visible {
    outline: 2px solid var(--color-link);
    outline-offset: 4px;
  }
}

.a11y {
  position: absolute;
  top: -3rem;
  width: 100%;

  a {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 300;
    text-align: center;
    padding: 10px;
    outline-offset: 0;
  }

  a:focus {
    top: 3rem;
    background: var(--color-white);
  }
}

/*
 * キービジュアル
 */
.key-visual {
  background-image: image-set(
    url('https://www.sakura.ad.jp/certification/images/highlight.avif') type('image/avif'),
    url('https://www.sakura.ad.jp/certification/images/highlight.webp') type('image/webp')
  ),
  linear-gradient(
    120deg,
    var(--color-gray-900) 50%,
    #1e5554 100%
  );
  background-repeat: no-repeat, no-repeat;
  background-size: 780px 770px, 100% 100%;
  background-position: calc(50% + 15rem) calc(50% + 7rem), top left;
}

.key-visual__inner {
  padding-top: 3rem;
  max-width: var(--size-content-max-width);
  margin: 0 auto;
  background-image: image-set(
    url('https://www.sakura.ad.jp/certification/images/logo-3d.avif') type('image/avif'),
    url('https://www.sakura.ad.jp/certification/images/logo-3d.webp') type('image/webp')
  );
  background-repeat: no-repeat;
  background-size: 560px 610px;
  background-position: 100% calc(100% + 7rem);
}

@media screen and (max-width: 768px) {
  .key-visual__inner {
    padding-top: 2rem;
    background-image: linear-gradient(
      120deg,
      rgba(32, 32, 36, 0.84) 50%,
      rgba(30, 85, 84, 0.84) 100%
    ),
    image-set(
      url('https://www.sakura.ad.jp/certification/images/logo-3d.avif') type('image/avif'),
      url('https://www.sakura.ad.jp/certification/images/logo-3d.webp') type('image/webp')
    );
    background-size: 100% 100%, 560px 610px;
    background-position: top left, 50% calc(100% + 7rem);
  }
}

.key-visual__box {
  display: flex;
}

@media screen and (max-width: 992px) {
  .key-visual__box {
    margin: 0 1rem;
  }
}

.key-visual__text {
  color: var(--color-white);
  margin: 6rem 0;
}

@media screen and (max-width: 768px) {
  .key-visual__text {
    margin: 2rem 0;
  }
}


@media screen and (max-width: 576px) {
  .key-visual__text {
    br {
      display: none;
    }
  }
}

.key-visual__catchphrase {
  font-size: 2rem;
  line-height: 1.75;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .key-visual__catchphrase {
    font-size: 1.5rem;
  }
}

.key-visual__description {
  margin-top: 2rem;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .key-visual__description {
    margin-top: 1.5rem;
    line-height: 1.75;
  }
}

.article {
  .key-visual__text {
    margin: 5rem 0;
  }

  .key-visual__inner {
    padding-top: 2rem;
    background-image: linear-gradient(
      90deg,
      rgba(32, 32, 36, 0.84) 50%,
      rgba(35, 74, 73, 0.84) 80%,
      rgba(32, 32, 36, 0) 100%
    ),
    image-set(
      url('https://www.sakura.ad.jp/certification/images/logo-3d.avif') type('image/avif'),
      url('https://www.sakura.ad.jp/certification/images/logo-3d.webp') type('image/webp')
    );
    background-position: top left, 100% calc(100% + 12.5rem);
    background-size: 100% 100%, 560px 610px;
  }

  @media screen and (max-width: 768px) {
    .key-visual__inner {
      padding-top: 2rem;
      background-image: linear-gradient(
        120deg,
        rgba(32, 32, 36, 0.84) 50%,
        rgba(30, 85, 84, 0.84) 100%
      ),
      image-set(
        url('https://www.sakura.ad.jp/certification/images/logo-3d.avif') type('image/avif'),
        url('https://www.sakura.ad.jp/certification/images/logo-3d.webp') type('image/webp')
      );
      background-size: 100% 100%, 560px 610px;
      background-position: top left, 50% calc(100% + 10rem);
    }

    .key-visual__text {
      margin: 2rem 0;
    }
  }
}

/*
 * ヘッダー
 */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--size-content-max-width);
  margin: 0 auto;
}

@media screen and (max-width: 992px) {
  .header {
    margin: 0 1rem;
  }
}

@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

.logo {
  a:hover {
    opacity: 0.6;
  }
}

.logo__lower {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: var(--color-gray-400);

  span {
    margin-right: 0.5rem;
  }
}

@media screen and (max-width: 768px) {
  .global-nav {
    width: 100%;
  }
}

.global-nav__list {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

@media screen and (max-width: 992px) {
  .global-nav__list {
    gap: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .global-nav__list {
    margin-top: 2rem;
    background: var(--color-gray-900);
    padding: 1rem;
    border-radius: var(--size-radius);
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: center;
  }
}

.global-nav__item {
  a {
    text-decoration: none;
    color: var(--color-white);

    &:hover {
      opacity: 0.6;
    }
  }
}

@media screen and (max-width: 768px) {
  .global-nav__item {
    a {
      display: block;
      text-decoration: underline;
      text-decoration-skip-ink: auto;

      &:hover {
        text-decoration: none;
        opacity: 1;
      }
    }
  }
}

.global-nav__item--cta {
  a {
    background: var(--color-brand);
    border: 1px solid var(--color-primary-600);
    border-radius: var(--size-radius);
    padding: 0.5rem 1rem;
    font-weight: bold;
    text-decoration: none;

    &:hover {
      opacity: 1;
      background: var(--color-primary-600);
    }
  }

  span {
    background: var(--color-gray-200);
    border: 1px solid var(--color-gray-400);
    color: var(--color-gray-400);
    border-radius: var(--size-radius);
    padding: 0.5rem 1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: not-allowed;
  }
}

/*
 * お知らせ
 */
.news {
  background: var(--color-gray-100);

  .news__inner {
    max-width: var(--size-content-max-width);
    margin: 0 auto;
    display: flex;
    padding: 3.5rem 0;
  }

  .news__heading {
    font-size: 1.5rem;
    font-weight: bold;
  }

  .news__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-left: 3.5rem;
    flex-grow: 1;

    .news__item {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--color-gray-200);

      .fa {
        font-size: 1.5rem;
        color: var(--color-brand);
      }

      &:last-child {
        padding-bottom: 0;
        border-bottom: none;
      }

      .news__content {
        display: flex;
        gap: 1.5rem;
        align-items: center;
        flex-grow: 1;

        a {
          flex-grow: 1;
        }

        .news__date {
          color: var(--color-gray-600);
        }
      }
    }
  }
}

@media screen and (max-width: 992px) {
  .news {
    .news__inner {
      margin: 0 1rem;
    }
  }
}

@media screen and (max-width: 768px) {
  .news {
    .news__inner {
      padding: 2rem 0;
      flex-direction: column;
    }

    .news__list {
      margin-top: 1.5rem;
      margin-left: 0;

      .news__item {
        .news__content {
          flex-direction: column;
          gap: 0.5rem;
          align-items: self-start;
        }
      }
    }
  }
}

/*
 * スケジュール
 */
.schedule__title {
  background: var(--color-gray-200);
  padding: 1rem;
  border-radius: var(--size-radius);
  display: flex;
  flex-direction: column;
  align-items: center;

  &.active {
    background: var(--color-gray-900);
    color: var(--color-white);
  }
}

@media screen and (max-width: 768px) {
  .schedule__title {
    margin-bottom: 1rem;
  }
}

.schedule__label {
  font-size: 0.75rem;
  background: var(--color-white);
  color: var(--color-brand);
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--size-radius);
}

/*
 * シラバス
 */
.sub-content__wrapper {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
  .sub-content__wrapper {
    display: block;
  }
}

.sub-content {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--size-radius);
  width: 50%;

  .secondary-button {
    align-self: flex-start;
    width: 100%;
    text-align: center;
  }
}

.sub-content__heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media screen and (max-width: 768px) {
  .sub-content {
    width: 100%;
    margin-top: 1rem;
    padding: 1.5rem;

    &:first-child {
      margin-top: 1rem;
    }
  }
}

.sub-content__title {
  font-size: 1.125rem;
  font-weight: bold;
}

.sub-content__version {
  font-size: 0.875rem;
  background: var(--color-gray-100);
  padding: 4px 6px;
  white-space: nowrap;
  border-radius: var(--size-radius);
  align-self: flex-start;
}

/*
 * 受検申込方法
 */
.button-list {
  display: flex;
  gap: 24px;

  .button-list__item {
    line-height: 1.5;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .button-list {
    flex-direction: column;
  }
}

/*
 * よくあるご質問
 */
.faq-content {
  .accordion__title {
    display: flex;
    align-items: center;
  }

  .accordion__title::before {
    content: 'Q';
    color: var(--color-brand);
    font-size: 1.5rem;
    margin-right: 1rem;
  }
}

/*
 * フッター
 */
.footer {
  background: var(--color-gray-900);
  margin-top: 8.75rem;
}

@media screen and (max-width: 768px) {
  .footer {
    margin-top: 5rem;
  }
}

.footer__inner {
  max-width: var(--size-content-max-width);
  margin: 0 auto;
  padding: 3.5rem 0;
}

@media screen and (max-width: 992px) {
  .footer__inner {
    padding: 3.5rem 1rem;
  }
}

@media screen and (max-width: 768px) {
  .footer__inner {
    padding: 2rem 1rem;
  }
}

.sns-link {
  border: 1px solid var(--color-white);
  border-radius: var(--size-radius);
  color: var(--color-white);
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  padding: 0.75rem 1rem;
  margin-top: 2rem;

  img {
    margin-right: 0.5rem;
  }

  &:hover {
    background: var(--color-gray-800);
  }
}

@media screen and (max-width: 768px) {
  .sns-link {
    display: flex;
  }
}

.footer__lower {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 992px) {
  .footer__lower {
    flex-direction: column;
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .footer__lower  {
    margin-top: 2rem;
  }
}

.footer-link {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-link__item {
  font-size: 0.875rem;

  a {
    color: var(--color-white);
    text-decoration: none;

    &:hover {
      opacity: 0.6;
    }
  }
}

@media screen and (max-width: 768px) {
  .footer-link__item {
    a {
      text-decoration: underline;

      &:hover {
        text-decoration: none;
        opacity: 1;
      }
    }
  }
}

.footer-copyright {
  color: var(--color-gray-400);
  font-size: 0.875rem;
}