@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;600&display=swap');

/* 共通設定 */
body {
        background-color: #EEEEEE;
}
.container-fluid {
	max-width: 860px;
}
.commit-area {
	margin-top: 30px;
	margin-bottom: 30px;
}

/* ヘッダ設定 */
.top-image {
	max-width: 750px;
	margin: auto;
        margin-bottom: 20px;
}
#top-title {
	text-align: center;
}
.image {
        display: block;
        width: 100%;
        height: auto;
}

/* landing */
#top-explain {
	margin-top: 20px;
}
#top-eula {
	margin-top: 20px;
}
#top-terms {
	margin-top: 20px;
	margin-bottom: 50px;
}
.login_button {
        width: 50%;
	margin: auto;
	margin-bottom: 30px;
}

/* Advertisement banner */
.ad-box {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.ad-box__label {
  position: absolute;
  top: -10px;
  left: 14px;
  padding: 2px 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .06em;
}

.ad-box__img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.ad-box__placeholder {
  width: 100%;
  aspect-ratio: 10 / 3; /* 1000x300 */
  border: 2px dashed #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* 応募条件ページ */
#rule-check-error {
	color: red;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}
.rule-area {
        margin-top: 50px;
}
.rule-button {
        width: 50%;
	margin: auto;
}
.rule-table {
	border-collapse: separate;
	border-spacing:0px 15px;
}
/* Rule items as card-like rows */
.rule-table tr td {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.rule-table tr td:first-child {
  border-right: 0;
  border-radius: 10px 0 0 10px;
  width: 1%;
  white-space: nowrap;
  padding: 12px;
  vertical-align: top;
  background: #f6faff; /* subtle tint to make checkbox pop */
}
.rule-table tr td:last-child {
  border-left: 0;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
}
.rule-table tr:hover td {
  border-color: #cfd8e3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.rule-table tr:focus-within td {
  border-color: #84caff;
  box-shadow: 0 0 0 3px rgba(132,202,255,0.45);
}
.rule-table .form-check-label {
  display: block; /* larger tap target */
}
/* Rule page checkboxes: larger, accent color, clickable labels */
.rule-area .form-check-input[type="checkbox"] {
    width: 1.25em;
    height: 1.25em;
    accent-color: #006adc; /* subtle brand-like blue */
    border-radius: 0.25em;
    cursor: pointer;
    -webkit-appearance: auto;
    appearance: auto; /* keep native drawing so checkmark is visible */
}
.rule-area .form-check-input[type="checkbox"]:focus-visible {
    outline: 3px solid #84caff;
    outline-offset: 2px;
}
.rule-area .form-check-label { cursor: pointer; }
.summary-area {
	background-color: #FFFFFF;
	border-radius: 10px;
}
.summary-area .row {
        margin-top: 10px;
        margin-bottom: 10px;
}
.detail-button {
        margin-top: 10px;
	width: 100%;
}
input[name="postrulecheck"] {
	margin-right: 15px;
	margin-top: 5px;
}

/* 詳細情報ページ */
/* delete checkbox as card-like rows */
.delete-commit tr td {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.delete-commit tr td:first-child {
  border-right: 0;
  border-radius: 10px 0 0 10px;
  width: 1%;
  white-space: nowrap;
  padding: 12px;
  vertical-align: top;
  background: #f6faff; /* subtle tint to make checkbox pop */
}
.delete-commit tr td:last-child {
  border-left: 0;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
}
.delete-commit tr:hover td {
  border-color: #cfd8e3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.delete-commit tr:focus-within td {
  border-color: #84caff;
  box-shadow: 0 0 0 3px rgba(132,202,255,0.45);
}
.delete-commit .form-check-label {
  display: block; /* larger tap target */
}
/* detail page checkboxes: larger, accent color, clickable labels */
.commit-area .form-check-input[type="checkbox"] {
    width: 1.25em;
    height: 1.25em;
    accent-color: #006adc; /* subtle brand-like blue */
    border-radius: 0.25em;
    cursor: pointer;
    -webkit-appearance: auto;
    appearance: auto; /* keep native drawing so checkmark is visible */
}
.commit-area .form-check-input[type="checkbox"]:focus-visible {
    outline: 3px solid #84caff;
    outline-offset: 2px;
}
.commit-area .form-check-label { cursor: pointer; }
#delete-button:disabled {
	background: #6c757d;
	border-color: #6c757d;
}
#delete-button {
	background-color: red;
	border-color: red;
}
#delete-button:hover {
	background-color: #ff5555;
	border-color: #ff5555;
}
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.5);
}
.modal-content {
	background-color: #f4f4f4;
	margin: 20% auto;
	width: 50%;
	box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
	animation-name: modalopen;
	animation-duration: 1s;
}

/* 情報入力ページ */
.check-table {
	border-collapse: separate;
	border-spacing:0px 15px;
}
/* delete checkbox as card-like rows */
.check-table tr td {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.check-table tr td:first-child {
  border-right: 0;
  border-radius: 10px 0 0 10px;
  width: 1%;
  white-space: nowrap;
  padding: 12px;
  vertical-align: top;
  background: #f6faff; /* subtle tint to make checkbox pop */
}
.check-table tr td:last-child {
  border-left: 0;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
}
.check-table tr:hover td {
  border-color: #cfd8e3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.check-table tr:focus-within td {
  border-color: #84caff;
  box-shadow: 0 0 0 3px rgba(132,202,255,0.45);
}
.check-table .form-check-label {
  display: block; /* larger tap target */
}
/* detail page checkboxes: larger, accent color, clickable labels */
.input-area .form-check-input[type="radio"] {
    width: 1.25em;
    height: 1.25em;
    accent-color: #006adc; /* subtle brand-like blue */
    border-radius: 0.25em;
    cursor: pointer;
    -webkit-appearance: auto;
    appearance: auto; /* keep native drawing so checkmark is visible */
}
.input-area .form-check-input[type="radio"]:focus-visible {
    outline: 3px solid #84caff;
    outline-offset: 2px;
}
.input-area .form-check-label { cursor: pointer; }
.form-field {
        margin-left: 30px;
        margin-right: 30px;
}
.form-field-title {
	margin-top: 10px;
        margin-left: 30px;
        margin-right: 30px;
}
.form-field-body {
	margin-top: 5px;
        margin-left: 30px;
        margin-right: 30px;
}
.form-check {
	margin-top: 5px;
}
.form-end {
        margin-left: 30px;
        margin-right: 30px;
        padding-bottom: 20px;
}
.need-icon {
        background-color: #FF0000;
        color: #FFFFFF;
        border-radius: 10px;
	display: inline-flex;
	justify-content: center;
	height: 20px;
}
.need-str {
        font-size: 80%;
        margin-left: 5px;
        margin-right: 5px;
}
.check-button {
        margin-top: 10px;
        margin-bottom: 10px;
}
.commit-buttons {
	margin-top: 20px;
}
#post-button {
	background-color: #aaaaaa;
	border-color: #aaaaaa;
}
#post-button:hover {
	background-color: #bbbbbb;
	border-color: #bbbbbb;
}
.error-message {
	color: red;
}
.select_search {
	width: 100%;
}
.select_search_multi {
	width: 100%;
}
.check-table {
	width: 100%;
}

/* ドロップダウンボックスのサイズ調整 */
.select2-container .select2-selection--single {
    height: 38px !important;
}
.select2-selection__arrow {
    height: 38px !important;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #feffff;
    line-height: 150%
}

h2 {
    font-weight: 600;
}

h3 {
    font-weight: 600;
}

h5 {
    font-weight: 600;
}

.marker_lime {
background: linear-gradient(transparent 60%, #66FFCC 60%);
}

.marker_water {
background: linear-gradient(transparent 60%, #a9d8ff 60%);
}

.marker_pink {
background: linear-gradient(transparent 60%, #ff66ff 60%);
}

.marker {
background: linear-gradient(transparent 60%, #ffff66 60%);
}

.summary-area {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px #eeebec solid;
    border-radius: 10px;
    box-shadow: 2px 2px 9px 1px #EFEFEF;

}

table tbody tr td:first-child{
    width: 40%;
}

.rule-table td:first-child{
    width:inherit;
}

td {
    padding-bottom: 0.2em;
}

td .output-str{
    text-overflow:clip;
    word-break: break-word;
}

label[for="delete-check"]{
    background: linear-gradient(transparent 60%, #fbdc8f 60%);
}

#applicant-account-num span{
    background: linear-gradient(transparent 60%, #ffff66 60%);
}

#applicant-account-nickname span{
    background: linear-gradient(transparent 60%, #ffff66 60%);
}

.btn {
  padding: 10px;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.4);
}

.btn:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.rule-area input[name="postrulecheck"] { margin-top: 2px; }

.ad-div-banner {
	padding-top: 60px;
}
