/*
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;
}

body {
  line-height: 1;
}

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 {
  font-family: Helvetica, '游ゴシック', 'Yu Gothic', YuGothic, HiraKakuProN-W3, 'メイリオ', Meiryo, sans-serif, 'Lato';
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  text-align: left;
}

a {
  color: #333;
  text-decoration: none;
}

ul,
ol,
li {
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 75%;
  margin: 0 auto;
}

header {
  padding-top: 100px;
}

.header-menu {
  display: flex;
}

.header-left h1 {
  font-size: 40px;
  letter-spacing: 16px;
}

.header-left h2 {
  font-size: 7px;
  letter-spacing: 4px;

}

.header-right {
  margin-left: auto;
  padding: 25px 30px 0 0;
}

.header-right .fab {
  padding: 0 5px;
  opacity: 0.7;
}

.header-right .fab:hover {
  opacity: 1;
}

.nav-list {
  display: flex;
  justify-content: flex-end;
  padding-top: 45px;
}

.nav-list li {
  font-size: 16px;
  padding: 0 25px;
  letter-spacing: 3px;
}

.nav-list li:hover {
  text-decoration: underline;
}

.pc {
  display: block !important;
  width: 100%;
  padding-top: 40px;
}

.sp {
  display: none !important;
}

.contents {
  display: flex;
}

.about-text {
  font-size: 18px;
  padding-left: 80px;
}

.about-text .fab {
  padding-right: 10px;
}

.maintext {
  font-size: 16px;
  padding-top: 30px;
}

.main-logo {
  font-size: 50px;
  text-align: center;
  letter-spacing: 10px;
  font-weight: 100;
  padding: 100px 0 60px 0;
}

.myphoto img {
  width: 250px;
  padding: 65px 0 0 60px;
}

.about-text a {
  opacity: 0.8;
}

.about-text a:hover {
  opacity: 1;
  color: teal;
  text-decoration: underline;
}

.skill-content {
  width: 50%;
  text-align: center;
}

.skill-content h1 {
  font-size: 25px;
}

.skill-text {
  text-align: left;
  width: 80%;
  margin: 0 auto;
  font-size: 15px;
  margin-right: 5%;
}

.skill-content i {
  padding: 30px 0 40px 0;
}

.sub {
  opacity: 0.6;
}

.works-wrapper p {
  text-align: center;
  font-size: 20px;
}

.work-contents img {
  width: 45%;
  margin: 2% 2%;
  border: solid 1px #c0c0c0;
}

.work-contents img:hover {
  opacity: 0.5;
}

.work-contents {
  text-align: center;
}

.contact-wrapper p {
  text-align: center;
  font-size: 20px;
}

.contact-menu {
  text-align: center;
  padding-top: 50px;
}

.contact-menu .fab {
  padding: 0 4%;
  opacity: 0.7;
}

.contact-menu .fab:hover {
  opacity: 1;
}

.totop {
  padding-top: 50px;
}

footer .nav-list {
  justify-content: flex-start;
  padding: 0 0 80px 20px;
}

footer {
  padding-top: 80px;
  text-align: center;
}

.filter-buttons button {
  padding: 10px;
  margin: 10px;
}

body {
  font-family: sans-serif;
  padding: 20px;
}

.filter-buttons {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.filter-buttons button {
  margin: 10px;
  padding: 6px 14px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  background: #333;
  color: #fff;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.work-card img {
  width: 100%;
  display: block;
}

.caption {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: -webkit-fill-available;
  padding: 10px;
  font-size: 14px;
  opacity: 0;
  transition: 0.3s;
}

.work-card:hover .caption {
  opacity: 1;
}

.work-card[data-cat] {
  display: none;
}

.work-card.show {
  display: block;
}

button {
  color: #333;
}

@media(max-width:759px) {
  .filter-buttons {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
  }

  .filter-buttons button {
    margin: 5px 10px;
  }

  .totop {
    padding: 0px;
  }
}