@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
*/

.c-gnav > li:hover > a::after, .c-gnav > .-current > a::after {
	height: 2px !important;
}



.p-mainVisual__scroll{
	bottom: 50px !important;
}

.l-mainContent .post_content .top-tx1{
  margin-top: -20px !important;
}

	.l-mainContent .post_content .top-tx1{
  margin-top: 50px !important;
}
	

/* TB（768px〜1024px） */
@media screen and (max-width: 1024px){
  .p-mainVisual__scroll{
    bottom: 160px !important;
  }
}

/* SP */
@media screen and (max-width: 767px){
  .p-mainVisual__scroll{
    bottom: 80px !important;
  }
	
	
	.l-mainContent .post_content .top-tx1{
  margin-top: -50px !important;
}
	

	h4{
		font-size: 0.8em !important;
	}


	h5{
		font-size: 0.8em !important;
	}
}




/*TOP見出し */


.top-heading{
  
  align-items: center;
	gap: 17px !important;
  text-decoration: none;
}


.top-heading .top-title{
  font-weight: 700;
  line-height: 1;
  font-size: clamp(34px, 4.2vw, 56px);
}

.top-heading .top-sub{
  font-weight: 600;
  line-height: 1;
  font-size: clamp(14px, 1.2vw, 18px);
 
    color: #777;
}








/* PICKUP装飾 */

.pickup .p-postList__title{
  position: relative!important;
  padding-left: 1.6em!important;
  font-weight: 600!important;
}

.pickup .p-postList .p-postList__title::before{
  content: "▶" !important;   
  position: absolute !important;
	left: 0;
  top: 20% !important;
  font-size: 10px !important;
  line-height: 1 !important;
  color: var(--color_main, #1f6fb2) !important;
}


.pickup .p-postList__title{
  position: relative!important;
  display: inline-block!important;
  padding-bottom: 12px;
}

.pickup .p-postList__title::after{
  content: ""!important;
  position: absolute!important;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color_main, #1f6fb2) 0%,
    rgba(31,111,178,0.0) 92%
  );
}
.pickup .-type-card .p-postList__item{
  margin-bottom: 0 !important;
}
	
.pickup-block ul.p-postList.-type-card .p-postList__excerpt{
  font-size: 18px !important;
}



/* Contact Form 7 スポーツ団体向けスタイリッシュスタイル (最終調整版) */

.sports-form {
    /*max-width: 650px;  やや広めに */
    margin: 30px auto; /* 中央寄せ */
    padding: 28px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: none; /* フォーム全体の影を削除 */

}
@media (max-width: 767px){
  .sports-form {
    padding: 20px;
  }
}

.sports-form .form-group {
    margin-bottom: 25px; /* 各項目間の余白を統一 */
}

.sports-form .form-group:last-of-type {
    margin-bottom: 0; /* 最後の項目は下マージンなし */
}

.sports-form label {
    display: block;
    margin-bottom: -20px;
    font-weight: bold;
    color: #003366; /* ロゴの濃紺色 */
    font-size: 1em;
    letter-spacing: 0.05em; /* 文字間を少し開けて力強く */
}

.sports-form input[type="text"],
.sports-form input[type="email"],
.sports-form input[type="tel"],
.sports-form textarea {
    display: block;
    width: 90%;
    padding: 10px 15px;
    font-size: 1em;
    border: 2px solid #e0e0e0; /* やや太めのボーダー */
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fcfcfc;
}

.sports-form input[type="text"]:hover,
.sports-form input[type="email"]:hover,
.sports-form input[type="tel"]:hover,
.sports-form textarea:hover {
    border-color: #0066CC; /* ホバーで青く */
}

.sports-form input[type="text"]:focus,
.sports-form input[type="email"]:focus,
.sports-form input[type="tel"]:focus,
.sports-form textarea:focus {
    border-color: #003366; /* フォーカスで濃紺 */
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.2); /* フォーカスリング */
}

.sports-form textarea {
    min-height: 200px;
    resize: vertical;
}

.sports-form .submit-section {
    text-align: center; /* ボタンを中央寄せ */
    margin-top: 40px;
}

.sports-form input[type="submit"] {
    display: inline-block;
    padding: 16px 40px;
    background-color: #0066CC; /* オーシャンブルー */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    min-width: 200px; /* ボタンの最小幅 */
}

.sports-form input[type="submit"]:hover {
    background-color: #003366; /* ホバーで濃紺 */
    transform: translateY(-3px); /* わずかに浮き上がる */
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

/* チェックボックスと同意文のスタイル */
.sports-form .acceptance-section {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 0.95em;
    color: #555;
}

.sports-form .wpcf7-list-item-label {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.sports-form .wpcf7-acceptance input[type="checkbox"] {
    margin-right: 5px;
    transform: scale(1.3); /* チェックボックスを少し大きく */
    vertical-align: middle;
}

/* エラーメッセージと成功メッセージ */
.sports-form .wpcf7-response-output {
    margin-top: 30px;
    padding: 18px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    border: 1px solid;
    font-size: 1em;
}

.sports-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #e6ffe6;
    color: #008000;
    border-color: #008000;
}

.sports-form .wpcf7-response-output.wpcf7-mail-sent-ng,
.sports-form .wpcf7-validation-errors {
    background-color: #ffe6e6;
    color: #cc0000;
    border-color: #cc0000;
}

.sports-form .wpcf7-not-valid-tip {
    color: #cc0000;
    font-size: 0.85em;
    display: block;
    margin-top: 5px;
    text-align: left;
}

/* reCAPTCHAの調整 */
.sports-form .wpcf7-recaptcha {
    margin-top: 25px;
    text-align: center;
}

/* Placeholderのスタイル */
.sports-form input::placeholder,
.sports-form textarea::placeholder {
    color: #999;
    opacity: 1;
    font-weight: normal;
}

.sports-form input[type="text"],
.sports-form input[type="email"],
.sports-form input[type="tel"],
.sports-form textarea {
  font-size: 0.95em;   /* 1em → 0.95em */
  padding: 8px 12px;   /* 10px 15px → 8px 12px */
}

.sports-form input[type="text"],
.sports-form input[type="email"],
.sports-form input[type="tel"],
.sports-form textarea {
  width: 100%;
}




/* 送信ボタン中央寄せ */
.form-group.submit-section > p{
  display: flex;
  justify-content: center;
  position: relative;
}

/* スピナーをボタンの横に浮かせる */
.form-group.submit-section .wpcf7-spinner{
  position: absolute;
  right: -40px;   /* ボタン右に少し離して配置 */
}