/*
Theme Name: QQ-template
*/

/*全体の設定
---------------------------------------------------------------------------*/
html,
body {
  width: 100%;
  scrollbar-gutter: stable;
  margin: 0 !important;
  padding: 0 !important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family: "Zen Kaku Gothic New", sans-serif, "Helvetica Neue",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans";
  font-weight: 600;
  font-style: normal;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.8em;
  font-size: 16px;
  box-sizing: border-box;
  background: url(images/header-bg.png);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: auto;
}

html {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #1a1a1a;
}

a:hover {
  color: #3193dd;
}

header,
nav,
article,
aside,
section,
footer {
  display: block;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.smp500px {
  display: none;
}

.smp600px {
  display: none;
}
.smp950px {
  display: none;
}
.smp800px {
  display: none;
}

@media screen and (max-width: 800px) {
  .pc800px {
    display: none;
  }

  .smp800px {
    display: block;
  }
}
@media screen and (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .pc600px {
    display: none;
  }

  .smp600px {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  body {
    font-size: 13px;
  }
  .smp500px {
    display: block;
  }
}

/*header
---------------------------------------------------------------------------*/

header {
  height: 90px;
  margin: 0;
  padding: 0;
  z-index: 130;
}
header.wh {
  background-color: #fff;
}
header#contents {
}
.site-header {
  padding: 0;
  position: fixed;
  top: 0;
  transition: 0.5s;
  width: 100%;
  z-index: 999;
}

.site-header .wrap {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-header.hide {
  transform: translateY(-200%);
}

#header-logo {
  margin-left: 1em;
}
#header-logo img {
  height: 55px;
}
@media screen and (max-width: 1280px) {
  header {
    display: block;
  }
  #header-logo {
    margin-left: 1em;
    width: calc(100% - 65px);
  }
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 800px) {
  #header-logo {
    padding: 0;
  }
}

@media (max-width: 700px) {
  body {
    background-size: 90%;
  }
}

@media screen and (max-width: 600px) {
  header {
    height: 70px;
  }

  header#h-top {
    background: none;
  }

  #nav_toggle {
  }
  #header-logo img {
    padding: 0;
    width: calc(100% - 10px);
    height: auto;
    max-height: 55px;
  }
}

@media screen and (max-width: 450px) {
  header {
    height: 60px;
  }
}

/*メインメニュー
---------------------------------------------------------------------------*/
#menu {
  display: flex;
  justify-content: flex-end;
}

#menubar ul {
  padding: 0;
  margin: 0;
  line-height: 0.5em;
  margin-bottom: 3px;
  margin-right: 0;
  padding: 0 10px 0 0;
  list-style: none;
}

#menubar ul li {
  display: inline-block;
  margin: 0 0 0 20px;
  padding: 0;
}
#menubar ul li:first-child {
  margin-left: 0;
}

#menubar ul li a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  padding: 0;
  margin: 0;
  color: #3193dd;
}
#menubar ul li a.under-border::before {
  content: "";
  position: absolute;
  color: #fff78f;
  left: 0;
  bottom: -15px; /* 下線の位置 */
  width: 100%;
  height: 5px; /* 線の太さ */
  background: currentColor; /* 文字色と同じ */
  transform: scaleX(0);
  transform-origin: left center; /* 左から伸びる */
  transition: transform 0.28s ease;
}

#menubar ul li a.under-border:hover::before,
#menubar ul li a.under-border:focus-visible::before {
  /* キーボード操作でも表示 */
  transform: scaleX(1);
}

#menubar ul li a:hover {
}

#menubar ul li a:hover:after {
  transform: scale(1);
}

#menubar ul li.mail-link a {
  background-color: #3193dd;
  padding: 1em 2em;
  color: #fff;
  border-radius: 5px;
}
#menubar ul li.mail-link a:hover {
  background-color: #fff78f;
  color: #3193dd;
  outline: 3px solid #3193dd;
  outline-offset: -3px;
}

/*スマホ用メニューを表示させない*/
#menubar-s {
  display: none;
}

/*３本バーアイコンを表示させない*/
#menubar_hdr {
  display: none;
}

#nav_toggle {
  display: none;
}
@media screen and (max-width: 1280px) {
  #menubar-s {
    display: block;
  }

  #menu {
    display: none;
  }

  #nav_toggle {
    display: block;
    right: 25px;
    height: 32px;
    cursor: pointer;
    margin-right: 10px;
  }

  #nav_toggle div {
    position: relative;
    width: 36px;
  }

  #nav_toggle span {
    width: 100%;
    height: 7px;
    left: 0;
    display: block;
    border-radius: 9999px;
    position: absolute;
    transition: transform 0.6s ease-in-out, top 0.5s ease;
  }

  #nav_toggle span:nth-child(1) {
    top: 0;
    transition: transform 0.6s ease-in-out, top 0.5s ease;
    background: #3193dd;
  }

  #nav_toggle span:nth-child(2) {
    top: 12px;
    transition: transform 0.6s ease-in-out, top 0.5s ease;
    background: #3193dd;
  }

  #nav_toggle span:nth-child(3) {
    top: 24px;
    transition: transform 0.6s ease-in-out, top 0.5s ease;
    background: #3193dd;
  }

  #nav_toggle span:hover span:nth-child(1) {
    top: 4px;
  }

  #nav_toggle span:hover span:nth-child(3) {
    top: 23px;
  }

  .open #nav_toggle span:nth-child(1) {
    top: 12px;
    transform: rotate(45deg);
  }

  .open #nav_toggle span:nth-child(2) {
    top: 12px;
    width: 0;
    left: 50%;
  }

  .open #nav_toggle span:nth-child(3) {
    top: 12px;
    transform: rotate(-45deg);
  }

  /* z-index */
  #nav_toggle {
    z-index: 1000;
  }

  .smenu-logo {
    text-align: center;
    padding: 10px;
  }

  .smenu-logo img {
    height: 150px;
  }

  #gloval-nav {
    color: #fff;
    background-color: #3193dd;
    background-image: url(images/smp-menu-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    text-align: center;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 23px;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
  }

  #gloval-nav:before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-image: url(images/kikagaku-navy-bg.jpg);
    background-size: cover;
    height: 100vh;
  }
  #gloval-nav img {
    width: 250px;
  }
  #gloval-nav a {
    display: block;
    background-color: #fff;
    color: #3193dd;
    border-radius: 50px;
    text-decoration: none;
    padding: 0.5em 0;
    transition: color 0.6s ease;
    font-size: 18px;
  }

  #gloval-nav a:hover {
    background-color: #fff78f;
  }
  #gloval-nav nav {
    display: block;
    width: 600px;
    padding: 0 2em;
  }

  #gloval-nav ul {
    list-style: none;
    width: 100%;
  }

  #gloval-nav li {
    margin-bottom: 0.5em;
  }
  #gloval-nav li:last-child {
  }

  /* open */
  .open {
    overflow: hidden;
  }

  .open #gloval-nav {
    visibility: visible;
    opacity: 1;
  }

  .open #gloval-nav li {
    opacity: 1;
    transform: translateX(0);
    transition: transform 1s ease, opacity 0.9s ease;
  }
}

@media screen and (max-width: 1024px) {
  header#h-top {
    background-color: none;
  }

  #logo {
    position: relative;
    z-index: 40;
    left: 0;
    top: 0;
  }
}

@media screen and (max-width: 600px) {
  #logo {
    position: relative;
    z-index: 40;
    left: 0;
    top: 0;
  }

  .open #nav_toggle span:nth-child(1) {
    top: 12px;
    transform: rotate(45deg);
  }

  .open #nav_toggle span:nth-child(2) {
    top: 12px;
    width: 0;
    left: 50%;
  }

  .open #nav_toggle span:nth-child(3) {
    top: 12px;
    transform: rotate(-45deg);
  }
  #gloval-nav nav {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
}

@media screen and (max-width: 480px) {
}

@media screen and (max-width: 400px) {
  #gloval-nav a {
    font-size: 16px;
  }
}

/*main
---------------------------------------------------------------------------*/
main {
}
main#page {
  margin-top: 130px;
}
.contents {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4em 0;
}

.contents.max {
  width: 100%;
  margin: 0;
  padding: 0;
}

.contents.width800px {
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .contents {
    width: 100%;
  }

  .contents.width1024px {
    padding: 4em 1em;
  }
}

@media screen and (max-width: 800px) {
  .contents.width800px {
    padding: 4em 1em;
  }
}

h2 {
  font-weight: 900;
  font-style: normal;
  text-align: center;
  font-size: 1.8em;
  letter-spacing: 2px;
}

#page h2 {
  margin: 2em 0 2.5em;
}

h1 {
}

h1 span {
  font-weight: 700;
  color: #3193dd;
}

h3 {
  line-height: 2.2em;
  font-weight: 500;
}
h3.shape {
  position: relative;
  font-weight: 700;
  height: 75px;
  display: flex;
  align-items: center;
  padding-left: 30px;
  font-size: 1.3em;
}
h3.shape:before {
  position: absolute;
  content: "";
  display: block;
  width: 88px;
  height: 75px;
  background: #c8dbe8; /* 好きな色 */
  border-radius: 60% 40% 50% 70% / 50% 60% 40% 60%;
  z-index: -1;
  margin-left: -30px;
}

.arrow-link {
  display: flex;
  background-color: #3193dd;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 0 2em;
  color: #fff;
  height: 35px;
}
.arrow-link:hover {
  background-color: #fff78f;
  outline: 3px solid #3193dd;
  outline-offset: -3px;
}
.arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.arrow:before {
  content: "";
  background: #ffffff;
  height: calc(tan(30deg) * 30px / 1);
  width: 15px;
  margin-right: 0.5em;
  padding: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.arrow-link p {
  transition: 0.3s;
}
.arrow-link:hover p {
  color: #3193dd;
}
.arrow-link .arrow:before {
  transition: 0.3s;
}
.arrow-link:hover .arrow:before {
  background: #3193dd;
}

#pankuzu {
  width: 1100px;
  margin: 0 auto;
}

#page .contents {
  padding: 0 2em;
}
@media screen and (max-width: 1100px) {
  #pankuzu {
    padding: 0 2em;
  }
}
@media screen and (max-width: 600px) {
  main {
    background-position: bottom -15px center;
    padding-bottom: 6em;
  }
}

/*TOP-メインビュー
---------------------------------------------------------------------------*/

#mainview {
  min-height: 90svh;
  position: relative;
}
.bg-main {
  position: absolute;
  z-index: -1;
  bottom: -42%;
  right: -15%;
}
.bg-maru1 {
  position: absolute;
  z-index: -1;
  width: 200px;
  height: 200px;
  background-color: #c8dbe8;
  top: 50%;
  left: 20px;
  animation: morph-chill 6s ease-in-out infinite alternate,
    floaty-fast2 15s ease-in-out infinite;
}

@keyframes morph-chill {
  0% {
    border-radius: 55% 45% 60% 40% / 52% 58% 42% 48%;
  }
  25% {
    border-radius: 58% 42% 52% 48% / 50% 50% 46% 54%;
  }
  50% {
    border-radius: 52% 48% 55% 45% / 48% 52% 50% 50%;
  }
  75% {
    border-radius: 57% 43% 48% 52% / 53% 47% 55% 45%;
  }
  100% {
    border-radius: 55% 45% 60% 40% / 52% 58% 42% 48%;
  }
}
@keyframes floaty-fast2 {
  0%,
  100% {
    transform: translateY(50px) rotate(0) scale(1);
  }
  50% {
    transform: translateY(0px) rotate(-3deg) scale(0.91);
  }
}

.bg-maru2 {
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  background-color: #e9f5ff;
  top: 0;
  right: 0;
  bottom: 10%;
  left: 0;
  margin: auto;
  animation: bg-maru2 10s ease-in-out infinite alternate,
    floaty 15s ease-in-out infinite;
}

@keyframes bg-maru2 {
  0% {
    border-radius: 55% 45% 60% 40% / 52% 58% 42% 48%;
  }
  25% {
    border-radius: 60% 40% 35% 65% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 50% 50% 40% 60% / 35% 65% 35% 65%;
  }
  75% {
    border-radius: 47% 53% 60% 40% / 60% 54% 46% 40%;
  }
  100% {
    border-radius: 60% 40% 50% 50% / 40% 60% 60% 40%;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(-5) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(10px) rotate(2deg) scale(1.02);
  }
}

.bg-maru3 {
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  background-color: #c8dbe8;
  top: 30%;
  right: 20px;
  animation: bg-maru3 4s cubic-bezier(0.37, 0.01, 0.63, 1) infinite alternate,
    floaty-fast 6s ease-in-out infinite;
}

@keyframes bg-maru3 {
  0% {
    border-radius: 62% 38% 58% 42% / 58% 42% 62% 38%;
  }
  25% {
    border-radius: 48% 52% 36% 64% / 45% 55% 35% 65%;
  }
  50% {
    border-radius: 70% 30% 55% 45% / 40% 60% 50% 50%;
  }
  75% {
    border-radius: 42% 58% 62% 38% / 65% 35% 60% 40%;
  }
  100% {
    border-radius: 62% 38% 58% 42% / 58% 42% 62% 38%;
  }
}
@keyframes floaty-fast {
  0%,
  100% {
    transform: translateY(0) rotate(0) scale(1);
  }
  50% {
    transform: translateY(-16px) rotate(3deg) scale(1.03);
  }
}

#mainview .contents {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
}

.mainview-wrap.flex {
  width: 100%;
  justify-content: space-between;
}

.mainview-wrap.flex .left {
  width: auto;
}

.mainview-wrap.flex .left p.txt {
  margin: 2em 0 3em;
}

.mainview-wrap.flex .left h1 {
  font-size: 50px;
  color: #1a1a1a;
  text-align: left;
  line-height: 1.8em;
}

.mainview-wrap.flex .left .arrow-link {
  border-radius: 10px;
  padding: 0.5 2em;
  height: 40px;
  width: 300px;
}

.mainview-wrap.flex .right {
  width: 350px;
  border: 10px solid #eaeaea;
  background-color: #fff;
  text-align: center;
  padding: 1em 2em;
  border-radius: 30px;
}

.mainview-wrap.flex .right p {
  text-align: center;
  margin: 0;
}
.mainview-wrap.flex .right a {
  display: block;
}

.mainview-wrap.flex .right img {
  width: 100%;
  margin: 0.5em 0;
}

@media screen and (max-width: 1150px) {
  #mainview .contents {
    width: 800px;
  }
  .bg-main {
    bottom: -45%;
    right: -30%;
  }
}

@media screen and (max-width: 930px) {
  #mainview .contents {
    width: 720px;
  }
  .mainview-wrap.flex .left h1 {
    font-size: 40px;
  }
}
@media screen and (max-width: 800px) {
  #mainview .contents {
    width: 100%;
    padding-left: 5em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .mainview-wrap.flex {
    display: block;
  }

  .mainview-wrap.flex .left {
    width: 100%;
  }

  .mainview-wrap.flex .left h1 {
    font-size: 8vw;
  }
  .mainview-wrap.flex .right {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .mainview-wrap.flex .left .arrow-link {
    padding: 0.5 2em;
    width: 250px;
  }
  .bg-main {
    display: none;
  }
  .bg-maru1 {
    width: 150px;
    height: 150px;
    top: 38%;
    left: 20px;
  }
  .bg-maru2 {
    width: 300px;
    height: 300px;
    top: 0;
    right: 0;
    bottom: 10%;
    left: 30%;
  }
  .bg-maru3 {
    position: absolute;
    z-index: -1;
    width: 120px;
    height: 120px;
    background-color: #c8dbe8;
    top: auto;
    right: 13%;
    bottom: 7%;
  }
}

@media screen and (max-width: 400px) {
  #mainview .contents {
    padding: 0 2em;
  }

  .bg-maru1 {
    width: 100px;
    height: 100px;
    top: 38%;
    left: 10px;
  }
  .bg-maru2 {
    width: 220px;
    height: 220px;
    top: 0;
    right: 0;
    bottom: 20%;
    left: 40%;
  }
  .bg-maru3 {
    position: absolute;
    z-index: -1;
    width: 100px;
    height: 100px;
    background-color: #c8dbe8;
    top: auto;
    right: 13%;
    bottom: 7%;
  }
}

/*TOP-news
---------------------------------------------------------------------------*/
#top-news {
  max-width: 100%;
}

#top-news .contents {
  padding: 3em 2em 4em;
  position: relative;
}
#top-news .contents:before {
  position: absolute;
  content: "";
  width: 1000%;
  height: 100%;
  background-color: #fff78f;
  z-index: -1;
  border-radius: 500px;
  left: -20%;
  margin-top: -2.5em;
}
#top-news h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.5em;
}

#top-news .top-news.flex {
  align-items: center;
  justify-content: space-between;
}

#top-news .news-list-wrap.flex {
  border-bottom: 1px solid #1a1a1a;
  align-items: center;
}

#top-news .news-list-wrap.flex .date {
  width: 100px;
}

#top-news .news-list-wrap.flex .ttl {
  width: calc(100% - 150px);
}

#top-news .news-list-wrap.flex .arrow {
  display: none;
  transition: 0.3s;
  width: 50px;
}
#top-news .news-list-wrap.flex:hover .arrow {
  display: flex;
}
#top-news .news-list-wrap.flex:hover .arrow:before {
  background-color: #3193dd;
}
#top-news .arrow-link:hover {
  background-color: #fff;
}
@media (max-width: 800px) {
  /* 変数でサイズ調整できます */
  #top-news {
    --bg: #fff78f; /* 背景色（画像の黄色に近い） */
    --arc-h: 100px;
    --arc-w: 150%;
    padding: 0rem 1.25rem 2.5rem;
    position: relative;
    background: var(--bg);
    overflow: visible; /* 擬似要素を外へ出す */
    isolation: isolate; /* z-index:-1 を安全にする */
    margin-top: 100px;
  }

  #top-news::before {
    content: "";
    position: absolute;
    z-index: -1; /* コンテンツの背面に回す */
    left: 50%;
    top: calc(-1 * var(--arc-h)); /* セクション上端から上へ半分ずらす */
    transform: translateX(-50%);
    width: var(--arc-w);
    height: calc(var(--arc-h) * 2); /* 楕円＝高さは半径×2 */
    background: var(--bg);
    border-radius: 50%; /* 楕円（幅＞高さでおだやかな丸みに） */
    pointer-events: none;
  }

  #top-news .news-list-wrap.flex .date {
    width: 90px;
  }

  #top-news .news-list-wrap.flex .ttl {
    width: calc(100% - 90px);
  }

  #top-news .news-list-wrap.flex:hover .arrow {
    display: none;
  }
  #top-news .smp800px {
    margin-top: 2em;
  }
  #top-news .arrow-link {
    width: 200px;
    margin: 0 0 0 auto;
  }
}

@media (max-width: 500px) {
  #top-news .news-list-wrap.flex {
    padding: 1em 0;
  }
  #top-news .news-list-wrap.flex .date {
    width: 100%;
    margin: 0 0 0.3em;
  }

  #top-news .news-list-wrap.flex .ttl {
    width: 100%;
    margin: 0;
  }
}

/*TOP-notice
---------------------------------------------------------------------------*/
#notice {
  padding: 6em 3em 0;
}

#notice .contents {
  width: 100%;
  border: 10px solid #eaeaea;
  background-color: #fff;
  text-align: center;
  padding: 1em 2em;
  border-radius: 30px;
}

#notice .contents p {
  text-align: center;
  margin: 0;
}
#notice .contents a {
  display: block;
}

#notice .contents img {
  width: 100%;
  margin: 0.5em 0;
}

@media (max-width: 800px) {
  #notice {
    padding: 5em 3em 0;
  }
}

/*TOP-menu
---------------------------------------------------------------------------*/

#top-menu {
}
#top-menu ul {
  list-style: none;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
}
#top-menu ul li {
  width: calc(33.33% - 10px);
  margin: 10px 0;
}

#top-menu ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 40px 0 40px 0;
  background-color: #3193dd;
  padding: 1em;
  min-height: 160px;
  color: #fff;
	transition:0.3s;
}

#top-menu ul li:nth-child(2n) a {
  background-color: #73c6f9;
}
#top-menu ul li a:hover,
#top-menu ul li:nth-child(3) a:hover,
#top-menu ul li:nth-child(4) a:hover {
  background-color: #fff78f;
  color: #3193dd;
  border-radius: 0;
}

@media (max-width: 1100px) {
  #top-menu {
  }

  #top-menu .contents {
    padding: 3em;
  }
}

@media (max-width: 750px) {
  #top-menu ul li {
    width: calc(50% - 5px);
    margin: 0 0 10px;
  }
  #top-menu ul li a {
    min-height: 130px;
  }
  #top-menu ul li:nth-child(3) a {
    background-color: #73c6f9;
  }
  #top-menu ul li:nth-child(4) a {
    background-color: #3193dd;
  }
}

@media (max-width: 550px) {
  #top-menu .contents {
    padding: 2em;
  }
  #top-menu ul li a {
    min-height: 100px;
  }
}

/*TOP-related links
---------------------------------------------------------------------------*/
#related-links {
}
#related-links ul {
  list-style: none;
  justify-content: space-between;
  padding: 0;
}
#related-links ul li {
  width: calc(33.33% - 10px);
  margin: 5px 0;
  background-color: #fff78f;
  transition: 0.3s;
}
#related-links ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 0.5em;
}
#related-links ul li:hover {
  background-color: #73c6f9;
  border-radius: 10px;
}
#related-links ul li:hover a {
  color: #fff;
}

@media (max-width: 1100px) {
  #related-links {
    margin-bottom: 6em;
  }

  #related-links .contents {
    padding: 0 3em;
  }
}

@media (max-width: 900px) {
  #related-links ul li {
    width: calc(50% - 5px);
  }
}
@media (max-width: 600px) {
  #related-links ul li {
    width: 100%;
    border-radius: 10px;
    background-color: #e9f5ff;
  }
}

@media (max-width: 550px) {
  #related-links .contents {
    padding: 0 2em;
  }
}

/*footer
---------------------------------------------------------------------------*/

footer {
  background-image: url("images/footer-bg.svg");
  background-color: #3193dd;
  background-size: 100%;
  background-position: top center;
  background-repeat: no-repeat;
  padding: 10em 0 2em;
  color: #fff;
}
footer a {
  color: #fff;
}

footer a:hover {
  color: #fff78f;
}

.footer-wrap.flex {
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: center;
}

footer .left {
  width: calc(50% - 1px);
  border-right: 1px solid #fff;
}

footer .left p {
  margin: 0;
}

footer p.address {
  margin: 1em 0 0;
  font-size: 0.9em;
  line-height: 1.5em;
}

footer .right {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: right;
}
footer ul {
  padding-left: 6em;
  width: 100%;
}

footer li {
  list-style: none;
}
footer li:first-child {
  margin-bottom: 0.5em;
}
footer li a {
  display: block;
  padding: 1em;
  border-radius: 100px;
  background-color: #fff;
  color: #3193dd;
  text-align: center;
  transition: 0.3s;
}
footer li a:hover {
  background-color: #fff78f;
  color: #3193dd;
}

footer .copyright {
  font-size: 0.9em;
  margin: 4em auto 4em;
  padding: 0 3em;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: center;
}

footer {
  position: relative;
}
footer .top-link {
  display: flex;
  border-radius: 80% 30% 50% 50%/50%;
  width: 100px;
  height: 100px;
  position: absolute;
  top: -50px;
  right: 50px;
  background-color: #c8dbe8;
  position: absolute;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
footer .top-link p {
  font-size: 1.2em;
  font-weight: 500;
}
footer .top-link p span.top-arrow {
  position: relative;
  display: block;
  width: auto;
  height: 15px;
}

footer .top-link p span.top-arrow::before,
footer .top-link p span.top-arrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: 15px;
  border-radius: 9999px;
  background-color: #fff;
  transform-origin: 50% 1px;
  transition: 0.3s;
}

footer .top-link:hover p span.top-arrow::before,
footer .top-link:hover p span.top-arrow::after {
  background-color: #fff78f;
  top: -3px;
}

footer .top-link p span.top-arrow::before {
  transform: rotate(45deg);
}

footer .top-link p span.top-arrow::after {
  transform: rotate(-45deg);
}

@media screen and (max-width: 1000px) {
  footer .left {
    padding: 0 3em;
  }
  footer .right {
    padding: 0 3em;
  }
  footer ul {
    padding-left: 0;
  }
}

@media screen and (max-width: 800px) {
  footer .left {
    width: 100%;
    padding: 0 3em;
    text-align: center;
    margin-bottom: 2em;
  }
  footer .right {
    width: 100%;
    padding: 0;
    justify-content: center;
  }
  footer ul {
    width: 300px;
    padding: 0 1em;
  }
  footer li:first-child {
    margin-bottom: 1em;
  }
  footer .copyright {
    margin: 3em auto;
  }
}

/*役員名簿
---------------------------------------------------------------------------*/
#officer-list {
  margin-bottom: 7em;
}
#officer-list .contents {
  max-width: 700px;
}
.officer-list-pdf {
}

.officer-list-pdf .flex {
  align-items: center;
}
.officer-list-pdf .pdf-pages a{
	margin-bottom:1em;
	display:block;
}
.officer-list-pdf img{
    width: 100%;
    height: auto;
	border:1px solid #000
}

p.dl-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: none;
  font-weight: 700;
}
p.dl-icon:before {
  content: url(images/icon-dl-wh.png); /* ダウンロードアイコン */
  transform: translateY(2px);
  display: inline-flex;
  align-items: center;
}
/*会則・細則
---------------------------------------------------------------------------*/
#bylaws {
  margin-bottom: 7em;
}
#bylaws .contents {
  margin-bottom: 5em;
}
#bylaws .wrap {
  max-width: 700px;
  margin: 0 auto 5em;
}
#bylaws .wrap .flex {
  align-items: center;
}
#bylaws img{
	border: 1px solid #000;
    display: block;
    width: 100%;
}
#bylaws div.download a p {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: none;
  font-weight: 700;
}
#bylaws div.download a p::before {
  content: url(images/icon-dl-wh.png); /* ダウンロードアイコン */
  transform: translateY(2px);
  display: inline-flex;
  align-items: center;
}

/*ページ - 学術集会
---------------------------------------------------------------------------*/
.next-meeting {
}
.next-meeting .flex {
}
.next-meeting .flex .img {
  width: 30%;
}
.next-meeting .flex .img img {
  width: 100%;
}
.next-meeting .flex .overview {
  width: 70%;
  padding-left: 2em;
}
.next-meeting .flex .overview p.ttl {
  color: #3193dd;
  border-bottom: 2px solid #1a1a1a;
  padding: 0.5em;
  font-size: 1.2em;
  margin: 0;
}

.next-meeting dl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2em;
}

.next-meeting dl dt {
  width: 150px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #3193dd;
  padding: 0.5em 0;
}

.next-meeting dl dd {
  width: calc(100% - 150px);
  margin: 0;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #d3d3d3;
  padding: 1em 0;
  line-height: 1.5em;
}

@media (max-width: 800px) {
  .next-meeting .flex .img {
    width: 100%;
  }
  .next-meeting .flex .overview {
    width: 100%;
    padding-left: 0;
    margin-top: 1em;
  }
}

#academic-meeting a.arrow-link {
  width: 300px;
  padding: 1.5em 2em;
  border-radius: 10px;
  margin: 0 auto;
}

.meeting-schedule {
  margin-top: 5em;
}

.schedule-table {
  width: 100%;
  border-collapse: separate; /* 溝（白い区切り）を作るため */
  border-spacing: 0;
  table-layout: fixed;
}

/* ヘッダー */
.schedule-table thead th {
  background: #3193dd; /* 青ヘッダー */
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 14px 16px;
  border-right: 8px solid #fff; /* 白い縦区切り */
}
.schedule-table thead th:first-child {
  border-top-left-radius: 8px;
}
.schedule-table thead th:last-child {
  border-right: 0;
  border-top-right-radius: 8px;
}

/* 本文セル */
.schedule-table tbody td {
  background: #eef5f9; /* 薄いグレー／水色 */
  padding: 16px 18px;
  vertical-align: middle;
  border-right: 8px solid #fff; /* 列の白い溝 */
  border-top: 8px solid #fff; /* 行の白い溝 */
  line-height: 1.5;
  text-align: center;
  word-break: break-word; /* 長い単語を強制的に改行 */
  overflow-wrap: break-word; /* 古いブラウザ向けにも補完 */
  white-space: normal; /* nowrapにならないように */
}
.schedule-table tbody td:last-child {
  border-right: 0;
}

/* デフォルト（PC用）：横並び */
.schedule-table .chair {
  display: grid;
  grid-template-columns: auto 1fr; /* 氏名 + 所属を横並び */
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.schedule-table .chair .name {
  font-weight: 700;
  white-space: nowrap;
}

.schedule-table .chair .affil {
  border-left: 5px dotted #fff; /* 点線仕切り */
  padding-left: 16px;
  text-align: left;
}

/* 800px以下：縦並び */
@media (max-width: 800px) {
  .schedule-table .chair {
    display: block; /* grid を解除して縦積み */
    text-align: center; /* スマホでは中央揃え */
  }

  .schedule-table .chair .affil {
    border-left: none; /* 点線を消す */
    padding-left: 0;
    padding-top: 8px;
    margin-top: 8px; /* 氏名との間に余白 */
    text-align: center; /* 所属も中央 */
    border-top: 5px dotted #fff; /* 点線仕切り */
  }
  .schedule-table thead th {
    border-right: 5px solid #fff; /* 白い縦区切り */
  }
  .schedule-table tbody td {
    border-right: 5px solid #fff; /* 列の白い溝 */
    border-top: 5px solid #fff; /* 行の白い溝 */
  }
}

/* ちょっとだけレスポンシブ（幅が狭い時は縮小） */
@media (max-width: 640px) {
  .schedule-table thead th,
  .schedule-table tbody td {
    padding: 12px 10px;
    font-size: 0.8em;
  }
}

.past-meeting h3 {
  margin-top: 5em;
}

.past-meeting {
  margin-bottom: 5em;
}

#past-infinite a{
	    text-decoration: underline dotted;
}

/*ページ - 各種手続き
---------------------------------------------------------------------------*/
.procedure {
}
#procedure .procedure .flex {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
}
#procedure .procedure .flex > p {
  margin: 0;
  flex: 1;
  min-width: 0;
  line-height: 1.8;
}
#procedure .format {
  margin-bottom: 5em;
}
#procedure .format h3 {
  margin-top: 3em;
}

#procedure .format > p {
  margin: 0 0 16px;
  line-height: 1.8;
}

/* ULはグリッド化：PC=4列 */
#procedure .format ul.flex {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
#procedure .format ul.flex li a {
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: 0.3s;
}

/* 画像が無くてもサムネをCSSで描く（PDFプレースホルダー） */
#procedure .format ul.flex li img {
  width:100%;
	border:1px solid #000;
} /* 実画像があれば外してOK */

#procedure .format ul.flex li a:hover {
  filter: drop-shadow(3px 3px 3px silver);
}

#procedure .format ul.flex li p {
  margin: 10px 0 0;
  font-weight: 700;
	text-align:center;
}
#procedure .format ul.flex li p span {
  display: block;
  color: #666;
  line-height: 1em;
	border
}

#procedure .format ul.flex li a::before {
    content: url(images/icon-dl.png);
    transform: translateY(2px);
    display: inline-flex;
    align-items: center;
    padding-right: 0.2em;
}

@media (max-width: 800px) {
  /* ボタンをテキストの下へ */
  #procedure .procedure .flex {
    flex-direction: column;
    gap: 14px;
  }
  #procedure .arrow-link {
    margin-left: 0; /* 右寄せ解除 */
    align-self: flex-start; /* 左寄せで下に出す */
  }

  /* 書式は2列に */
  #procedure .format ul.flex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  #procedure .format ul.flex li a p {
    margin: 0.3em 0 1em;
  }
}

@media (max-width: 500px) {
  #procedure .format ul.flex li a p {
    font-size: 12px;
  }
}

/*ページ - 総会
---------------------------------------------------------------------------*/

#general-meeting {
  margin-bottom: 7em;
}

/* リスト全体 */
#general-meeting .general-meeting-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #1a1a1a; /* 一番上の線 */
}

/* 各行 */
#general-meeting .general-meeting-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid #1a1a1a; /* 行の仕切り線 */
  width: 100%;
}

/* タイトル */
#general-meeting .general-meeting-list li > p:not(.update) {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  flex-grow: 2;
  padding: 0 1em;
}

/* PDFリンク */
#general-meeting .general-meeting-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: none;
  font-weight: 700;
}
#general-meeting .general-meeting-list a::before {
  content: url(images/icon-dl.png); /* ダウンロードアイコン */
  transform: translateY(2px);
  display: inline-flex;
  align-items: center;
  padding-left: 1em;
}
#general-meeting .general-meeting-list a:hover {
  text-decoration: underline;
}
#general-meeting .general-meeting-list a:focus-visible {
  outline: 2px solid #2fa8df;
  outline-offset: 2px;
  border-radius: 2px;
}

/* 更新日 */
#general-meeting .general-meeting-list .update {
  padding: 0 1em 0 2em;
  text-align: center;
  margin: 0;
}

/* ---- 800px以下：2行構成（1行目：タイトル / 2行目：リンク左・更新日右） ---- */
@media (max-width: 800px) {
  #general-meeting .general-meeting-list li {
    justify-content: space-between;
  }
  #general-meeting .general-meeting-list li > p:not(.update) {
    width: 100%;
    border-bottom: 2px dotted gray;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
  }
}

/*アーカイブ
---------------------------------------------------------------------------*/
/* === 新着情報アーカイブ === */
#news .contents{
	margin-bottom: 4em;
}

#news .news-list {
}

/* カード枠（画像イメージに近づけた装飾） */
.news-card {
  position: relative;
  border: 4px solid #3193dd;
  border-radius: 16px;
  padding: 28px 26px 30px;
  background: #fff;
	margin-bottom: 2em;
}
.news-card:last-child{
	margin-bottom: 0;
}
/* 左上の日付ピル＋カーブ */
.news-card .date-pill {
  position: absolute;
  top: -14px;
  left: 18px;
  background: #3193dd;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: .02em;
  z-index: 1;
}

/* タイトル */
.news-card .news-title {
  margin: 4px 0 12px;
  font-size: 1.2em;
    line-height: 1.8;
  font-weight: 800;
}
.news-card .news-title a {
  color: #1a1a1a;
  text-decoration: none;
}
.news-card .news-title a:hover { color: #3193dd; }

/* 区切り線 */
.news-card .news-divider {
  height: 0;
  border: none;
  border-top: 3px solid #3193dd;
  margin: 10px 0 14px;
}

/* 抜粋 */
.news-card .news-excerpt p {
  margin: 0 0 1em;
  line-height: 1.9;
}

/* ▼ もっと見る（Metafizzy Infinite Scrollの手動ボタン） */
button.view-more-button{
  /* リセット＆レイアウト */
  appearance: none;
  border: 0;
  background: transparent;
	display: flex;
  align-items: center;
    justify-content: center;
  gap: .55em;
    margin: 3em auto;
    width: 300px;
	font-weight:600;
	
  /* 文字 */
  font-size: 1em;
  line-height: 1;
  color: #1a1a1a;
  letter-spacing: .02em;

  /* 触り心地 */
  cursor: pointer;
  padding: .2em .4em;
  border-radius: 8px;
  transition: color .25s ease, transform .25s ease;
}

/* 左の「∨」アイコン（SVGをマスクにして currentColor で着色） */
button.view-more-button::before{
  content: "";
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: .1em;

  background-color: currentColor;
  /* 下向きV：塗り形状のポリゴンで作ったシンプルなシェブロン */
  -webkit-mask: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path d='M2 6 L4 4 L12 12 L20 4 L22 6 L12 16 Z'/></svg>"
  ) no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<path d='M2 6 L4 4 L12 12 L20 4 L22 6 L12 16 Z'/></svg>"
  ) no-repeat center / contain;

  transform-origin: 50% 60%;
  transition: transform .25s ease;
}

/* hover：色チェンジ＋矢印がちょい沈む */
button.view-more-button:hover{
  color: #3193dd;
}
button.view-more-button:hover::before{
  transform: translateY(2px);
}

/* active：押し込む感 */
button.view-more-button:active{
  transform: translateY(1px);
}

/* キーボードフォーカス */
button.view-more-button:focus-visible{
  outline: 2px dotted #3193dd;
  outline-offset: 4px;
  border-radius: 10px;
}

/* 無効化（Infinite Scroll が終端で消さない場合の保険） */
button.view-more-button[disabled],
button.view-more-button[aria-disabled="true"]{
  opacity: .45;
  cursor: default;
  pointer-events: none;
}


.page-load-status {
    font-size: 1em;
    color: #aaa;
}
/* レスポンシブ微調整 */
@media (max-width: 600px) {
  .news-card { padding: 20px 18px 22px; }
  .news-card .date-pill { left: 14px; }
}



/*Singleページ
---------------------------------------------------------------------------*/
/* ====== Single Post ====== */
.news-single {
  position: relative;
  border: 4px solid #3193dd;
  border-radius: 16px;
  padding: 28px 26px 30px;
  background: #fff;
}

/* アーカイブと同じ日付ピル */
.news-single .date-pill {
  position: absolute;
  top: -14px;
  left: 18px;
  background: #3193dd;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: .02em;
  z-index: 1;
}

.news-single .single-title {
  margin: 10px 0 6px;
  font-size: 1.2em;
    line-height: 1.8;
  font-weight: 800;
}

.news-single .meta {
  color: #666;
  font-size: .95em;
  margin-bottom: 10px;
}
.news-single .meta .cats a { color: #3193dd; }
.news-single .meta .cats a:hover { text-decoration: underline; }

.news-single .news-divider {
  height: 0;
  border: none;
  border-top: 3px solid #3193dd;
  margin: 14px 0 18px;
}

.news-single .single-thumb {
  margin: 0 0 16px;
}
.news-single .single-thumb img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.news-single .single-body {
  line-height: 1.9;
}
.news-single .single-body img,
.news-single .single-body iframe {
  max-width: 100%;
  height: auto;
}
.news-single .single-body figure {
  margin: 1.2em 0;
}

.news-single .tags {
  margin-top: 18px;
  color: #666;
}
.news-single .tags a { color: #3193dd; }
.news-single .tags a:hover { text-decoration: underline; }

/* 前後ページャ */
.post-pager {
display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 2em auto 3em;
    padding-top: 16px;
    max-width: 500px;
}

.post-pager a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 700;
  text-decoration: none;
  color: #1a1a1a;
}
.post-pager a:hover { color: #3193dd; }



/* レスポンシブ微調整 */
@media (max-width: 600px) {
  .news-single { padding: 20px 18px 22px; }
  .news-single .date-pill { left: 14px; }
}



/*入会申込みフォーム
---------------------------------------------------------------------------*/
section#menber-form {
    margin-bottom: 4em;
}
/* ===== 入会フォーム（Contact Form 7） ===== */
.cf-join { --brand:#3193dd; --line:#d9e7f3; --text:#1a1a1a; }
.cf-join fieldset.group{
  border:3px solid var(--brand); border-radius:14px;
  padding:18px 16px 20px; margin:26px 0; background:#fff;
}
.cf-join legend{ font-weight:800; color:var(--brand); padding:0 .5em; font-size:clamp(16px,2.2vw,18px); }
.cf-join .f-row{
  display:grid; grid-template-columns:200px 1fr; gap:14px;
  align-items:start; padding:12px 0; border-bottom:2px solid var(--line);
}
.cf-join .f-row:last-child{ border-bottom:0; }
.cf-join .f-row.two .fields{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.cf-join label{ font-weight:700; line-height:1.6; }
.cf-join .req{ color:#fff; background:var(--brand); font-size:.78em; padding:.1em .5em; border-radius:4px; margin-left:.4em; }

.cf-join input[type="text"], .cf-join input[type="email"], .cf-join input[type="tel"],
.cf-join textarea, .cf-join select{
  width:100%; font:inherit; color:var(--text);
  border:2px solid #cfd9e2; border-radius:10px; padding:.7em .9em;
  transition:border-color .2s, box-shadow .2s; background:#fff; box-sizing:border-box;
}
.cf-join textarea{ min-height:120px; }
.cf-join input:focus, .cf-join textarea:focus, .cf-join select:focus{
  outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(49,147,221,.2);
}

.cf-join .fields .wpcf7-list-item{ margin:0 1em .4em 0; }
.cf-join .fields .wpcf7-list-item label{ display:inline-flex; gap:.4em; align-items:center; cursor:pointer; font-weight:600; }

.cf-join .wpcf7-not-valid-tip{ color:#c0392b; font-weight:700; margin-top:.3em; }
.cf-join .wpcf7-response-output{
  border:2px solid var(--brand); border-radius:10px; padding:.8em 1em; background:#eef7ff; margin:1em 0 0;
}
/* ===== 生年月日（日付ピッカー）だけに適用 ===== */
.cf-join input[name="birthday"]{
  /* 既存と同調させつつ、右端にアイコン分の余白を確保 */
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  color: #1a1a1a;
  border: 2px solid #cfd9e2;
  border-radius: 10px;
    padding: .4em .9em;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  min-height: 46px; /* 高さを他入力とそろえる */
}

/* フォーカス時の見え方（ブランド色） */
.cf-join input[name="birthday"]:focus{
  outline: none;
  border-color: #3193dd;
  box-shadow: 0 0 0 3px rgba(49,147,221,.20);
}

/* 無効時（念のため） */
.cf-join input[name="birthday"]:disabled{
  background: #f5f7fa;
  color: #888;
}

/* --- WebKit（Chrome/Edge/Safari）のカレンダーアイコンをブランド色に --- */
.cf-join input[name="birthday"]::-webkit-calendar-picker-indicator{
  cursor: pointer;
  opacity: .9;
  /* 既定アイコンを差し替え（SVGを背景に） */
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233193dd'>\
<path d='M7 2a1 1 0 0 0 0 2h1v1a1 1 0 1 0 2 0V4h4v1a1 1 0 1 0 2 0V4h1a1 1 0 1 0 0-2H7zm-3 6v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8H4zm2 2h12v10H6V10zm2 2v2h2v-2H8zm4 0v2h2v-2h-2zm4 0v2h2v-2h-2zM8 16v2h2v-2H8zm4 0v2h2v-2h-2zm4 0v2h2v-2h-2z'/>\
</svg>") center / 18px 18px no-repeat;
  color: transparent; /* 既定色を消す */
}

/* ホバー時：アイコンをちょい強調・沈みアニメ */
.cf-join input[name="birthday"]:hover::-webkit-calendar-picker-indicator{
  opacity: 1;
  transform: translateY(1px);
}

/* WebKitの内部テキスト領域の微調整（表示が詰まる場合の保険） */
.cf-join input[name="birthday"]::-webkit-datetime-edit{
  padding: .2em .1em;
}

/* --- Firefoxなど（indicatorのスタイル不可なブラウザ）向けの見た目整え ---
   右端に擬似アイコン風の余白を確保するだけ（クリックはネイティブボタンに任せる） */
@supports not selector(input::-webkit-calendar-picker-indicator){
  .cf-join input[name="birthday"]{
    background-image: linear-gradient(to right, transparent calc(100% - 2.2em), #fff 0);
  }
}

/* バリデーションエラー時（CF7のクラスが付く想定） */
.cf-join .wpcf7-not-valid input[name="birthday"]{
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,.15);
}

/* 送信ボタン */
.cf-join .actions{ text-align:center; margin-top:16px; }
.cf-join .btn-primary.wpcf7-submit{
  appearance:none; border:0; background:var(--brand); color:#fff; font-weight:800;
  padding:.9em 2.4em; border-radius:10px; cursor:pointer; transition:filter .2s, transform .1s;
}
.cf-join .btn-primary.wpcf7-submit:hover{ filter:brightness(1.05); }
.cf-join .btn-primary.wpcf7-submit:active{ transform:translateY(1px); }

/* スマホ */
@media (max-width:1100px){
  .cf-join .f-row{ grid-template-columns:1fr; }
  .cf-join .f-row.two .fields{ grid-template-columns:1fr 1fr; }
  .cf-join fieldset.group{ 
        padding: 1em 1.3em; }
  .cf-join .f-row.two .fields{ grid-template-columns:1fr; }
}

