﻿@charset "utf-8";
/* headerStyle.css */

/*----------------------------
	General Style
------------------------------*/
body {
	background: #ddd;
  font-family: Osaka, sans-serif, メイリオ, Meiryo, serif;
	font-size: 1em;
	margin: 0;
}

.wrapper {
  width: 100%;
  max-width: 800px;
  margin: 10px auto;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

a {
	text-decoration: none;  /* 下線なし */
}

/*----------------------------
	Header Style
------------------------------*/
header{
	margin: 2px auto;
	padding: 4px 10px 6px 10px;
	background: rgba(254, 244, 244, 0.5);
	font-size: 0.8em;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	box-shadow: gray 4px 5px 10px 2px;
	border-radius: 3px;
}

.first {
	padding: 2px;
	height: 40px;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
}

.button {
  /* レイアウト */
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 160px;
  height: 38px;
  
  /* 装飾 */
  background: linear-gradient(to bottom, #ffffff, #ededed);
  color: #333;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  
  /* 影：最初は薄く付けておく */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  
  /* アニメーションの設定：0.3秒かけて変化させる */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時の設定 */
.button:hover {
  /* 上に2px移動させる */
  transform: translateY(-2px);
  
  /* 影を強く、広くして「浮いている感」を出す */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  
  /* 少しだけ明るくして反応を分かりやすくする */
  filter: brightness(1.02);
}

/* クリックした瞬間の演出（おまけ） */
.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}