@charset "utf-8";
/*
Theme Name: OKUYAMA SEIJI XS
Author: AD-BANK
Version: 1.0
*/

/*
---------------------------------------------------------------------------
Reset
---------------------------------------------------------------------------
*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

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

ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,blockquote::after,q::before,q::after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1em;
  vertical-align: baseline;
  background: transparent;
}

del {
  text-decoration: line-through;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,select {
  vertical-align: middle;
}

img.alignleft {
  text-align: left;
}

img.aligncenter {
  display: block;
  margin: 1px auto;
}

img.alignright {
  display: block;
  margin: 1px 0 1px auto;
}

/*
---------------------------------------------------------------------------
Font
---------------------------------------------------------------------------
*/
html,body,input,textarea {
  color: #222;
  font-size: 21px;
  font-family: sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

a {
  text-decoration: none;
  transition: .5s all;
}

/*
---------------------------------------------------------------------------
Common
---------------------------------------------------------------------------
*/
.contents {
  max-width: 1200px;
  width: 96%;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.flex {
  display: flex;
  justify-content: space-between;
}

.hero {
  background: url(img/common_hero.png) no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 325px;
}

.hero .contents {
  position: relative;
  height: 100%;
}

.hero .contents h1 {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-family: sans-serif;
  font-size: 2.25em;
  font-weight: 600;
  line-height: 1.3;
}

.breadcrum {
  font-size: 0.75em;
  padding: 16px 0;
  margin-bottom: 32px;
}

.breadcrum ul li {
  display: inline-block;
}

.breadcrum ul li a {
  color: #C9003C;
}

.breadcrum ul li a::after {
  margin: 0 6px;
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #222;
}

.breadcrum li:last-child a::after {
  content: "";
}

main h1.title {
  font-family: serif;
  font-size: 2em;
  font-weight: 600;
  letter-spacing: .2em;
  padding-bottom: 14px;
  margin-bottom: 42px;
  text-align: center;
  position: relative;
}

main h1.title::before {
  position: absolute;
  content: "";
  display: inline-block;
  left: calc(50% - 90px);
  bottom: 0;
  width: 90px;
  height: 3px;
  background: #C9003C;
}

main h1.title::after {
  position: absolute;
  content: "";
  display: inline-block;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 3px;
  background: #e5e5e5;
}

p {
  margin-bottom: 1em;
}

a.btn {
  display: block;
  width: 200px;
  padding: 12px;
  margin: 36px auto;
  background: #C9003C;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border: 2px solid #C9003C;
}

a.btn:hover {
  background: #fff;
  color: #C9003C;
}

a.btn_w {
  background: #fff;
  color: #C9003C;
  border:2px solid #fff;
}

a.btn_w:hover {
  background: #C9003C;
  color: #fff;
}

main table {
  width: 100%;
}

main table tr {
  border-bottom: 3px solid #fff;
  line-height: 1;
}

main table th {
  background: #C9003C;
  color: #fff;
  text-align: left;
  padding: 20px 24px;
}

main table td {
  background: #f1f1f1;
  padding: 20px 24px;
}

br.mb_only {
  display: none;
}

.slide-up {
  transform: translate(0, 200px);
  -webkit-transform: translate(0, 200px);
  transition: 2s;
}

.go {
  transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
}


/*
---------------------------------------------------------------------------
Header, Footer
---------------------------------------------------------------------------
*/
.site_header {
  background: #fff;
}

.logo {
  width: 209px;
  margin: 14px 0;
}

.logo:hover {
  opacity: .6;
  transition: .5s all;
}

.g_nav {
  width: calc(100% - 260px);
  transition: .5s all;
}

.g_nav ul {
  width: 100%;
}

.g_nav ul li {
  width: calc(100% / 5);
  text-align: center;
}

.g_nav ul li a {
  display: block;
	width: 100%;
	padding: 26px 0;
	color: #222;
  font-weight: bold;
  line-height: 1;
}

.g_nav ul li a:hover {
  background: #C9003C;
  color: #fff;
}

#nav-toggle {
  display: none;
  position: fixed;
  right: 9px;
  top: 10px;
  width: 25px;
  height: 25px;
  padding: 11px;
  cursor: pointer;
  z-index: 11111;
  background: #C9003C;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -webkit-transition: .5s;
  transition: .5s;
}

#nav-toggle div {
  position: relative;
}

#nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
  top: 0;
}

#nav-toggle span:nth-child(2) {
  top: 10px;
}

#nav-toggle span:nth-child(3) {
  top: 20px;
}

.open #nav-toggle {
  /* right: 150px; */
  -webkit-transition: .5s;
  transition: .5s;
}

.open #nav-toggle span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(315deg);
  -moz-transform: rotate(315deg);
  transform: rotate(315deg);
}

.open #nav-toggle span:nth-child(2) {
  width: 0;
  left: 50%;
}

.open #nav-toggle span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-315deg);
  -moz-transform: rotate(-315deg);
  transform: rotate(-315deg);
}

/*
---------------------------------------------------------------------------
Footer
---------------------------------------------------------------------------
*/
footer {
  background: #C9003C;
  padding: 28px 0;
}

footer h1 {
  width: 209px;
}

.f_nav {
  width: calc(100% - 260px);
}

.f_nav ul {
  width: 100%;
}

.f_nav ul li {
  width: calc(100% / 5);
  text-align: center;
}

.f_nav .sub_nav li {
  width: 100%;
}

.f_nav ul li a {
  display: block;
  width: 100%;
  padding: 26px 0;
  color: #fff;
  font-weight: bold;
  line-height: 1;
}

.f_nav ul li a:hover {
  background: #fff;
  color: #222;
}

.f_nav .sub_nav li a {
  padding: 14px 0;
}

.copy {
  margin-top: 90px;
  font-size: 12px;
  color: #fff;
  text-align: center;
}

/*
---------------------------------------------------------------------------
Top
---------------------------------------------------------------------------
*/
.top_hero {
  background: #C9003C;
}

.top_hero .contents {
  max-width: 1440px;
  width: 100%;
}

.top .site_header {
  border-bottom: 2px solid #C9003C;
}

.top_manifesto {
  padding-bottom: 120px;
}

.top_manifesto h2 {
  width: 80%;
  max-width: 800px;
  margin: 108px auto;
}

.town_pic {
  background: url(img/yamagata.jpg) no-repeat;
  background-size: 80%;
  display: flex;
  justify-content: end;
}

.town_pic .text {
  background: rgba(255, 255, 255, .9);
  width: 68%;
  max-width: 750px;
  margin-top: 270px;
  padding: 24px 48px 24px 36px;
  line-height: 1.8;
}

.town_pic .text h1 {
  text-align: initial;
  writing-mode: vertical-rl;
  padding-right: 24px;
  position: relative;
  margin-right: 36px;
}

.town_pic .text h1::before {
  position: absolute;
  content: "";
  display: inline-block;
  right: 0;
  top: 0;
  width: 3px;
  height: 90px;
  background: #C9003C;
}

.town_pic .text h1::after {
  position: absolute;
  content: "";
  display: inline-block;
  right: 0;
  top: 90px;
  width: 3px;
  height: 90px;
  background: #e5e5e5;
}

.top_diary {
  padding-bottom: 120px;
}

.top_diary .contents {
  max-width: 1000px;
}

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

.top_diary .card {
  width: 49%;
  margin-bottom: 12px;
}

.home .top_diary .card:nth-child(n+5) {
  display: none;
}

.card_img {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 66.66666%;
  margin-bottom: 12px;
}

.card_img img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: .3s;
  width: 100%;
}

.card .post_date {
  font-size: 0.75em;
  margin-bottom: 0;
color: #222;
}

.card .post_title {
  font-size: 1.25em;
  color: #C9003C;
  padding-bottom: 6px;
  border-bottom: 1px solid #C9003C;
  margin-bottom: 6px;
}

.card .excerpt {
  color: #222;
  white-space: pre-line;
}

.top_profile {
  background: #C9003C;
  padding: 48px;
}

.top_profile .contents {
  max-width: 900px;
}

.top_profile .cw {
  width: 40%;
}

.top_profile .cw img {
  width: 100%;
}

.top_profile .text {
  width: 50%;
}

.top_profile h1 {
  width: 209px;
  margin-bottom: 16px;
}

.top_profile p {
  color: #fff;
}

.top_profile .btn {
  width: 100%;
}

.top_association {
  padding: 120px;
}

.top_association .contents {
  max-width: 1000px;
}

/*
---------------------------------------------------------------------------
Manifesto
---------------------------------------------------------------------------
*/
section.manifesto {
  padding-bottom: 120px;
}

section.manifesto h2 {
  max-width: 800px;
  margin: 32px auto;
}

section.manifesto h3 {
  font-size: 1.33em;
  text-align: center;
  margin: 28px 0;
}

section.manifesto ul {
  width: 100%;
  margin-bottom: 72px;
}

section.manifesto ul li {
  text-align: center;
  font-size: 1.15em;
  background: #f1f1f1;
  padding: 12px;
  margin-bottom: 18px;
}

section.manifesto p {
  font-size: 1.15em;
  text-align: center;
  margin-bottom: 2em;
}

/*
---------------------------------------------------------------------------
Profile
---------------------------------------------------------------------------
*/
.profile .data .contents {
  max-width: 1150px;
}

.profile .data .cr {
  width: 35%;
}

.profile .data .text {
  width: 58%;
}

.data .text h1 {
  max-width: 60%;
  color: #C9003C;
  font-size: 2.11em;
  margin-bottom: 32px;
}

.data .text table {
  margin-bottom: 120px;
}

.history, .experience {
  margin-bottom: 120px;
}

.history .pic, .experience .pic {
  width: 42%;
}

.history .first, .history .second, .experience .first, .experience .second {
  width: 49%;
}

.history .second, .experience .second {
  margin-top: 18.6%;
}

.history .first .flex, .history .second .flex, .experience .first .flex, .experience .second .flex {
  flex-direction: column;
}

.history .pic ul li, .experience .pic ul li {
  margin-bottom: 3%;
}

.history .text, .experience .text {
  width: 55.5%;
}

.experience .text h2.title {
  font-family: serif;
  font-size: 1.33em;
  padding-bottom: 4px;
  border-bottom: 3px solid #c9003c;
  margin-bottom: 16px;
}

.experience .text ul, .experience .text dl {
  margin-bottom: 1em;
}

.experience .mb1em {
  margin-bottom: 1em;
}

/* add pic*/
.add_pic {
  max-width: 40%;
  margin-right: 6px;
  margin-bottom: 1em;
}

.add_pic:last-child {
  margin-right: 0;
}

.add_pic img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 300px;
}

/*
---------------------------------------------------------------------------
Association
---------------------------------------------------------------------------
*/
.association main section:not(.hero) {
  margin-bottom: 44px;
}

.regulation table th {
  white-space: nowrap;
}

.access .googlemap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 45.83%;
  overflow: hidden;
  margin-bottom: 32px;
}

.access .googlemap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.access p {
  text-align: center;
}

.bulletin .contents {
  max-width: 1100px;
}

.bulletin p {
  text-align: center;
  margin-bottom: 90px;
}

.bulletin ul {
  flex-wrap: wrap;
}

.bulletin ul li {
  width: calc((100% - 108px) / 4);
}

.bulletin ul li img {
  border: 1px solid #ccc;
}

.bulletin h2 {
  color: #C9003C;
  text-align: center;
  margin-top: 16px;
  margin-bottom: 72px;
}

/*
---------------------------------------------------------------------------
Inquiry
---------------------------------------------------------------------------
*/
.inquiry main section:not(.hero) {
  margin-bottom: 120px;
}

.inquiry .form p {
  text-align: center;
}

.inquiry .form p span {
  color: #C9003C;
}

.inquiry .form table {
  margin-bottom: 48px;
}

.inquiry .form table th {
  font-size: 1.24em;
  font-weight: normal;
  color: #222;
  text-align: right;
  background: none;
  padding: 22px 44px 22px 0;
  white-space: nowrap;
  position: relative;
  vertical-align: top;
  width: 25%;
}

.inquiry .form table th.require::after {
  content: "＊";
  color: #C9003C;
  position: absolute;
}

.inquiry .form table td {
  font-size: 1.24em;
  background: none;
  padding: 12px 0;
}

.inquiry .form table td.pd_ex {
  padding-top: 22px;
  padding-bottom: 22px;
}

.inquiry .form table td input:not([type="radio"]) {
  font-size: 100%;
  width: 100%;
  padding: 4px 12px;
  vertical-align: middle;
  border: 1px solid #cbcbcb;
  box-sizing: border-box;
}

.inquiry .form table td input:focus-visible, .inquiry .form table td textarea:focus-visible {
  outline-color: #C9003C;
}

label.gender {
  position: relative;
  padding: 0 0 0 32px;
}

label.gender::after {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 0;
  margin-top: -12px;
  width: 24px;
  height: 24px;
  border: 1px solid #cbcbcb;
  border-radius: 50%;
}

label.gender::before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 6px;
  margin-top: -6px;
  width: 14px;
  height: 14px;
  background: #C9003C;
  border-radius: 50%;
  opacity: 0;
}

input[type="radio"]:checked + label.gender::before {
  opacity: 1;
}




.radio-btns input[type=radio].radio-btns__item{
  display: none;
}

.radio-btns label {
  display: inline-block;
}

.radio-btns .radio-btns__item + span {
  padding-left: 32px;
  display: inline-block;
  position: relative;
}

.radio-btns .radio-btns__item + span::before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 0;
  margin-top: -12px;
  width: 24px;
  height: 24px;
  border: 1px solid #cbcbcb;
  border-radius: 50%;
}

.radio-btns .radio-btns__item + span::after {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 6px;
  margin-top: -6px;
  width: 14px;
  height: 14px;
  background: #C9003C;
  border-radius: 50%;
  opacity: 0;
}

.radio-btns .radio-btns__item:checked + span::after {
  opacity: 1;
}












.inquiry .form table td textarea {
  font-size: 100%;
  width: 100%;
  padding: 4px 12px;
  border: 1px solid #cbcbcb;
  box-sizing: border-box;
}

.send button {
  display: block;
  width: 200px;
  margin: 0 auto;
  padding: 8px;
  background: #C9003C;
  font-size: 100%;
  color: #fff;
  border: 2px solid #C9003C;
  cursor: pointer;
  transition: .3s all;
}

.send button:hover {
  background: #fff;
  color: #C9003C;
}

.privacy dd {
  margin-bottom: 1em;
}

/*
---------------------------------------------------------------------------
Archives
---------------------------------------------------------------------------
*/
.archive_pagination .pagination {
  text-align: center;
}

.archive_pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.archive_pagination .page-numbers {
  font-size: 1em;
  color: #C9003C;
  background-color: #fff;
  padding: 4px 6px;
  border: 2px solid #C9003C;
}

.archive_pagination .current {
  color: #fff;
  background-color: #C9003C;
}

.archive_pagination a.page-numbers i {
  transition: .3s;
}

.archive_pagination a.page-numbers:hover,
.archive_pagination a.page-numbers:hover i {
  color: #fff;
  background-color: #C9003C;
}

/*
---------------------------------------------------------------------------
Single
---------------------------------------------------------------------------
*/
.entry {
  margin-bottom: 72px;
}

.entry_time {
  text-align: center;
  font-size: 0.9em;
  margin-bottom: 52px;
}

.entry_contents img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}

.entry_pagenation {
  margin-bottom: 120px;
}

.entry_pagenation .btn {
  font-size: 0.85em;
  margin: 0;
  width: 160px;
}

/*============================================================================*/
/*============================================================================*/
/*   for mobile start
/*============================================================================*/
/*============================================================================*/
@media screen and (max-width: 768px) {
  html,body,input {
    font-size: 14px;
  }

  .site_header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.g_nav {
  position: fixed;
  top: 67px;
  left: 100%;
  width: 100%;
  height: calc(100% - 67px);
  border-top: 1px solid #C9003C;
  background: #fff;
}

.open .g_nav {
  left: 0;
}

.g_nav ul.flex {
  display: block;
}

.g_nav ul li {
  width: 100%;
  text-align-last: left;
}

.g_nav ul li a {
  padding-left: 26px;
  font-size: 20px;
  border-bottom: 1px solid #e5e5e5;
}

#nav-toggle {
  display: block;
}

main {
  padding-top: 68px;
}

.hero {
  background: url(img/common_hero_sp3.png) no-repeat;
  background-size: cover;
  background-position: center center;
  height: 160px;
}

.hero .contents {
  position: relative;
  height: 100%;
}

main h1.title {
  margin-bottom: 16px;
}

footer h1 {
  margin: 0 auto;
}

.f_nav {
  display: none;
}

.copy {
  margin-top: 30px;
}

/*
---------------------------------------------------------------------------
Top
---------------------------------------------------------------------------
*/
.top .site_header {
  border-bottom: none;
}

.top_hero {
  padding-top: 67px;
}

.top main {
  padding-top: 0;
}

.top_manifesto {
  padding-bottom: 60px;
}

.top_manifesto h2 {
  width: 92%;
  margin: 72px auto;
}
@media screen and (max-width: 512px) {
.top_manifesto h2 {
  margin: 42px auto;
}
}

.town_pic {
  background-size: 98%;
}

.town_pic .text {
  width: 85%;
  padding: 12px;
  margin-top: 138px;
}

.town_pic .text h1 {
  padding-right: 12px;
  margin-right: 12px;
}

.top_diary {
  padding-bottom: 60px;
}

@media screen and (max-width: 512px) {
.top_diary .card {
  width: 100%;
}
}

.top_profile {
  padding-left: 0;
  padding-right: 0;
}

.top_profile .flex {
  flex-direction: column;
  align-items: center;
}

.top_profile .text {
  width: 70%;
}

@media screen and (max-width: 512px) {
.top_profile .text {
  width: 100%;
}
}

.top_profile .text h1 {
  margin: 30px auto;
}

.top_profile .text p {
  margin-left: 24px;
}

.top_profile .btn {
  width: 90%;
}

.top_association {
  padding: 60px 30px;
}

/*
---------------------------------------------------------------------------
Profile
---------------------------------------------------------------------------
*/
.profile .data .flex {
  flex-direction: column;
  align-items: center;
}

.profile .data .cr {
  width: 50%;
  margin-bottom: 32px;
}

.profile .data .text {
  width: 100%;
}

.data .text h1 {
  width: 56%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.data .text table {
  margin-bottom: 44px;
}

.history, .experience {
  margin-bottom: 42px;
}

.history .contents > .flex, .experience .contents > .flex {
  display: block;
}

.history .pic {
  width: 100%;
}

.experience .pic {
  width: 66.67%;
  margin-left: auto;
  margin-right: auto;
}

.history .first, .history .second, .experience .first, .experience .second {
  width: 100%;
}

.history .second, .experience .second {
  margin-top: 1%;
  margin-bottom: 20px;
}

.pic.flex {
  display: block;
}

.history .first .flex, .history .second .flex, .experience .first .flex, .experience .second .flex {
  flex-direction: row;
}

.history .pic ul li {
  width: 32.5%;
  margin-bottom: 0;
}

.experience .pic ul li {
  width: 49%;
  margin-bottom: 0;
}

.history .text, .experience .text {
  width: 100%;
}

/*
---------------------------------------------------------------------------
Association
---------------------------------------------------------------------------
*/
.regulation table th, .regulation table td {
  padding: 12px 8px;
}

.bulletin .contents {
  width: 76%;
}

.bulletin p {
  margin-bottom: 32px;
}

.bulletin ul li {
  width: calc((100% - 16px) / 2);
}

.bulletin h2 {
  margin-bottom: 28px;
}

/*
---------------------------------------------------------------------------
Inquiry
---------------------------------------------------------------------------
*/
.inquiry .form table th {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
}

.inquiry .form table td {
  display: block;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 20px;
}

/*
---------------------------------------------------------------------------
Single
---------------------------------------------------------------------------
*/
.entry_pagenation .btn {
  width: 120px;
}


}/* dont delete */

@media screen and (max-width: 512px) {
br.mb_only {
  display: block;
}
}/* dont delete */

