/* ========================================
   JASMIST - Teaser Page CSS
   ======================================== */

/* --- CSS Variables --- */
:root {
  --color-navy:       #00399a;
  --color-blue-light: #00a3f2;
  --color-gray-bg:    #f4f4f4;
  --color-gray:       #d9d9d9;
  --color-gray-dark:  #949494;
  --color-gray-light: #f4f4f4;
  --color-text:       #333;
  --color-text-light: #666;
  --color-white:      #fff;

  --side-navi-width:  300px;
  --header-typo-height: 190px;
  --header-main-height: 54px;
}

/* --- Reset / Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-white);
}

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

ul {
  list-style: none;
}

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

/* ========================================
   WEB FONT
   ======================================== */
.f01M {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.f01B {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.f02M {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.f03M {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* ========================================
   LAYOUT: Container
   ======================================== */
.container {
  display: flex;
  min-height: 100vh;
}

.sp-only {
    display: none;
  }

/* --- スマホ --- */
@media screen and ( max-width:750px) {

  .container {
    display: block;
  }

  .sp-only {
    display: block;
  }

}

/* ========================================
   SIDE NAVIGATION
   ======================================== */
.side-navi {
  box-sizing: border-box;
  overflow-y: auto;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  width: var(--side-navi-width);
  background: var(--color-white);
  /*
  background: #fff url(../images/bg_gradation.png) no-repeat left;
  background-position: 0 230px;
  background-size: 100%;
  */
  height: 100vh;
  padding: 0 30px 0 30px;
}

/* ロゴエリア */
.logo-area {
  padding: 30px 0px 35px 0px;
}

/* メインナビ */
.navi-main {
  border-top: 1px solid var(--color-gray);

  & li {
    border-bottom: 1px solid var(--color-gray);
  }

  & a {
    display: flex;
    align-items: center;
    column-gap: 10px;
    padding: 10px;
    transition: background 0.2s;

    &::before {
      content: '';
      display: block;
      flex-shrink: 0;
      /*background-color: var(--color-gray);
      border-radius: 50%;*/
      background-image: url(../images/icon-symbol.svg);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      width: 28px;
      height: 28px;
    }

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

  }
}

.navi-main-inner {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  row-gap: 2px;
}

.navi-ja {
  font-size: 15px;
  color: var(--color-text);
}

.navi-en {
  font-size: 10px;
  color: var(--color-text-light);
}

/* --- スマホ --- */
@media screen and ( max-width:750px) {

  .side-navi {
    display: none;
  }

}

/* ========================================
   MAIN AREA
   ======================================== */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* --- スマホ --- */
@media screen and ( max-width:750px) {

  .main {
    width: 100%;
  }

}

/* ========================================
   HEADER
   ======================================== */
.header {
  /*
  position: sticky;
  top: 0;
  z-index: 100;
  */
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 20px;
  background-color: var(--color-white);
  padding: 0 20px 0 0;
}

/* スマホ用ロゴ */
.header-logo {
  display: none;
}

/* タイポグラフィ帯（画像プレースホルダー） */
.header-typography {
  /*max-width: 830px;*/
  width: 100%;
  padding: 5px 0;
}

/* 画像を使う場合 */
.header-typography img {
  width: 100%;
}

/* ボタン類 */
.header-main {
  flex-shrink: 0;
  width: 275px;
  height: 100%;
  padding: 30px 0;
}

.header-buttons {
  /*
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 15px;
  */
  display: none;
  width: 100%;
  margin: 30px auto;
}
.header-buttons li {
  width: 100%;
  margin: 0 auto;
}

.btn {
  width: 130px;

  & a {
    display: block;
    padding: 12px 6px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;

    &:hover {
      opacity: 0.8;
    }

  }

}

.btn-outline a {
  color: var(--color-white);
  background: var(--color-navy);
}

.btn-primary a {
  background: var(--color-blue-light);
  color: var(--color-white);
}

.btn-contact a {
  background: var(--color-gray-dark);
  color: var(--color-white);
}

/* --- スマホ --- */
@media screen and ( max-width:750px) {

  .header {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 15px 0;
    padding: 20px 5%;
  }

  /* スマホ用ロゴ */
  .header-logo {
    display: block;
    width: 90px;
    margin: 0 auto 0 0;
  }

  /* タイポグラフィ帯（画像プレースホルダー） */
  .header-typography {
    width: calc( 100% - 90px - 20px);
    padding: 0;
  }

  /* ボタン類 */
  .header-main {
    width: auto;
    padding: 0;
  }

  .header-buttons {
    gap: 10px;
  }

  .btn {
    width: auto;

    & a {
      padding: 10px;
      font-size: 12px;
    }

  }

}

/* ========================================
   CONTENT AREA
   ======================================== */
.content {
  flex: 1;
  padding: 0 0 70px;
}

/* --- キービジュアル --- */
.keyvisual {
  width: 100%;
  padding: 0 0 40px;
}

/* --- セクション共通 --- */
.section {
  padding: 50px 0 0;
}

/* --- セクション見出し --- */
.section-heading {
  background: url(../images/bg-section-heading.jpg) no-repeat center / cover;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 35px 45px;
}

.section-heading-label {
  flex-shrink: 0;
  font-size: 40px;
  color: var(--color-white);
}

.section-heading-dash {
  background-color: var(--color-white);
  width: 150px;
  height: 1px;
}

.section-heading-sub {
  flex-grow: 1;
  font-size: 24px;
  color: var(--color-white);
}

/* --- セクションボディ --- */
.section-body {
  margin: 50px 0 0;
}

/* --- セクション共通設定 --- */
.section-card-heading {
  width: calc(100% - 100px);
  border-bottom: 2px solid var(--color-blue-light);
  padding: 0 0 10px;
  font-size: 24px;
  color: var(--color-navy);
  margin: 0 auto 50px;
}

/* --- MISSIONセクション --- */
.mission-section {

  padding: 50px 0 50px 0;

  .section-card:last-child {
    margin-top: 70px;
  }

  .section-card-body {
    display: flex;
    column-gap: 50px;
    width: calc(100% - 100px);
    margin: 0 auto;
    padding: 15px 0 0;
  }

  .section-card-image {
    width: 39%;

    &.dummy {
      background-color: var(--color-gray);
      aspect-ratio: 1 / 1;
    }

  }

  .section-card-text {
    display: flex;
    flex-direction: column;
    width: calc( 100% - 39% - 50px );

    & p {
      flex-grow: 1;
      margin: 0 0 1em;
      line-height: 1.8;
    }

    .section-card-author {
      text-align: right;
      line-height: 1.8;

      & strong {
        font-size: 20px;
        font-weight: 700;
      }

    }

  }

}

/* --- ANNIVERSARYセクション --- */
.anniversary-section {

  .section-card:last-child {
    margin-top: 50px;
  }

  .section-card.magazine {
    display: flex;
    column-gap: 50px;
    width: calc(100% - 100px);
    margin: 0 auto;
    padding: 0;

    .section-card-image {
      width: 20%;

      &.dummy {
        background-color: var(--color-gray);
        aspect-ratio: 1 / 1;
      }

      a:hover {
        opacity: 0.7;
        transition: all 1s ease;
      }
    }

    .section-card-text {
      display: flex;
      flex-direction: column;
      width: calc( 100% - 20% - 15px );

      & p {
        flex-grow: 1;
        margin: 0 0 1em;
        line-height: 1.8;
      }

      .section-card-author {
        line-height: 1.8;

        & a {
          color: var(--color-navy);
        }
      }
    }
  }

  .section-card.related {
    .section-card-body {
      display: flex;
      column-gap: 50px;
      width: calc(100% - 100px);
      margin: 0 auto;
      padding: 0 0 50px 0;
    }

    .section-card-image {
      width: 27%;

      &.dummy {
        background-color: var(--color-gray);
        aspect-ratio: 1.75 / 1;
      }

      a:hover {
        opacity: 0.7;
        transition: all 1s ease;
      }
    }

    .section-card-text {
      width: calc( 100% - 27% - 15px );

      & h4 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.8;
      }

      & p {
        margin: 0 0 1em;
        line-height: 1.8;
      }

      & a {
        color: var(--color-navy);
      }
    }
  }

}

/* --- タブレット --- */
@media screen and (min-width:751px) and ( max-width:1280px) {

  /* --- セクション見出し --- */
  .section-heading {
    padding: 35px min(3.515vw, 45px);
  }

  .section-heading-label {
    font-size: min(3.125vw, 40px);
  }

  .section-heading-dash {
    width: min(11vw, 150px);
  }

  .section-heading-sub {
    font-size: min(1.875vw, 24px);
  }

  /* --- セクション共通設定 --- */
  .section-card-heading {
    padding: 0 0 10px;
  }

}

/* --- スマホ --- */
@media screen and ( max-width:750px) {

  /* --- キービジュアル --- */
  .keyvisual {
    padding: 0;
  }

  /* --- セクション見出し --- */
  .section-heading {
    flex-wrap: wrap;
    gap: 5px;
    padding: 20px;
  }

  .section-heading-label {
    width: 100%;
    font-size: 30px;
  }

  .section-heading-dash {
    width: 30px;
  }

  .section-heading-sub {
    width: calc( 100% - 40px );
    font-size: 14px;
  }

  /* --- セクション共通設定 --- */
  .section-card-heading {
    width: 90%;
    margin: 0 auto 10vw;
    padding: 0 0 10px;
    font-size: 20px;
  }

  .section-body {
    margin: 10vw 0 0;
  }

  /* --- MISSIONセクション --- */
  .mission-section {

    .section-card-body {
      flex-direction: column;
      gap: 15px 0;
      width: 90%;
      padding: 15px 0 0;
    }

    .section-card-image {
      width: 100%;
    }

    .section-card-text {
      width: 100%;
    }

  }

  /* --- ANNIVERSARYセクション --- */
  .anniversary-section {

    .section-card.magazine {
      flex-direction: column;
      gap: 15px 0;
      width: 90%;
      padding: 0;

      .section-card-image {
        width: 100%;
      }

      .section-card-text {
        width: 100%;
      }
    }

    .section-card.related {
      .section-card-body {
        flex-direction: column;
        gap: 15px 0;
        width: 90%;
        margin: 0 auto 10vw auto;
        padding: 0 0 0;
      }

      .section-card-image {
        width: 100%;
      }

      .section-card-text {
        width: 100%;
      }
    }

  }

}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: #00a3f2; 
}
.footer .footer-inner {
  width: 90%;
  font-size: 12px;
  color: #fff;
  text-align: right;
  margin: 0 auto;
  padding: 1em;
}


/* --- スマホ --- */
@media screen and ( max-width:750px) {
  .footer .footer-inner {
    text-align: center;
  }
}





/* --- MEMBERセクション --- */
.member-section {

  padding: 0;

  .section-body {
    margin-top: 0;
    padding: 50px;
  }

  table {
    width: 100%;
    margin: 0 auto;

    th {
      font-size: 14px;
      text-align: left;
      padding: 0 0 1.5em 0;
      white-space: nowrap;
      border-bottom: 1px solid #eee;
    }

    td {
      font-size: 16px;
      text-align: left;
      padding: 0.5em 1em;
      white-space: nowrap;
      border-bottom: 1px solid #eee;
    }

    td:nth-child(1) {
      /*border-bottom: 1px solid #00a3f2;*/
    }

  }

}


/* --- スマホ --- */
@media screen and ( max-width:750px) {

  .member-section {

    .section-body {
      padding: 5vw;
    }

    table {
      width: 100%;

      th, td {
        font-size: 12px;
        white-space: nowrap;
      }

      td:nth-child(1) {
        /*white-space: inherit;*/
      }
      td:nth-child(3) {
        white-space: inherit;
      }

    }
  }
}



/************************************
** モバイルメニュー
************************************/
#mobile-menu {
  display: none;
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 10000;
  cursor: pointer;
}
.logged-in #mobile-menu {
  top: calc(10px + 32px);
}
#mobile-menu a {
	display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #00a3f2;
	width: 50px;
	height: 50px;
  border-radius: 50%;
}
#mobile-menu a.open{
	/*background-color: #fff;*/
}
#mobile-menu a span {
  position: relative;
  top: 9px;
  display: block;
  width: 30px;
  height: 30px;
}
#mobile-menu a.open span {
  top: 14px;
}
#mobile-menu a span:before,
#mobile-menu a span:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  background-color: #000;
  width: 30px;
  height: 2px;
  /*opacity: 1;*/
  transition: all 0.3s ease;
}
#mobile-menu a span:before {
  top: 10px;
}
#mobile-menu a span:after {
  bottom: 10px;
}
#mobile-menu a.open span:before {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#mobile-menu a.open span:after {
  top: 0;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* タブレット */
@media screen and (min-width:751px) and (max-width:960px) {
  
}

/* スマホ */
@media screen and (max-width:750px){

  #mobile-menu{
    display: block;
    top: 5vw;
    right: 5vw;
  }

  header nav#mobile-navi {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    float: inherit;
    width: 100%;
    height: 100dvh;
    padding-top: 0;
    margin-left: 0 !important;
  }
  header nav#mobile-navi #mobile-navi-in {
    position: relative;
    width: 90%;
    margin: 20px auto;
  }
  header nav#mobile-navi #mobile-navi-in ul {
    margin-top: 10vw;
  }
  /*
  header div#mobile-navi-gnavi ul {
    display: none;
  }
  #mobile-navi .mobile-navi-menu {
    width: auto;
    margin: 15vw auto 7vw auto;
    list-style-type: none;
  }
  #mobile-navi .mobile-navi-menu > li {
    width: inherit;
    font-size: 26px;
    margin-bottom: 1em;
  }
  #mobile-navi .mobile-navi-menu > li a {
    display: block;
    line-height: 1;
    color: #000 !important;
  }
  */
  
}