@charset 'utf-8';

/*---------------------------------
font css
--------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Andika:wght@400;700&family=Sawarabi+Gothic&display=swap');

/*---------------------------------
base css
--------------------------------*/
html {
	font-size: 62.5%;
}
body {
	color: #2d2d2d;
	background: #2d404f;
	font-family: 'Andika','Sawarabi Gothic','ＭＳ Ｐゴシック',sans-serif;
	font-size: 1.6rem;
	line-height: 1;
	height: 100%;
}
h1, h2, h3, h4, p, li, span, dt, dd {
    line-height: 1.7;
    letter-spacing: .2em;
}
a {
    color: #701313;
    text-decoration: none;
}
a:hover {
    transition-duration: 0.5s;
	text-decoration: underline;
}
.inner {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
	padding: 60px 80px;
}

/* header
--------------------------------*/
header {
	color: #fff;
	display: flex;
	justify-content: space-between;
	position: fixed;
	width: 100%;
	z-index: 2;
}
header .inner {
	display: flex;
	justify-content: space-between;
	padding: 20px 20px 0;
}
.logo {
	background: #ffee76;
	clip-path: inset(0 round 50%);
	width: 100px;
	height: 100px;
	margin-top: 20px;
}
.logo:hover {
	transform: rotate(315deg);
	transition-duration: 0.8s;
}
nav a {
	color: #fff;
	position: relative;
	display: inline-block;
	text-shadow: 2px 2px #2d404f;
	padding-bottom: 5px;
	margin-bottom: 8px;
}
nav a::before {
	background: #fff;
	content: '';
	width: 100%;
	height: 1px;
	display: block;
	top: auto;
	bottom: 0;
	left: 0;
	position: absolute;
}
nav a::after {
	background: #2d404f;
	content: '';
	width: 100%;
	height: 1px;
	display: block;
	top: auto;
	bottom: 1px;
	left: 0;
	position: absolute;
}
nav a:hover {
    box-shadow: 0 0.5em 0.5em -0.4em #ffee76;
	text-decoration: none;
}
nav a:hover::before {
	background: #ffee76;
}
.frame {
    background: #fff3cc;
    clip-path: inset(30px 20px 20px round 45% 45% 10px 10px);
    height: 100vh;
    overflow: scroll;
    z-index: -2;
}
main {
	position: relative;
}
main::before,
main::after {
	background: url("../img/bk_film.png");
	background-repeat: repeat-y;
	background-position: left bottom;
	background-size: contain;
	content: '';
	width: 40px;
	height: 100%;
	display: block;
	bottom: 0;
	left: 20px;
	position: absolute;
}
main::after {
	background-position: right bottom;
	left: auto;
	right: 20px;
}

/* main
--------------------------------*/
.firstvew {
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: url("../img/img_firstvew_01.png");
	background-repeat: no-repeat;
	background-position: bottom center;
	border-bottom: 2px solid #111110;
	margin-bottom: 60px;
}
h1, h2 {
	text-align: center;
}
h1 span {
	display: block;
	line-height: 1.75;
    letter-spacing: .35em;
}
h1 span.main{
	font-size: 3.4rem;
}
h1 span.sub {
	font-size: 1.6rem;
	padding-top: 28px;
}
h2 {
	font-size: 2.8rem;
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 80px;
}
h2:before {
    position: absolute;
    bottom: -10px;
    left: calc(50% - 30px);
    width: 60px;
    height: 1px;
    content: '';
    background: #2d2d2d;
}
h2:after {
    position: absolute;
    bottom: -5px;
    left: calc(50% - 10px);
    width: 20px;
    height: 20px;
    content: '';
    background: linear-gradient(to bottom left,transparent 50%, #ffee76 80%, #2d2d2d 20%) ;
	transform: rotate(-45deg);
}
h3 {
	font-size: 2rem;
	margin: 40px 0;
	padding: 1rem 2rem;
    border-left: 2px dashed #2d2d2d;
    background: #ffe592;
}
p {
	margin-bottom: 16px;
}
.item-l {
	display: flex;
	justify-content: center;
	align-items: center;
}
.item-l .item {
	padding-right: 56px;
}
.col-3 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.col-3 .col {
	width: 30%;
	margin-bottom: 40px;
}
.col-3 .col h3 {
	margin-top: 0;
	margin-bottom: 24px;
}
.col-3 .col .img {
	margin-bottom: 24px;
}
.col-3 .col .img a {
	display: inline-block;
	box-shadow: 5px 5px 0 #701313;
}
.col-3 .col .img a:hover {
	box-shadow: 1px 1px 5px 2px #ffee76;
}
.list-note li {
  position: relative;
  padding-left: 1em;
}
.list-note li::after {
  display: block;
  position: absolute;
  top: .5em;
  left: 0;
  font-size: 12px;
  line-height: 1;
  content: '\002731';
  color: #701313;
}
dl {
	margin-bottom: 24px;
	display: flex;
	width: 100%;
}
dt {
	font-weight: bold;
	margin-bottom: 12px;
	white-space: nowrap;
	width: 15%;
}
dd {
	width: 85%;
}

/* footer
--------------------------------*/
footer {
	background: #2d2d2d;
	color: #f1f1f1;
	text-align: center;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}
.last {
	font-size: 2.8rem;
	margin-bottom: 60px;
}

@media screen and (max-width: 760px){
  body {
      font-size: 1.4rem;
  }
  .inner {
      padding: 40px 64px;
  }
  header .inner {
      padding: 10px 10px 0;
  }
  .logo {
      width: 68px;
      height: 68px;
      margin-top: 0;
  }
  nav ul {
      display: flex;
  }
  nav ul li {
      padding-left: 14px;
  }	
  .frame {
      clip-path: inset(60px 10px 10px round 50px 50px 10px 10px);
  }
  main::before,
  main::after {
      width: 20px;
      height: 100%;
      left: 10px;
  }
  main::after {
      left: auto;
      right: 10px;
  }
  h1 span.main{
      font-size: 2.4rem;
  }
  h1 span.sub {
      font-size: 1.2rem;
      padding-top: 38px;
  }
  h2 {
      font-size: 2.2rem;
      margin-bottom: 60px;
  }
  h3 {
      font-size: 1.6rem;
      margin: 20px 0;
  }
  .item-l {
      display: block;
  }
  .item-l .item {
      padding-right: 0;
  }
  .col-3 {
      display: block;
  }
  .col-3 .col {
      width: 100%;
      margin-bottom: 20px;
  }
  dl {
      display: block;
  }
  dt {
      width: 100%;
  }
  dd {
      width: 100%;
  }
  .last {
      font-size: 1.8rem;
      margin-bottom: 60px;
  }
  .copy {
      font-size: 1rem;
  }
}

/* note記事
--------------------------------*/
    .note-card {
        width: 300px;
        background: #fff;
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-right: 20px;
    }

    .note-rss-wrap {
        display: flex;
        gap: 20px;
        padding: 10px;
        overflow-x: auto;
    }

    .note-card img {
        width: 100%;
        border-radius: 6px;
        margin-bottom: 10px;
    }

    a.note-card {
        display: inline-block;
    }

    .note-card .desc {
        font-size: 13px;
        color: #666;
        margin-bottom: 8px;
    }

    .note-card .date {
        font-size: 12px;
        color: #999;
    }