@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

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

/* CONTENTS */
html {
  font-size: 62.5%;
  color: #1e1e1e;
}

body {
  font-family: sans-serif;
  background: #f5f5f5;
  font-family: "Noto Sans JP", sans-serif;
}

h1,
h2,
h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

h1 {
  font-size: 1.6rem;
  text-align: center;
}

h2 {
  display: block;
  text-align: center;
  font-size: 1.2rem;
  margin-top: 0.8rem;
  letter-spacing: 1px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60px;
  letter-spacing: 2px;
  z-index: 5;
  pointer-events: none;
}
.header h1 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header h1 img {
  margin-right: 0.6rem;
}

.works {
  position: relative;
  margin-top: 25rem;
  padding-bottom: 8rem;
  z-index: 2;
}
.works-inner {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.works-card {
  position: relative;
  width: 23%;
  margin: 1%;
}
@media screen and (max-width: 768px) {
  .works-card {
    width: 48%;
  }
}
.works-card a {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1280/720;
}
.works img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  display: block;
  max-width: 100%;
  transition: 0.15s;
}
.works img:hover {
  transform: scale(1.1);
}

.bg-top {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 350px;
  background: #fff;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
  /* or cover */
  pointer-events: none;
}

.side a {
  display: block;
  position: fixed;
  /* 画面に固定 */
  top: 35%;
  /* 画面中央に配置 */
  right: 0;
  /* 右端に寄せる */
  transform: rotate(-90deg) translateY(-50%);
  /* 90°回転＆中央調整 */
  transform-origin: right center;
  /* 回転の基準を右中央に */
  text-decoration: none;
  /* 背景色（任意） */
  color: #333;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 10;
  /* 他要素より前面に */
}
.side a:before {
  position: absolute;
  right: 100%;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 1px;
  width: 100px;
  background: #333;
  content: "";
  transition: 0.3s;
}
.side a:hover:before {
  width: 120px;
}

.bar img {
  display: block;
  position: fixed;
  height: 150px;
  width: auto;
  /* 画面に固定 */
  top: 40%;
  /* 画面中央に配置 */
  left: 0;
  /* 右端に寄せる */
  transform-origin: right center;
  /* 回転の基準を右中央に */
  text-decoration: none;
  /* 背景色（任意） */
  color: #333;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 10;
}

.cv {
  position: fixed;
  bottom: 0;
  right: 5rem;
  z-index: 3;
}
@media screen and (max-width: 768px) {
  .cv {
    right: 1rem;
  }
}
.cv-btn {
  padding: 1rem 1.8rem;
  background: rgba(0, 0, 0, 0.8);
  display: inline-block;
  font-size: 1.2rem;
  text-decoration: none;
  color: #fff;
  transition: 0.2s;
  letter-spacing: 2px;
  font-weight: 700;
}
.cv-btn:hover {
  background: #CDDC39;
  color: #333;
}

.footer {
  display: inline-block;
  position: fixed;
  padding: 1rem;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 10;
}

/* モーダル背景 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* 表示状態 */
.modal.show {
  opacity: 1;
  pointer-events: auto;
}

/* モーダルコンテンツ */
.modal-content {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  /* 画面からはみ出さない最大幅 */
  max-height: 90vh;
  /* 高さも画面の90%まで */
  overflow-y: auto;
  /* 高さオーバー時はスクロール */
  text-align: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-50px) scale(0.95);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* 表示時 */
.modal.show .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #ff5555;
}

/* モーダル内画像 */
.modal img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* モーダルタイトル */
.modal-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  color: #222;
}

.sns {
  position: fixed;
  top: 10px;
  right: 1rem;
  display: flex;
  z-index: 10;
}
.sns-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 0 0.6rem;
}
.sns-btn img {
  width: auto;
  height: 32px;
}

#sandstorm {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  /* 背景だけにする */
}/*# sourceMappingURL=style.css.map */