@charset "utf-8";
/**
 * セミナーページCSS
 **/
/* --------------------------------- *
 * style.css
 * --------------------------------- */
html {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  top: 0 !important;
  min-width: 320px;
  max-width: 1600px;
  min-height: 100%;
  margin: auto;
}


/* --------------------------------- *
 * init style
 * --------------------------------- */
#header,
#footer,
#content,
#tab,
#banner {
  display: block;
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

#content {
  padding: 8px;
	margin: 6% 6% 3% 6%;;
}

@media screen and (max-width: 980px) {
  #content {
    margin-top: 8%;
    padding: 0;
    padding-top: 5px;
  }
}

#main_section {
  margin-top: 5%;
}

@media screen and (max-width: 980px) {
  #main_section {
    margin-top: px;
  }
}

@media screen and (max-width: 480px) {
  #main_section {
    margin-top: px;
  }
}

@media screen and (max-width: 440px) {
  #main_section {
    margin-top: px;
  }
}

@media screen and (max-width: 400px) {
  #main_section {
    margin-top: px;
  }
}

@media screen and (max-width: 350px) {
  #main_section {
    margin-top: px;
  }
}

#main_section .attention {
	width: 90%;
	padding: 15px;
	margin: 20px auto 20px;
}


/* --------------------------------- *
 * style heading
 * --------------------------------- */
h1.h1 {
  text-align: center;
  padding: 1rem 2rem;
  margin-left: 15px;
  margin-right: 15px;
}

.h1 h1 {
  padding: 1rem 2rem;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 20px;
}

h1 {
  display: on;
  padding: 0.2em 0.5em;
}



h1.title {
  margin: 0;
}

@media screen and (max-width: 980px) {
  .h1 {
    margin-top: 30px;
  }
  .h1 h1 {
    padding: 8px 16px;
  }
}

@media screen and (max-width: 600px) {
  .h1 {
    margin-top: 40px;
  }
}

.h2 {
  margin: 2rem auto 2rem;
  line-height: 20%;
  width: 95%;
}

@media screen and (max-width: 980px) {
  .h2 {
    margin-bottom: 1rem;
    width: 90%;
  }
}

h2 {
  padding: 0.8em;
  margin-top: o.5rem;
}

.h3 {
  position: relative;
  margin: 0;
}

@media screen and (max-width: 980px) {
  .h3 {
    margin: 1rem auto;
    margin: 0;
    padding: 0;
  }
}

/* --------------------------------- *
 * common class
 * --------------------------------- */
.align_center {
  text-align: center;
}

.align_left {
  text-align: left;
}

.centering {
  margin: 16px auto 16px;
  text-align: center;
  padding: 0 16px 16px;
  display: block;
}

@media screen and (max-width: 370px) {
  .centering {
    padding: 0 0 4px;
  }
}

.flex_center {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.margin_narrow {
  margin: 8px;
}

.margin_default {
  margin: 16px;
}

.margin_wide {
  margin: 24px;
}

.padding_narrow {
  padding: 8px;
}

.padding_default {
  padding: 16px;
}

.padding_wide {
  padding: 24px;
}

/* --------------------------------- *
* style header
* --------------------------------- */
#content_header .main {
  margin-top: 58px;
  position: relative;
  height: 400px;
  margin-bottom: 16px;
  background-color: #fcfcfc;
  background-position: center;
  background-size: cover;
}

@media screen and (max-width: 980px) {
  #content_header .main {
    margin-top: 0;
    background-size: contain;
    background-repeat: repeat-x;
    height: 200px;
    background-color: #fcfcfc;
    background-position: top;
  }
}

@media screen and (max-width: 400px) {
  #content_header .main {
    margin-top: 0;
    background-size: contain;
    background-repeat: repeat-x;
    height: 150px;
    background-color: #fcfcfc;
    background-position: top;
  }
}

#content_header .top_text {
  margin: 0 auto;
  height: 100%;
  text-align: center;
}

#content_header2 .text {
  position: relative;
  z-index: 3;
  top: 30px;
  width: 90%;
  margin: auto;
  margin-top: -64px;
  margin-bottom: 90px;
  padding: 15px;
  text-align: center;
}

#content_header2 .sub_text {
  position: relative;
  z-index: 3;
  top: 20px;
  width: 90%;
  margin: auto;
  margin-bottom: 0px;
  padding: 15px;
}

#content_header3.sub_text2 {
    position: relative;
    z-index: 3;
    top: 20px;
    width: 90%;
    margin: auto;
    margin-bottom: 0px;
    padding: 15px 30px;
}

#content_header3.sub_text2 {
    background-color: #fae5ff8f;
    font-size: 1.2rem;
}

.margin_dummy {
	margin-bottom:50px;
}

#content .section {
  margin: 0 auto 20px;
}

@media screen and (max-width: 980px) {
  #content .section {
    margin: 0 auto 16px;
  }
}

#content .contact_section {
  width: 64%;
  min-width: 320px;
  margin: 4rem auto 0;
}

@media screen and (max-width: 980px) {
  #content .contact_section {
    margin: 1rem auto 0;
  }
}


#contents {
  margin-top: 5px;
}

#content_header .top_title {
  position: relative;
  z-index: 1;
  top: -400px;
  width: 100%;
  margin: auto;
  height: 100px;
}

#content_header .top_text {
  margin: 0 auto;
  height: 100%;
  text-align: center;
  color: rgba(0, 0, 0, 0);
  text-shadow: 3px 3px 0 #33cccc;
  -webkit-text-stroke: 1px #888;
  text-stroke: 1px #888;
}


@media screen and (max-width: 980px) {
  #content_header .top_title {
    position: relative;
    z-index: 1;
    top: -10px;
    width: 100%;
    margin: auto;
    height: 100px;
    font-weight: 900;
    text-align: center;
    transform: translate(0, -50%);
  }

  #content_header .top_text {
    margin: 0 auto;
    height: 100%;
    text-align: center;
  }

  #content_header2 .text {
    top: 20px;
  }

  #content_header2 .sub_text {
    top: 20px;
  }

  #contents {
    margin-top: -100px;
  }
}
@media screen and (max-width: 750px) {
	#content_header2 .sub_text {
    top: 35px;
  }
}
@media screen and (max-width: 620px) {
	#content_header2 .sub_text {
    top: 70px;
  }
}

@media screen and (max-width: 400px) {
  #content_header .top_title {
    position: relative;
    z-index: 1;
    top: -75px;
    width: 100%;
    margin: auto;
    height: 100px;
    text-align: center;
    transform: translate(0, -50%);
  }

  #content_header .top_text {
    margin: 0 auto;
    height: 100%;
    text-align: center;
  }

  #content_header2 .text {
    top: 50px;
  }

  #content_header2 .sub_text {
    top: 130px;
  }

  #contents {
    margin-top: -100px;
  }
}

@media screen and (max-width: 350px) {
  #content_header .top_text {
    margin: 0 auto;
    height: 100%;
    text-align: center;
  }
}

#header {
  display: none;
  height: 0;
}

@media screen and (max-width: 980px) {
  #header {
    display: block;
  }
}

#header header .title_logo {
  position: fixed;
  z-index: 10;
  top: 0;
  display: none;
  width: 100%;
  padding: 16px 0;
  text-align: center;
  background-color: #fff;
  -webkit-box-shadow: 0 0 4px #505050;
  box-shadow: 0 0 4px #505050;
}

#header #menu_btn {
  display: none;
}

#menu_close {
  display: none;
}

@media screen and (max-width: 980px) {
  #header #menu_btn {
    position: fixed;
    z-index: 1200;
    top: 5px;
    right: 5px;
    display: block;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }

  #header #menu_btn span {
    position: absolute;
    right: 0;
    left: 0;
    display: block;
    width: 20px;
    margin: auto;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    border-bottom: solid 2px #fff;
  }

  #header #menu_btn span:nth-child(1) {
    top: 11px;
  }

  #header #menu_btn span:nth-child(2) {
    top: 19px;
  }

  #header #menu_btn span:nth-child(3) {
    top: 27px;
  }

  #header #menu_btn.on_menu span:nth-child(1) {
    top: 19px;
    right: 0;
    left: 0;
    margin: auto;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #header #menu_btn.on_menu span:nth-child(2),
  #header #menu_btn.on_menu span:nth-child(3) {
    top: 19px;
    right: 0;
    left: 0;
    margin: auto;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  #menu_close {
    display: inline-block;
  }
}

#header_logo.pc_off {
  display: none;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

@media screen and (max-width: 980px) {
  #header_logo.pc_off {
    display: block;
    position: fixed;
    z-index: 1100;
    top: 0;
    width: 100%;
    height: 72px;
    padding: 8px 0;
    text-align: center;
  }
}

#footer {
  padding: 16px 0;
	background-color: #21c2b8;
}

#footer small {
  display: block;
  text-align: center;
}

#footer nav {
  display: flex;
  justify-content: space-around;
  padding: 16px 0;
  text-align: center;
}

#footer nav .nav_block {
  text-align: center;
  margin: 0 auto;
}

@media screen and (max-width: 980px) {
  #footer nav .nav_block {
    width: 100%;
  }
}

#footer nav a {
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.1rem;
}

@media screen and (max-width: 980px) {
  #footer nav {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(1, 98%);
    grid-gap: 0 0;
    padding-bottom: 10px;
  }

  #footer nav a {
    line-height: 1rem;
    height: 1.3rem;
    text-align: left;
    letter-spacing: 0.2rem;
	text-indent: 1.6rem;
  }
}

#menu_list {
  text-align: left;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
	background-color:#21c2b8;
}

#menu_list img {
  vertical-align: middle;
}

#menu_list.scroll_default {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
	background-color:#21c2b8;
}

#menu_list .global_header {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
background-color: #21c2b8;
}

#menu_list .menu {
  display: flex;
  text-align: right;
  vertical-align: middle;
}

#menu_list .menu div {
  width: 25%;
  text-align: center;
  position: relative;
}

@media screen and (max-width: 980px) {
  #menu_list .menu div {
    width: 100%;
  }
}

#menu_list .menu a {
  display: inline-block;
  padding: 1rem 0;
}

@media screen and (max-width: 980px) {
  #menu_list .menu a {
    display: block;
    margin: 0 8px;
    border-bottom: 1px solid white;
    -webkit-transition: 0.25s;
    transition: 0.25s;
    text-align: left;
    text-indent: 1rem;
    letter-spacing: 0.05rem;
  }
}

/* #menu_list .menu .separater {
  display: inline-block;
  line-height: 3rem;
}

@media screen and (max-width: 980px) {
  #menu_list .menu .separater {
    line-height: 2.6rem;
    height: 2.6rem;
  }

  #menu_list .menu .separater.pc_off {
    display: none;
  }
} */

#menu_list .menu .link_hover_show {
  width: 100%;
  position: absolute;
  top: 3rem;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
}

#menu_list .menu .link_hover_show a {
  display: block;
}

@media screen and (max-width: 980px) {
  #menu_list .menu .link_hover_show a {
    text-indent: 3.2rem;
  }
}

#menu_list .menu .link_hover_show:hover {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 980px) {
  #menu_list .menu .link_hover_show {
    position: initial;
    visibility: visible;
    opacity: 1;
  }
}

#menu_list .menu .link_hover:hover+.link_hover_show {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 980px) {
  #menu_list .menu {
    display: block;
  }

  #menu_list .menu a {
    text-indent: 2rem;
  }
}

#menu_list .logo {
  margin-left: 2%;
  margin-right: 2%;
}

@media screen and (max-width: 980px) {
  #menu_list {
    display: none;
    padding: 0;
  }

  #menu_list.on_menu {
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100vh;
    padding-top: 64px;
  }

  #menu_list .logo {
    display: none;
  }

}

/* --------------------------------- *
 * 著者
 * --------------------------------- */
.right_m {
  position: relative; /* ← 子要素の absolute の基準にする */
  height: 100%; /* 高さを必要に応じて指定 */
}

.right_m .author-info {
  position: absolute;
  right: 0;
  text-align: right;
}
/* --------------------------------- *
 * 上部に戻るボタン
 * --------------------------------- */
#scroll_top {
  position: fixed;
  z-index: 10;
  bottom: 4%;
  right: 4%;
}

@media screen and (max-width: 980px) {
  #scroll_top {
    bottom: 1%;
    right: 1%;
  }
}

#scroll_top a {
  width: 50px;
  position: relative;
  text-align: center;
}

#scroll_top svg {
  width: 50px;
  height: 50px;
}

/* --------------------------------- *
 * 動画コンテンツページ
 * --------------------------------- */
.article {
  width: 90%;
  margin: 2% auto 2%;
	 width: 90%;          /* 親要素の幅の90% */
  max-width: 1200px;   /* 最大幅を1200ピクセルに制限 */
  min-width: 300px;    /* 最小幅を300ピクセルに設定 */
  height: auto;
  max-height: 800px;   /* 最大高さを800ピクセルに制限 */
  min-height: 200px;   /* 最小高さを200ピクセルに設定 */
  border: 1px solid #ccc;
  padding: 20px;
  margin: 2% auto;    
	background-color: #fff;
  /* padding-bottom: 15%; */
}
/*
@media screen and (max-width: 700px){
  .article {
    padding-bottom: 5%;
  }
}
*/

#content .flex {
  display: flex;
  width: 100%;
}

.movie {
  position: relative;
  width: 40%;
  top: 10px;
}

.movie img {  /* ★ 追加: 画像が大きくなりすぎる対策 */
  max-width: 100%;
  height: auto;
  display: block;
}

.formovie::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.formovie iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.movie .video {
  /* position: absolute; */
  width: 100%;
}

@media screen and (max-width: 980px) {
  .movie {
    position: relative;
    width: 100%;
  }

  #content .flex {
    display: flex;
    height: auto;
  }
}

/* ★ スマホ対応：flexを縦並びに */
@media screen and (max-width: 700px) {
  #content .flex {
    flex-direction: column;
  }
}

.right {
  width: 70%;
  right: 0;
}

.movie_title {
  padding: 0;
}

/* ★ attention セクション用スタイル（はみ出し防止＆装飾） */
.attention {
  margin: 2em auto;
  padding: 1.5em;
  background-color: #f9f9f9;
  border-left: 5px solid #ccc;
  max-width: 90%;
  box-sizing: border-box;
}


/* iosでおかしい
.formovie {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
}
*/
/* --------------------------------- *
 * 検定体験ページ
 * --------------------------------- */

#kentei .article {
  width: 95%;
  margin: auto;
  margin-bottom: 5%;
}

.left {
  width: 30%;
  margin-right: 3%;
}

.image {
  margin: 2%;
  padding-bottom: 30px;
}

.cont {
  width: 90%;
  margin: 3% auto 8%;
}

.cont_link {
  margin-bottom: 30px;
}

.logo_title {
  width: 200px;
  height: 60px;
  margin-bottom: 20px;
}

@media screen and (max-width: 980px) {
  #kentei .left {
    width: 60%;
  }

  .image {
    width: 100%;
    height: 100%;
  }
}

#intro .formovie {
  /* width: 50%; */
  /* top: 15px; */
  /* padding-top: 56.25%; */
}

.wide_right {
  width: 60%;
	min-width: 45%;
}

/* --------------------------------- *
 * トップページバナー部分
 * --------------------------------- */
#banners {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  width: 80%;
  justify-content: center;
}

.banner {
  margin: 2%;
  padding: 5px;
}

.banner img {
  height: 30px;
}


@media screen and (max-width: 980px) {
  .banner {
    margin: 4%;
  }
}

/* --------------------------------- *
 * Ivory Search
 * --------------------------------- */
.search_wrap {
  margin: 0 auto;
  width: 80%;
}

/* --------------------------------- *
 * etc
 * --------------------------------- */
#wpadminbar {
  display: none;
}

#link {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 5%;
  margin-bottom: 5%;
}

.linkBox {
  position: relative;
  display: flex;
  width: 40%;
  height: 200px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 3%;
  border: 3px solid #59cbe8;
  border-radius: 5px;
  padding: 10px, 5px;
}

.content_box {
  display: table-cell;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

a .span {
  display: block;
  padding-top: 5vh;
}

@media screen and (max-width: 980px) {
  a .span {
    padding-top: 3vh;
}
}


@media screen and (max-width: 770px) {
  a .span {
    padding-top: 3vh;
}
}

@media screen and (max-width: 600px) {
  a .span {
    padding-top: 4vh;
}
}

.detail {
  margin-left: 20px;
}

@media screen and (max-width: 980px) {
  .linkBox {
    position: relative;
    display: flex;
    width: 40%;
    height: 150px;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 3%;
    border: 3px solid #59cbe8;
    border-radius: 5px;
  }
}

@media screen and (min-width: 1100px) {
  a .span {
    padding-top: 4vh;
  }
}
.right_m {
  position: relative; 
  width: 100%;
  margin: 2% 1% 1% 2%;
	min-height: 150px;
}

.author-info {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 5px;
  font-size: 0.9em;
  background-color: rgba(255, 255, 255, 0.8);
	color: #595959;
}

	@media (max-width: 600px) {
  .author-info {
    font-size: 0.8em;
    padding: 3px;
  }
}

@media (max-width: 600px) {
  .flex {
    flex-direction: column; /* ← 横並び → 縦並び に変更 */
  }

  .movie, .right_m {
    width: 100%; /* 幅をフルにして崩れを防止 */
  }
}

@media screen and (max-width: 980px) {
  .right_m {
      margin-top: 22px;
	  margin-left: 0;
  }
}

@media screen and (max-width: 700px) {
  .linkBox img {
    height: 30%;
    width: 30%;
  }
}

@media screen and (max-width: 500px) {
  .linkBox img {
    height: 40%;
    width: 40%;
  }
}
.image_list {
  margin-right: 10px;
}

#voice {
  margin-top: -20px;
}

/* --------------------------------- *
 * アンケートボタン
 * --------------------------------- */
.questionnaire {
	margin: 0 auto;
	padding: 35px;
	display: flex;
	justify-content: center;
}

a.btn {
  border-bottom: 5px solid #2C8566;
  padding: 10px;
}

a.btn:hover {
  margin-top: 3px;
  border-bottom: 2px solid #2C8566;
}
/* --------------------------------- *
 * 個別記事
 * --------------------------------- */
p.movie_text {
    padding: 0px 30px 0px 30px;
	

