html {
    scroll-padding-top: 70px;
}

body {
    min-width: 320px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans", Meiryo, sans-serif;
    background-image:  url(../images/background.jpg);
    background-repeat: no-repeat; /* 繰り返しを防ぐ */
    background-size: cover;       /* 画面全体にフィットさせる */
    background-position: center;  /* 画像を中央に配置 */
    background-attachment: fixed; /* スクロールしても背景を固定したい場合は追加 */
    height: 100vh;
    width: 100%;
}

.questrial-regular {
  font-family: "Questrial", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.biz-udpmincho-regular {
  font-family: "BIZ UDPMincho", serif;
  font-weight: 400;
  font-style: normal;
}

.biz-udgothic-regular {
  font-family: "BIZ UDGothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* ==============
Header
============== */

.header {
    height: 55px;
    z-index: 100;
}
@media screen and (min-width: 400px) {
    .header {
        height: 90px;
        width: 100%;
        background: #fff;
        position: fixed;
        top: 0;
        border-bottom: 2px solid #673926;
    }
}

/* Menu */
.logo_image_wrap {
    width: 10%;
    margin-top: 10px;
    margin-left: 10px;
    max-width: 310px;
}
@media screen and (min-width: 400px){
    .logo_image_wrap {
        margin-top: 15px;
        margin-left: 25px;
        }    
}
@media screen and (min-width: 950px){
    .logo_image_wrap {
        width: 30%;
        float: left;
    }    
}

.logo_image_link {
    display: block;
    transition: 0.3s;
    max-width: 50px;
}

.logo_image_link:hover {
    opacity: 0.8;
}

.logo_image {
    width: 100%;
}

/* ==============
Header(Menu)
============== */

/* menu */
.nav_area {
    overflow: hidden;
    cursor: pointer;
}
@media screen and (min-width: 950px){
    .nav_area {
        width: 65%;
        height: 70px;
        float: right;
        max-width: 1000px;
    }

}


@media screen and (min-width: 949px){
    .sp_menu {
        display: none;
    }
}

.menu {
    height: 22px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 44px;
    z-index: 99;
}
@media screen and (min-width: 400px){
    .menu {
        top: 30px;
    }    
}
.menu_line {
    background: #673926;
    display: block;
    height: 3px;
    position: absolute;
    transition:transform .3s;
    width: 100%;
}
.menu_line_bottom {
    bottom: 0;
}
.menu_line_top.active {
    top: 12px;
    transform: rotate(45deg);
}
.menu_line_bottom.active {
    bottom: 8px;
    transform: rotate(135deg);
}

.menu_title.active {
    color:#f4f6f7;
}
/*gnav*/
.gnav {
    background: #C6C2E0;
    display: none;
    height: 100%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 98;
}

@media screen and (min-width: 950px){ 
    .gnav, .pc_gnav {
        background: #fff;
        display: block;
        height: 90px;
        height: 100%;
        position: relative;
        top: 0;
        left: -20px;
        width: 100%;
        z-index: 98;
        pointer-events: auto;
    }    

    .gnav {
        display: none;
    }    
}

.gnav_wrap {
    display: flex;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}
@media screen and (min-width: 950px){
    .gnav_wrap {
        display: block;
        position: relative;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        padding-top: 40px;
        margin-top: -40px;
    }    
}
.gnav_menu {
    overflow: hidden;
}

.pc_gnav_menu {
    display: none;
}
@media screen and (min-width: 950px){
    .pc_gnav_menu {
        display: block;
    }    
}

.gnav_menu_item, .gnav_menu_item_last{
    margin-bottom: 20px;
    text-align: center;
}
@media screen and (min-width: 950px){
    .gnav_menu_item{
        height: 70px;
        margin-bottom: 0;
        width: 14%;
        float: left;
        line-height: 25px;
    }
    .gnav_menu_item_last{
        height: 70px;
        margin-bottom: 0;
        width: 20%;
        height: 40px;
        line-height: 40px;
        float: left;
        display: block;
        background: #102C8A;
        border-radius: 20px;
        margin-top: 20px;
    }
}
.gnav_menu_item a,.gnav_menu_item_last a{
    color: #102C8A;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: .1rem;
    text-decoration: none;
    font-family: "BIZ UDGothic",sans-serif;
    font-weight: 500;
    transition: .2s;
    display: block;
}
@media screen and (min-width: 950px){
    .gnav_menu_item a{
        color: #000;
        font-size: 1rem;
        font-weight: nomal;
        padding: 0;
        display: block;
        height: 70px;
        transform: 0.3s;
        text-decoration: none;
        font-weight: 400;
        font-style: normal;
        padding-top: 20px;
    }
    .gnav_menu_item_pt a{
        color: #000;
        font-size: 1rem;
        font-weight: nomal;
        padding: 0;
        display: block;
        height: 70px;
        transform: 0.3s;
        text-decoration: none;
        font-weight: 400;
        font-style: normal;
        padding-top: 30px;
    }
    .gnav_menu_item_last a{
        color: #000;
        font-size: 1rem;
        font-weight: nomal;
        padding: 0;
        display: block;
        height: 40px;
        transform: 0.3s;
        color: #fff;
        text-decoration: none;
    }
    .gnav_menu_item_pt a::before {
        content: '';
        font-size: 1rem;
        display: block;
        margin-top: -10px;
        float: left;
        width: 1px;
        height: 70px;
        background-image: url(../images/gnav_menu_item.png);
    }
    .gnav_menu_item_content a::before{
        content: '';
        font-size: 1rem;
        display: block;
        margin-top: 0;
        float: left;
        width: 1px;
        height: 70px;
        background-image: url(../images/gnav_menu_item.png);
    }
}
.gnav_menu_item a:hover,.gnav_menu_item_last a:hover{
    color: #102C8A;
}
@media screen and (min-width: 950px){
    .gnav_menu_item a:hover{
        color: rgba(0,0,0,0.4);
    }
    .gnav_menu_item a:hover::before{
        color: #000;
    }
    .gnav_menu_item_last a:hover{
        opacity: 0.8;
        color: #fff;
    }
}






/* ==============
ベース
============== */

.container {
    overflow: hidden;
    margin: 0 auto;
    font-family: "BIZ UDPMincho",'Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-weight: 500;
    line-height: 1.2;
}
@media screen and (min-width: 950px){
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

ul {
    list-style-type: none;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align:top;
}


/* 読み込みスピードアップ */
.spead {
    content-visibility: auto;
}

/* 共通スタイル */
.container {
    overflow: hidden;
    margin: 50px auto 0;
}
@media screen and (min-width: 950px){
    .container-1 {
        max-width: 1100px;
        padding: 0 30px;
        margin: 0 auto;
    }
    .container-2 {
        max-width: 900px;
        padding: 0 30px;
        margin: 0 auto;
    }
    .container-3 {
        max-width: 750px;
        padding: 0 30px;
        margin: 0 auto;
    }
}

.container_table {
    overflow: hidden;
    margin: 0 10px;
}
@media screen and (min-width: 950px){
    .container_table {
        max-width: 1380px;
        padding: 0 30px;
        margin: 0 auto;
    }
}

#asari, #sakaimachi, .taikai_sankahi_content {
    max-width: 800px;
}


/* ヒーローエリア */
.catch_image_wrap {
    display: block;
    width: 100%;
    position: relative;
}
@media screen and (min-width: 400px){
    .catch_image_wrap {
        margin-top: 80px;
    }    
}

.top_images_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    max-width: 480px;
}
@media screen and (min-width: 560px){
    .top_images_title {
        max-width: 680px;
    }
}

@media screen and (max-width: 950px){
    .br-pc {
        display: none;
    }
}
@media screen and (min-width: 950px){
    .br-sp {
        display: none;
    }
}

/* 目的 */
.purpose_contents {
    position: relative;
    max-width: 800px;
    margin: 1.9em auto 0;
    padding: 0.5em 1em;
    border: double 5px #673926;
    border-radius: 3px;
    background-color: white;
}

.purpose_contents span {
    position: absolute;
    top: -1.9em;
    left: -5px;
    padding: .3em 1.2em;
    border-radius: 5px 5px 0 0;
    background-color: #673926;
    color: #fff;
    font-weight: 500;
}

.purpose_contents ol {
    counter-reset:number;
    list-style-type: none!important;
    padding: 0.5em 0.5em 0.5em;
}

.purpose_contents ol li {
    position: relative;
    padding: 0.5em;
    line-height: 1.5em;
    border-left : solid 35px #673926;
    margin-bottom: 5px;
}

.purpose_contents ol li:before{
    position: absolute;
    counter-increment: number;
    content: counter(number);
    display:inline-block;
    color: white;
    font-family: "BIZ UDPMincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    font-size: 1.2rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -35px;
    width: 35px;
    height: 1em;
    line-height: 1;
    text-align: center;
}

@media screen and (max-width: 768px){
    .purpose_contents {
        margin: 1.9em 10px;
        padding: 0;
    }
    .purpose_contents span {
        top: -2.1em;
        font-weight: 700;
    }
}

/* 朝里大会 */
.asaritaikai_content p {
    padding: .7rem 2rem;
    border: 1.5px solid #14607b;
    background: #ebeef1;
    text-align: center;
}

.asaritaikai_table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.asaritaikai_table th {
    font-size: 1.2rem;
    font-family: "Questrial", "BIZ UDGothic", sans-serif;
    color: #14607b;
    text-align: left;
    transform: scale(1, 1.1);
}

.asaritaikai_table th span {
    font-family: "BIZ UDGothic", sans-serif;
    font-weight: 400;
    color:black;
    font-size:0.8rem;
}

.asaritaikai_table tr {
    border-top: dashed 1px #14607b;
}

.asaritaikai_table tr:first-of-type {
    border-top: none;
}

.asaritaikai_table td {
    padding: 18px 0;
}

.asari_blue_text {
    font-weight: 600;
    color: #14607b;
    
}

.asari_rengoukai {
    text-align: center;
    padding: 0.5em 1em;
    margin: 2em 0;
    border: dashed 1px #14607b;
}

.asari_rengoukai h3 {
    font-weight: bold;
    font-size: 1.3rem;
    margin: 10px;
    color: #14607b;
}

.asari_rengoukai p {
    margin: 0 0 10px 0; 
    padding: 0;
}


/* 堺町大会 */
.sakaimachitaikai_content p {
    padding: .7rem 2rem;
    border: 1.5px solid #9d6d15;
    background: #f6f0e6;
    text-align: center;
}

.sakaimachitaikai_table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.sakaimachitaikai_table th {
    font-size: 1.2rem;
    font-family: "Questrial", "BIZ UDGothic", sans-serif;
    color: #9d6d15;
    text-align: left;
    transform: scale(1, 1.1);
}
@media screen and (max-width: 768px) {
    .sakaimachitaikai_table th {
    padding: 25px 0;
}
}

.sakaimachitaikai_table th span {
    font-family: "BIZ UDGothic", sans-serif;
    font-weight: 400;
    color:black;
    font-size:0.7rem;
    line-height: 0.9 !important;
}


.sakaimachitaikai_table tr {
    border-top: dashed 1px #14607b;
}

.sakaimachitaikai_table tr:first-of-type {
    border-top: none;
}

.sakaimachitaikai_table td {
    padding: 18px 5px;
}

.sakaimachi_yellow_text {
    font-weight:600;
    color: #9d6d15;
}


/* 大会共通 */
.asaritaikai_content, .sakaimachitaikai_content {
    max-width: 800px;
}

.asaritaikai_table td, .sakaimachitaikai_table td {
    line-height: 1.5;
}

.asaritaikai_content img, .sakaimachitaikai_content img {
    display: flex;
    width: 600px;
    margin: 15px auto;
}

.taikai_kaijou {
    background: white;
    padding: 2px 10px;
    border-radius: 1em;
    font-family: "BIZ UDGothic", sans-serif;
}

@media screen and (max-width: 768px) {
    .asaritaikai_content, .sakaimachitaikai_content {
        font-size: .9rem;
        margin: 0 10px;
        font-weight: 700;
    }
    .asaritaikai_content p, .sakaimachitaikai_content p {
        text-align: left;
        font-size: 1rem;
    }
    .asaritaikai_table th, .sakaimachitaikai_table th {
        width: 20%;
    }
    .asaritaikai_table td, .sakaimachitaikai_table td {
        width: 80%;
    }
    .asari_blue_text, .sakaimachi_yellow_text {
        font-weight: 800;
    }
}


/* 参加費 */
.sankahi_content {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.2;
    display: flex;
    justify-content: center;
}

.sankahi_table th,
.sankahi_table td {
    display: table-cell;
    vertical-align: middle;
}

.sankahi_table th {
    padding: 0.5em 1em 0.5em 1.5em;
    background: linear-gradient(90deg, transparent, #67392659 15%, #673926cc 100%, transparent);
}

.sankahi_table td {
    color:black;
    padding: 0.5em 1em;
    background: linear-gradient(90deg, #efe9e3, #efe9e3cf 80%, transparent);
}

.taikai_sankahi {
    display: inline;
    padding: 0.4em 0.7em 0.4em 1.3em;
    background:linear-gradient(90deg, transparent, #67392659 10%, #673926cc 100%, transparent);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.taikai_syousai{
    color:black;
    padding:0.2em 0 0.2em 0.5em;
    background: linear-gradient(90deg, #efe9e3, #efe9e3cf 80%, transparent);
}

.taikai_konshinkai {
    font-size:1rem;
    color: black;
}

@media screen and (max-width: 768px) {
    .sankahi_table {
        font-weight: 700;
}

    .sankahi_content {
        width: 100%;
        font-size: .8rem;
    }
    .taikai_konshinkai {
        font-size: .8rem;
    }
}







/* 講師プロフィール */

/* 見出し中央寄せ＋サイズアップ */
#profile h4 {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 2em;
  margin-top: 30px;
  font-weight: bold;
  line-height: 1.4;
}

/* 日付帯：ゴシック体＋サイズ調整 */
.profile_date {
  color: #fff;
  padding: 11px 12px 8px;
  font-weight: bold;
  margin-bottom: 1em;
  font-family: "Yu Gothic", "游ゴシック", "Meiryo", sans-serif;
  font-size: 1.1em;
  text-align: center;
}
.profile_date_asari {
  background-color: #14607b;
}
.profile_date_sankai {
  background-color: #9d6d15;
}

/* プロフィールテーブル */
.profile_table {
  width: 100%;
  border-collapse: separate;
  margin-bottom: 2em;
}

/* ヘッダー左寄せ＋縦棒色分岐 */
.profile_header {
  padding-left: 12px;
  vertical-align: top;
  width: 30%;
  text-align: left;
}
#profile {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column
}

.profile_asari_content, .profile_sakaimachi_content {
  max-width: 800px;
}
.profile_asari_content .profile_header {
  border-left: 3px solid #14607b;
}
.profile_sakaimachi_content .profile_header {
  border-left: 3px solid #9d6d15;
}

/* 名前と「氏」を横並びに */
.profile_name_wrapper {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  margin-bottom: 0.3em;
}
.profile_name {
  font-size: 1.3em;
  font-weight: bold;
}

/* 肩書き */
.profile_title {
  font-size: 1.2em;
  font-weight: normal;
  display: block;
}

/* 説明文 */
.profile_description {
  font-size: 1em;
  line-height: 1.6;
  vertical-align: top;
  padding-left: 0;
}





/* カード全体を横並びに */
.profile_card {
  display: flex;
  gap: 20px;
  margin-bottom: 2em;
  align-items: flex-start;
}

/* 画像サイズと余白 */
.profile_image_wrapper {
  flex-shrink: 0;
}
.profile_image {
  width: 120px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* テキスト部分 */
.profile_text_wrapper {
  flex: 1;
}

/* 名前と氏の横並び */
.profile_name_wrapper {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  margin-bottom: 0.3em;
}
.profile_name {
  font-size: 1.3em;
  font-weight: bold;
}
.profile_shi {
  font-size: 1em;
}

/* 肩書き */
.profile_title {
  font-size: 1.2em;
  font-weight: normal;
  margin-bottom: 0.5em;
}

/* 説明文 */
.profile_description {
  font-size: 1em;
  line-height: 1.6;
}




/* 参加申込フォーム */
.form_content {
    margin: 50px auto 0;
    text-align: center;
}

.form_term {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.form_content p {
    background-color: #ddd1c5;
    color: #673926;
    padding: 6px 10px;
    margin-right: 10px;
    font-family: "BIZ UDGothic", sans-serif;
    font-weight: 600;
    letter-spacing: .05em;
}

.form_content img {
    width: 200px;
}

.form_button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    padding: .9em 2em;
    border: none;
    border-radius: 10px;
    background-color: #673926;
    color: #fff;
    font-family: "BIZ UDPMincho", "Hiragino Mincho ProN", serif;
    font-weight: 600;
    font-size: 1em;
    line-height: 1.2;
    text-decoration: none;
    transition : .3s;
    text-align: center;
    margin: 10px auto 0;
}
@media screen and (max-width: 768px) {
    .form_content img {
        width: 210px;
    }
    .form_button {
        width: 80%;
        font-weight: 700;
    }
}


.form_button::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}

.form_button:hover {
    background-color: #9e7b5e;
    transition : .3s;
}

/* ダウンロードコンテンツ */
.download-white {
    background-color: #ddd1c5;
    padding: 80px 0 50px 0; 
}

.download-contents {
    background-color: #ffffff;
    margin: 80px 0 0 0;
}

.download_flyer {
    color: #fff;
    background-color: #673926;
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 450px;
    margin-bottom: 30px;
    padding:10px 20px 10px 20px;
    text-decoration: none;
    border-radius: 100px;
    font-size: 1.2rem;
    font-weight: bold;
  }
@media screen and (max-width: 560px){
    .download_flyer   {
        width: 85%;
        font-size: 1rem;
    }
}

.download_flyer:hover {
    opacity: 0.7;
    transition: .3s;
}


/* 詳細 */
.course-detail {
    background-color: #ffffff;
    padding: 30px 0 20px 0;
}

.detail_explanation {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 10px;
}
@media screen and (max-width: 950px){
    .detail_explanation {
        flex-direction: column;
        justify-content: center;
    }
}

.detail_sub_title {
    background: #102C8A;
    color: #ffffff;
    padding: 10px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
@media screen and (max-width: 950px){
    .detail_sub_title {
        width: 100%;
    }
}

.detail_sub_title p {
    margin:0;
    padding:0;
}

.detail_explanation table {
    text-align: left;
    border-spacing : 15px;
}
@media screen and (max-width: 950px){
    .detail_explanation table th {
        width: 100%;
        display:block;
        border-right: 0px;
        border-bottom: 3px solid #673926;
        padding-bottom: 10px;
        margin-bottom: 10px;
        text-align: center;
    }
    .detail_explanation table td {
        width: 100%;
        display:block;
        padding: 0;
    }
}

.detail_explanation th {
    border-right: 3px solid #673926;
    line-height: 1;
    white-space: nowrap;
    font-weight: 500;
    padding: 0 1.2em 0 0;
}

.detail_explanation td {
    padding: 0 0 0 0.5em;
}

.detail_content_text01 {
    padding: 10px 10px 8px 15px;
    flex: 1;
}
@media screen and (max-width: 950px){
    .detail_content_text01 {
        padding: 10px 10px 8px 10px;
    }
}

.detail_content_bigtext {
    font-size: 1.5rem;
}
@media screen and (max-width: 950px){
    .detail_content_bigtext {
        font-size: 1.3rem;
    }
}

.course-detail span {
    color: #102C8A;
}

.detail_content_text02 {
    background: #E9E7F4; /*背景色の指定*/
    border: #102C8A 1px solid; /*境界線の指定*/
    padding: 10px;
    margin: 0px 20px 40px 20px;
}

/* フッター */
footer {
    text-align: center;
    background-color: #f8f8f8;
}











