﻿@charset "utf-8";

/*
本スキンのクレジット表示（削除不可）
Template Name: Single Note Skin
Author: ASA
Version: 1.0.0
License URI: https://oshaten10.com/
Powered by てがろぐ https://www.nishishi.com/cgi/tegalog/
*/

/* -----------------------------------------------------------------------
reset
---------------------------------------------------------------------- */
html {
    box-sizing: border-box;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
}

*,
::before,
::after {
    box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/* -----------------------------------------------------------------------
page design
---------------------------------------------------------------------- */
body {
    color: var(--color-text);
    background: var(--color-bg);
    background-image: linear-gradient(90deg, #00000008 1px, transparent 1px), linear-gradient(#00000008 1px, transparent 1px);
    background-position: 10px 10px;
    background-size: 21px 21px;
}

/* font-------------------- */
body,
input,
textarea {
    font-family: "Tenor Sans", "Zen Kaku Gothic New", sans-serif;
    font-size: 14px;
    line-height: 2;
    letter-spacing: .05em;
    font-weight: 400;
    text-align: justify;
}

/* parts-------------------- */
a:link,
a:visited {
    color: var(--color-text);
    text-underline-offset: .3em;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a:hover {
    color: var(--color-accent);
    text-decoration-style: var(--color-accent);
}

a img {
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

a img:hover {
    opacity: 0.5;
    /* マウスホバー時に半透明に */
}

ul,
ol {
    padding-left: revert;
}

h2,
h3 {
    margin: 1rem 0;
    line-height: 1;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    border: none;
    vertical-align: top;
}

/* スクロールバー-------------------- */
/* スクロールバーの幅 */
::-webkit-scrollbar {
    width: 10px;
}

/* スクロールバー全体の背景 */
::-webkit-scrollbar-track {
    background: var(--color-wh);
}

/* スクロールバーの動く部分 */
::-webkit-scrollbar-thumb {
    background: var(--color-grey);
    border: none;
    border-radius: 999px;
}

/* -----------------------------------------------------------------------
外側(ページ全体の生成用)の装飾（skin-cover.html）
---------------------------------------------------------------------- */
/* layout-------------------- */
.wrap {
    display: flex;
    justify-content: space-between;
    gap: 2em;
    margin: 0 10% 64px;
}

.cnt {
    width: 100%;
}

/* h1-------------------- */
h1.title {
    font-size: 2em;
    line-height: 1.3;
    margin: 1em 10%;
}

h1.title a {
    text-decoration: none;
}

/* sub-------------------- */
.sub {
    width: 50%;
    min-width: 320px;
    height: fit-content;
    font-size: 0.85em;
}

.sub ul {
    list-style: none;
    padding-left: 0;
}

.subbox {
    padding: 2em;
    margin-bottom: 2em;
    background-color: var(--color-box-bg);
    border-radius: 1em;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.08);
}

.subboxhdr {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 1em;
}

/* アコーディオン */

.accordion details {
    margin-inline: 0;
    border-bottom: 1px solid var(--color-mgrey);
}

.accordion li:last-of-type details {
    border-bottom: none;
}

.accordion .title {
    position: relative;
    list-style: none;
    width: 100%;
    cursor: pointer;
    padding: 0.75em 0;
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
}

summary.title::-webkit-details-marker {
    display: none;
}

.accordion .title::before,
.accordion .title::after {
    content: '';
    position: absolute;
    right: 0;
    display: block;
    background-color: var(--color-accent);
    border-radius: 999px;
    width: 14px;
    height: 2px;
}

.accordion .title::after {
    transform: rotate(90deg);
}

.accordion details::details-content {
    opacity: 0;
    block-size: 0;
    transition: .3s;
    transition-property: display, opacity, block-size, padding;
    transition-behavior: allow-discrete;
    line-height: 1.6em;
}

.accordion .content {
    margin: 0 0 2em;
    padding: 1em 2em;
    background-color: var(--color-lgrey);
    border-radius: 0 0 8px 8px;
}

.accordion li:last-of-type .content {
    margin: 0;
}

.accordion .content>*:first-of-type {
    margin-top: 0;
}

.accordion .content>*:last-of-type {
    margin-bottom: 0;
}

.accordion details[open]::details-content {
    opacity: 1;
    block-size: auto;
    block-size: calc-size(auto, size);
}

.accordion details[open] .title:after {
    display: none;
}

/* ボタン */

.boxlink a {
    position: relative;
    /* 矢印用 */
    display: block;
    color: var(--color-wh);
    text-decoration: none;
    padding: 1.5em 2em;
    margin-bottom: 2em;
    background-color: var(--color-accent);
    border-radius: 0.75em;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.boxlink a::before,
.boxlink a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 26px;
    margin: auto;
    content: "";
    vertical-align: middle;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.boxlink a::before {
    width: 13px;
    height: 2px;
    background: var(--color-wh);
}

.boxlink a::after {
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-wh);
    border-right: 2px solid var(--color-wh);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.boxlink a:hover {
    color: var(--color-text);
    background-color: var(--color-mgrey);
    box-shadow: none;
}

.boxlink a:hover::before {
    background: var(--color-text);
}

.boxlink a:hover::after {
    border-top: 2px solid var(--color-text);
    border-right: 2px solid var(--color-text);
}

/* credit-------------------- */
.credit {
    font-size: 0.85em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 1em;
}

/* -----------------------------------------------------------------------
てがろぐの機能の装飾-外側(ページ全体の生成用)の装飾（skin-cover.html）
---------------------------------------------------------------------- */
/* 検索窓区画-------------------- */

.searchbox .searchinputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 検索語入力欄 */
.queryinput {
    width: 100%;
    height: 3em;
    padding: 0.5em 1em;
    border-radius: 0.5em 0 0 0.5em;
    background-color: var(--color-lgrey);
    border: none;
}

/* 検索(送信)ボタン */
.searchbox .submitcover {
    width: 25%;
}

.searchbox .submitbutton {
    width: 100%;
    height: 3em;
    color: var(--color-wh);
    text-align: center;
    border-radius: 0 0.5em 0.5em 0;
    background-color: var(--color-accent);
    border: none;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.searchbox .submitbutton:hover {
    color: var(--color-text);
    background-color: var(--color-mgrey);
}

/* 検索対象を限定するチェックボックス */
.searchtarget {
    margin-top: 16px;
}

/* 検索フォーム形式の切り替えリンク */
.siwtchsearchbox {
    font-size: 0.8em;
}

/* 複合検索フォーム */
#complexsearch {
    display: none;
    /* 複合検索窓は、最初は非表示にしておく */
}

/* 検索オプションリスト */
.searchoptions {
    font-size: 0.9em;
    margin: 0.75em 0 1em 1em;
    padding: 0 0 0 0.5em;
}

/* 項目名 */
.solabel {
    display: inline-block;
    min-width: 5em;
}

/* セレクトボックス */
.searchoptions select {
    max-width: 175px;
}

/* 検索オプションリスト */
.searchoptions {
    font-size: 0.9em;
    margin: 0.75em 0 1em 1em;
    padding: 0 0 0 0.5em;
}

/* 項目名 */
.solabel {
    display: inline-block;
    min-width: 5em;
}

/* セレクトボックス */
.searchoptions select {
    max-width: 175px;
}

/* カテゴリツリー区画-------------------- */
.categoryTree ul {
    list-style: none;
    padding-left: 0;
    width: 100%;
    margin-left: 1.5em;
}

.categoryTree ul.depth1 {
    margin: 0 0 8px 0;
}

.categoryTree ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1em 0;
    gap: 0.5em;
}

.categoryTree ul li ul li::before {
    content: '';
    display: block;
    width: 0.75em;
    height: 0.3em;
    border-radius: 999px;
    background-color: var(--color-accent);
}

.categoryTree ul li ul li {
    border: none;
    padding-bottom: 0;
}

.categoryTree ul a {
    text-decoration: none;
    padding: 0.5em 1em;
    background-color: var(--color-box-bg);
    border-radius: 999px;
}

.categoryTree ul a:hover {
    background-color: var(--color-lgrey);
}

/* プルダウンメニュー版カテゴリ一覧の装飾 */
.catpull {
    max-width: 200px;
}

/* ハッシュタグリスト区画-------------------- */
.hashtaglist {
    padding: 1em 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1em;
}

.hashtaglist li a {
    display: inline-block;
    margin-right: 0.5em;
    padding: 0.5em 1em;
    text-decoration: none;
    background-color: var(--color-box-bg);
    border-radius: 999px;
}

.hashtaglist li a::before {
    content: '#';
    color: var(--color-accent);
    font-weight: bold;
    display: inline-block;
    margin-right: 0.25em;
}

.hashtaglist li a:hover {
    background-color: var(--color-lgrey);
}

/* プルダウンメニュー版ハッシュタグ一覧の装飾 */
.hashtagpull {
    max-width: 200px;
}

/* 新着画像リスト区画-------------------- */
.imagelistbox {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 1em 0;
}

.imagelistbox .imagelistitem {
    width: calc(100% / 3 - 4px);
    display: block;
}

.imagelistbox a {
    display: block;
    width: 100%;
    height: 100%;
}

.imagelistbox img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--color-text);
    box-sizing: border-box;
}

/* カレンダー区画-------------------- */
.calendar {
    width: 100%;
    border-collapse: collapse;
}

.calendar th,
.calendar td {
    padding: 8px;
    border: 1px solid var(--color-mgrey);
    text-align: center;
}

/* 年月キャプション */
.calendar caption {
    text-align: left;
    margin-bottom: 8px;
}

/* 曜日行 */
.daysofweek th {
    font-weight: normal;
    background-color: var(--color-lgrey);
}

/* 日付の装飾 */
.calendar a,
.calendar .nolink {
    display: block;
    width: 100%;
    height: 100%;
}

/* 日付のリンク */
.calendar td a {
    color: var(--color-accent);
}

/* 「今日」のセル */
.today {
    background-color: var(--color-lgrey);
}

.calendarlinks {
    margin-top: 8px;
}


/* QUICK POST-------------------- */
.addform {
    margin-bottom: 3em;
    padding: 3em;
    background-color: var(--color-lgrey);
    border-radius: 1em;
}

.addform h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 0 1em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.addform h2::before {
    content: '';
    display: block;
    width: 0.5em;
    height: 0.25em;
    border-radius: 999px;
    background-color: var(--color-accent);
}

.postform {
    padding-bottom: 16px;
}

.postform .line-textarea {
    margin-bottom: 1em;
}

/* 本文入力 */
.postform .tegalogpost {
    width: 100%;
    min-height: calc(5em + 32px);
    padding: 16px;
    border: none;
    border-radius: 8px;
    background-color: var(--color-wh);
    overflow-wrap: break-word;
    overflow: auto;
}

/* プレースホルダ(※入力文字数がゼロの際にだけ見える薄文字)の装飾 */
textarea.tegalogpost:placeholder-shown {
    color: #777;
}

/* 通常時 */
textarea.tegalogpost:focus:placeholder-shown {
    color: #bbb;
}

/* カーソルが入ったとき */
textarea.tegalogpost:-ms-input-placeholder {
    color: #aaa;
}

/* for IE */

.line-control {
    display: flex;
    align-items: center;
    gap: 0.5em;
    flex-wrap: wrap;
}

/* 投稿ボタン */
.postbutton {
    display: block;
    font-size: 1.1em;
    color: var(--color-wh) !important;
    padding: 0.75em 2em;
    border-radius: 999px;
    background-color: var(--color-accent);
    border: none;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
    cursor: pointer;
}

.postbutton:hover {
    color: var(--color-text) !important;
    background-color: var(--color-lgrey);
}

/* 文字装飾ボタン群 */
/* 掲載領域全体 */
.decoBtns {
    display: inline-block;
    margin-top: 0.5em;
}

/* 全ボタン装飾 */
.decoBtns input {
    margin: 0.25em;
    padding: 0.5em 1.5em;
    border-radius: 999px;
    border: none;
    color: var(--color-text);
    background-color: var(--color-wh);
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
    cursor: pointer;
}

.decoBtns input:hover {
    background-color: var(--color-lgrey);
}

/* 強調  :E */
.decoBtnE {
    font-weight: bold;
    font-style: italic;
    color: var(--color-accent) !important;
}

/* 太字  :B */
.decoBtnB {
    font-weight: bold;
}

/* 斜体  :I */
.decoBtnI {
    font-style: italic;
}

/* 下線  :U */
.decoBtnU {
    text-decoration-line: underline;
    text-decoration-style: double;
    text-decoration-color: var(--color-accent) !important;
}

/* 取消線:D */
.decoBtnD {
    color: var(--color-grey) !important;
    text-decoration-line: line-through;
}

/* 文字色:C */
.decoBtnC {
    color: red !important;
}

/* 背景色:M */
.decoBtnM {
    color: blue !important;
}

/* 画像 ファイル選択 */
input[name="upload_file"] {
    border: 1px solid var(--color-grey) !important;
}

/* チェックボックスの間隔を調整 */
.catChecks label {
    margin-right: 8px;
}

/* 他のIDに切り替える（一番右に配置して次の行へ） */
.changelink {
    width: 100%;
    order: 999;
    border-top: 1px solid var(--color-mgrey);
    margin-top: 1rem;
    padding-top: 8px;
}

/* ページナビゲーション-------------------- */
.pagenavi {
    padding: 16px;
    font-size: 0.8em;
    text-align: center;
}

.pagenavi a {
    padding: 6px;
}

/* ページ前後移動*/
.pagelinks {
    margin-bottom: 8px;
}

/* ▼ページ番号リンク */
.pagenums a.pagenumlink {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 999px;
}

/* 現在のページ番号の装飾 */
a.pagenumhere {
    color: var(--color-wh);
    background-color: var(--color-accent);
    text-decoration: none;
}

/* ▼限定解除リンク(＝HOMEに戻るリンク) */
.pagehome {
    margin: 0.15em;
    font-weight: bold;
}

/* ページトップに戻る-------------------- */
.backtotop a {
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    border-radius: 1em;
}

.backtotop a::before {
    content: "";
    position: absolute;
    display: inline-block;
    margin: 0 auto;
    top: 18px;
    right: 0;
    left: 0;
    transform: rotate(135deg);
    width: 6px;
    height: 6px;
    border: solid var(--color-wh);
    border-width: 0 0 2px 2px;
}

/* -----------------------------------------------------------------------
内側(個別投稿の表示用)のスキン（skin-onelog.html）
---------------------------------------------------------------------- */

.onelogbox {
    display: flex;
    padding: 3em;
    margin-bottom: 2em;
    background-color: var(--color-box-bg);
    border-radius: 1em;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.08);
}

.onelogbox:last-of-type {
    border-bottom: none;
}

.onelogbox .posthdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5em;
}

.onelogbox .postdate {
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.onelogbox .postdate::before {
    content: '';
    display: block;
    width: 0.5em;
    height: 0.25em;
    border-radius: 999px;
    background-color: var(--color-accent);
}

.onelogbox .postcate {
    font-size: 0.85em;
}

.onelogbox .posthdr .Login-Required {
    display: flex;
    gap: 0.5em;
}

.onelogbox .editlink,
.onelogbox .delitelink {
    display: inline-block;
    text-decoration: none;
    font-size: 0.85em;
    padding: 0.5em 2em;
    border-radius: 999px;
    background-color: var(--color-lgrey);

}

.onelogbox .editlink:hover,
.onelogbox .delitelink:hover {
    background-color: var(--color-mgrey);
}

.postcnt {
    width: 100%;
}

.postbody {
    margin: 1.5em 0;
}

/* 複数カテゴリのカンマ */
.catseparator {
    margin: 0 4px;
}

/* -----------------------------------------------------------------------
てがろぐの機能の装飾-内側(個別投稿の表示用)のスキン（skin-onelog.html）
---------------------------------------------------------------------- */
/* URLが書かれた場合の装飾 */
.url {
    word-break: break-all;
    /* 自動リンクのはみ出しを防ぐ */
}

/* E:強調(Emphasis) */
.decorationE {
    color: var(--color-accent);
    font-weight: bold;
}

/* B:太字(Bold) */
.decorationB {
    font-weight: bold;
}

/* I:斜体(Italic) */
.decorationI {
    font-style: italic;
}

/* U:下線(Underline) */
.decorationU {
    text-decoration-line: underline;
    text-decoration-style: double;
    text-decoration-color: var(--color-accent);
}

/* Q:引用(Quote) */
.decorationQ {
    display: inline-block;
    background-color: var(--color-lgrey);
    margin: 0.5rem 0;
    padding: 8px;
    font-size: 0.8rem;
}

.decorationQ::before,
.decorationQ::after {
    content: '';
    /* 標準で付加されてしまう引用符を無効にする */
}

.decorationQ+br {
    display: none;
    /* 引用直後の改行を無効化する */
}

/* D:打消し線 */
.decorationD {
    color: var(--color-grey);
    text-decoration-line: line-through;
}

/* S:小文字(Small) */
.decorationS {
    font-size: 0.8rem;
}

/* T:極小文字(Tiny) */
.decorationT {
    font-size: 0.6rem;
}

/* 「リスト」機能 */
.decorationL {
    display: inline-block;
    margin: 0.5rem 0;
    padding-left: revert;
    padding-inline-start: 1rem;
}

/* 「隠す」機能 */
.decorationH a {
    margin: 0.5rem 0;
}

.readmorebutton.readmoreclose {
    display: block;
}

.readmorebutton.readmoreopen::before,
.readmorebutton.readmoreclose::before {
    display: inline-block;
    margin-right: 4px;
}

.readmorebutton.readmoreopen::before {
    content: '+';
}

.readmorebutton.readmoreclose::before {
    content: '-';
}

.readmorearea {
    margin-top: 0.5rem;
}

.readmorearea::before {
    display: block;
    content: '';
    height: 0.5rem;
}

/* 埋め込み画像-------------------- */
/* 画像ボックス(FIGオプション指定時) */
.embeddedpictbox {
    margin: 0;
    padding: 0;
    display: inline-table;
    border-collapse: collapse;
    border: 1px solid #e0eee0;
    vertical-align: top;
}

/* キャプション */
.embeddedpictbox figcaption {
    display: table-caption;
    caption-side: bottom;
    font-size: 0.8em;
    text-align: center;
    background-color: #e0eee0;
}

/* 画像ボックスに含まれる画像 */
.embeddedpictbox img {
    vertical-align: middle;
}

/* 画像リンク */
.imagelink {
    display: inline-block;
    line-height: 1;
    /* 表示形態によっては画像の下に余計な空白が出るのを防ぐ対策 */
    vertical-align: inherit;
    /* 同上 */
}

/* 画像そのもの */
.embeddedimage {
    display: inline-block;
    margin: 1rem 0;
    border-radius: 8px;
}

/* フラグ付き画像 */
figure.nsfw {
    overflow: hidden;
    /* ぼかし領域がfigureのボックスからはみ出ないようにする */
}

.imagelink.nsfw {
    overflow: hidden;
    /* ぼかし領域がfigureのボックスからはみ出ないようにする */
}

img.nsfw {
    filter: blur(9px);
    /* ぼかす */
}

/* 埋め込み動画-------------------- */
@media all and (max-width: 600px) {
    .embeddedmovie {
        display: inline-block;
        max-width: 100%;
        /* はみ出ないようにする */
        width: auto;
        height: auto;
    }
}

/* 埋め込みTweet-------------------- */
blockquote.twitter-tweet {
    background-color: #f8f8f8;
    border: 1px dashed #ddd;
    border-radius: 9px;
    margin: 0.3em 0;
    padding: 1em;
    font-size: 0.95em;
    color: #999;
    text-shadow: 1px 1px 1px #fff;
}

/* 埋め込みツイートの横幅を強制的に制限 */
div.twitter-tweet {
    max-width: 350px !important;
}

/* 250806 埋め込み動画の横幅がはみ出すのを調整 */
.embeddedmovie {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.embeddedmovie iframe {
    width: 100%;
    height: 100%;
}

/* 250806 埋め込みツイートの横幅がはみ出すのを調整 */
.twitter-tweet iframe {
    width: 100% !important;
}

/* 検索語のハイライト-------------------- */
.searchword {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #aaf0aa 60%);
}

/* 表示対象の限定時などの「限定条件」表示行-------------------- */
.situation {
    font-weight: bold;
}

.situation:empty {
    display: none;
}

/* 限定表示がない場合は存在自体を消す */

/* 日付境界バー */
.dateseparator {
    font-size: 0.85em;
    padding: 0 1em 1em;
    text-align: center;
}

.dateseparator::before {
    content: '▼';
}

/* 固定投稿 */
.fixedseparator {
    border: none;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: var(--color-grey);
}

.fixedseparator::before {
    display: none;
}

.fixedseparator .fixedlabel {
    display: flex;
    align-items: center;
}

.fixedseparator .fixedlabel::before {
    content: '';
    display: block;
    margin-right: 4px;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-position: center center;
    background-image: url(../_img/icn_pin.png);
    background-repeat: no-repeat;
}

/*鍵入力フォーム-------------------- */
.passkeyform {
    margin: 2em 0;
    padding: 3em;
    font-size: 0.85em;
    border-radius: 0.75em;
    background-color: var(--color-lgrey);
}

.passkeybox {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1em
}

.passkeyinput {
    width: 100%;
    height: 3em;
    padding: 0.5em;
    border: 1px solid var(--color-mgrey);
    border-radius: 0.5em;
}

.passkeysubmit {
    height: 3em;
    color: var(--color-wh);
    padding: 0.5em 1.5em;
    border: none;
    border-radius: 999px;
    background-color: var(--color-accent);
}

.submitcover input {
    cursor: pointer;
    transition: 0.3s;
    /* マウスホバー時のアニメーション */
}

.submitcover input:hover {
    color: var(--color-text);
    background-color: var(--color-mgrey);
}

/* 各投稿の個別ページで表示される囲みナビ-------------------- */
.utilitylinks {
    padding: 24px 16px;
}

@media screen and (max-width:960px) {
    .wrap {
        max-width: 100%;
        margin: 0 3% 64px;
        flex-direction: column;
    }

    header,
    .cnt,
    footer {
        min-width: 100%;
    }
}

/* -----------------------------------------------------------------------
スマホ用の処理
---------------------------------------------------------------------- */
@media screen and (max-width:600px) {
    /* ←←←消さないよう注意！ */

    .sub {
        width: 100%;
    }

    .cnt,
    footer {
        min-width: 100%;
    }

    .addform,
    .onelogbox {
        padding: 2em;
    }

    .onelogbox .postftr {
        display: block;
    }

    h1.title {
        margin: 1em 3%;
    }

    .backtotop a {
        right: 3%;
    }

    /* スマホでタップ時に半透明にならないようにする-------------------- */
    a:hover {
        opacity: 1;
    }

}

/* ←←←消さないよう注意！ */
/* -----------------------------------------------------------------------
スマホ用の処理ここまで
---------------------------------------------------------------------- */