@import url("style.css");

.mb20 {
	margin-bottom: 20px;
}

.mb50 {
	margin-bottom: 50px;
}

.large {
	font-size: 130%;
	font-weight: bold;
}

.t-r {
	text-align: right;
}

.cf {
	display: block;
}

.cf:after {
	display: block;
	visibility: hidden;
	clear: both;
	height: 0;
	content: ".";
	line-height: 0;
}



.top-bg {
	background: url(../img/common/title-bg.jpg);
	background-size: cover;
	background-position: center center;
	height: 100px;
	margin-top: 0;
}

.content-inner {
	width: 90%;
}

/* 追加／変更する CSS */
.officers-list{
    /* 6 列のグリッドを作る */
    display:grid;
    grid-template-columns: repeat(6, 1fr); /* 6 等分 */
    gap: 20px;            /* 要素間のすき間（お好みで） */
}

/* officers-box の例（任意で装飾）*/
.officers-box{
    text-align:center;   /* 文字を中央揃え */
    padding:0px;
    box-sizing:border-box;
    border:1px solid #ccc;
	border: none;
}
.officers-box img{
    width:100%;
    height:auto;   /* 画像をボックス幅にフィットさせる場合 */
}

.officers-box.wide{          /* ← class 名は任意 */
    grid-column:2 / span 5;  /* ２列目から５列ぶん（＝６列目まで） */
	text-align: left;
	border: none;
}

@media (max-width:600px){
  .officers-list.has-wide{ display:block; }

  .officers-list.has-wide .officers-box:not(.wide){
       width:180px;
       margin:0 auto 16px;
  }

  .officers-list.has-wide .officers-box.wide{
       width:100%;
       margin:0 0 16px;
  }
}

.name {
font-size: 110%;
font-weight: bold;
}

@media (max-width:1024px){
  .officers-list{ grid-template-columns:repeat(4,1fr); }
}
@media (max-width:640px){
  .officers-list{ grid-template-columns:repeat(2,1fr); }
}

.table-2line {
	width: 100%;
}
.table-2line th, .table-2line td {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 25px 0;
}
.table-2line th {
	min-width: 220px;
}
.table-2line td {
}

.letter-list {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px 4%;
}
.letter-list > div {
	width: 22%;
}
.letter-list > div a, .annualfee-link a {
	transition: 0.5s;
}
.letter-list > div a:hover, .annualfee-link a:hover {
	opacity: 0.8;
}

.bylaws-inner p {
	margin-bottom: 30px;
}

.history-table th {
	font-weight: normal;
}

.flex-box01 {
	display: flex;
	justify-content: space-between;
	margin-bottom: 80px;
}
.flex-box01 > div {
	width: 48%;
}

._reverse {
	flex-direction: row-reverse;
}

.h4-center {
	font-size: 20px;
	color: #fff;
	background: #ad0000;
	padding: 3px 10px;
	margin-bottom: 15px;
	font-weight: bold;
}

.h5-center {
	color: #ad0000;
	font-size: 19px;
	margin-bottom: 5px;
	font-weight: bold;
}





@media (max-width:767px) {

.officers-box {
		float: none;
		/*margin: 0 0 30px;*/
	}

.name {
    font-size: 100%;
    font-weight: bold;
}

	.table-2line {
		display: block;
	}
	.table-2line th, .table-2line td {
		width: 100%;
		display: block;
		min-width: auto;
	}
	.table-2line th {
		border-bottom: none;
	}
	.table-2line td {
		border: none;
		padding-top: 0;
	}
	.table-2line tr:last-child td {
		border-bottom: 1px solid #000;
	}

	.letter-list {
display: block;
		gap: 20px 4%;
	}
	.letter-list > div {
		width: 48%;
	}

	.flex-box01 {
		display: block;
	}
	.flex-box01 > div {
		width: 100%;
	}
	.flex-box01 > div:first-child {
		margin-bottom: 20px;
	}

	.annualfee-box01 {
		margin-bottom: 20px;
	}

}