@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
  "Helvetica Neue",
  "Hiragino Kaku Gothic ProN",
  "Yu Gothic",
  sans-serif;
  line-height: 1.8;
  color:#222;
  background:#fff;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}
img {
  width: 100%;
  height: auto;
  display: block;
}
/* =====================
   header
===================== */
header {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:80px;
  background:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 40px;
  z-index:1000;
  border-bottom:1px solid #eee;
}

/* ロゴ */

.logo {
  font-size:1.4rem;
  font-weight:bold;
  letter-spacing:.1em;
}

/* PCナビ */

header nav a {
  margin-left:30px;
  font-size:.95rem;
  color:#333;
  transition:.3s;
}

header nav a:hover {
  color:#d0f9ff;
}

/* =====================
 ハンバーガーメニュー
===================== */

#navBtn {
  display:none;
}
.open {
  display:none;
  cursor:pointer;
}

/* =====================
 スマホ・タブレット用menu
===================== */

@media screen and (max-width:1024px){

header {
  padding:0 20px;
}

/* ボタン表示 */

.open {
  display:block;
  position:absolute;
  right:20px;
  top:18px;
  width:45px;
  height:45px;
  border-radius:50%;
  background:#333;
  z-index:1001;
}

.open::before,
.open::after,
.open span {

  content:"";
  position:absolute;
  left:25%;
  width:50%;
 height:2px;
  background:#fff;
 transition:.3s;

}
.open::before {
  top:15px;
}
.open span {
  top:21px;
}
.open::after {
  top:27px;
}

/* menu */

header nav {
  position:fixed;
  top:0;
  right:-300px;
  width:280px;
  height:100vh;
  background:#fff;
  padding-top:100px;
  transition:.4s;
  box-shadow:-5px 0 15px rgba(0,0,0,.1);
}

header nav a {
  display:block;
 text-align:center;
  padding:20px;
  margin:0;
}

/* 開く */

#navBtn:checked ~ nav {
  right:0;
}


/* ×マーク */

#navBtn:checked + .open span {
  opacity:0;
}

#navBtn:checked + .open::before {
  top:21px;
  transform:rotate(45deg);
}

#navBtn:checked + .open::after {
  top:21px;
  transform:rotate(-45deg);
}

}
/* =====================
 section
===================== */

.section {
  padding:120px 40px;
  min-height:100vh;
}

.section h2 {
  text-align:center;
  font-size:2.5rem;
  letter-spacing:.1em;
  margin-bottom:60px;
  color:#222;
}


/* =====================
 ABOUT
===================== */

#about {
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
}

p.uniuni img {
  width:300px;
  margin:0 auto 40px;
}

.info {
  max-width:600px;
  text-align:center;
}

.info h3 {
  font-size:1.3rem;
  margin-bottom:20px;
}

.info p {
  margin-bottom:10px;
}


/* =====================
 WORKS
===================== */

#works {
  background:#fff;
}

.gallery {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
  max-width:1100px;
  margin:0 auto;
}

.work-card {
  position:relative;
  overflow:hidden;
  display:block;
  border-radius:12px;
  background:#fff;
  box-shadow:0 5px 15px rgba(0,0,0,.1);
  transition:.3s;
}

.work-card:hover {
  transform:translateY(-8px);
}

.work-card img {
  width:100%;
  height:220px;
  object-fit:cover;
  transition:.4s;
}

.work-card:hover img {
  transform:scale(1.05);
}

/* click表示 */

.overlay {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(.8);
  width:90px;
  height:90px;
  background:rgba(255,255,255,.85);
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  opacity:0;
  transition:.3s;
}
.work-card:hover .overlay {
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}
.view-text {
  color:#333;
  font-size:15px;
  letter-spacing:.1em;
}

/* =====================
 tablet
===================== */

@media screen and (max-width:1024px){

.gallery {
  grid-template-columns:repeat(2,1fr);
}

}


/* =====================
 smartphone
===================== */

@media screen and (max-width:600px){

.section {
  padding:100px 20px;
}

.section h2 {
  font-size:2rem;
}

p.uniuni img {
  width:220px;
}

.gallery {
  grid-template-columns:1fr;
}

.work-card img {
  height:200px;
}

}
/* =====================
 CONTACT
===================== */

#contact {
  background:#fff;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}

.contactbox {
  max-width:600px;
  margin:0 auto 30px;
}

.contactbox p {
  margin-bottom:10px;
}

.contact-info-container {
  display:flex;
  justify-content:center;
  align-items:center;
}

.contact-info-container a {
  display:inline-block;
  padding:12px 30px;
  border:1px solid #333;
  border-radius:30px;
  transition:.3s;
}

.contact-info-container a:hover {
  background:#333;
  color:#fff;
}

/* =====================
 FOOTER
===================== */
footer {
  background:#222;
  color:#fff;
  text-align:center;
  padding:30px 0;
}

footer p {
  margin:0;
}

/* =====================
 ページトップ
===================== */

a.pagetop {
  width:55px;
  height:55px;
  border-radius:50%;
  background:#333;
  color:#fff;
  position:fixed;
  right:20px;
  bottom:20px;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:1.2rem;
  transition:.3s;
  z-index:900;
}

a.pagetop:hover {
  background:#777;
  transform:translateY(-5px);
}

/* =====================
 PC
===================== */

@media screen and (min-width:1025px){
.section {
  padding:140px 60px;
}
.gallery {
  grid-template-columns:repeat(3,1fr);
}
}

/* =====================
 tablet
===================== */

@media screen and (max-width:1024px){
header {
  height:70px;
}
.section {
  padding:100px 30px;
}
}

/* =====================
 smartphone
===================== */

@media screen and (max-width:600px){

.gallery {
 grid-template-columns:repeat(2,1fr);
}
header {
  height:70px;
}
.logo {
  font-size:1.1rem;
}
.section h2 {
  font-size:1.8rem;
}
.info h3 {
  font-size:1.1rem;
}
.contact-info-container a {
  font-size:.9rem;
  padding:10px 20px;
}

a.pagetop {
  width:45px;
  height:45px;
  right:15px;
  bottom:15px;
}

}
/* =====================
   メインビジュアル
===================== */

.main-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-visual img {
  width: 100%;
  height: 550px;
  object-fit: cover;
}


.catch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: .15em;
  text-shadow:
    0 3px 10px rgba(0,0,0,.35);
}


/* タブレット */

@media screen and (max-width:1024px){
  .main-visual img {
    height: 450px;
  }
  .catch {
    font-size: 2.5rem;
  }
}


/* スマホ */

@media screen and (max-width:600px){
  .main-visual img {
    height: 350px;
  }
  .catch {
    font-size: 1.8rem;
    letter-spacing: .1em;
  }
}

/* =====================
   メインビジュアル文字
===================== */

.main-visual {
  position: relative;
}

.main-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,.35);
}

.main-text p {
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: .15em;
}
.main-text span {
  display: block;
  margin-top: 15px;
  font-size: 1.3rem;
  letter-spacing: .2em;
}

/* スマホ */

@media screen and (max-width:600px){

  .main-text p {
    font-size: 2.3rem;
  }
  .main-text span {
    font-size: 1rem;
  }
}
/* =====================
ABOUT PROFILE
===================== */


#about {
  background:#fff;
}
.profile {
  max-width:900px;
  margin:0 auto;
  display:flex;
  align-items:center;
gap:60px;

}

/* 左の丸画像 */

.profile-image {
  width:250px;
  height:250px;
  flex-shrink:0;
}

.profile-image img {
  width:100%;
  height:100%;
  object-fit:cover;
 border-radius:50%;

}

/* 右側文章 */

.profile-text {
 text-align:left;
}
.profile-text h3 {
  font-size:2rem;
  margin-bottom:20px;
  letter-spacing:.05em;
}

.profile-text p {
  margin-bottom:20px;
  line-height:1.8;
}

.profile-text h4 {
margin-bottom:10px;
  font-size:1.2rem;
}

/* タブレット */

@media screen and (max-width:900px){
.profile {
  gap:30px;
}

.profile-image {
  width:200px;
  height:200px;
}
}

/* スマホ */

@media screen and (max-width:600px){

.profile {
  flex-direction:column;
  text-align:center;
}
.profile-text {
  text-align:center;
}
.profile-image {
  width:170px;
  height:170px;
}

}

/* =====================
 CONTACT
===================== */

#contact{
  background:#fff;
}

.contact-box{
  max-width:700px;
  margin:0 auto;
  background:#fff;
  padding:50px 40px;
  border-radius:20px;
  box-shadow:
  0 10px 30px rgba(0,0,0,.08);
  text-align:center;
}

.contact-box > p{
  margin-bottom:30px;
}

form{
  display:flex;
  flex-direction:column;
  gap:20px;
}
label{
  text-align:left;
  font-weight:bold;
}

input,
textarea{
  width:100%;
  margin-top:8px;
  padding:15px;
  border:1px solid #ddd;
  border-radius:10px;
  font-size:1rem;
  font-family:inherit;
}
textarea{
  height:150px;
  resize:none;
}

button{
  width:180px;
  margin:20px auto 0;
  padding:14px;
  border:none;
  border-radius:30px;
  background:#333;
  color:#fff;
  font-size:1rem;
  cursor:pointer;
  transition:.3s;
}
button:hover{
  background:#d0f9ff;
}
.dummy{
  margin-top:30px;
  font-size:.85rem;
  color:#999;
}

/* =====================
 PC header
===================== */

@media screen and (min-width:1025px){

header {
  display:flex;
  justify-content:space-between;
  align-items:center;
}


header nav {
  position:static;
  width:auto;
  height:auto;
  background:transparent;
  padding:0;
  box-shadow:none;
}


header nav ul {
  display:flex;
  align-items:center;
}


header nav li {
  margin-left:30px;
}


header nav a {
  display:block;
  padding:0;
  color:#333;
  font-size:.95rem;
  font-weight:bold;
  transition:.3s;
}


header nav a:hover {
  color:#b7e9f7;
}


/* ハンバーガー非表示 */

#navBtn,
.open {
  display:none;
}

}