@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@400;500;600&display=swap');
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

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;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/*--------------------ここから自分の書いたやつ---------------------*/

body {
    line-height:1;
    font-family: 'Libre Bodoni', serif;
    color: #3C3C3C;
    padding: 0 10px;
}

.fadeIn{
    animation-name:fadeInAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeInAnime{
      from {
        opacity: 0;
      }
    
      to {
        opacity: 1;
      }
    }

header {
    display: flex;
    padding: 0 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 10;
    background-color: #ffffff;
    vertical-align: baseline;
}

header .title a {
    text-decoration: none;
    color: #3C3C3C;
}

header .title h1 {
    font-size: 1.5em;
    font-weight: 400;
    padding-top: 10px;
    letter-spacing: 0.05em;
    transition: font-size .3s;
}

header .title h2 {
    font-size: 0.8em;
    font-weight: 300;
    letter-spacing: 0.5em;
    margin-top: 2px;
    transition: font-size .3s;
}


/*--------ここからハンバーガーメニュー--------*/

.sm,
.hamburger {
    display: none;
}

.header__nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%); 
    background-color: #fff; /*ハンバーガーメニュークリック時のナビゲーションメニュー背景色*/
    transition: ease .4s; /*ハンバーガーメニュークリック時のナビゲーションメニュー出現を遅延*/
}

.header__hamburger {
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}
  
.hamburger {
    background-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
    border-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
    z-index: 9999;
}

  /* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: relative;
    transition: ease .4s; /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
    display: block;
}
  
.hamburger span:nth-child(1) {
    top: 0;
}
  
.hamburger span:nth-child(2) {
    margin: 8px 0;
}
  
.hamburger span:nth-child(3) {
    top: 0;
}

  /*ハンバーガーメニュークリック後のスタイル*/
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}

.noscroll{
    overflow: hidden;
}

/*--------ここからnav--------*/

header nav {
    position: relative;
    margin-left: auto;
    transition: top .3s;
}

header nav ul {
    display: table;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

header nav ul li {
    display: table-cell;
}

header nav ul li a {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    font-size: 16px;
    color: #3C3C3C;
    margin-left: 3em;
}

header nav ul li a:last-of-type {
    margin-right: 2em;
}

header nav ul li a:hover {
    color: #A8A8A8;
    transition: 0.3s;
}


/*------ここからmain-------*/




/*--------ここからfooter----------*/

footer {
    height: 100vh;
    position: relative;
}

.title_footer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.title_footer a {
    text-decoration: none;
    color: #3C3C3C;
    transition: 0.3s;
}

.title_footer a:hover {
    color: #A8A8A8;
    transition: 0.3s;
}

footer h1 {
    font-size: 2.99em;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.05em;
}

footer h2 {
    font-size: 1.5em;
    font-weight: 300;
    text-align: center;
    letter-spacing: 0.4em;
    margin-top: 1%;
}

.scroll-top {
	/*表示位置*/
	position: fixed;
	right: 20px;
	bottom: 10px;
	z-index: 2;
	/*はじめは非表示*/
	opacity: 0;
	visibility: hidden; 
	transition: opacity .5s, visibility .5s; /*それぞれに0.5秒の変化のアニメーション*/
	/*縦書き*/
	-webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
	/*改行禁止*/
    white-space: nowrap;
	/*矢印の動き*/
	animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove{
      0%{bottom:20px;}
      50%{bottom:25px;}
     100%{bottom:20px;}
}

.scroll-top {
	opacity: 1;
	visibility: visible;
}

.scroll-top a {
	text-decoration: none;
	color: #666;
	text-transform: uppercase;
	font-size:0.9rem;
    display: block;
}

.js-pagetop a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 50px;
	background:#666;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(31deg);
}

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

.address_foooter {
    position: absolute;
    bottom: 0;
    left: 0;
}

.address_foooter address {
    font-style: normal;
}

.address_foooter p {
    font-size: 13px;
    margin-top: 2%;
}