@charset 'UTF-8';

/* import */
@import url(reset-skeleton.css);
@import url('https://fonts.googleapis.com/css?family=Alex+Brush|Cormorant+Garamond');
@import url('https://fonts.googleapis.com/css?family=Cormorant+Garamond');

/* basic */
html { font-size: 62.5%; }

::selection { color: #fff; background: rgba(235,147,137,.85); }
::-moz-selection { color: #fff; background: rgba(235,147,137,.85); }

body {
  font-family: 'Caudex','ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', Meiryo, 'メイリオ', serif;
  font-size: 1.4rem;
  line-height: 1.7;
  width: 100%;
  padding-bottom: 50px;
  letter-spacing: .05rem;
  color: #444;
  background: url(../img/bg.png) fixed;
  background-size: 500px auto;
  font-feature-settings: 'palt';
}

a:hover { opacity: .45; }
a { color: #444; }
.date a { border-bottom: .2em solid #fff; }
li a.new { font-weight: 700; border-bottom: 1px solid red; }
.banner { border: .1em solid #fff; width: 200px; }

/* pagetop */
#pagetop a:hover { color: #999; }
#pagetop a {
  font-size: 3.8rem;
  line-height: 1.0;
  position: fixed;
  z-index: 70;
  right: 8%;
  bottom: 5%;
  padding: 10px;
  text-align: center;
  color: #000;
  border-bottom: none;
  background: transparent;
}

/* log */
.history {
  overflow: hidden;
  max-width: 550px;
  margin: 30px auto;
  padding: 30px 0 60px;
}
dt {
  float: left;
  clear: both;
  width: 15%;
  padding: 1.2em 0;
}
dd {
  width: 85%;
  margin-left: 15%;
  padding: 1.2em 0;
}
.center {
  margin-top: 60px;
  text-align: center;
}
.arc, .old, .year {
  margin-right: auto;
  margin-left: auto;
}
#arc, #old { margin: 50px auto; }
.old { display: none; }
.year {
  width: 65px;
  margin-top: .1em;
  padding: .5em 0;
  text-align: center;
  border-bottom: 4px double #ddd;
  border-left: none;
}
#old h2.year:hover { cursor: pointer; color: #999; }
.tojiru {
  margin: 50px auto;
  padding: 5px 10px;
  border-bottom: none;
  background: rgba(238, 238, 238, .9);
}
#now { margin-top: 50px; }

.container { padding: 20px 25px 200px; }

menu {
  display:         flex;
  display: -webkit-flex;
  margin: 60px auto 10px;
  padding: 60px 2% 10px;
  justify-content: center;
}

section {
  width: 100%;
  margin: 20px auto 30px;
  padding: 20px 0 30px;
}

h1 {
  display:         inline-flex;
  display: -webkit-inline-flex;
  padding: 3px 2rem 3px 0;
  border-right: #bbb double 4px;
}

ul.start {
  display:         inline-flex;
  display: -webkit-inline-flex;
}
.start li {
  font-size: 1.5rem;
  display: inline-block;
  margin: 3px 0 3px;
  padding: 3px 0 3px;
  text-align: left;
  letter-spacing: 0;
}
.start li a {
  margin: 0 0 0 2rem;
  color: #444;
}

.date {
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-align: center;
}

mark {
  padding: .25em .3em .15em .4em;
  color: #333;
  background: #fff;
}
.rensai mark, .tanpen mark {
  margin-left: -.4em;
}


/* contents-naka */
.rensai li:last-child, .tanpen:last-child, .tanpen li:last-child {
  margin-bottom: 0;
}
.rensai li.ue { margin-bottom: 1.9em; }
.rensai li { margin-bottom: 1em; }
.rensai li span { display: block; }
.tanpen {
  line-height: 1.8;
  margin-bottom: 30px;
}
.tanpen li, .link li {
  display: inline;
  margin: 2px 1em 2px 0;
}


/* frame */
html:before, html:after, body:before, body:after {
  position: fixed;
  z-index: 1;
  display: block;
  content: '';
  background: #fff;
}
/* top */
html:before { top: 0; left: 0; width: 100vw; height: 12px; }
/* right */
html:after { top: 0; right: 0; width: 12px; height: 100vh; }
/* bottom */
body:before { bottom: 0; left: 0; width: 100vw; height: 12px; }
/* left */
body:after { top: 0; left: 0; width: 12px; height: 100vh; }


/* typo */
h1 {
  font-family: 'Alex Brush';
  font-size: 3.0rem;
  line-height: 1;
}
h2, h3 {
  font-family: 'Caudex','ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', Meiryo, 'メイリオ', serif;
  font-weight: 700;
}
h2 {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 2rem;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.rensai li span,
.tanpen { color: #888; }


/* input */
legend { display: none; }

form.changeName input[type="text"] {
  font-family: 'Hiragino Mincho ProN', serif;
  font-size: 1em;
  padding: 0.4em 0.8em;
  border: 1px solid #aaa;
  border-radius: 5px;
  color: #aaa;
  width: 120px;
  box-sizing: border-box;
  background-color: transparent;
  transition: all 0.2s ease;
}

form.changeName input[type="text"]:focus {
  border-color: #000;
  color: #000;
  outline: none;
}

/* 「はい」ボタン */
form.changeName button.dream_set[value="input"],
form.changeName button.dream_set[value="reset"] {
  font-family: 'Hiragino Mincho ProN', serif;
  font-size: 1em;
  padding: 0.4em 1.2em;
  border: 1px solid #aaa;
  border-radius: 5px;
  color: #aaa;
  cursor: pointer;
  background-color: transparent;
}

/* hover時に色変化 */
form.changeName button.dream_set[value="input"]:hover,
form.changeName button.dream_set[value="reset"]:hover {
  border-color: #000;
  color: #000;
  transition: all 0.2s ease;
}

/* 配置（ボタンやテキスト並び） */
form.changeName ul {
  float: left;
  list-style: none;
  padding-left: .8em;
  margin: 0 0 0.8em;
  display: flex;
  gap: 0.6em;
}

form.changeName ul li {
  display: inline-block;
}

/* media */
@media (max-width: 1024px) {
  .container { width: 88%; max-width: 550px; }
  .six.col, .twelev.col { width: 100%; margin-left: 0; }
  .tbsp { margin-top: 1.5em; }
  .tbsp2 { margin-bottom: 60px; }
  .tanpen li { display: block; }
}
