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


/* 動画ブロックを16:9の枠に固定して黒枠を隠す */
figure.wp-block-video.is-style-default {
    position: relative;
    width: 100%;
    max-width: 1000px;   /* 好きな上限幅。なければ消してOK */
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
}

/* 中の video を枠いっぱいにフィットさせる */
figure.wp-block-video.is-style-default > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


body {
  font-family: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0em;
}
h1, h2, h3 {
  font-weight: 700;
}
strong, b {
  font-weight: 700;
}
.med {
  font-weight: 600;
}
.post_content .p-postList__item a {
  position: relative;
  color: var(--color_link);
  text-decoration: none;
  transition: color 0.3s;
}
.post_content .p-postList__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: #b81c26;
  transition: width 0.3s;
}
.post_content .p-postList__item a:hover {
  color: #b81c26;
  background-color: #F9F9F9;
  text-decoration: none;
}
.l-content a:hover:not(.c-btn):not(.p-btn):not(.c-iconBtn)::after {
  width: 100%;
}


h1.c-pageTitle[data-style=b_bottom] {
	font-size: 2.4rem!important;
	border:none;
	border-bottom: solid 1px #CCC;
}
.c-pageTitle[data-style=b_bottom] .c-pageTitle__inner {
	text-align: center;
	border:none;
	float: none;
	display: block;
	margin: 0 auto 0 auto;
}
h2.wp-block-heading {
	font-size: 2.4rem;
}
h2.p-postList__title {
	font-size: 1.4rem!important;
}
time.c-postTimes__posted {
	font-size: 1rem!important;
}

h4 {
	border-left: solid 10px var(--color_htag)!important;
	padding-left: 8px!important;
}
.swell-block-dl__dt {
    font-weight: 600!important;
}

.w-footer__box .widget_media_image img {
	display: block;
	width: 140px;
	margin: 0 auto 0 auto;
	padding: 20px 0 0 0;
}
.txt-just {
	text-align: justify;
}
.menu-title2 {
	font-size: 24px;
	padding-left: 15px;
}
.c-listMenu a {
    padding: 1.2em 1em 1.2em 1.5em;
}
.c-spnav {
	border-top: 1px solid var(--color_border);
}
.p-spMenu__body {
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style:
}
.p-spMenu__body::-webkit-scrollbar {
  display: none;
}

/* ログインボタン */
.c-gnav>.menu-item.btn-login>a,.c-gnav>.menu-item.btn-regi>a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding: 6px 20px;
	font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF !important;
    transition: 0.3s;
}

.c-gnav>.menu-item.btn-login>a {
	background-color: #555555;
}
.c-gnav>.menu-item.btn-regi>a {
    background-color: #b81c26;
}
.c-gnav>.menu-item.btn-login>a:hover {
	background-color: #777777;
    transition: 0.3s;
}
.c-gnav>.menu-item.btn-regi>a:hover {
    background-color: #de464d;
    transition: 0.3s;
}
/* マイページ閲覧中（ログイン済み）のときは ENTRY / Login ボタンを非表示 */
.logged-in.page-id-123 .c-gnav .menu-item-entry,
.logged-in.page-id-123 .c-gnav .btn-login {
    display: none;
}




/* スマホ時（ハンバーガーメニュー内）の見た目調整（お好みで） */
@media (max-width: 959px) {
    .c-gnav .menu-item-entry > a {
        display: block;
        text-align: center;
        margin: 8px 0;
    }
}


/* スポンサー */
.partners-box {
	max-width: 800px;
	margin: 0 auto;
}
.sponsors {
	--sponsors-max: 1068px;
	padding: 15px 0 50px 0;
}
.sponsors .sponsors-inner {
    max-width: var(--sponsors-max);
	margin: 0 auto;
}
.sponsors .sponsors-inner .swell-block-columns__inner {
	justify-content: center;
}

.sponsors .swell-block-column.logo-box > figure {
    width: 100%;
    aspect-ratio: 3 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #fff;
    overflow: hidden;
}

.sponsors .swell-block-column.logo-box > figure > a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sponsors .swell-block-column.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* 国旗表示 */

.tasar-flag-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    vertical-align: middle;
}

.tasar-flag-img {
    display: block;
    width: 20px;
    height: auto;
}

.tasar-flag-text {
    display: inline-block;
    line-height: 1;
}



/* ================================
   登録フォーム
================================ */
.team-form {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 0px;
    max-width: 840px;
    margin: 0 auto;
    border-bottom: 1px solid #ddd;
}
.team-form dt,
.team-form dd {
    margin: 0;
    padding: 16px 10px;
    border-top: 1px solid #ddd;
}
.team-form dt {
    font-weight: bold;
    text-align: left;
	line-height: 1.3;
    display: flex;
    align-items: center;
}
}
.team-form dd {
    display: block;
    width: 100%;
}
.team-form dd .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
p#authority-warning-inline {
	margin: 4px 0 0 16px;
	line-height: 1.3;
}

/* テキスト系入力を横幅100%に */
.team-form input[type="text"],
.team-form input[type="email"],
.team-form input[type="number"],
.team-form input[type="tel"],
.team-form input[type="date"],
.team-form select,
.team-form textarea {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #aaa;
    border-radius: 3px;
    box-sizing: border-box;
}
.team-form input[type="radio"] {
    margin-right: 4px;
}

/* Submit ボタン（目立たせる） */
.wpcf7-submit {
    display: block;
    width: 300px;
    max-width: 100%;
    margin: 40px auto 0;
    padding: 16px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: #b81c26;
    color: #fff;
    transition: opacity .25s, transform .25s;
}
.wpcf7-submit:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}
.team-form input::placeholder,
.team-form textarea::placeholder {
	color: #BBBBBB;
}

/* スマホでは縦並びに */
@media screen and (max-width: 768px) {
    .team-form {
        grid-template-columns: 1fr;
    }
}


/* ================================
   マイページ項目編集
================================ */
.team-mypage .acf-form {
    margin-top: 12px;
}
.team-mypage .acf-form .acf-fields {
    width: 100%;
    min-width: 600px;
    margin: 0 auto;
}
.team-mypage .acf-form .acf-field {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    column-gap: 0;
    padding: 16px 10px;
    border-top: 1px solid #ddd;
}
.team-mypage .acf-form .acf-field:last-child {
    border-bottom: 1px solid #ddd;
}
.team-mypage .acf-form .acf-label {
    margin: 0;
    display: flex;
    align-items: center;
    font-weight: bold;
}
.team-mypage .acf-form .acf-input {
    margin: 0;
}

/* 入力パーツを横いっぱいに */
.team-mypage .acf-form .acf-input input[type="text"],
.team-mypage .acf-form .acf-input input[type="email"],
.team-mypage .acf-form .acf-input input[type="number"],
.team-mypage .acf-form .acf-input input[type="tel"],
.team-mypage .acf-form .acf-input input[type="date"],
.team-mypage .acf-form .acf-input select,
.team-mypage .acf-form .acf-input textarea {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #aaa;
    border-radius: 3px;
    box-sizing: border-box;
}

/* エラーメッセージ等は下に */
.team-mypage .acf-form .acf-input .acf-notice,
.team-mypage .acf-form .acf-input .acf-error-message {
    margin-top: 4px;
}

.team-mypage .acf-field .acf-radio-list {
    display: flex;
    flex-wrap: wrap;          /* 改行ありで横並び */
    margin-top: 4px;
}
.team-mypage .acf-field .acf-radio-list li {
    display: flex;
    align-items: center;
    margin: 0 18px 0 0 !important;     /* ACFのデフォルト余白を消す */
}
.team-mypage .acf-field .acf-radio-list input[type="radio"] {
    margin-right: 6px;
}

/* スマホでは縦並びに */
@media screen and (max-width: 768px) {
    .team-mypage .acf-form .acf-field {
        grid-template-columns: 1fr;
    }
}


/* ================================
   My Page ボタン類のデザイン統一
================================ */

/* Log out ボタン & Update Profile ボタン 共通スタイル */
.team-mypage a.mypage-btn-logout,
.team-mypage input[type="submit"].acf-button {
    display: inline-block;
    padding: 12px 26px;
    margin-top: 20px;
    border-radius: 6px;
    border: 1px solid #999;
    background-color: #f8f8f8;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
}

/* ホバー時の挙動をグレー系に固定（SWELLの赤リンクを上書き） */
.l-content .team-mypage a.mypage-btn-logout:hover,
.team-mypage input[type="submit"].acf-button:hover {
    background-color: #e5e5e5 !important;
    color: #111 !important;
    text-decoration: none !important;
}




/* ================================
   タブレット以下
================================ */

@media screen and (min-width: 960px) {
dl.schedule-dt {
	border-bottom: solid 1px #CCC;
	margin-bottom: 5rem;
}
.schedule-dt dt.swell-block-dl__dt {
	font-size: 1.8rem;
	width: 50%;
	padding: 15px 0 15px 15px;
	border-top: solid 1px #CCC;
}
.schedule-dt dd.swell-block-dl__dd {
	font-size: 1.6rem;
	width: 50%;
	padding: 15px 0 15px 0;
	border-top: solid 1px #CCC;
}
}

