@charset "UTF-8";
/* すべてのページに適用される設定 */
:root {
	--main-color: #FC9F4D;
	--secondary-color: #ffffff;
	--tertiary-color: #fff;
	--background-color: #F8F8F8;
	--hightlight-color: #FC9F4D;
	--stroke-color: #000000;
	
	/* 文字の色のCSS変数 */
	--headline-color: #000000;
	--paragraph-color: #000000;
	--button-color: #FC9F4D;
	--button-text-color: #ffffff
}
html {
	/* 文字の大きさを設定　*/
	font-size: 16px;
	/* フォントの種類を設定 */
	font-family: sans-serif;
	background-color: var(--background-color);
}

* {
	/* ボックスモデルをボーダー領域まで拡張 */
	box-sizing: border-box;
	/* 文字のデフォルトの色を設定 */
	color: var(--paragraph-color);
}

body {
	/* 画面の一番外側の余白を削除 */
	margin: 0 0 0 0;
}

/* 見出しのh1タグの設定 */
h1 {
	color: var(--headline-color);
}

p,
li,
td {
	/* テキストの行間を設定 */
	line-height: 1.7;
}

a {
	color: var(--hightlight-color);
}
/* リンクの設定 */
a:link {
	text-decoration: none;
}

/* 訪問済みのリンクの設定 */
a:visited {
	text-decoration: none;
}

/* マウスポインタが乗っているときの設定 */
a:hover {
	text-decoration: none;
}

/* マウスボタンが押されているときの設定 */
a:active {
	text-decoration: none;
}

/* imgタグを親要素の幅に合わせて伸縮させるための設定 */
img, canvas{
	max-width: 100%;
}

/* buttonタグの設定 */
button, .button{
	padding-left: 12px;
	padding-right: 12px;
	height: 2.5em;
	cursor: pointer;
	background-color: var(--button-color);
	color: var(--button-text-color);
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	box-shadow: 2px 2px 4px gray;
}
button:hover, .button:hover{
	background-color: #E26B03;
}
button:active, .button:active{
	background-color: #E26B03;
	box-shadow: none;
}

.login-button{
	width: 100%;
	padding: 12px;
	background-color: var(--button-color);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.login-button:hover {
	background-color: #E26B03;
}

.submit-btn {
	padding-left: 9px;
	padding-right: 9px;
	height: 1.7em;
	cursor: pointer;
	background-color: var(--button-color);
	color: var(--button-text-color);
	border: none;
	border-radius: 4px;
	font-size: 16px;
}
.submit-btn:hover{
	background-color: #E26B03;
}
.submit-btn:active {
	background-color: #E26B03;
}
/* headerの設定 */
header {
	background-color: var(--main-color);
	color: var(--headline-color);
	height: 65px;
	/* 影をつける設定 */
	position: relative;
	box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.20);
	z-index: 5;
}
.navbar {
	max-width: 95%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	vertical-align: middle;
}
.nav ul {
	margin: 7px 0 7px 0;
	padding: 0;
	list-style-type: none;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-left: 10px;
}
.nav li {
	display: flex;
	align-items: center;
}
.nav a {
	color: var(--button-text-color);
}
.btn-diary-regist {
	width:80px;
	height: 80px;
	background-color: var(--main-color);
	position: fixed;
	top: 100px;
	right: 40px;
	border-radius: 50px;
	box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.20);
	text-align: center;
	font-size: 18px;
	color: #ffff;
	line-height: 80px;
}
.btn-diary-regist:hover {
	background-color: #E26B03;
}
.btn-diary-regist:active {
	background-color: #E26B03;
	box-shadow: none;
}
/* inputタグ */
.input-text{
	width: 60%;
	margin: 0.5rem 10px 1.5rem 0;
	padding: 10px 16px;
	border: 2px solid #e1e5e9;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.3s ease, box-shadow 0.2s ease;
	background-color: #fff;
	box-sizing: border-box;
}
.input-text:focus {
	outline: none;
	border-color: #eeeeee;
	box-shadow: 2px 0px 5px 0px rgba(0, 0, 0, 0.2);	
}

.input-textarea {
	width: 100%;
	height: 150px;
	margin-top: 0.5rem;
	margin-bottom: 1.5rem;
	padding: 10px 16px;
	border: 2px solid #e1e5e9;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.3s ease, box-shadow 0.2s ease;
	background-color: #fff;
	box-sizing: border-box;	
}
.input-textarea:focus {
	outline: none;
	border-color: #eeeeee;
	box-shadow: 2px 0px 5px 0px rgba(0, 0, 0, 0.2);	
}

/* mainタグ共通の設定 */
main {
	margin: 0 auto;
	padding: 40px 50px;
	min-height: 600px;
	max-width: 1000px;
	background-color: var(--secondary-color);
	/* 影をつける設定 */
	box-shadow: 2px 0px 10px 0px rgba(0, 0, 0, 0.20);
}

/* footerの設定 */
footer {
	min-height: 80px;
	background-color: var(--main-color);
	/* 影をつける設定 */
	position: relative;
	box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.20);
	z-index: 5;
}

.copyright {
	font-size: 0.8rem;
	text-align: center;
	margin: 0;
	padding-top: 20px;
	color: var(--secondary-color);
}

/* modal関連の設定 */
.modal-bg{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    top: 0;
    left: 0;
    z-index: 10;
    display: none;
}
.modal{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.modal-content{
    width: 800px;
    height: auto;
    background-color: #fff;
    position: relative;
    padding: 40px;
    box-sizing: border-box;
}
.modal-content>p{
    text-align: center;
    margin-bottom: 20px;
}
.modalClose{
    display: block;
    text-align: center;
    cursor: pointer;
}
.close-btn{
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}
.close-btn>div{
    width: 30px;
    height: 30px;
    position: relative;
}
.close-btn>div>span{
    width: 100%;
    height: 1px;
    background-color: #555;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.close-btn>div>span:first-of-type{
    transform: rotate(45deg);
}
.close-btn>div>span:last-of-type{
    transform: rotate(-45deg);
}
.modal-bg.active{
    display: block;
}
#modal-form {
    width: 80%;
    margin: 0 auto;
}
#modal-form input[type="text"] {
    width: 100%;
}
#modal-form textarea {
    width: 100%;
    height: 200px;
}

.modal-link {
	cursor: pointer;
}

/* スタンプ設定 */
#stamp-button {
	cursor: pointer;
}
#stamp-button img {
	vertical-align: middle;
}
.stamps {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    width: auto;
    height: auto;
    max-height: 240px;
    overflow: auto;
}

.stamp {
	width: 80px;
	height: 80px;
	background-color: #ffffff;
	padding: 0;
	cursor: pointer;
}

.selected {
	opacity: 0.5;
}

.hidden {
	display: none;
}

/* モバイル対応 */
@media(min-width: 768px) {
    
}

/*-classの設定-------------------*/

.e-msg {
	font-size: 14px;
	color: #ED1A3D;
	margin: 7px 0 7px 0;
}
.list {
	min-width: 400px;
	margin: 8px 0 8px 0;
	float: left;
}
