@charset "UTF-8";

:root {
  --main-color: #004097;
  --transition-color: 0.2s;
  --logo-red: red;
  --logo-blue: blue;
  --logo-green: #288a49a0;
  --logo-yellow: #ab8c00;
  --logo-lightBlue: #00a78e;
  --logo-orange: #fd8c1c;
  --logo-pink: #ea3992;
  --logo-darkBlue: #03a9a9;
  --logo-brown: #964b00;
  --logo-purple: #990099;
}

* {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0px;
}

/*ここは試験用*/

.test > h1 {
  transition: all 1s;
  transform-origin: center bottom 0;
  text-align: center;
  position: absolute;

}

.test:hover h1 {
  transform: rotate(-360deg);
  opacity: 0;
  font-size: 0%;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    color: #333;
    font-size: 1rem;
    background-color: rgb(245, 245, 245);
    margin: 0;
}

main {
  padding-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 260.4px);
}

a {
    color: #333;
    text-decoration: none;
}

/* a:hover {
  opacity: 0.7;
} */

img {
  max-width: 100%;

}

main img {
  /*logoには反映させたくないので修正必須*/
  /* box-shadow: 4px 4px 4px #a5a5a5; */
  border-radius: 5px;
}

li {
    list-style: none;
}



/*
グローバルナビゲーション 未理解
「position: relative;」で、サブメニュー（Wide）の基準位置として設定

.wrapper .menu {
  /*
  これはメインサイトにも共有しているためバグの原因にもなる。
  よってどこかキリのいいところで新しいファイルを作って試してもよいか。
　
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  position: relative;
}



/*
コンテンツ幅を設定するための共通クラス
*/
.wrapper {
  max-width: 1200px;
  padding: 16px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.btn {
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.menu_headline {
  transition: all 0.5s; /*カーソルを合わせた時の文字が薄くなる速度が滑らかになる */
}


/*main--------------------------*/
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}
.product-list li {
  /*戦法リストのサイズ、1列4つ入れるなら23%*/
  width: 23%;
}

.product-list > li > div {
  background-color: #fff;
  border-radius: 16px 16px;
  box-shadow: rgb(178, 178, 178) 0px 2px 6px;
  text-align: center;
}

.product-list a {
  height: 100%;
  display:block;
  transition: all 0.2s;
  border-radius: inherit;
  padding: 20px;
}

.product-list img {
  vertical-align: top;
  margin: 20px 5px 0px 5px;
  width: 90%;
  min-width: 70%;
}

.senpou-auther {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}



.product-list p {
  font-size: 0.8rem;
  font-family: 游明朝;
  font-weight: 500;
  letter-spacing: 0.1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* 表示する行数を2行に制限 */
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 1; /* 標準プロパティ（まだ対応ブラウザは少ない） */
}

.senpou-auther p {
  font-size: 0.8rem;
    font-family: 游明朝;
    font-weight: 500;
    letter-spacing: 0.1rem;
    display: inline-block;
    -webkit-box-orient:initial;
    -webkit-line-clamp:initial;
    overflow: initial;
    text-overflow: initial;
    line-clamp: initial;
    margin-left: 8px;
}

.product-list-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 5px 0 5px;
  gap: 8px;
}

.product-list-title img {
  margin: 0;
  vertical-align: auto;
  max-width: 30px;
  min-width: 30px;
  border-radius: 50%;
  display: inline-block;
}

.product-list-tag {

  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-list-tag p {
  letter-spacing: normal
}

.product-list-tag > p {
  line-height: 34px;
}

.product-list-tag .tag {
  background-color: #fff;
  color: #333;
  border: 1px solid var(--main-color);
  border-radius: 4px;
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3846153846;
  padding: 0.3em .5em 0.3em;
  width: fit-content;
  margin: 0 1rem;
}


.product-list li div a:hover {
  background-color: var(--main-color);
  color: white;
}

.product-list li div a:hover .product-list-tag .tag {
  border: 1px solid white;
  background-color: #004097;
  color: white;
  transition: all 0.2s;
}

.logo {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

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

.logo > div {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: url("/img/shogiban.png");
  background-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}

.logo-text {
  color: #fff;
  position: relative;
  width: 100%;
  /* background: linear-gradient(rgba(69, 56, 64, 0.7), rgba(0, 0, 0, 0.7), rgba(65, 63, 51, 0.7)); */
  font-size: 2em;
  font-weight: bold;
  z-index: 2;
}

.logo-red {
  text-shadow: -1px -1px 4px var(--logo-red), -1px 0 4px var(--logo-red), -1px 1px 4px var(--logo-red),
                  0 -1px 4px var(--logo-red),                    0 1px 4px var(--logo-red),
                1px -1px 4px var(--logo-red),  1px 0 4px var(--logo-red),  1px 1px 4px var(--logo-red);
}

.logo-blue {
  text-shadow: -1px -1px 4px var(--logo-blue), -1px 0 4px var(--logo-blue), -1px 1px 4px var(--logo-blue),
                  0 -1px 4px var(--logo-blue),                    0 1px 4px var(--logo-blue),
                1px -1px 4px var(--logo-blue),  1px 0 4px var(--logo-blue),  1px 1px 4px var(--logo-blue);
}

.logo-green {
  text-shadow: -1px -1px 4px var(--logo-green), -1px 0 4px var(--logo-green), -1px 1px 4px var(--logo-green),
                  0 -1px 4px var(--logo-green),                    0 1px 4px var(--logo-green),
                1px -1px 4px var(--logo-green),  1px 0 4px var(--logo-green),  1px 1px 4px var(--logo-green);
}

.logo-yellow {
  text-shadow: -1px -1px 4px var(--logo-yellow), -1px 0 4px var(--logo-yellow), -1px 1px 4px var(--logo-yellow),
                  0 -1px 4px var(--logo-yellow),                    0 1px 4px var(--logo-yellow),
                1px -1px 4px var(--logo-yellow),  1px 0 4px var(--logo-yellow),  1px 1px 4px var(--logo-yellow);
}

.logo-lightBlue {
  text-shadow: -1px -1px 4px var(--logo-lightBlue), -1px 0 4px var(--logo-lightBlue), -1px 1px 4px var(--logo-lightBlue),
                  0 -1px 4px var(--logo-lightBlue),                    0 1px 4px var(--logo-lightBlue),
                1px -1px 4px var(--logo-lightBlue),  1px 0 4px var(--logo-lightBlue),  1px 1px 4px var(--logo-lightBlue);
}

.logo-orange {
  text-shadow: -1px -1px 4px var(--logo-orange), -1px 0 4px var(--logo-orange), -1px 1px 4px var(--logo-orange),
                  0 -1px 4px var(--logo-orange),                    0 1px 4px var(--logo-orange),
                1px -1px 4px var(--logo-orange),  1px 0 4px var(--logo-orange),  1px 1px 4px var(--logo-orange);
}

.logo-pink {
  text-shadow: -1px -1px 4px var(--logo-pink), -1px 0 4px var(--logo-pink), -1px 1px 4px var(--logo-pink),
                  0 -1px 4px var(--logo-pink),                    0 1px 4px var(--logo-pink),
                1px -1px 4px var(--logo-pink),  1px 0 4px var(--logo-pink),  1px 1px 4px var(--logo-pink);
}

.logo-darkBlue {
  text-shadow:  -1px -1px 4px var(--logo-darkBlue), -1px 0 4px var(--logo-darkBlue), -1px 1px 4px var(--logo-darkBlue),
                  0 -1px 4px var(--logo-darkBlue),                          0 1px 4px var(--logo-darkBlue),
                1px -1px 4px var(--logo-darkBlue),  1px 0 4px var(--logo-darkBlue),  1px 1px 4px var(--logo-darkBlue);
}

.logo-brown {
  text-shadow:  -1px -1px 4px var(--logo-brown), -1px 0 4px var(--logo-brown), -1px 1px 4px var(--logo-brown),
                  0 -1px 4px var(--logo-brown),                          0 1px 4px var(--logo-brown),
                1px -1px 4px var(--logo-brown),  1px 0 4px var(--logo-brown),  1px 1px 4px var(--logo-brown);
}

.logo-purple {
  text-shadow:  -1px -1px 4px var(--logo-purple), -1px 0 4px var(--logo-purple), -1px 1px 4px var(--logo-purple),
                  0 -1px 4px var(--logo-purple),                          0 1px 4px var(--logo-purple),
                1px -1px 4px var(--logo-purple),  1px 0 4px var(--logo-purple),  1px 1px 4px var(--logo-purple);
}

.logo-text:before {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  width: 90%;
  height: 100%;
  background-image: linear-gradient(rgba(69, 56, 64, 0.7), rgba(0, 0, 0, 0.7), rgba(65, 63, 51, 0.7));
  filter: blur(10px);
  content: "";
  z-index: -1;
}



/*-------------------------------------------
TOP、PRODUCTS
-------------------------------------------*/

.link-text {
  display: block;
  text-align: center;
  margin-bottom: 20px; /*View Moreのbottom間隔*/
}

/*-------------------------------------------
footer　※以下コピペ理解未完
-------------------------------------------*/
#footer {
  font-size: 0.875rem;
  background-color: var(--main-color);
  color: #ffffff;
}

#footer .content {
  display: flex;
  justify-content: space-between;
  padding-top: 50px;
  padding-bottom: 50px;
}
#footer .item {
  width: 30%;
  text-align: left;
}

#footer .footer-title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 30px;
}
#footer ul.service-list {
  text-align: left;
  width: fit-content;
}

/* #footer ul.service-list li {
  padding-top: 5px;
  padding-bottom: 5px;
} */

#footer ul.service-list li a {
  color: #fff;
}

#footer ul.service-list .arrow {
  position: relative;
  display: inline-block;
  padding-left: 12px;
}
/*
疑似要素で三角矢印を表示
border～プロパティで三角を作り、positionで位置調整
*/
#footer ul.service-list .arrow::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #ffffff;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -6px;
}
#footer .menu-list {
  /* border-bottom: solid  1px #777; */
  width: fit-content;
}
#footer .menu-list > li {
  text-align: left;
  margin: auto;
}

#footer .menu-list a {
  color: #fff
}

#footer .copyright {
  font-size: 0.750rem;
  text-align: center;
  padding: 10px 0;
}

.service {
  border-right: solid;
  border-left: solid;
  padding-left: 40px;
}

.support {
  border-right: solid;
}

/*
otoiawase
.select, .input, .radio, .textarea
*/
/*
#top {
  padding-top: 150px;
}
*/
.select {
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  min-width: 500px;
}
.input {
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  min-width: 500px;
}
.radio {
  margin: auto;
}
.textarea {
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #ccc;
  min-width: 500px;
  min-height: 100px;
}
label, input, textarea, select, button {
  cursor: pointer;
}

  /*-------------------------------------------
pop-up
-------------------------------------------*/
/* .open-pop-up {
  cursor:pointer; マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように
} */
#pop-up {
  display: none;  /* label でコントロールするので input は非表示に */

}
.overlay {
  display: none;  /* input にチェックが入るまでは非表示に */
}

.overlay > label {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor:auto;
}

#pop-up:checked +.overlay {
  display: block;
  z-index: 9999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
.window {
  width: 90vw;
  max-width: 418px;
  min-height: 264px;
  background-color: var(--main-color);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 游明朝;
}
.text {
  font-size: 18px;
  margin: 0;
}
.close-pop-up {
  cursor:pointer;
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 20px;
  color: #fff;
}

.window span {
  color:#fff
}

.title-pop-up {
  position: relative;
  margin: 1rem;
  font-size: 40px;
  font-weight: 900;
}

.description-pop-up {
  position: relative;
  border-top: solid;
  font-size: 20px;
  padding: 20px;
  font-weight: 200;
}

#move-page {
  position: absolute;
  top: 66%;
  left: 46%;
}

/*吹き出し1*/
.article-title {
  position: relative;
  padding: 1.5rem 2rem;
  border: 3px solid #d8d8d8;
  border-radius: 10px;
  background: #f9f9f9;
}

.article-title:before {
  position: absolute;
  bottom: -14px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #d8d8d8 transparent transparent transparent;
}

.article-title:after {
  position: absolute;
  bottom: -10px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #f9f9f9 transparent transparent transparent;
}
/*吹き出し2*/

.balloon5 {
  width: 100%;
  margin: 1.5em 0;
  overflow: hidden;
}

.balloon5 .faceicon {
  float: left;
  margin-right: -90px;
  width: 80px;
}

.balloon5 .faceicon img{
  width: 100%;
  height: auto;
  border: solid 3px #d7ebfe;
  border-radius: 50%;
}

.balloon5 .chatting {
  width: 100%;
}

.says {
  display: inline-block;
  position: relative;
  margin: 5px 0 0 105px;
  padding: 17px 13px;
  border-radius: 12px;
  background: #d7ebfe;
}

.says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px;
  left: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #d7ebfe;
}

.says p {
  margin: 0;
  padding: 0;
}
/*吹き出し2終わり*/

/*-------------------------------------------
SP
-------------------------------------------*/

@media screen and (max-width: 991px) {
  .product-list li {
    width: 31%;
  }
}

@media screen and (max-width: 767px) {

  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }

  .wrapper {
    max-width: 500px;
  }

  /*-------------------------------------------
  top-title
  -------------------------------------------*/

  #top-title {
    padding-top: 100px;
    flex-direction: column;
  }
  /*Galaxy Foldでは"駒の動かし方"が2行になるため調整必要*/

  #top-title article {
    width: 100%;
    margin-bottom: 30px;
  }

  .top-right img {
    border-radius: 5px;
    width: 480px;
    margin: 0;
}

  #top-title .article-subtitle {
    font-size: 10px;
    margin: 30px 0px 30px 15px;
  }

  .logo-text {
    font-size: 1.7em;
  }

  .product-list-tag {

    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /*-------------------------------------------
  container
  -------------------------------------------*/
  #container {
    flex-direction: column;
  }
  main {
    width: 100%;
    padding-bottom: 1rem;
    padding-top: calc(1rem + 60px);
  }
  .product-list p {
    font-size: 16px;
  }
  .product-list li {
    width: 60%;
  }

  /*-------------------------------------------
  aside
  -------------------------------------------*/
  #sidebar {
    width: 100%;
    padding: 0;
  }

  /*-------------------------------------------
  footer
  -------------------------------------------*/
  #footer .content {
    flex-direction: column;
  }
  #footer .item {
    width: 100%;
    margin-bottom: 30px;
  }

  .service {
    border-right: none;
    border-left: none;
    padding-left: 0;
  }

  .support {
    border-right: none;
  }

  #footer .footer-title {
    margin-bottom: 10px;
  }

  /*-------------------------------------------
  pop-up
  -------------------------------------------*/

  .window {
    /* max-width: 760px;
    height: 480px; */
  }

}

@media screen and (max-width: 440px) {
  .product-list li {
    width: 100%;
  }

  .logo-text {
    font-size: 2.5em;
  }
}

.follow-me {
  list-style: none;
  margin: 0 0 -8px;
  overflow: hidden;
  padding: 0;
}
.follow-me li {
  float: left;
  margin: 0 8px 8px 0;
  padding: 0;
}
.follow-me li a::before {
  -webkit-border-radius: 2px;
  border-radius: 2px;
  color: #fff;
  display: inline-block;
  font-family: FontAwesome;
  font-size: 16px;
  height: 44px; /* Button height */
  line-height: 44px; /* Button height */
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  text-align: center;
  width: 44px; /* Button width */
}
.follow-me li a:hover::before {
  opacity: 0.7;
}

.follow-me li a[href*="twitter.com"]::before        { background-color: #55acee; content: "\f099"; }

.plan-label {
  display: inline-block;
  color: white;
  font-weight: bold;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  text-align: center;
  height: fit-content;
}

.basic-plan {
  background-color: green;
}

.standard-plan {
  background-color: skyblue;
}

.premium-plan {
  background-color: gold;
}

.power-up-tag {
  background-color: rgb(255, 145, 0);
}