/*
Theme Name: GSSC
Version: 1.0.0
*/

@charset "utf-8";

/* ----------------------------------------------------------------
Reset
----------------------------------------------------------------- */

body,div,dl,dt,dd,ul,li,h1,h2,h3,h4,h5,h6,p,a { margin: 0; padding: 0; }
img { border: 0; }
li,dt,dd { list-style: none; }

/* ----------------------------------------------------------------
Common
----------------------------------------------------------------- */

html {
font-size: 62.5%;
}

body {
text-align: center;
color: #111;
background: #fff;
font-size: 1.6rem;
line-height: 3rem;
font-family: Lato, sans-serif;
margin: 0 auto;
word-wrap: break-word;
}

rt {
	display: none;
}

.ruby_flag rt {
	display: block;
}

a:link, a:visited {
color: #444;
text-decoration: none;
}

a:active, a:hover {
color: #999;
text-decoration: none;
}

img {
vertical-align: top;
}

.pdf {
background: url('https://nu-cd.jp/gssc-nihongo-club/wp-content/uploads/2023/03/icon_pdf.png') 15px 50% no-repeat;
background-size: 22px 25px;
padding-left: 50px;
}

.pdf a:link, .pdf a:visited {
color: #222;
text-decoration: underline;
}

.pdf a:active, .pdf a:hover {
color: #777;
text-decoration: none;
}

/* ----------------------------------------------------------------
Header
----------------------------------------------------------------- */

#hero {
z-index: 1;
position: relative;
width: 100%;
height: 340px;
background: #ddd;
margin: 0;
padding: 0;
}

#hero.top {
background: url('https://nu-cd.jp/gssc-nihongo-club/wp-content/uploads/2023/03/bg_top.jpg') 50% 50%;
background-size: cover;
}

#hero.members {
background: url('https://nu-cd.jp/gssc-nihongo-club/wp-content/uploads/2023/03/bg_members.jpg') 50% 50%;
background-size: cover;
}

#hero.sites {
background: url('https://nu-cd.jp/gssc-nihongo-club/wp-content/uploads/2023/03/bg_sites.jpg') 50% 50%;
background-size: cover;
}

#hero.events {
background: url('https://nu-cd.jp/gssc-nihongo-club/wp-content/uploads/2023/03/bg_events.jpg') 50% 50%;
background-size: cover;
}

#hero.contact {
background: url('https://nu-cd.jp/gssc-nihongo-club/wp-content/uploads/2023/03/bg_contact.jpg') 50% 100%;
background-size: cover;
}

#hero h1 {
color: #fff;
font-size: 4rem;
line-height: 6rem;
font-weight: bold;
padding-top: 140px;
}

#header {
z-index: 2;
position: fixed;
top: 0;
left: 0;
width: 100%;
display: -webkit-flex;
display: flex;
-webkit-justify-content: space-between;
justify-content: space-between;
margin: 0 auto;
padding: 15px 0 15px 60px;
box-sizing: border-box;
}

#header.scroll {
background: #000;
}

#header a:link, #header a:visited {
color: #fff;
}

#header h2 a:active, #header h2 a:hover {
color: #fff;
}

#header h2 {
font-size: 2rem;
font-weight: normal;
}

#header ul#navi_pc {
display: none;
}

#credit {
position: absolute;
bottom: 20px;
right: 20px;
background: #fff;
}

#credit p {
font-size: 1.1rem;
line-height: 1.1rem;
padding: 6px 10px;
}

/* ----------------------------------------------------------------
Link
----------------------------------------------------------------- */

#banner {
width: 90%;
margin: 0 auto;
padding: 20px 0;
}

#banner .left {
width: 100%;
margin-bottom: 15px;
}

#banner .left img {
width: 100%;
}

#banner .center {
width: 100%;
margin-bottom: 15px;
}

#banner .center p {
font-size: 1.4rem;
line-height: 1.4rem;
letter-spacing: 0.05rem;
}

#banner .center p button {
color: #fff;
font-size: 1.4rem;
line-height: 1.4rem;
letter-spacing: 0.05rem;
display: block;
width: 100%;
height: 100%;
padding: 10px 15px;
border: none;
box-sizing: border-box;
background-color: rgba(129, 71, 147, 1);
}

#banner .center p button:hover {
cursor: pointer;
color: #eee;
}

#banner .right p {
font-size: 1.4rem;
line-height: 1.4rem;
letter-spacing: 0.05rem;
background-color: rgba(129, 71, 147, 1);
}

#banner .right p a {
display: block;
width: 100%;
height: 100%;
padding: 10px 20px;
box-sizing: border-box;
}

#banner .right a:link, #banner .right a:visited {
color: #fff;
}

#banner .right a:active, #banner .right a:hover {
color: #eee;
}

/* ----------------------------------------------------------------
Main
----------------------------------------------------------------- */

#main {
width: 90%;
max-width: 1000px;
text-align: left;
margin: 0 auto;
}

#main h2 {
text-align: center;
font-size: 2.4rem;
line-height: 4rem;
color: rgba(116, 31, 138, 1);
margin-bottom: 30px;
padding-top: 30px;
}

#main h2:nth-of-type(n+2) {
padding-top: 40px;
}

#main p {
font-size: 1.8rem;
line-height: 3.2rem;
margin-bottom: 20px;
}

#main hr {
height: 0;
margin: 0;
padding: 0;
border: 0;
border-top: 1px solid #ccc;
}

/* ----------------------------------------------------------------
Members
----------------------------------------------------------------- */

#main.members {
width: 90%;
text-align: left;
margin: 0 auto;
}

#main h2.member {
padding-top: 60px;
}

#main.members figure.wp-block-table {
margin: 0;
padding: 0;
}

#main.members table {
width: 100%;
margin-bottom: 30px;
}

#main.members table th {
display: block;
max-width: 100%;
font-size: 1.5rem;
line-height: 2.5rem;
font-weight: bold;
}

#main.members table td {
display: block;
max-width: 100%;
font-size: 1.5rem;
line-height: 2.8rem;
box-sizing: border-box;
background: #fff;
padding-bottom: 15px;
}

#main.members table td img {
max-width: 100%;
height: auto;
}

#main p.history {
margin-bottom: 50px;
}

#main .history a:link, #main .history a:visited {
color: rgba(213, 77, 255, 1);
text-decoration: underline;
}

#main .history a:active, #main .history a:hover {
color: rgba(213, 77, 255, 1);
text-decoration: none;
}

.members figure.columns-2 {
width: 100%;
margin: 30px auto 0 auto;
}

.members figure.columns-2 figure {
width: 100%;
}

.members figure.columns-2 figure img {
width: 100%;
height: 100%;
object-fit: cover;
}

.members figure.columns-2 figcaption {
text-align: center;
font-size: 1.4rem;
line-height: 2.2rem;
padding-bottom: 30px;
}

.members figcaption strong {
font-size: 2.2rem;
line-height: 6rem;
font-weight: normal;
}

.members figure.columns-3 {
width: 100%;
margin: 0 auto;
}

.members figure.columns-3 figure {
width: 100%;
aspect-ratio: 1/1;
}

.members figure.columns-3 figure img {
width: 100%;
height: 100%;
object-fit: cover;
}

.members figure.columns-3 figcaption {
text-align: center;
font-size: 1.4rem;
line-height: 2.2rem;
padding-bottom: 30px;
}

/* ----------------------------------------------------------------
Home
----------------------------------------------------------------- */

.home figure.columns-2 {
width: 100%;
margin: 0 auto;
}

.home figure.columns-2 figure {
width: 100%;
aspect-ratio: 3/2;
margin: 0;
padding-bottom: 20px;
}

.home figure.columns-2 figure img {
width: 100%;
height: 100%;
object-fit: cover;
}

.home figcaption {
text-align: center;
font-size: 2.2rem;
color: rgba(116, 31, 138, 1);
padding: 20px 0 20px 0;
}

/* ----------------------------------------------------------------
Sites
----------------------------------------------------------------- */

#main.sites h2 {
  position: relative;
  background: #dfefff;
  box-shadow: 0px 0px 0px 5px #dfefff;
  border: dashed 2px white;
  padding: 0.2em 0.5em;
  color: #454545;
margin-top: 30px;
}

#main.sites h2:nth-of-type(n+2) {
margin-top: 80px;
}

#main.sites h2:after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #a8d4ff;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

#main.sites h3 {
display: inline-block;
color: #6594e0;
border-bottom: dashed 2px #6594e0;
margin-bottom: 15px;
padding-top: 10px;
}

#main.sites p {
font-size: 1.5rem;
margin: 10px 0 25px 0;
}

#main.sites p a:link,
#main.sites p a:visited {
color: #e45e46;
}

#main.sites p a:hover,
#main.sites p a:active {
color: #e97d6a;
}

/* ----------------------------------------------------------------
Events
----------------------------------------------------------------- */

#main.events iframe {
  width: 100%;
  height: 400px;
}
@media all and (min-width: 768px) {
  #main.events iframe {
	height: 600px;
  }
}

/* ----------------------------------------------------------------
Footer
----------------------------------------------------------------- */

#footer {
width: 100%;
background: #eee;
margin-top: 60px;
padding: 30px 0;
}

#footer p {
color: #444;
font-size: 1.3rem;
letter-spacing: 0.1rem;
margin: 0 auto;
}

/* ----------------------------------------------------------------
Contact
----------------------------------------------------------------- */

#main table.contact-table {
width: 100%;
margin-bottom: 30px;
}

#main table.contact-table th {
display: block;
max-width: 100%;
font-size: 1.5rem;
line-height: 2.5rem;
letter-spacing: 0.1rem;
font-weight: bold;
box-sizing: border-box;
background: #d8ecf8;
border-bottom: 2px solid #fff;
padding: 16px 25px;
}

#main table.contact-table td {
display: block;
max-width: 100%;
font-size: 1.5rem;
line-height: 2.8rem;
box-sizing: border-box;
background: #fff;
padding: 16px 25px;
}

input {
width: 100%;
font-size: 1.6rem;
background: #f1f1f1;
border: 1px solid #cdcdcd;
box-sizing: border-box;
padding: 6px 6px;
margin: 0;
}

textarea {
width: 100%;
height: 300px;
font-size: 1.6rem;
background: #f1f1f1;
border: 1px solid #cdcdcd;
box-sizing: border-box;
padding: 6px 6px;
margin: 0;
}

input[type="submit"] {
width:280px;
color:#fff;
font-size: 1.6rem;
line-height: 3rem;
letter-spacing: 0.1rem;
font-weight: bold;
background: #edaa1a;
border: none;
margin-bottom: 10px;
padding: 15px 0;
cursor: pointer;
}

input[type="button"] {
width:280px;
color:#111;
font-size: 1.6rem;
letter-spacing: 0.1rem;
font-weight: bold;
background: #eee;
margin-bottom: 10px;
padding: 15px 0;
cursor: pointer;
}

input[type="submit"]:hover {
opacity: 0.8;
}

input[type="button"]:hover {
opacity: 0.8;
}

.button-wrap {
text-align: center;
}

.button_back {
margin-right: 20px;
}

.hissu {
display: inline;
color: #fff;
background: #444;
font-size: 1.3rem;
font-weight: bold;
border-radius: 3px;
margin-left: 10px;
padding: 4px 8px;
}

/* ---------------------------------------------------------------------------------------------
Spnavi
--------------------------------------------------------------------------------------------- */

#navi_sp {
}

.menu-checkbox {
display: none;
}

.drawer-menu {
z-index: 3;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 200px;
  transform: translateX(-100%);
  transition: all 0.5s ease-in-out 0s;
  background-color: #3584BB;
  background-color: #111;
}

.drawer-menu-list {
  margin-top: 50px;
}

.drawer-menu-item {
  margin-bottom: 30px;
}

.drawer-menu-item-link {
  text-align: center;
  font-size: 20px;
  color: #fff;;
  margin-top: 20px;
}

.menu-checkbox:checked ~ .drawer-menu {
  transform: translateX(0);
}

.drawer-icon {
  cursor: pointer;
  position: fixed;
  top: 28px;
  left: 8px;
  justify-content: center;
  align-items: center;
  z-index: 4;
  background-color: #fff;
}

.drawer-icon span,
.drawer-icon span:before,
.drawer-icon span:after {
  content: '';
    display: block;
    height: 5px;
    width: 30px;
    border-radius: 2px;
    background-color: #fff;
    position: absolute;
    transition: all 0.5s ease-in-out 0s;
}

.drawer-icon span::before {
  bottom: 12px;
}

.drawer-icon span::after {
  top: 12px;
}

.menu-checkbox:checked ~ .drawer-icon {
  background-color: #3584bb;
}

.menu-checkbox:checked ~ .drawer-icon span {
  background-color: rgba(255, 255, 255, 0);
}

.menu-checkbox:checked ~ .drawer-icon span::before {
  bottom: 0;
  transform: rotate(-45deg);
  background-color: #fff;
}

.menu-checkbox:checked ~ .drawer-icon span::after {
  top: 0;
  transform: rotate(45deg);
  background-color: #fff;
}

.menu-background {
  display: none;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: all 0.5s ease-in-out 0s;
}

.menu-checkbox:checked ~ .menu-background {
  display: block;
  opacity: 0.3;
}