@charset "UTF-8";

/* ============================================================
   Fonts
   ============================================================ */
@import url('https://cdn.jsdelivr.net/npm/yakuhanjp@3.3.1/dist/css/yakuhanjp.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700;900&display=swap');


/* ============================================================
   Base / Reset
   ============================================================ */

html,
body {
  width: 100% !important;
  height: 100% !important;
}

html {
  font-size: 93.75%; /* 15px */
  -webkit-text-size-adjust: 100%;
}

body {
  background-image: linear-gradient(to bottom, #163f56 0%, #163f56 30%, #1e5fa8 60%, #1e5fa8 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
  font-family: YakuHanJP, 'Noto Serif JP', serif;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.1rem;
  color: #111;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

p {
  margin-bottom: 1rem;
}

h1 > br {
  display: none;
}


/* ============================================================
   Layout
   ============================================================ */

.container-fluid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (max-width: 767px) {
  .container-fluid {
    padding: 0 10px;
  }
}

#wrapper {
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

/* PC/SP 切り替え */
.pc { display: block; }
.sp { display: none; }

@media (max-width: 991px) {
  .pc { display: none; }
  .sp { display: block; }
}


/* ============================================================
   Header
   ============================================================ */

header {
  border-bottom: #ccc solid 1px;
  margin: 0 0 15px;
  padding: 15px 0 7px;
}

.title_area {
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #163f56 !important;
  }
}

/* 学会名エリア */
.cName .cName-theme {
  font-family: serif;
  font-size: clamp(0.938rem, 0.912rem + 0.13vw, 1.063rem);
  line-height: 1;
  margin: 0;
  padding: 0 0 7px;
  color: #fff;
}

.cName h1 {
  display: flex;
  align-self: center;
  font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
  line-height: 1;
  font-weight: bold;
  white-space: nowrap;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  color: #fff;
}

.cName .cName-en {
  font-family: serif;
  font-size: clamp(0.688rem, 0.662rem + 0.13vw, 0.813rem);
  line-height: 1;
  white-space: nowrap;
  margin: 5px 0 0 2px;
  color: #fff;
}

@media (max-width: 540px) {
  .cName h1 > br {
    display: block;
  }
}

@media (max-width: 568px) {
  h4 { display: none; }
  .cName .cName-en { display: none; }

  h1 {
    font-size: 19px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01rem !important;
  }

  h1 > br { display: block; }

  header {
    min-height: 80px !important;
  }
}

@media (max-width: 490px) {
  h1 {
    margin-top: 5px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01rem !important;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 1.1rem;
    letter-spacing: -0.05em;
  }
}

@media (max-width: 400px) {
  h1 {
    margin-top: 8px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    letter-spacing: -0.025rem !important;
  }
}

/* 会期・会場エリア（PC右上） */
.outline {
  margin-left: auto;
}

.outline dl {
  display: flex;
  align-items: baseline;
  margin: 0;
  padding: 0 5px 3px 0;
}

.outline dl dt,
.outline dl dd {
  margin: 0;
  padding: 0;
}

.outline dl dt {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0 7px;
  color: #fff;
}

.outline dl dt > span {
  background: #f29419;
  padding: 1px 7px 3px;
}

.outline dl dd {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0 6px;
  color: #fff;
}


/* ============================================================
   Hamburger Menu (SP)
   ============================================================ */

.menu-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  display: flex;
  height: 55px;
  width: 55px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background: #9d91b1;
  border-radius: 2px;
  margin: 0 !important;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: '';
  display: block;
  height: 1px;
  width: 38px;
  border-radius: 3px;
  background-color: #fff;
  position: absolute;
}

.menu-btn span::before { bottom: 8px; }
.menu-btn span::after  { top: 8px; }

#menu-btn-check { display: none; }

#menu-btn-check:checked ~ .menu-btn span {
  background-color: transparent;
}

#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  background: #9d91b1;
  transition: left 0.5s;
}

#menu-btn-check:checked ~ .menu-content {
  left: 0;
}

.menu-content ul {
  margin: 100px 15px 0;
  padding: 10px 0 50px;
  height: calc(100vh - 70px);
  overflow-y: auto;
  scrollbar-width: none;
}

.menu-content ul::-webkit-scrollbar { display: none; }

.menu-content ul li {
  border-bottom: solid 1px #ccc;
  list-style: none;
}

.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  padding: 15px 0 15px 5px;
  position: relative;
  font-family: 'Noto Sans JP', sans-serif;
}

.menu-content ul li a::before {
  content: '';
  width: 7px;
  height: 7px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  right: 11px;
  top: 21px;
}

.menu-content ul li a:hover {
  color: #ab354a;
  background-color: #fefaf9;
}

.menu-content ul li:last-child {
  margin-bottom: 150px !important;
}

.menu-content ul li.preparation {
  pointer-events: none;
}

.menu-content ul li.preparation > a {
  opacity: 0.3;
}

@media (max-width: 767px) {
  .menu-btn span,
  .menu-btn span::before,
  .menu-btn span::after {
    height: 1px;
    width: 30px;
    border-radius: 1px;
  }

  .menu-btn span::before { bottom: 7px; }
  .menu-btn span::after  { top: 7px; }
}

@media (max-width: 568px) {
  .menu-btn {
    top: 20px;
    height: 44px;
    width: 44px;
  }
}

/* body スクロールロック（ハンバーガーオープン時） */
body.fixed02 {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}


/* ============================================================
   Typography / Common
   ============================================================ */

h2 {
  font-size: 1.215rem !important;
  font-weight: 700;
  padding: 0.5em;
  color: #fff;
  background: linear-gradient(90deg, #9d91b1, #8a7ea6);
}

.h5 {
  font-weight: 600;
  font-size: 1.215rem !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  .h5 {
    font-size: 1.1rem !important;
  }
}

.fs15 {
  font-size: 1.25rem !important;
  padding: 0 0.1rem;
}

.small02 {
  font-size: 0.9em !important;
}

.dinb {
  display: inline-block !important;
}

.break-anywhere {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wrap-anywhere {
  overflow-wrap: anywhere;
  word-break: break-word;
  letter-spacing: -0.01em;
}

.mail-item {
  display: flex;
  align-items: flex-start;
}

.mail-item i {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.mail-item span {
  overflow-wrap: anywhere;
  word-break: break-word;
}


/* ============================================================
   Content Area
   ============================================================ */

#society-main .content-area-top {
  padding: 25px 0 45px !important;
}

#society-main .content-area {
  padding: 25px !important;
  background: #f4f5f7;
}

@media (max-width: 767px) {
  #society-main .content-area {
    padding: 25px 15px !important;
  }
}

/* Info / News block */
.info {
  padding: 1em 1.5em;
  border: 1px solid #ccc;
  text-align: left;
  color: #111;
  overflow: auto;
  width: 100%;
  background-color: #f4f5f7;
}

.info dl {
  display: flex;
  padding: 0;
  margin: 1em 0;
  border-bottom: 1px solid #ccc;
}

.info dt,
.info dd {
  padding-left: 0.25rem;
}

.info dt {
  padding-bottom: 0.5em;
  padding-right: 0.5em;
}

@media (max-width: 540px) {
  .info {
    padding: 0.5em 1em;
    font-size: 0.9em;
  }
  .info dl {
    display: block;
  }
}


/* ============================================================
   Sidebar (#society-aside)
   ============================================================ */

#society-aside {
  padding: 0 0 25px;
  margin: 0;
  width: 100%;
  z-index: 1001;
  transition: all 0.5s ease;
}

#society-aside #society-main-menu ul,
#society-aside #society-main-menu ul li {
  margin: 0;
  padding: 0;
}

#society-aside #society-main-menu ul li {
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  border-bottom: solid 1px #ffffffbb;
  display: inline-block;
  width: 93%;
}

#society-aside #society-main-menu ul li a {
  text-decoration: none !important;
  position: relative;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  padding: 10px 7px;
}

#society-aside #society-main-menu ul li a span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  padding: 0;
  margin: 1px 0 0;
  display: inline-block;
}

#society-aside #society-main-menu ul li a div {
  color: #fff;
  margin-left: 0.5em;
  display: inline-block;
  line-height: 1.45 !important;
}

#society-aside #society-main-menu ul li a div.wait {
  opacity: 0.3;
}

#society-aside #society-main-menu ul li.preparation {
  pointer-events: none !important;
}

#society-aside #society-main-menu ul li.preparation > a > span {
  opacity: 0.3;
}

#society-aside #society-main-menu ul li:hover {
  background-color: #9d91b1 !important;
}

#society-aside #society-main-menu ul li.society-active {
  background-color: #9d91b1;
}

#society-aside #society-main-menu ul li:hover a div,
#society-aside #society-main-menu ul li a:hover div {
  color: #fff;
  text-decoration: none !important;
}

#society-aside #society-main-menu ul li:hover a span,
#society-aside #society-main-menu ul li.society-active a span {
  color: #fff !important;
  background: none !important;
}

#society-aside #society-main-menu ul li.society-active a div {
  color: #fff !important;
  pointer-events: none !important;
  cursor: default !important;
}

#society-main {
  transition: all 0.5s ease;
}

#society-aside::-webkit-scrollbar { display: none; }

/* サイドメニュー アイコン */
#society-aside #society-main-menu ul li a i {
  font-size: 11px;
  vertical-align: middle;
  width: 1.1em;
  text-align: center;
  color: #fff !important;
}

/* サイドポスター */
#society-aside .posd {
  margin: 22px 0 0;
  padding: 0 !important;
}

#society-aside .posd img {
  width: 93%;
}

#society-aside .posd img:hover {
  opacity: 0.7;
}

/* サイド hands-on（将来用） */
#society-aside .hands-on {
  margin: 22px 0 0;
  width: 93%;
  text-align: center;
}

/* ============================================================
   Secretariat (side + footer共通)
   ============================================================ */

#society-aside ul.secretariat {
  width: 93%;
  margin: 22px 0 0;
  padding: 0;
  color: #fff;
  list-style: none;
  font-size: 0.95rem;
}

#society-aside ul.secretariat li {
  margin: 0;
  padding: 0;
}

#society-aside ul.secretariat li {
  line-height: 1.25;
  padding: 0 3px;
  letter-spacing: 0.1em;
}

#society-aside ul.secretariat li:nth-child(1) {
  color: #111;
  font-weight: 700;
  background-color: #f4f5f7;
  border: solid 1px #000;
  padding: 7px 0 5px;
  margin-bottom: 10px;
  text-align: center;
}

#society-aside ul.secretariat li.toptitle {
  color: #fff;
  padding: 1px 3px;
  font-weight: bold;
  margin-bottom: 3px;
}


/* ============================================================
   Footer
   ============================================================ */

#footer-area {
  display: flex;
  margin: 15vh 0 0;
  padding: 35px 0 85px;
  gap: 25px;
}

@media (max-width: 767px) {
  #footer-area {
    display: block !important;
  }
}

#footer-area address.secretariat,
#footer-area address.secretariat p {
  margin: 0;
  padding: 0;
}

#footer-area address.secretariat {
  width: 100%;
  margin: 0 0 35px;
  padding: 0;
  color: #fff;
  list-style: none;
}

#footer-area address.secretariat p {
  padding: 0 10px;
  margin: 0;
  line-height: 1.7;
}

#footer-area address.secretariat p:nth-child(1) {
  color: #111;
  font-size: 1.05rem;
  background-color: #f4f5f7;
  border: solid 1px #000;
  padding: 7px 0 5px;
  margin: 0 0 10px;
  font-weight: 700;
  text-align: center;
}

#footer-area address.secretariat p:nth-child(2) {
  color: #fff;
  padding: 0 10px !important;
  font-weight: 700;
  margin: 0 0 3px;
}

footer {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  margin: 0;
  padding: 12px 0;
  color: #fff;
}


/* ============================================================
   Page Top Button
   ============================================================ */

div#pagetop-scroll {
  display: none;
  position: fixed;
  right: 35px;
  bottom: 25px;
  color: #fff;
  width: 2.7em;
  height: 2.7em;
  border-radius: 50%;
  background: #6c757d;
  text-align: center;
  line-height: 2.7em;
}

div#pagetop-scroll:hover {
  cursor: pointer;
  opacity: 0.9;
}

.fa-3x {
  font-size: 1.25em;
  line-height: 2;
}
