@charset "utf-8";

/*-------------------------------------------------------------
///////////////////////////////////////////////////////////////
base module & style
///////////////////////////////////////////////////////////////
--------------------------------------------------------------*/

:root {
	--primary-color: #620009;
	--secondary-color: #BEA36F;
    --accent-color: #A2002D;
}


/* SP、PC表示切り替え */
.sp_on {
    display: block; /* SPのみ表示 */

    @media (width >= 768px) {
        & {
            display: none;
        }
    }
}

.not_sp_on {
    display: none;

    @media (width >= 768px) {
        & {
            display: block;
        }
    }
}

/* ページトップへもどる */
.page_top {
    width: 40px;
    height: 40px;
    right: 10px;
    bottom: 70px;
    position: fixed;
    background-image: linear-gradient(var(--secondary-color), var(--secondary-color));
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;

    &::before {
        content: "";
        display: block;
        width: 5px;
        height: 5px;
        border-top: 1px solid #FFFFFF;
        border-right: 1px solid #FFFFFF;
        transform: rotate(-45deg);
    }
}
@media (width >= 768px) {
    .wrapper {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}


.wrapper {
    width: 100%;
}

/* @group メインエリア
------------------------------------------------------*/
.main {
    width: 100%;
    border-top: 5px solid var(--primary-color);
    @media (width >= 1220px) {
        flex: 1;
        height: calc(100% - 5px); /* border-top分を引く */
        overflow: hidden;
    }
}

.contents .page-contents {
    position: relative;
    z-index: 1;
}

/* 2カラム用 */
@media (width >= 1220px) {
    html, body {
        height: 100%;
        margin: 0;
        overflow: hidden; /* 画面全体のスクロール禁止 */
    }
    .main_container {
        width: 1100px;
        height: 100%;
        margin-inline: auto;
        display: flex;
        flex-direction: row-reverse;
        overflow: hidden;
        position: relative; /* 全体の基準 */
    }

    .contents {
        width: 850px;
        height: 100%;
        overflow-y: auto; /* ここで縦スクロール */
        box-sizing: border-box;
    }
}

.society_overview {
    position: relative;
    width: 100%;
    aspect-ratio: 780 / 1400;
    z-index: 0;

    &::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background-image: url(../images/society_overview_small_en.png);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: contain;
    }

    @media (width >= 768px) {
        & {
            aspect-ratio: 1700 / 1940;
        }

        &::before {
            background-image: url(../images/society_overview_large_en.png);
        }
    }

    @media (width >= 1220px) {
        &::before {
            background-image: url(../images/society_overview_large_pc_en.png);
        }
    }
}
.ja .society_overview {
    position: relative;
    width: 100%;
    aspect-ratio: 780 / 1880;
    z-index: 0;

    &::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background-image: url(../images/society_overview_small.png);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: contain;
    }

    @media (width >= 768px) {
        & {
            aspect-ratio: 1700 / 2360;
        }

        &::before {
            background-image: url(../images/society_overview_large.png);
        }
    }

    @media (width >= 1220px) {
        &::before {
            background-image: url(../images/society_overview_large_pc.png);
        }
    }
}

.society_overview.child {
    position: relative;
    aspect-ratio: 780 / 449;

    &::before {
        background-image: url(../images/child_title_small_en.png);
    }

    @media (width >= 768px) {
        width: 100%;
        aspect-ratio: 1656 / 800;

        &::before {
            background-image: url(../images/child_title_large_en.png);
        }
    }

    /* トップ用の負のマージンが短い見出し画像を覆うのを防ぐ */
    & + .page-contents {
        margin-top: 0;
    }
}
.ja .society_overview.child {
    position: relative;
    aspect-ratio: 780 / 449;

    &::before {
        background-image: url(../images/child_title_small.png);
    }

    @media (width >= 768px) {
        width: 100%;
        aspect-ratio: 1656 / 600;

        &::before {
            background-image: url(../images/child_title_large.png);
        }
    }

    /* トップ用の負のマージンが短い見出し画像を覆うのを防ぐ */
    & + .page-contents {
        margin-top: 0;
    }
}

.news {
    position: relative;
    width: 100%;
    padding: 0px 30px 40px;
    z-index: -1;

    & > h2 {
        margin-bottom: 50px;
        text-align: center;

        @media (width >= 768px) {
            & {
                margin-bottom: 30px;
            }
        }
    }
    
    & > h2 > span {
        position: relative;
        font-size: 18px;
        font-weight: bold;
        color: var(--primary-color);
        padding-bottom: 10px;
    
        &::before {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 120px;
            height: 5px;
            background-image: linear-gradient(to right, var(--secondary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 50%, var(--primary-color) 100%);
            background-repeat: no-repeat;
            background-size: 100% 100%;
        }
    }

    & > .news-list {
        height: 170px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        overflow-y: auto;
        line-height: 1.4;
        color: #000000;

        @media (width >= 768px) {
            & {
                width: 96%;
                margin-inline: auto;
                background-color: rgba(255, 255, 255, 0.4);
                height: 150px;
                padding-top: 20px;
                padding-bottom: 20px;
            }
        }

        & > li {
            display: flex;
            align-items: baseline;

            & > .date {
                width: 80px;
                font-weight: bold;
                font-size: 13px;

                @media (width >= 768px) {
                    & {
                        width: 100px;
                    }
                }
            }

            & > .excerpt {
                flex: 1;
                font-size: 12px;
            }
        }
    }
}
.ja .news {
    margin-top: 50px;
}

/* トップ総会概要のテキスト非表示 */
.society_overview > * {
    position: absolute;
    left: -9999em;
}

/* ナビゲーションエリア */
.nav_wrap {
    width: 250px;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0;
    box-sizing: border-box;
    margin: 0 auto;

    /* 2カラム用 */
    @media (width >= 1220px) {
        & {
            width: 250px;
            background-color: var(--primary-color);
            /* 画面の高さから上部マージン(55px)を引いた高さにする */
            height: calc(100% - 55px);
            overflow-y: auto;
            margin-top: 55px;
            
            /* ★ ここがポイント：一番下のバナーやコンテンツが隠れず、余白をもって一番下までスクロールできるようにする */
            padding-bottom: 100px; 
            
            background-color: var(--primary-color);
            background-image: none;
        }
    }
}
.ja .nav_wrap {
    @media (width >= 1220px) {
        width: 270px;
        height: calc(100% - 55px);
        overflow-y: auto;
        
        /* ★ 日本語表示の2カラム時も同様に下部余白を確保 */
        padding-bottom: 100px; 
        
        background-color: var(--primary-color);
        box-sizing: border-box;
    }
}

aside {
    width: 250px;
    margin-inline: auto;
    margin-bottom: 10px;
}
.bnr_wrap {
    margin: 0 auto;
}
.bnr_wrap .iframe_video {
    display: block;
    width: 230px;
    aspect-ratio: 16 / 9;
    margin: 10px auto;
    @media (width <= 768px) {
        width: 250px;
    }
}
@media (width >= 1220px) {
    .bnr_wrap {
        background-color: var(--primary-color);
    }
    .cfa_bnr {
        background: #fff;
    }
}
@media (width <= 1219px) {
    .cfa_bnr {
        border: 1px solid #fff;
        margin-top: 30px;
    }
    .bnr_wrap {
        margin-bottom: 30px;
    }
}

.bnr_wrap_poster {
    margin-bottom: 10px;
    display: block;
    width: 250px;
    height: auto;

    @media (width >= 1220px) {
        & {
            width: 230px;
            height: 80px;
            margin-inline: auto;
        }
    }

    & img {
        width: 100%;
        height: auto;
    }
}

.bnr_wrap_kankomie {
    display: block;
    width: 250px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;

    & img {
        width: 231px;
        height: 60px;
    }
}


/* @group フッターエリア
------------------------------------------------------*/

.footer {
    position: relative;
    width: 100%;
    background-color: var(--primary-color);

    &::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 7px;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 100% 7px;
        z-index: -1;
    }
}

.footer_container {
    width: 100%;
}

.secretariat_wrap {
    width: 100%;
    min-height: 195px;
    display: grid;
    place-items: center;

    @media (width >= 768px) {
        & {
            min-height: 150px;
        }
    }
}

.secretariat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
    text-align: center;
    color: var(--secondary-color);
}


.secretariat h3 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 35px;
    font-size: 15px;
    font-weight: bold;
    border: 1px solid var(--secondary-color);
    text-align: center;
}

.secretariat dl {
    line-height: 1.4;
}

.secretariat dt {
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: bold;
}

.secretariat dd {
    font-size: 12px;
}

.secretariat dd a {
    color: #00FFFF;
    text-decoration: none;

    &:hover {
        text-decoration: underline;
    }
}

.footer-copyright {
    width: 100%;
    min-height: 50px;
    border-image-source: linear-gradient(#FFFFFF,#FFFFFF);
    border-image-slice: fill 0;
    border-image-outset: 0 100vw 0 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);

    @media (width >= 768px) {
        & {
            min-height: 40px;
        }
    }
    @media (width >= 1220px) {
        & {
            max-width: 1100px;
            margin-left: auto;
            margin-right: auto;
        }
    }
}

.footer-copyright p {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-secondary);
    text-align: center;
}
@media (width >= 1220px) {
    .footer-copyright p {
        margin-left: 0;
        margin-right: 0;
    }
}

/* @group ページ共通
------------------------------------------------------*/

.page-contents {
    position: relative;
    min-height: 80vh;
    background-color: #FFFFFF;
    margin-top: -480px;
    z-index: -1;

    @media (width >= 768px) {
        & {
            min-height: 1000px;
            margin-top: -700px;
        }
    }

    @media (width >= 1220px) {
        & {
            margin-top: -580px;
        }
    }
}

.page-title {
    position: relative;
    width: 100%;
    min-height: 80px;
    background-image: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%, contain;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (width >= 768px) {
        & {
            min-height: 100px;
            background-image: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
        }
    }

    & > span {
        font-size: clamp(1.375rem, 0.75rem + 2vi, 2rem);
        font-weight: bold;
        font-feature-settings: "palt";
        color: #FFFFFF;
        text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2);
        text-align: center;
        line-height: 1.2;
    }

}

.page-body {
    padding: 20px 20px 30px 20px;
}
@media (width >= 768px) {
    .page-body {
        padding: 40px 20px 40px 20px;
    }
}

/* 既存の垂直マージンを削除 */
.page-body>* {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.7;
}

/* 連続する要素だけに上方向のマージンを適用 */
.page-body>*+* {
    margin-block-start: 20px;
}

.page-body > section > section > * + * {
    margin-top: 15px;
}

.under_construction {
    text-align: center;
    font-size: 1.1em;
    padding-top: 50px;
}

.page-body > section > * + * {
    margin-block-start: 20px;
}

/* 見出し
--------------------------*/

/* 見出し */
.heading_h3 {
	padding: 0.3em 0.5em;
	border-left: 5px solid var(--primary-color);
}

.heading_h3 span {
	display: inline-block;
	position: relative;
	padding: 0 0.2em 0.2em;
	font-size: clamp(1.25rem, 1rem + 0.8vi, 1.5rem);
	font-weight: bold;
	color: #333333;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
	line-height: 1.4;
	font-feature-settings: "palt";
}

/* アイコン
--------------------------*/

.exlink::after {
    content: "\f360";
    font-family: "Font Awesome 5 Free";
    font-size: 0.85em;
    font-weight: 900;
    margin-left: .5em;
}

.download:before {
    content: '\f019';
    /* ダウンロードのアイコン */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: .5em;
    margin-right: .5em;
}

.pdf:after {
    content: '\f1c1';
    /* PDFファイルの後（fa-file-pdf） */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.5em;
}

.word:after {
    content: '\f1c2';
    /* WORDファイルの後（fa-file-word） */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.5em;
}

.ppt:after {
    content: '\f1c4';
    /* PPTファイルの後（fa-file-powerpoint） */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.5em;
}

.excel:after {
    content: '\f1c3';
    /* Excelファイルの後（fa-file-excel） */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.5em;
}

.mail:after {
    content: '\f0e0';
    /* メールアイコン（fa-envelope） */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.5em;
}

.cipher a:before {
    content: '\f023';
    /* 暗号通信の前（fa-lock） */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: .5em;
}

.check::before {
    content: '\f00c';
    /* チェックマーク（fa-check） */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: .3em;
}

/* ボタン
--------------------------*/

.btn-wrap {
    display: flex;
    justify-content: center;
}

.btn {
    display: inline-block;
    width: 100%;
    max-width: 350px;
    padding: 12px;
    background-color: #FFFFFF;
    color: var(--primary-color);
    text-decoration: none;
    border: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;

    @media (width >= 768px) {
        & {
            padding: 14px 28px;
            font-size: 15px;
        }
    }
}

.btn:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
    text-decoration: none;
}

/*罫線*/

hr {
    border: none;
    border-top: 1px solid #ccc;
}

hr.hr-full {
    margin: 0 .75em 1.5em;
    box-shadow: 1px 1px 1px rgba(0, 71, 157, 0.2);
}

/* ハイライト */
.text-highlight {
    background: linear-gradient(transparent 40%, #f6ff5f 40%);;
}

.inline {
    display: inline;
}

/*文字詰め*/

.feature {
    font-feature-settings: "palt";
}

/*囲み*/

.enclosure01 {
    border: 1px;
    border-style: solid;
    padding: 0.75em 1em;
}

.enclosure02 {
    display: inline-block;
    border: 1px;
    border-style: solid;
    padding: .5em 1em;
}

.enclosure-style01 {
    border-color: #DDDDDD;
    background: #FFFFFF;
}

.enclosure-style02 {
    border: 3px solid rgba(245, 200, 200, 0.4);
    background: rgba(245, 200, 200, 0.1);
}
.enclosure-style03 {
	border: 3px solid #ff0000;
	background: #FFFFFF;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}
.enclosure-style04 {
    border: 3px solid rgba(199, 222, 245, 0.4);
    background: rgba(199, 222, 245, 0.1);
}

/*リストスタイル*/
.list-style01 {
    margin-left: 2em;
    margin-right: 2em;
    font-size: clamp(0.875rem, 0.818rem + 0.242vw, 1rem);
}

.list-style01 li {
    margin-bottom: .3em;
}

.list-style {
    list-style-position: outside;
    padding-left: 1.8em;
}

.list-style > * + * {
    margin-top: 0.25em;
}

.list-disc {
    list-style-type: disc;
}

.list-num {
    list-style-type: decimal;
}

.list-num2 {
    list-style-type: decimal-leading-zero;
}

.list-none {
    list-style: none;
    padding-inline-start: 0;
}

.list-none > * + * {
    margin-block-start: 10px;
}

/* 方法1: text-indent と padding-left の組み合わせ */
.asterisk {
    padding-left: 1.2em;
    text-indent: -0.9em;
}

/* 方法2: table レイアウトを使用 */
.kome_ja > * {
    display: table;
    width: 100%;
}

.kome_ja > *:before {
    display: table-cell;
    content: "※";
    width: 1em;
}
/* 英語　* */
.kome_en > * {
	display:table;
	width: 100%;

	&:before {
		display: table-cell;
		content: "*";
		width: 1em;
	}
}


/*表組み*/
.tbl-sp {
    overflow-x: auto;
}

.tbl-sp table {
    min-width: 690px;
}
.tbl-width100 {
    width: 100%;
}

.tbl-width50 {
    width: 50%;
}

.tbl-style01 {
    border-collapse: collapse;
}
.tbl-style01 thead th {
    background-color: #DDD;
    border: 1px #CCCCCC;
    border-style: solid;
    padding: .4em;
}

.tbl-style01 tbody th,
.tbl-style01 tbody td {
    border: 1px #CCCCCC;
    border-style: solid;
}

.tbl-style01 tbody th {
    background-color: #EEEEEE;
    padding: .4em;
}
.tbl-style01 tbody td {
    background-color: #FFFFFF;
    padding: 1em;
}

.tbl-style02 tbody th,
.tbl-style02 tbody td {
    border: 1px #FFFFFF;
    border-style: solid;
}

.tbl-style02 tbody th {
    background-color: #FFFFFF;
    padding: .4em;
}

.tbl-style02 tbody td {
    background-color: #FFFFFF;
    padding: .2em;
}

.th-c-m th {
    text-align: center;
    vertical-align: middle;
}

.th-l-m th {
    text-align: left;
    vertical-align: middle;
}

.th-l-t th {
    text-align: left;
    vertical-align: top;
}

.td-c-m td {
    text-align: center;
    vertical-align: middle;
}

.td-l-m td {
    text-align: left;
    vertical-align: middle;
}

.td-l-t td {
    text-align: left;
    vertical-align: top;
}


/* 会長挨拶
------------------------------------------------------*/
.presidentBox {
	position:relative;
	border-bottom:1px solid #ccc;
	padding:10px 15px;
	margin:0 auto;
}
.presidentBox img{
	width:150px;
	float:right;
}
.presidentBox .name {
	position:absolute;
	top:127px;
	right:185px;
	line-height: 1.4;
	text-align:right;
}
.mainTxt02 {
	line-height:180%;
	text-indent:0;
}
.ja .presidentBox .name {
	position:absolute;
	top:137px;
	right:185px;
	line-height: 1.4;
	text-align:right;
}
.ja .mainTxt02 {
	line-height:180%;
	text-indent:1em;
}
@media (max-width: 768px) {
	.presidentBox img {
		display: block;
		float: none;
		margin: 20px auto;
	}
	.presidentBox .name,
    .ja .presidentBox .name {
		position: static;
		text-align: center;
	}
}

/* 開催概要
--------------------------*/
.dl_outline {
	display: flex;
	flex-direction: column;
	gap: 0;
	font-feature-settings: "palt";
	flex-direction: row;
    padding-bottom: 10px;
	margin-left: 10px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--primary-color);
    @media (max-width: 768px) {
        display: block;
    }
}
.dl_outline dt {
	width: 180px;
}
.ja .dl_outline dt {
	width: 120px;
}
.dl_outline dt > span {
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--primary-color);
	color: #fff;
	font-weight: bold;
		padding-left: 0;
}
.dl_outline dd {
	flex: 1;
	padding: 3px 7px;
    margin-left: 20px;
}

/* リンク
--------------------------*/
.ul_linkList{
  border-bottom: 1px dotted var(--primary-color);
  box-sizing: border-box;
  padding: 1em;
}
.icon_link::before {
  content: '\f0c1';
  font-family: 'Font Awesome 5 Free';
  margin-right: .3em;
}


/* 演題募集
--------------------------*/
.cfa_deadline {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}