@charset "UTF-8";

* {
  line-height: 1;
  box-sizing: border-box;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

html {
  height: 100%;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans", Meiryo, sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #333;

  background-color: #f1f1f1;
}
@media screen and (max-width: 767px) {
  body {
    background-color: #fff;
  }
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

ul, dl, ol, li, dt, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  line-height: 1px;
  border-radius: 6px;
}

a {
  color: #333;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: none;
  color: #04B2D9;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}
table th,
table td {
  border-collapse: collapse;
  border: 1px solid #ddd;
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 20px;
}
th {
  background-color: #f1f1f1;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  table th {
    white-space: nowrap;
  }
  table th,
  table td {
    padding: 10px 10px;
  }
}



form {
  margin-top: 2em;
}
.page_contents form p {
  margin-top: 2em;
}
form label {
  display: inline-block;
}
form span {
  display: inline-block;
}
form span.wpcf7-not-valid-tip {
  margin-top: 3px;
}
form input {
  width: 100%;
  max-width: 300px;
  margin-top: 3px;
  padding: 5px 5px;
  border-radius: 6px;
  border: 1px solid #999;
/*  box-shadow: 1px 1px 2px rgba(0, 0, 0, .3);*/
}
form textarea {
  width: 100%;
  max-width: 300px;
  margin-top: 3px;
  padding: 5px 5px;
  border-radius: 6px;
  border: 1px solid #999;
/*  box-shadow: 1px 1px 2px rgba(0, 0, 0, .3);*/
}
form input.wpcf7-submit {
  width: 100px;
  padding: 10px 10px;
  cursor: pointer;
  border: none;
  background: linear-gradient(to bottom,  rgba(83,120,158,1) 0%,rgba(53,106,160,1) 100%);

  box-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
  color: #fff;
  font-weight: bold;
  font-size: 15px;
}
form input.wpcf7-submit:hover {
  background: linear-gradient(to top,  rgba(83,120,158,1) 0%,rgba(53,106,160,1) 100%);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, .3);
}

.page_contents .wpcf7 form .wpcf7-response-output {
  margin: 2em 0 0 0;
  padding: 10px;
  border: 2px solid #00a0d2;
}
.page_contents .wpcf7 form .wpcf7-not-valid-tip {
  font-size: 0.8rem;
}



.page_contents .youtube_list {
  display: block;
}
.page_contents .youtube_list::after {
  content: "";
  display: block;
  clear: both;
}
.page_contents .youtube_list li {
  float: left;
  display: block;
  width: 46%;
  margin: 0 8% 8% 0;
}
@media screen and (max-width: 767px) {
  .page_contents .youtube_list li {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 8% 0;
  }
}
.page_contents .youtube_list li:nth-child(even) {
  margin: 0 0 8% 0;
}
.page_contents .youtube_list iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.page_contents .youtube_list li p {
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 12px;
}
@media screen and (max-width: 767px) {

}



#wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}
@media screen and (max-width: 767px) {
  #wrapper {
    padding: 0;
  }
}

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  width: auto;
  padding: 20px 30px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background-color: #fff;
  border: 1px solid #eee;
  border-bottom: none;
}

#header a {
/*  color: #333;*/
  text-decoration: none;
}
#header a:hover {
/*  color: #888;*/
}
.site_title {
  font-weight: normal;
}
.site_title a {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 24px;
}

#header .menu-global-nav-container {
  text-align: right;
}
#header ul#nav {
  display: flex;
  align-items: baseline;
  flex-direction: row;
}
#header ul#nav li {
  display: inline-block;
  margin-left: 30px;
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  #header {
    display: block;
    width: auto;
    padding: 20px 0 0 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: none;
  }
  .site_title {
    text-align: center;
    font-size: 23px;
    margin-bottom: 20px;
  }
  .site_title a {
    display: inline-block;
    font-size: 22px;
  }
  #header .menu-global-nav-container {
    text-align: center;
    background-color: #333;
  }
  #header .menu-global-nav-container a {
    color: #fff;
  }
  #header .menu-global-nav-container a:hover {
    text-decoration: none;
    color: #04B2D9;
  }
  #header ul#nav {
    justify-content: space-evenly;
    align-items: center;
  }
  #header ul#nav li {
    display: inline-block;
    margin: 14px 0 14px 0;
    font-size: 12px;
  }
}



#footer {
  display: block;
  text-align: center;
  width: auto;
  padding: 30px 30px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
/*  background-color: #ccc;*/
  background-color: #fff;
  border: 1px solid #eee;
/*  border-top: none;*/
  border-top: 1px solid #eee;
  font-size: 12px;
}
#footer p {
  color: #666;
}
@media screen and (max-width: 767px) {
  #footer {
    padding: 20px 10px;
    font-size: 12px;
    border: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top: 1px solid #eee;
  }
}



.main_img {
  position: relative;
  padding: 0 20px 20px 20px;
  background-color: #fff;
  border: 1px solid #eee;
  border-top: none;
  border-bottom: none;
}
@media screen and (max-width: 767px) {
  .main_img {
    padding: 0 0 10px 0;
    border: none;
  }
  .main_img img {
    border-radius: 0;
  }

  .main_img.top_main_img {
    padding: 0 0 0 0;
    border: none;
  }
}
.main_img .cat_name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
}



#main {
  display: block;
  padding: 10px 30px 60px 30px;
  background-color: #fff;
  border: 1px solid #eee;
  border-top: none;
  border-bottom: none;
}
#main.profile_page,
#main.demo_page {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
@media screen and (max-width: 767px) {
  #main {
    padding: 10px 10px 30px 10px;
    border: none;
  }
  #main.profile_page,
  #main.demo_page {
    display: block;
  }
}



.page_post {
  padding-right: 30px;
}
#main.profile_page .page_post,
#main.demo_page .page_post {
  flex: 1;
}
@media screen and (max-width: 767px) {
  .page_post {
    padding-right: 0px;
    margin-bottom: 30px;
  }
}

.side_area {
  flex-basis: 200px;
  width: 200px;
}
.side_bnr img {
  border-radius: 0;
}
.side_bnr a:hover {
  opacity: 0.8;
}
@media screen and (max-width: 767px) {

}


.top_info_title {
  font-size: 20px;
  padding: 0 0 20px 0;
  border-bottom: 1px solid #ddd;
}

.top_info {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
@media screen and (max-width: 767px) {
  .top_info {
    display: block;
  }
}
.top_info a {
  text-decoration: none;
  color: #333;
}
.top_info a:hover {
  text-decoration: underline;
  color: #666;
}
.top_info_date {
  width: 20%;
  line-height: 1.5;
}
.top_info_contents {
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .top_info_date {
    width: auto;
  }
  .top_info_date {
    margin-bottom: 5px;
  }
}


.page_title {
  font-size: 20px;
  margin: 0 0 1em 0;
  line-height: 1.5;
/*  padding: 3px 6px;*/
/*  border-left: 5px solid #04B2D9;*/
}
.page_title.single_page {
  font-size: 22px;
  margin: 0 0 1.5em 0;
/*  padding: 3px 6px;*/
/*  border-left: 5px solid #04B2D9;*/
}
.contact_page_title {
  font-size: 20px;
  margin: 0 0 23px 0;
  /*padding: 3px 6px;
  border-left: 5px solid #356aa0;*/
}
.page_contents p {
  line-height: 1.5;
  margin-top: 1em;
/*  font-size: 14px;*/
}
.page_contents.single_page p {
  line-height: 1.5;
  margin-bottom: 1.2em;
/*  font-size: 14px;*/
}
.page_contents.single_page a {
/*  color: #04B2D9;*/
}

.page_contents ul {
  display: block;
}
.page_contents ul li {
  display: block;
  margin-bottom: 6px;
  line-height: 1.5;
}
.page_contents ul li:last-child {
  margin-bottom: 0;
}

.nav-links {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-top: 50px;
}
.nav-links a {
  line-height: 1.6;
  font-size: 13px;
}
.nav-previous {
  width: 38%;
}
.nav-next {
  width: 38%;
}



