@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.lp-content {
  padding: 0;
}

.lp-content__postContent {
    padding: 0;
}

.m-plus-rounded-1c-regular {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.m-plus-rounded-1c-bold {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: bold;
  font-style: normal;
}

.lp_wrap {
  width: 600px;
  max-width:100%;
  height:auto;
  margin: 0 auto;
}

@media screen and (max-width: 599px) {
  .lp_wrap {
    width: 100%;
    margin: 0;
  }
}

.lp_wrap img{
  width: 100%;
  height: auto;
  margin: 0px;
  vertical-align: bottom;
}

.lp_wrap a{
  margin: 0px auto;
  display: block;
  animation: fuwafuwa 1s ease 0s infinite alternate;
}

@keyframes fuwafuwa {
from {transform: scale(0.9,0.9);}
to {transform: scale(1,1);}
}

.lp_wrap a:hover{
  opacity: 0.7;
}

.lp_wrap header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  background: rgba(130, 232, 235, 0.95); /* ←透明度つき */
  backdrop-filter: blur(8px); /* 背景をぼかして透け感アップ */
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.lp_wrap header nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.lp_wrap header nav ul li {
  flex: 1; /* 均等幅にする */
  text-align: center;
}

.lp_wrap header nav ul li:last-child {
}

.lp_wrap header nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background 0.3s, color 0.3s;
  animation: none;
  font-size: 0.8rem;
  font-weight: bold;
}

@media screen and (max-width: 599px) {
    .lp_wrap header nav ul li a {
    padding: 4px 0;
    }
}

.lp_wrap header nav ul li a:hover {
  color: #0078d4; /* ホバー時のアクセントカラー */
  opacity: 0.8;
}

.lp_wrap header nav ul li a img {
  width: 50px;
  height: auto;
  margin-bottom: 4px;
}

@media screen and (max-width: 599px) {
    .lp_wrap header nav ul li a img {
    width: 40px;
    margin-bottom: 4px;
    }
}

.lp_wrap header nav ul li a span {
  line-height: 1.4;
  display: block;
}

@media screen and (max-width: 599px) {
    .lp_wrap header nav ul li a span {
        font-size: 0.7rem;
    }
}

/* 上部固定分の余白を確保（下記は任意で本文の最初に適用）  
body {
  margin-top: 100px; 

@media screen and (max-width: 599px) {
    body {
    margin-top: 80px; 
    }
}
*/

.lp_wrap #mv ul {
  display: flex;  
  justify-content: space-around;
  align-items: center;
  margin: -80px 0 30px;
  padding: 0;
  list-style: none;
  width: 100%;
}

.lp_wrap #mv ul li {
  width: 30%;
  height: 120px;
  background-color: #4776C4;
  border: 2px dashed #fcea23;
  color: #fee9f2;
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 1.4rem;

  /* 中央寄せ（これがポイント） */
  display: flex;
  justify-content: center; /* 横方向の中央寄せ */
  align-items: center;     /* 縦方向の中央寄せ */

  /* 複数行テキストも自然に中央 */
  flex-direction: column;  /* 縦方向に並べる（改行を保つ） */
  line-height: 1.4;
}

@media screen and (max-width: 599px) {
    .lp_wrap #mv ul {
    margin: -40px 0 30px;
    }
    .lp_wrap #mv ul li {
        height: 80px;
        font-size: 1.0rem;
    }
    .lp_wrap #mv ul li span{
        font-size: 0.8rem;
    }
}

.lp_wrap #about,
.lp_wrap #course,
.lp_wrap #qa,
.lp_wrap #contact
{
    padding-top: 100px; /* 調整したい高さ（固定ヘッダーの高さ） */
    margin-top: -100px; /* heightと同じ分のネガティブマージン */
}

.lp_wrap #about {
  background-color: #fec13f;
}

.lp_wrap #about a,
.lp_wrap #line a,
.lp_wrap #form a
 {
  width: 100%;
  margin-top: 20px;
}

.lp_wrap #about a img,
.lp_wrap #line a img,
.lp_wrap #form a img
 {
    margin-bottom: 20px;
}

.lp_wrap #form .lp-form
 {
    width: 92%;
    margin: 0 4%;
}

.lp_wrap #form h3
 {
    text-align: center;
    font-size: 1.1rem;
}

.lp_wrap #form p
 {
    text-align: center;
}

.lp_wrap #form .wpforms-submit {
    width: 80%;
    text-align: center;
    margin: 30px 10%;
}

.lp_wrap footer {
    background-image: url(/wordpress/wp-content/uploads/lp/30_footer.png);
    background-repeat: no-repeat;
    background-color: #7fb8ab;
    width: 100%;
    background-size: 100%;
    min-height: 280px;
}

.lp_wrap footer .footer_box {
    width: 52%;
    padding: 4%;
    text-align: center;
}

.lp_wrap footer .footer_box p {
    font-size: 0.8rem;
}

.lp_wrap footer .footer_box a {
    animation: none;
    padding: 8px 0;
}

.lp_wrap footer .footer_box small {
    font-size: 0.7rem;
}
