
@charset "UTF-8";

/* Template & Designed by Towako. */
/* https://ninawas.me */

/* ウェブフォントの読み込み */
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans|M+PLUS+Rounded+1c&display=swap');
/* ここまで */

/* 全体に適用する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
}

/* 共通設定 */
body {
    line-height: 1.7;
    letter-spacing: 0.1em;
    text-align: center;
    background-color: #fff;
    font-size: 15px;
    color: #333;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

/* リンク基本設定 */
a {
    text-decoration: none;
    color: #333;
}

a:hover{
    color:#000000;
	}

hr{
	color:#3c7170;
	}


/* ヘッダー */
header {
    padding: 1em 0 0;
}

header h1 {
    font-size: 1.3em;
    font-family:'M PLUS Rounded 1c', sans-serif;
}

header span {
    font-size: 1.5em;
    color: #3c7170;
}

/* ナビゲーション */
nav {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: 8px solid #3c7170;
    background-color: rgba(255, 255, 255, 0.9);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1em 0;
    list-style-type: none;
}

nav ul li {
    flex-basis: 33%;
}

nav ul li + li {
    border-left: thin solid #333;
}

nav ul li a {
    font-size: 1.1em;
}

/* コンテナ */
#container {
    position: relative;
}

#containerBox h2 {
    margin: 0.5em auto;
    font-size: 1.2em;
    font-family: 'Josefin Sans', 'M PLUS Rounded 1c', sans-serif;
}

/* セクション */
section {
    margin: 3em auto;
    padding: 1.5em 2em;
    padding-top: 80px;
    text-align: justify;
    word-break: break-all;
}

/* 見出し */
section h2 {
    position: relative;
    margin: 1em auto 1.5em;
    width: 50%;
    text-align: center;
}

section h2::before {
    position: absolute;
    content: '';
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #333;
}

section h3 {
    display: inline-block;
    margin: 0.5em auto;
    border-bottom: 2px solid #333;
}

/* セクション共通設定 */
section p {
    margin: 1em auto 1.5em;
}

section a {
    font-weight: bold;
    color: #3c7170;
}

section span {
    border-bottom: thin dashed #333;
}

section mark {
    padding: 0.1em 0.5em;
    background-color: #eee8aa;
}

section strong {
    font-weight: bold;
    color: red;
}

/* リスト系 */
section dl,
section ul {
    margin: 1em auto 1.5em;
}

section dd {
    margin-left: 1.5em;
    margin-bottom: 0.5em;
    font-size: 0.9em;
}

section ul {
    list-style-type: none;
}

section ul li a {
    margin: 0 0.5em;
}

.float li {
    float: left;
    margin-right: 1em;
}

.float::after {
    display: block;
    content: '';
    clear: both;
}

/* 枠線リンク */
.link {
    display: inline-block;
    margin: 0.2em auto;
    padding: 0.1em 0.5em;
    border: thin solid #3c7170;
}

/* 右揃え */
.right {
    text-align: right;
}

/* 中央揃え */
.center {
    text-align: center;
}

/* ちょっと上空ける */
.bl {
    margin-top: 2.5em;
}
.pl {
    margin-bottom: 2.5em;
}

/* 各検索結果見出し */
.mtitle {
    font-size: 1.8em;
    text-align: left;
    margin: auto 0.5em;
}
.space {
    margin-right: 1em;
}
.mborder{
    border: #3c7170 3px solid;
    margin-top: 1em;
}

/* 上に戻るボタン */
#PageTop {
    position: fixed;
    bottom: 4%;
    right: 5%;
}

#PageTop a {
    display: block;
    z-index: 100;
    padding: 0 0.3em;
    border-radius: 50%;
    background-color: #fff;
    font-size: 1.3em;
    color: #3c7170;
}

/* フォーム系 */
textarea,
input[type] {

    padding: 0.2em 0.5em;
    background-color: #ffffff;
    border: thin solid #3c7170;
    border-radius: 2px;
    color: #333;
    margin-left: 1em;
}

textarea {
    width: 20vw;
    height: 8em;
}

textarea::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

textarea::-webkit-scrollbar-track {
    border-radius: 50px;
}

textarea::-webkit-scrollbar-thumb {
    background-color: #fff;
    border-radius: 50px;
}

input[type=text] {
    width: auto;
}

input[type=submit] {
    width: auto;
    background-color: #3c7170;
    border: thin solid #3c7170;
    border-radius: 2px;
    color: #fff;
}

select{
        margin-left: 1em;
}

.wrap_f {
     border-bottom:dotted 1px #666;
     margin: .8em .3em;
}

.msg-footer {
    margin-top: 1em;
    padding-right: 5px;
	text-align: right;
    font-size: 0.8em;
    color: #666;
}


/* 横幅960px以上で下記を読み込む */
@media screen and (max-width:1199px) {
    #container img {
        width: 100%;
        border-bottom: 8px solid #3c7170;
    }

body {
    font-size: 13px;
}

    #containerBox {
        position: absolute;
        bottom: 8%;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        text-shadow: 1px 1px 2px #333;
        color: #fff;
    }

    #containerBox h2 {
        border-bottom: thin solid #fff;
    }

    #containerBox a {
    color: #fff;
}

/* フォーム系 */
textarea {
    width: 90%;
    height: 6em;
}
input[type=text] {
    width: 90%;
}

    .wrap_f {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items:center;
}

.msg-footer li {
		width: 65%;
		text-align: right;
	}
}

.boxright {
    display: block;      /* ブロック要素として扱う */
    width: fit-content;  /* 幅を中身（フォーム）のサイズに合わせる */
    margin-left: auto;   /* 左側の余白を最大にして右に寄せる */
}

.formword {
    font-size: 13px;
    color: #999999;
}

/* 横幅960px以上で下記を読み込む */
@media screen and (min-width:1200px) {
    #container {
        border-bottom: 8px solid #3c7170;
    }

    #container img {
        width: 38%;
        float: left;
    }

    #containerBox {
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        width: 40%;
    }

    #containerBox h2 {
        border-bottom: thin solid #333;
        font-size: 2.5em;
    }

    #container::after {
        display: block;
        content: '';
        clear: both;
    }

    main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    section {
        flex-basis: 40%;
    }


.wrap_f {
  display: flex;
  flex-shrink: 1;
  align-items:center;
}


}

.news {
    margin: auto;
    text-align: justify;
    word-break: break-all;
    padding: 0 1em;
    font-size: 0.95rem;
}

.news p{
margin-bottom:1.8em;
}

.news h3::before {
  content: "▼ ";
  color: #3c7170;
}

.framenews {
    width: 100%;
    height: 60%;
    border:1px solid #fff;
    margin: 1.5rem auto;
}

.thanks{
    height: 70vh;
}


/*------記事部分-------*/

.msg{
    margin-top: 2em;
	margin-bottom: 3em;
    padding: 0 1em;
	width: 100%;
	border: 1px solid #BBBBBB;
	overflow: hidden;
	height: auto;
}


.site{
    font-size: 1.2em;
	font-weight: bold;
	padding: 5px;
	box-sizing: border-box;
    width: 80%;
}


.comment{
	padding: 5px;
	box-sizing: border-box;
}

.category{
    margin-top: 1.5em;
	text-align: left;
	padding: 5px;
	box-sizing: border-box;
}

.category a{
    border: solid 1px #3c7170;
    padding: 3px;
    font-size: 0.8em;
    font-weight: 500;
    border-radius: 1px;
}

.msg-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .4em .8em;
}

.msg-footer li {
  box-sizing: border-box;
}

.ban{
	margin: 5px 5px 10px;
}

.ban img {
    vertical-align: bottom;
    height: 40px;
}

/*------テーブル-------*/


.top_cate_tb{
	display: flex;
	flex-wrap: wrap;
	width: 600px;
	padding: 0px
}

.top_cate_tb li{
	width: 50%;
	list-style: none;
	box-sizing: border-box;
}

.cate_tb{
	display: flex;
	flex-wrap: wrap;
	width: 500px;
	padding: 0px
}

.cate_tb li{
	width: 50%;
	list-style: none;
	box-sizing: border-box;
}

table td{
    padding: 0.5em;
    margin: 1em auto;
}

/*------ページリンク-------*/

ul.pagelink{
	list-style-type: none;
	margin: 0;
}

ul.pagelink li{
	float: left;
}

ul.pagelink a, ul.pagelink li.current{
	display: block;
	width: 26px;
	line-height: 26px;
	text-align: center;
	text-decoration: none;
	border-style: solid;
	border-color: #bebebe;
	border-width: 1px;
	margin-right: 3px;
	padding:1px;
}

ul.pagelink li.ten{
	width: 15px;
	text-align: center;
	margin-right: 3px;
	padding:1px;
}

ul.pagelink a:hover{
	background-color: #F0F0F0;
}

ul.pagelink:after{
	display: block;
	clear: both;
	content: '';
}

ul.pagelink li.current{
	font-weight:bold;
}


div.page {
	position: relative;
	overflow: hidden;
	margin-bottom: 10px;
}


div.page ul {
	float:left;
	left:0%;
	position:relative;
	padding:0px;
}

div.page li {
	float:left;
	left:0%;
	position:relative;
}


/*------タグ-------*/

a.tags{
	text-decoration: none;
	display: inline-block;
	margin: 3px 5px;
	background-color: #E3E3E3;
	padding: 0 3px;
	border-radius: 6px 6px 6px 6px;
}


/*------入力アラート-------*/

.input_alert{
	border-style: solid;
	border-width: 2px;
	border-color: #660000;
	background-color: #FFE8E8;
}

.box_alert{
	position: relative;
	padding: 10px;
	background-color: #ffffff;
	border: 2px solid #ca8888;
	width: 350px;
	top: 10px;
	margin-bottom: 10px;
}

.box_alert::before{
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	left: 20px;
	top: -30px;
	border-right: 15px solid transparent;
	border-bottom: 15px solid #ca8888;
	border-left: 15px solid transparent;
	border-top: 15px solid transparent;
}

.box_alert::after{
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	left: 20px;
	top: -12px;
	border-right: 15px solid transparent;
	border-bottom: 15px solid #ffffff;
	border-left: 15px solid transparent;
}

/* カーソルを重ねる要素 */
.tooltip {
  position: relative; /* ツールチップの位置の基準に */
  cursor: pointer; /* カーソルを当てたときにポインターに */
}

.tooltip img{
  margin-left: .1em;
  vertical-align: text-top;
}

/* ツールチップのテキスト */
.tooltip-text {
  opacity: 0; /* はじめは隠しておく */
  visibility: hidden; /* はじめは隠しておく */
  position: absolute; /* 絶対配置 */
  left: 100%; /* 親に対して配置 */
  transform: translateX(-30%); /* 親に対して配置 */
  bottom: 30px; /* 親要素下からの位置 */
  display: inline-block;
  padding: 5px; /* 余白 */
  white-space: nowrap; /* テキストを折り返さない */
  font-size: 0.8rem; /* フォントサイズ */
  line-height: 1.3; /* 行間 */
  background: #3c7170; /* 背景色 */
  color: #fff; /* 文字色 */
  border-radius: 3px; /* 角丸 */
  transition: 0.3s ease-in; /* アニメーション */
}

.tooltip-text:before {
	content: '';
	position: absolute;
	top: 26px;
	left: 20%;
	margin-left: -7px;
	border: 7px solid transparent;
	border-top: 7px solid #3c7170;
}

/* ホバー時にツールチップの非表示を解除 */
.tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}

.update-info{
    margin:1em auto 1em .2em;
    padding: 3px;
    font-size: 1em;
    color:#333;
    font-weight: bold;
}