@charset "utf-8";

/* ------------------------------------
 * dokodemosofy共通
 * --------------------------------- */

html {
  overflow-x: clip;
}

:lang(ja)[data-webfont-loaded="true"] body {
  font-family: "Noto Sans JP", sans-serif;
}

:lang(ja) body {
  font-family: "Noto Sans JP", sans-serif;
}

body {
  overflow-x: clip;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: normal;
}

:root {
  --dokodemosofy-color-black-01: #222;
  --dokodemosofy-color-white-01: #fff;
  --dokodemosofy-color-blue-01: #002c83;
  --dokodemosofy-color-blue-02: #0070c3;
  --dokodemosofy-color-light-blue-01: #65afe7;
  --dokodemosofy-color-light-blue-02: #40a4e1;
  --dokodemosofy-color-pink-01: #ee8bb4;
  --dokodemosofy-color-purple-01: #7b76c2;
  --root-font-size: 10;
  --rem: 1rem / var(--root-font-size);
  --vw-lg-1920: (100vw / 1920);
  --vw-small: (100vw / 375);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
}

button {
  padding: 0;
  appearance: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
  outline: none;
}

/* ------------------------------------
 * header
 * --------------------------------- */

.dokodemosofy-header {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 60px;
  background-color: #fff;
}

.dokodemosofy-header.dokodemosofy-header-fixed {
  position: fixed;
  top: 0;
  width: 100%;
}

.dokodemosofy-header .header-logo {
  width: 67px;
}

.other-wrap {
  padding: 13px 0 0 14px;
}

.nav-list li {
  text-align: center;
  list-style: none;
}

.nav-item {
  position: relative;
  margin-left: 0;
  font-size: calc(24 * var(--rem));
  line-height: calc(30 / 24);
  color: var(--dokodemosofy-color-blue-02);
}

.nav-item a {
  color: var(--dokodemosofy-color-blue-02);
}

.active .nav-list {
  padding: 39px 22.5px 29px;
  margin-bottom: 0;
}

.active .nav-item {
  padding-bottom: 25px;
  margin-bottom: 40px;
  text-align: center;
  border-bottom: 1px solid #cecece;
}

.active .nav-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: unset;
}

.active .nav-item.nav-info {
  margin-bottom: -10px;
  font-size: calc(20 * var(--rem));
  line-height: calc(26 / 20);
  color: var(--dokodemosofy-color-white-01);
}

.active .nav-item.nav-info a {
  position: relative;
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 20px 15px;
  margin-top: 28.5px;
  color: var(--dokodemosofy-color-white-01);
  text-align: center;
  background-color: var(--dokodemosofy-color-blue-02);
  border-radius: 35px;
}

.active .nav-item.nav-info a::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 16px;
  height: 16px;
  font-size: 0;
  content: "別ウインドウで開きます";
  background-image: url("/content/dam/sites/www_sofy_jp/campaign/dokodemosofy/icon-blank_02.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateY(-50%);
}

.active .nav-item-sub {
  font-size: calc(18 * var(--rem));
  line-height: calc(30 / 18);
}

.nav-wrap {
  visibility: hidden;
  opacity: 0;
}

body:has(.active) {
  overflow: hidden;
}

.active,
.active .other-recommend-sp {
  visibility: visible;
  opacity: unset;
}

.nav-wrap.active,
.active .nav-list {
  display: block;
}

.hamburger-nav-button {
  position: fixed;
  top: 3px;
  right: 4px;
  z-index: 2;
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  cursor: pointer;
}

.nav-wrap.active {
  position: absolute;
  top: 80px;
  right: 15px;
  z-index: 2;
  width: 345px;
  height: fit-content;
  background-color: rgb(255 255 255 / 90%);
  backdrop-filter: blur(5px);
  border: solid 1px;
  border-color: #fff;
  border-radius: 16px;
}

/* .hamburger-nav-button .hamburger-nav {
  position: absolute;
  top: 26%;
  right: -23%;
  width: 20px;
  height: 2px;
  background: var(--dokodemosofy-color-blue-02);
  opacity: 1;
  transition:
    rotate 0.4s,
    opacity 0.4s,
    margin-top 0.4s;
  translate: -50% -50%;
} */

.hamburger-nav-button .hamburger-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--dokodemosofy-color-blue-02);
  opacity: 1;
  transition:
    rotate 0.4s,
    opacity 0.4s,
    margin-top 0.4s;
  translate: -50% -50%;
}

[aria-expanded="true"].hamburger-nav-button .hamburger-nav:nth-child(1) {
  margin-top: 0;
  rotate: 45deg;
}

[aria-expanded="true"].hamburger-nav-button .hamburger-nav:nth-child(2) {
  visibility: hidden;
  opacity: 0;
}

[aria-expanded="true"].hamburger-nav-button .hamburger-nav:nth-child(3) {
  margin-top: 0;
  rotate: -45deg;
}

.hamburger-nav-button .hamburger-nav:nth-child(1) {
  margin-top: -7px;
}

.hamburger-nav-button .hamburger-nav:nth-child(3) {
  margin-top: 7px;
}

.black-bg {
  position: fixed;
  top: 60px;
  left: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  cursor: pointer;
  visibility: hidden;
  background-color: #b7b7b7;
  opacity: 0;
  transition: all 0.6s;
}

.active + .black-bg {
  visibility: visible;
  opacity: 0.8;
}

@media screen and (min-width: 769px) {
  .dokodemosofy-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
  }

  .other-wrap {
    padding: 0;
  }

  .hamburger-nav-button {
    display: none;
  }

  .dokodemosofy-header .header-logo {
    width: 100px;
    margin-left: 40px;
  }

  .nav-wrap {
    margin-inline: auto 7px;
    visibility: unset;
    opacity: unset;
  }

  .nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    height: 53px;
    padding-inline: 32px;

    /* margin-block: 35px; */
    margin-bottom: 0;
  }

  .nav-item {
    padding-inline: 11px;
    margin-left: 0;
    font-size: calc(16 * var(--rem));
    line-height: calc(26 / 16);
    color: var(--dokodemosofy-color-blue-01);
  }

  .nav-item a {
    color: var(--dokodemosofy-color-blue-01);
  }

  .nav-item:not(:last-child) a::before {
    position: absolute;
    top: 5.5px;
    right: -2px;
    width: 1px;
    height: 16px;
    content: "";
    background-color: var(--dokodemosofy-color-blue-01);
  }

  .nav-info a {
    position: relative;
  }

  .nav-info a::after {
    position: absolute;
    top: 50%;
    right: -17.6px;
    width: 12.6px;
    height: 12.6px;
    font-size: 0;
    content: "別ウインドウで開きます";
    background-image: url("/content/dam/sites/www_sofy_jp/campaign/dokodemosofy/icon-blank_01.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-50%);
  }
}

/* ------------------------------------
 * Body
 * --------------------------------- */

.uc-page-body {
  padding-top: 60px;
}

.CMP-CM09-heading:has(.primary) {
  height: 0;
}

.primary > * {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.secondary > * {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: calc(28 * var(--rem));
  font-weight: 500;
  line-height: calc(36 / 28);
  color: var(--dokodemosofy-color-black-01);
  text-align: center;
}

.tertiary > * {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: calc(20 * var(--rem));
  font-weight: 500;
  line-height: calc(26 / 20);
  color: var(--dokodemosofy-color-black-01);
  text-align: center;
}

.quaternary > * {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: calc(20 * var(--rem));
  font-weight: 500;
  line-height: normal;
  color: var(--dokodemosofy-color-black-01);
  text-align: center;
}

.uc-mod-media-01.main-kv {
  margin: auto;
}

.grid-block {
  max-width: 500px;
  margin-inline: auto;
}

.grid-block .uc-lyt-grid-container-advance {
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  max-width: 330px;
  margin-inline: auto;
}

.grid-block .uc-lyt-grid-container-advance .uc-lyt-box-advance {
  max-width: 155px;
}

.grid-block .CMP-CM40-grid-advance .uc-lyt-grid-col-flex {
  flex: unset;
  width: 155px;
}

.grid-block .CMP-CM40-grid-advance .uc-mod-media-01 {
  margin: 0;
}

.grid-block .uc-lyt-grid-container-advance .uc-lyt-grid-col-flex:last-child {
  margin-right: auto;
}

.achievements-section .grid-block {
  margin-block: 26px 23px;
}

.achievements-text > * {
  font-size: calc(14 * var(--rem));
  color: var(--dokodemosofy-color-black-01);
  text-align: center;
}

.info-button {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

.info-button a {
  position: relative;
  display: block;
  width: 100%;
  max-width: 320px;
  padding: 20px 40px;
  font-size: calc(20 * var(--rem));
  font-weight: normal;
  line-height: calc(26 / 20);
  color: var(--dokodemosofy-color-white-01);
  text-align: center;
  background-color: var(--dokodemosofy-color-blue-02);
  border-radius: 45px;
}

.info-button a::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 16px;
  height: 16px;
  font-size: 0;
  content: "別ウインドウで開きます";
  background-image: url("/content/dam/sites/www_sofy_jp/campaign/dokodemosofy/icon-blank_02.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateY(-50%);
}

.blank-text {
  font-size: calc(14 * var(--rem));
  font-weight: 400;
  line-height: calc(32 / 14);
  color: var(--dokodemosofy-color-black-01);
  text-align: center;
}

@media screen and (max-width: 768px) {
  .info-float a {
    display: none;
  }
}

@media screen and (max-width: 374px) {
  .grid-block .uc-lyt-grid-container-advance .uc-lyt-grid-col-flex:last-child {
    margin-right: 0;
  }
}

@media screen and (min-width: 769px) {
  .uc-page-body {
    padding-top: 100px;
  }

  .secondary > * {
    font-size: calc(40 * var(--rem));
    line-height: normal;
  }

  .tertiary > * {
    font-size: calc(30 * var(--rem));
    line-height: normal;
  }

  .quaternary > * {
    font-size: calc(24 * var(--rem));
  }

  .grid-block {
    max-width: 1000px;
  }

  .grid-block .uc-lyt-grid-container-advance {
    flex-wrap: nowrap;
    gap: 50px;
    max-width: 1000px;
  }

  .grid-block .uc-lyt-grid-container-advance .uc-lyt-box-advance {
    max-width: 200px;
  }

  .grid-block .CMP-CM40-grid-advance .uc-lyt-grid-col-flex {
    width: 100%;
  }

  .grid-block .uc-lyt-grid-container-advance .uc-lyt-grid-col-flex:last-child {
    margin-right: 0;
  }

  .achievements-section .grid-block {
    max-width: fit-content;
    margin-block: 34px 28px;
  }

  .achievements-text > * {
    font-size: calc(18 * var(--rem));
  }

  .info-button {
    max-width: 600px;
  }

  .info-button a {
    max-width: 600px;
    padding: 31px 33px 34px;
    font-size: calc(24 * var(--rem));
    border-radius: 50px;
  }

  .info-button a::after {
    right: 42px;
    width: 20px;
    height: 20px;
  }

  .info-float a {
    position: fixed;
    top: 251px;
    right: 0;
    z-index: 1;
    width: 80px;
    height: 360px;
    padding-block: 31px;
    padding-inline-end: 17px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: calc(18 * var(--rem));
    font-weight: 500;
    line-height: calc(20 / 18);
    color: var(--dokodemosofy-color-white-01);
    text-align: center;
    letter-spacing: 0.1em;
    background-color: var(--dokodemosofy-color-blue-02);
    border-radius: 10px 0 0 10px;
    writing-mode: vertical-rl;
  }

  .info-float a::after {
    position: absolute;
    bottom: 50px;
    left: 43%;
    width: 12.6px;
    height: 12.6px;
    font-size: 0;
    content: "別ウインドウで開きます";
    background-image: url("/content/dam/sites/www_sofy_jp/campaign/dokodemosofy/icon-blank_02.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: translateY(-50%);
  }
}

/* ------------------------------------
 * footer
 * --------------------------------- */

.uc-page-footer {
  background-color: #fff;
}

.dokodemosofy-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 52px 22px;
}

.dokodemosofy-footer .banner-01.uc-mod-media-01 .uc-object img {
  max-width: 220px;
}

.dokodemosofy-footer .banner-02.uc-mod-media-01 .uc-object img {
  max-width: 330px;
}

.dokodemosofy-footer .banner-03.uc-mod-media-01 .uc-object img {
  max-width: 270px;
}

.dokodemosofy-footer .banner-04.uc-mod-media-01 .uc-object img {
  max-width: 292px;
}

@media screen and (min-width: 769px) {
  .dokodemosofy-footer {
    flex-direction: row;
    gap: 15px;
    padding-block: 135px;
  }

  .dokodemosofy-footer .banner-01.uc-mod-media-01 .uc-object img {
    max-width: 157px;
  }

  .dokodemosofy-footer .banner-02.uc-mod-media-01 .uc-object img {
    max-width: 477px;
  }

  .dokodemosofy-footer .banner-03.uc-mod-media-01 .uc-object img {
    max-width: 270px;
  }

  .dokodemosofy-footer .banner-04.uc-mod-media-01 .uc-object img {
    max-width: 292px;
  }
}

/* ------------------------------------
 * 汎用class
 * --------------------------------- */

/* 要素非表示 */
.element-none {
  display: none;
}

@media screen and (max-width: 768px) {
  ._mt-20-sp {
    margin-top: 20px;
  }

  ._mt-n20-sp {
    margin-top: -20px;
  }

  ._mb-00-sp {
    margin-bottom: 0;
  }

  ._mb-17-sp {
    margin-bottom: 17px;
  }

  ._mb-35-sp {
    margin-bottom: 35px;
  }

  ._pt-50-sp {
    padding-top: 50px;
  }

  ._pb-70-sp {
    padding-bottom: 70px;
  }
}

@media screen and (min-width: 769px) {
  ._mt-100-pc {
    margin-top: 100px;
  }

  ._mb-00-pc {
    margin-bottom: 0;
  }

  ._mb-35-pc {
    margin-bottom: 35px;
  }

  ._mb-60-pc {
    margin-bottom: 60px;
  }

  ._pt-95-pc {
    padding-top: 95px;
  }

  ._pt-115-pc {
    padding-top: 115px;
  }

  ._pt-120-pc {
    padding-top: 115px;
  }

  ._pc-none {
    display: none;
  }
}

/* ブロックスキップ */

.accessibility-jump-main a {
  position: relative;
  display: block;
  display: -webkit-box;
  display: flexbox;
  display: flex;
  align-items: center;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 0;
  font-size: 0;
  color: #666;
  text-align: center;
  text-decoration: underline;
  background: none;
  transition:
    height 0.35s ease-in-out,
    background 0.35s linear 0.35s,
    font-size 0.35s linear 0.35s;
  transition:
    height 0.35s ease-in-out,
    background 0.35s linear 0.35s,
    font-size 0.35s linear 0.35s,
    z-index linear 0.35s;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.accessibility-jump-main a:focus {
  z-index: 100;
  height: 36px;
  font-size: 16px;
  color: #666;
  background-color: #fedeed;
  outline: none;
  transition: height 0.35s ease-in-out;
}

.accessibility-jump-main a span {
  align-content: baseline;
  margin-bottom: 10px;
  line-height: 1;
}

.accessibility-jump-main.is-hidden a {
  height: 0;
  font-size: 0;
  background: none;
}
