:root {
		--connect-lightblue: #00b7f1;
		--connect-darkblue: #000e4e;
		--connect-mediumblue: #006ecc;
		--connect-beige: #ede9de;
		--connect-darkgray: #6b6b6b;
		--connect-mediumgray: #999999;
		--connect-lightgray: #f2f2f2;
		--connect-lightgreen: #85cc33;
		--connect-orange: #ff6a00;
		--connect-purple: #ad00cc;
		--connect-darkgreen: #006603;
		--connect-yellow: #ffbf00;
		
		--color: var(--connect-darkblue);
		--color2: #fff;
		--size: 60px;
	}
/* リセットCSS */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    all: unset; /* すべてのブラウザデフォルトをリセット */
    display: inline-flex; /* アイコンやテキストを中央寄せしやすい */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
}
ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
summary {
    list-style-type: none;
}
summary h5 {
    display: inline;
}
h1,h2,h3,h4,h5 {
    margin: .5em 0;
}
/* リセットCSSここまで */

body {
    background: var(--connect-lightgray);
    margin: 0 auto;
    padding: 0;
}
a {
    color: var(--connect-mediumblue);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

header {
    width: 100%;
    /* height: 50px; */
    height: fit-content;
    background: var(--connect-darkblue);
    color: #fff;
    margin-bottom: 2em;
    display: flex;
    gap: 1em;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: .5em 1em;
}
header .title {
    font-size: 16px;
    word-break: keep-all;
    margin: 0;
}
header .title a:hover {
    text-decoration: none;
}

header a {
    color: #fff;
}

summary {
    margin-bottom: 1em;
}
details {
    cursor: pointer;
}
summary::-webkit-details-marker {
	display: none;
}
summary:before {
	content: " ＋ ";
}
details[open] summary:before,
summary details[open] summary:before {
	content: " － ";
}

h3.bb {
    background-color: var(--connect-darkblue);
    color: #fff;
    padding: .2em;
}

section {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2em;
}

.mainarea {
    display: flex;
    flex-wrap: nowrap;
    gap: 1em;
}

.search {
    box-sizing: border-box;
    flex: 0 0 30%;
    min-width: 300px;
    color: var(--connect-darkblue);
}
.search.sp {
    width: 100%;
    display: none;
}

.keyword-wrap {
    display: flex;
    /* justify-content: center;
    align-items: center; */
    gap: 5px;
}
.keyword-input {
    display: block;
    width: 60%;
    max-width: 400px;
    border-radius: 999px;
    height: 24px;
}
.keyword-btn {
    display: block;
}
.keyword-btn svg {
    padding-top: 5px;
}

.top-scene {
    margin-bottom: 1em;
}
.top-scene ul li {
    /* font-size: 14px; */
    margin-bottom: .3em;
    padding-bottom: .3em;
    border-bottom: 1px dotted var(--connect-darkgray);
}

.tag-search.top {
    max-width: 430px;
    background-color: initial;
}

.content {
    width: 100%;
}
.link-wrap {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: center;
}
.linkbox {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 1em;
}

.tag {
    background-color: var(--connect-orange);
    color: #fff;
    font-weight: bold;
    font-size: small;
    width: fit-content;
    padding: 1px 3px 1px 3px;
    margin: 0;
    margin-bottom: .5em;
}

.pill {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #0063cc;
    border-radius: 12px;
    margin: 2px;
    font-size: 12px;
    text-decoration: none;
    background-color: #fff;
}

/* レスポンシブ */
@media screen and (max-width: 600px) {
    .header-block {
        flex-direction: column;
        align-items: flex-start;
        gap: initial;
    }
    .mainarea {
        display: initial;
    }

    .search {
        display: none;
    }
    .search.sp {
        width: 100%;
        display: initial;
    }
    .result-wrap {
        flex: initial;
    }
}