:root {
    --base-color: #3a7979;
    --base-font-color: #115151;
    --light-color: #438989;
    --dark-color: #2f5757;
    --base-white: #ffffff;
    --base-gray: #576060;
    --accent-color: #ff8800;
    --margin-content: 2.5em;
}

/* ▼ プルダウン右寄せCSS */
.language-selector {
    text-align: right;
    margin-top: 10px;
    /* 上の余白は任意で調整 */
    margin-bottom: 10px;
}

.language-selector label,
.language-selector select {
    display: inline-block;
}


/* 禁則処理 */
body,
p,
li,
h1,
h2,
h3 {
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: break-word;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f9f9fc;
    color: var(--base-font-color);
    ;
    margin: 0;
    padding: 0 20px;
    max-width: 900px;
    font-weight: 500;
    margin: 0 auto;
}

/* ▼ ヘッダー*/
header {
    text-align: center;
    padding: 10px 0 20px;
}

h1 {
    font-size: 4rem;
    margin-top: 0em;
    margin-bottom: 0.2em;
    text-align: center;
    color: var(--base-color);
    ;
}

.subtitle {
    text-align: center;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--base-color);
    margin: 0;
}

/* ▼ ツール名style*/
#tagflot_name {
    font-weight: 900;
    font-family: 'Montserrat', 'Figtree', 'Rubik', sans-serif;
}


/* ▼ 見出し*/
h2 {
    margin-top: 3em;
    margin-bottom: 2em;
    border-radius: 4px 4px 4px 0;
    font-size: 1.2em;
    position: relative;
    padding: 0.5em 1.5em;
    background: var(--base-color);
    ;
    color: white;
}

h2::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom-right-radius: 4px;
    border-bottom: solid 15px transparent;
    border-right: solid 20px var(--base-gray);
}

h2:first-of-type {
    margin-top: 0;
}

h3 {
    /*文字色*/
    color: var(--base-color);
    /*上下の余白*/
    padding: 0.2em 0.5em;
    /*下線*/
    font-weight: 700;
    border-bottom: solid 3px var(--base-color);
    margin-bottom: 0.8em;
    margin-top: 1em;
    margin-right: calc(var(--margin-content) - 1em);
    margin-left: calc(var(--margin-content) - 1em);
}

/* ▼ リスト*/
ul {
    list-style: square;
    padding-inline-start: calc(var(--margin-content) - 0.5em);
    margin: 0 2em;
}

.list li {
    padding: 0.2em 0;
    font-size: 0.95rem;
}



p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.5em var(--margin-content) 0 var(--margin-content);

}

/* ▼ 遊び心コメント*/
.fun-comment {
    margin: 0.5em calc(var(--margin-content) + 0.5em);
    line-height: 1.4;
    margin-top: 1em;
    padding-top: 0em;
    font-size: 0.8em;
}

/* ▼ ダウンロードボタン*/
.download-button {
    display: inline-block;
    margin: 1em 0;
    padding: 10px 18px;
    background-color: var(--base-color);
    color: var(--base-white);
    ;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
}

.download-button:hover {
    color: var(--base-white);
    background-color: var(--light-color);
}

a {
    font-weight: bold;
    font-size: 1rem;
    color: var(--base-color);
    border-radius: 4px;
    text-decoration: underline;
}

a:hover {
    color: #3A6E6E;
}

/* ▼ ロゴstyle*/
#logo {
    width: 80px;

}

.cls-1 {
    fill: #3A6E6E;
}

.cls-2 {
    fill: #fff;
}

.cls-3 {
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 3.51px;
}

.cls-3,
.cls-4 {
    fill: none;
}

.cls-5 {
    clip-path: url(#clippath);
}


.bg-logo-svg {
  position: fixed;
  right: 2vw;
  bottom: 2vw;
  width: 320px;         /* 好きなサイズに調整可 */
  height: auto;
  opacity: 0.07;        /* 薄く */
  z-index: 0;           /* 背景化 */
  pointer-events: none; /* クリック透過 */
  user-select: none;
}
