@charset "utf-8";

/* *****共通設定***** */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none !important;
  list-style: none;
  font-family: "Noto Sans JP", sans-serif;
}

main {
  display: block;
}
main .btn {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  font-size: 1.5rem;
}
h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 3rem;
}
h2,
h3 {
  color: #401f0f;
}
.sp{
  display: none;
}
.gray {
  color: #6c757d;
}
.card {
  background-color: #f5f3ed;
  border-radius: 5px;
}
.card a {
  padding: 1.3rem 5%;
  display: flex;
  flex-direction: column;
  background-color: #f5f3ed;
  position: relative;
}
.card a h3 {
  /* top: -2.5rem;
    left: 4%; */
  /* position: absolute; */
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  z-index: 1;
  line-height: 1.6;
  color: #0078d7;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: "Zen Kaku Gothic New", sans-serif;
  margin: 0;
  margin-bottom: 20px;
}

button:focus {
  outline: none;
}

.card .card-body {
  font-size: 1.65rem;
  color: #303f5d;
  padding: 0;
}

.card .card-body p{
  font-size: 16px;
  padding: 0.5rem;
  margin-top: 0.75rem;
    margin-left: 0.5rem;
        padding-top: 0;
}

.card .image_cover {
  overflow: hidden;
  border-radius: 15px;
}

.card .image_cover2 {
  overflow: hidden;
}

.card .image_cover img {
  height: 25vw;
  max-height: 100%;
}

.card .image_cover2 img {
  height: 14vw;
  max-height: 200px;
}

@media screen and (max-width: 575px) {
  .card .image_cover img {
    height: 40vw;
  }
  .card .image_cover2 img {
    height: 45vw;
  }
  .sp{
    display: block;
  }
}

.card img {
  object-fit: cover;
  transition: 0.5s;
}

.card img:hover {
  transform: scale(1.2);
}

.img-thumbnail {
  width: 100%;
  padding: 0.25rem;
  background-color: transparent;
  border: none;
}

img {
  width: 100%;
  height: auto;
}

svg {
  width: 100%;
  height: auto;
}

p {
  font-family: "Noto Serif JP", serif;
}

.card-title {
  color: #000;
  margin-top: 0.75rem;
  margin-left: 0.5rem;
}

@media screen and (max-width: 980px) {
  .card .image_cover {
    border-radius: 10px;
  }
  .card a h3 {
    font-size: 1.6rem;
    top: -1.4rem;
  }
  .card a {
    padding: 2rem 8%;
  }
  .card .card-body {
    font-size: 1.1rem;
  }
  .card .card-body p{
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  .swiper-wrapper {
    margin-bottom: 25px;
  }
  h2 {
    font-size: 2rem;
  }
  .h3,
  h3 {
    font-size: 1.25rem;
  }
  .card a {
    padding: 15px;
  }
  .mb-5,
  .my-5 {
    margin-bottom: 2rem !important;
  }
  .card a h3 {
    font-size: 1rem;
    top: -2.1rem;
    left: 0rem;
    margin-bottom: 10px;
  }
}

/* ヘッダー(navbar) */
.navbar {
  background-color: #fff;
}
.navbar .navbar-collapse {
  flex-grow: 0;
}
.navbar .navbar-brand {
  height: 50px;
}
.navbar .navbar-brand img {
  height: 100%;
}
.navbar .navbar-nav .active > .nav-link {
  color: #0078d7;
}

.navbar-dark .navbar-nav .nav-link {
  color: #000;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
  color: #000;
}

/* フッター */
#footer {
  background-color: #000;
}
#footer .container {
  color: #e0c7b2;
}
#footer .footer-ttl {
  font-size: 1rem;
  font-weight: bold;
  margin: 1.5rem 0;
  color: #fff;
}
#footer address p,
#footer #footer-news li {
  margin-bottom: 0.5rem;
}
#footer #footer-news ul {
  margin: 0;
  padding: 0;
}
#footer #footer-news ul {
  list-style: none;
}
#footer #footer-news li span {
  display: inline-block;
  margin-right: 0.5rem;
}

#footer #footer-news li a {
  color: #fff;
}

#footer #copyright {
  background-color: #ffff;
  color: #000;
}
#footer img {
  width: 360px;
}

/* *****トップページ***** */
/* メイン画像 */
h1 {
  width: 100%;
  margin: auto;
  text-align: center;
  color: #fff;
}

h1 svg text {
  font-size: 50px;
}

/* #page-top .jumbotron-fluid {
  height: 640px;
  background-color: #f1efff;
  border-bottom: #dddddd;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  transition: 2s;
  backdrop-filter: blur(10px);
}

.bg1 {
  background-image: url("../img/top-main1.jpg");
  backdrop-filter: none;
}
.bg2 {
  background-image: url("../img/top-main2.jpg");
  backdrop-filter: none;
}
.bg3 {
  background-image: url("../img/top-main3.jpg");
  backdrop-filter: none;
} */


.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  background-color: #00bfff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#floatingCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content h1{
  margin-bottom: 25px;
}

/* 画像を暗くするオーバーレイ */
#page-top .jumbotron-fluid::before {
  content: "";
  /* ↓暗いオーバーレイを半透明で配置 */
  background-color: rgba(0, 0, 0, 0.4);
  /* ↓全体を覆うように配置 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#page-top .jumbotron-fluid .container {
  height: 100%;
  position: relative;
  z-index: 2;
}
#page-top .jumbotron-fluid .btn {
  padding-left: 3rem;
  padding-right: 3rem;
  margin-top: 1.5rem;
  font-weight: bold;
  border-width: 3px;
  border-color: #fff;
}

/* 各セクション */
#page-top section {
  padding-bottom: 5rem;
}
#page-top section .container > h2 {
  margin-bottom: 30px;
  font-size: 2.5rem;
}
#page-top section .container > h2 + p {
  max-width: 700px;
  margin: 0 auto 50px;
}

#sec2 {
  line-height: 180%;
}
#sec2 .row {
  min-height: 200px;
  color: #2f2f2f;
}
#sec4 img {
  width: 100%;
}
#sec4 .btn {
  width: 100%;
  background-color: #401f0f;
  border: none;
  padding: 1rem 0;
}

#sec5 article > .row {
  border: 1px solid #dddddd;
}
#sec5 > div:nth-child(1) img {
  width: 100%;
}
/*#sec4 > div:nth-child(2){
    margin-left: 220px;
}*/
#sec5 h3 {
  margin-bottom: 0.1rem;
}
#sec5 article > div div header {
  padding: 10px;
}

/* *****下層ページ***** */

#breadcrumb-wrapper {
  border-bottom: 1px solid #a29080;
}
#breadcrumb-wrapper,
.breadcrumb {
  font-size: 0.9rem;
  background-color: #563322;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb a:hover,
.breadcrumb a:focus {
  color: rgba(255, 255, 255, 1);
}
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding-right: 1rem;
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb-item.active {
  color: #ffffff;
}
h1.page-ttl {
  font-size: 4rem;
}
#page h1 + span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 110%;
  margin-top: 0.2rem;
  display: block;
}

#page h3 {
  margin-bottom: 50px;
}

#page p:not(.achievements_title) {
  margin-bottom: 50px;
}

#page article,
#page2 article {
  padding: 5rem 0;
}

#page section {
  padding-bottom: 5rem;
}
#page section:last-child {
  padding-bottom: 0rem;
}

#page .wp-block-list {
  margin-bottom: 50px;
}

#page .hcb_wrap {
  margin-bottom: 50px;
}

#page .wp-block-list li {
  list-style: inside;
}

#page h1 + small {
  font-size: 1.5rem;
  color: #ffffff;
  line-height: 110%;
  margin-top: 0.2rem;
}
#page .jumbotron .container {
  padding: 0;
}
#page .jumbotron .container p {
  margin-bottom: 0;
}
#page h2 + p {
  margin: 0 0 1.2rem;
}
#page main img {
  max-width: 100%;
}

#page .title_box {
  margin-bottom: 50px;
}

#page .sample-title {
  display: flex;
  align-items: center;
}

#page .title_box .data {
  text-align: right;
}

/* #page .sample-title::after {
    border-top: 3px dotted;
    content: "";
    display: inline;
    flex-grow: 1;
    margin-left: 0.5em;
} */
#page .sample-title span {
  background-color: #fbfbf2;
}
#page .sample-subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #401f0f;
}

#page2 .card-title {
  font-size: 1.1rem;
  padding: 0.5rem;
}

@media screen and (max-width: 500px) {
  #page-top section#sec0 {
    padding-top: 40px;
  }
  #page-top section#sec0 p {
    font-size: 0.9rem;
  }
  #page2 .card-title {
    font-size: 1rem;
  }
}

/* *****フォーム***** */

.form1 label {
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.form1 input,
.form1 textarea,
.form1 select {
  max-width: 768px;
}
.form1 .form-group {
  margin-bottom: 2rem;
}

.card-img-top {
  min-height: 100%;
  object-fit: cover;
}

.more_btn {
  display: flex;
  justify-content: end;
}

.more_btn2 {
  display: flex;
  justify-content: center;
}

.more_btn3 {
  display: flex;
  justify-content: center;
}

.more_btn a,
.more_btn2 button {
  background-color: #0078d7;
  color: #fff;
  display: inline-block;
  font-size: 16px;
  padding: 15px;
  border-radius: 5px;
  border: none;
  outline: none;
  cursor: pointer;
}

.more_btn3 a{
  background-color: #ff9900;
  color: #fff;
  display: inline-block;
  font-size: 16px;
  padding: 15px;
  border-radius: 5px;
  border: none;
  outline: none;
  cursor: pointer;
}

.swiper-slide {
  height: auto;
}

.swiper-slide a {
  height: 100%;
  display: block;
}

.swiper-wrapper {
  align-items: stretch !important;
}
.swiper-slide {
  height: auto !important;
}

.swiper-wrapper {
  margin-bottom: 50px;
  margin-top: 50px;
}

/* 前へ次への矢印カスタマイズ */
.swiper-button-prev,
.swiper-button-next {
  height: 50px;
  width: 50px;
}
/* 前へ次への矢印カスタマイズ */
.swiper-button-prev::after,
.swiper-button-next::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 50px;
  margin: auto;
  width: 50px;
}
/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
  background-image: url(../img/arrow.png);
  transform: rotate(-90deg);
}
/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  background-image: url(../img/arrow.png);
  transform: rotate(90deg);
}
/* 画像サイズ調整 */
.swiper-slide img {
  height: auto;
  width: 100%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 0 !important;
}

.swiper-button-prev {
  left: 19% !important;
  width: 3% !important;
}

.swiper-button-next {
  right: 19% !important;
  width: 3% !important;
}

@media screen and (max-width: 980px) {
  h1.page-ttl {
    font-size: 1.5rem;
  }
  .more_btn a,
  .more_btn2 button {
    font-size: 14px;
    padding: 10px;
  }
}

@media screen and (max-width: 980px) {
  #page-top section {
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 500px) {
  #page-top section {
    padding-bottom: 25px;
  }
}

.title_cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 5rem 0;
  margin-bottom: 150px;
}

.achievements .title_cover {
  background-image: url(../img/work_bg.png);
}

.game .title_cover {
  background-image: url(../img/game_bg.png);
}

.posts .title_cover {
  background-image: url(../img/blog_bg.png);
}

.contact .title_cover {
  background-image: url(../img/contact_bg.png);
}

.newss .title_cover {
  background-image: url(../img/contact_bg.png);
}

.title_cover h1,
.title_cover h2,
.title_cover p {
  color: #fff;
}

.swiper-button-next,
.swiper-button-prev {
  top: 64% !important;
}

#sec0 {
  padding: 5rem 0;
  text-align: center;
}

.navbar-dark .navbar-toggler {
  border: none;
}

.navbar-dark .navbar-toggler .navbar-toggler-icon {
  background-image: url(../img/can.png);
}

.navbar-dark .navbar-toggler.collapsed .navbar-toggler-icon {
  background-image: url(../img/hum.png);
}

@media screen and (max-width: 980px) {
  .title_cover {
    padding: 3rem 0;
    margin-bottom: 100px;
  }
}

@media screen and (max-width: 500px) {
  .title_cover {
    padding: 2rem 0;
    margin-bottom: 50px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    top: 60% !important;
    width: 8% !important;
  }
  #page article,
  #page2 article {
    padding: 2rem 0;
  }
}

#post-detail-app .post_text {
  white-space: pre;
  margin-bottom: 50px;
}

.grecaptcha-badge {
  z-index: 10;
}

#post-detail-app table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 18px;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
#post-detail-app th,
#post-detail-app td {
  padding: 12px;
  background-color: #ffffff;
  border-bottom: 1px solid #dddddd;
}
#post-detail-app th {
  background-color: #009879;
  color: #ffffff;
  text-transform: uppercase;
}
#post-detail-app tr:hover {
  background-color: #f1f1f1;
}
#post-detail-app tr:nth-of-type(even) {
  background-color: #f9f9f9;
}

#new{
  padding-top: 50px;
}

#top_news ul li{
  border-top: solid 1px #2f2f2f;
}

#top_news ul li:last-child{
  border-bottom: solid 1px #2f2f2f;
}

#top_news ul li a{
  display: block;
  padding: 15px 10px;
  color: #2f2f2f;
  font-size: 16px;
  font-weight: 400;
}

#top_news ul li a:hover{
  opacity: 0.6;
}


.category{

}

.category ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 50px 0;
}

.category ul li a{
  background-color: #0078d7;
  padding: 5px 10px;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
  font-size: 22px;
  transition: .5s;
}

.category ul li a:hover,.category ul li a.active{
  color: #0078d7;
  border: 1px solid #0078d7;
  background-color: #fff;
}

/* .category ul li#php a{
  background-color: #0A9AA4;
}

.category ul li#php a:hover{
  color: #0A9AA4;
  border: 1px solid #0A9AA4;
  background-color: #fff;
} */

@media screen and (max-width: 980px) {
  .category ul{
      padding: 15px 0;
  }
  #top_news ul li a,.category ul li a{
    font-size: 14px;
  }
  #new{
    padding: 25px 0;
  }
}

.order_btn{
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.order_btn button{
  outline: none;
  border: solid 1px #ff9900;
  color: #ff9900;
  background-color: #fff;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.order_btn button.active{
  color: #fff;
  background-color: #ff9900;
}

@media screen and (max-width: 980px) {
  .order_btn button{
    font-size: 14px;
  }
}

@media screen and (max-width: 350px) {
    .order_btn button {
        font-size: 12px;
    }
}