@charset "utf-8";

/*-------------------------------
Reset
-------------------------------*/
*,
*::before,
*::after {
	margin: 0; /* マージンは0に */
	padding: 0; /* パディングも常に0に */
	box-sizing: border-box; /* もちろん、より直感的なbox-sizingに設定 */
}
:where([hidden]:not([hidden='until-found'])) {
	display: none !important;  /* hiddenは非表示を意味します */
}
:where(html) {
	-webkit-text-size-adjust: none; /* iOSのランドスケープでテキストが調整されないようにする */
	/* color-scheme: dark light; ユーザーがダークテーマを好む場合、自動的にダークテーマになる */
}
@supports not (min-block-size: 100dvb) {
	:where(html) {
		block-size: 100%;
	}
}
blockquote, q {	quotes:none; }
blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; }
a {	margin:0;padding:0; font-size:100%; vertical-align:baseline; }
del {text-decoration: line-through; }
img {max-width: 100%;height: auto; vertical-align:bottom;font-size:0;line-height: 0;}
table {	border-collapse:collapse;border-spacing:0;font-size: 100%; }
hr { display:block;	height:1px;	border:0;border-top:1px solid #cccccc;margin:1em 0;padding:0; }
/* フォーム内のタイポグラフィのスタイルを削除 */
:where(input, button, textarea, select),
:where(input[type="file"])::-webkit-file-upload-button {
    color: inherit;
    font: inherit;
    font-size: inherit;
    letter-spacing: inherit;
}
/* textareaのサイズ変更は垂直のみにし、ブラウザがサポートしている場合にのみblockにします */
:where(textarea) {
    resize: vertical;
}
@supports (resize: block) {
    :where(textarea) {
        resize: block;
    }
}
input, select { vertical-align: 0; }
input, textarea { margin: 0; font-size: 100%;}
address, caption, cite, code, dfn, em, var{	font-style: normal;	font-weight: normal; }
h1, h2, h3, h4, h5, h6{ font-size: 100%;}
/* リストの役割をするul、ol要素のリストスタイルを削除。デフォルトのスタイルが削除されることを示唆しています */
:where(ul, ol) {
    list-style: none;
}
/*:where(ul, ol)[role="list"] {
  list-style: none;
}*/
/* インタラクティブな要素は適切なカーソルを設定して操作できることを明確にする */
:where(a[href], area, button, input, label[for], select, summary, textarea, [tabindex]:not([tabindex*="-"])) {
    cursor: pointer;
    touch-action: manipulation;
}
:where(input[type="file"]) {
    cursor: auto;
}
:where(input[type="file"])::-webkit-file-upload-button,
:where(input[type="file"])::file-selector-button {
    cursor: pointer;
}
/* ユーザーがボタンのテキストを選択できないようにする */
:where(button, button[type], input[type="button"], input[type="submit"], input[type="reset"]),
:where(input[type="file"])::-webkit-file-upload-button,
:where(input[type="file"])::file-selector-button {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    text-align: center;
}
/* 無効化されたボタンには無効化されたカーソルを表示 */
:where(button, button[type], input[type="button"], input[type="submit"], input[type="reset"])[disabled] {
    cursor: not-allowed;
}

/* Text======================================= */
/*-------------------------------
Font
-------------------------------*/
html {
  font-size: 16px;
  font-family: "Helvetica Neue", Arial, "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  word-wrap: break-word;
  overflow-wrap : break-word;
  background-image: url(../img/base.png);
	background-repeat: repeat;
	background-color: #B85;
}
body {
  font-size: 1rem;
  line-height: calc(0.5rem + 1em + 0.5rem);
  text-align: left;
  -webkit-text-size-adjust:100%;/*IOS Safari用自動サイズレンダリング対応*/
}
i{font-weight: 900;}
.serif{font-family: "Zen Old Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;}
p{font-feature-settings: "palt";}/*句読点や括弧などの約物等をカーニング*/
.f-normal { font-weight: normal; font-weight: 400; }
.f-bold { font-weight: bold; font-weight: 700; }
.f-italic { font-style: italic;}
sup { font-size: 0.5rem;vertical-align: 5px; }
sub {font-size: 0.5rem;vertical-align: baseline; }
.note { padding-left: 1em; text-indent: -1em; }
@media screen and (max-width: 768px) {
  body {
    font-size: 1rem;
  }
}


/* Link======================================= */
a:link {
	color: #773300;
	text-decoration: none;
	-webkit-transition: 0.4s;
	-moz-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
}
a:visited {
	color: #993300;
}
a:hover {
	color: #aa3300;
}

/* Content======================================= */
html {
  block-size: 100%;/* パーセントによる高さを許可する  */
  position: relative;
}
.container{
  display: grid;
	max-width: 1000px;
  height: 100vh;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
	padding:0 20px;
}
.header {
	display: grid;
  justify-items: end;
	margin-top: 20px;
}

.main {
	margin-top: auto;
}
.footer {
	text-align: right;
  margin-top: 10%;
  padding-bottom: 1em;
}
.copy {
	font-size: 0.875rem;
	text-shadow: 0px 1px 1px #444444;
	filter: dropshadow(color=#444444, offx=0, offy=1);
	color: #663311;
}
.contact {
	height: 15px;
	width: 102px;
	font-size: 0px;
	line-height: 0px;
	text-indent: -9999pt;
	display: block;
	background-image: url(../img/contact.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

@media only screen and (max-width:768px) {
  .logo{
    text-align: center;
  }
  .copy {
    text-align: center;
  }
}