*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --bg: #faf9f7;
  --text: #383833;
  --text-muted: #888880;
  --card-bg: #ffffff;
  --shadow: rgba(0, 0, 0, 0.07);
  --shadow-hover: rgba(0, 0, 0, 0.13);
  --accent: #c8b89a;
  --nav-height: 72px;
}

body {
  background-color: var(--bg);
  width: 100%;
  color: var(--text);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  cursor: default;
}

nav {
    display: none;
}


/* MAIN */

.back-button {
    display: inline-block;
    margin: 20px 48px 0 48px;
    text-align: left;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-muted);
    font-size: 1.6em;
    cursor: pointer;
}

.back-button:hover {
    color: var(--accent);
    transition: 0.3s;
}

.back-button span {
    font-size: 0.7em;
}

.back-button-top {
    position: absolute;
    top: 18px;
    left: 48px;
    margin: 0;
}

.main-height {
    height: auto;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 30px 10%;
}

.main-pic {
    height: 70vh;
}

.work-title {
    line-height: 1.1em;
    letter-spacing: 0.03em;
    font-family: 'Cormorant Garamond', 'Shippori Mincho', sans-serif;
    font-weight: 500;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.work-title-cont {
    font-size: 1.2em;
    line-height: 1.1em;
    letter-spacing: 0.03em;
    font-family: 'Cormorant Garamond', 'Shippori Mincho', sans-serif;
    font-weight: 300;
    margin-bottom: 20px;
}

.work-title-cont span{
    font-size: 0.8em;
}

.work-detail {
    font-size: 0.9em;
    line-height: 1.3em;
    margin-bottom: 20px;
}

.work-period {
    font-size: 0.8em;
    margin-bottom: 20px;
}

.work-element {
    display: inline-block;
    font-size: 0.8em;
    line-height: 1.3em;
    margin: 0 8px 8px 0;
    font-weight: 400;
    background-color: var(--accent);
    border-radius: 20px;
    padding: 1px 8px;
    letter-spacing: 0.04em;
    color: #fff;
}

.scroll-button {
    position: absolute;
    bottom: 10px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    align-self: flex-end;
    padding-bottom: 30px;
    z-index: 50;
}

.scroll-button p{
    line-height: 1.2em;
}

.scroll-arrow {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 1em;
  height: 1em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
}

.point {
    width: 100%;
    padding: 5% 10% 10% 10%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.06);
    text-align: center;
}

.point h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-muted);
    text-align: center;
    display: inline;
    padding: 0 10px;
    font-weight: 400;
}

.point-container {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin: 40px auto 100px auto;
}

.point-pic {
    height: 60vh;
    max-width: 40vw;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.point-pic-card {
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.06));
}

.point-item {
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 400;
}

.point-small-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 1.1em;
    padding: 0 4px;
    margin-block: 0;
    font-weight: 400;
}

.point-content {
    list-style: none;
    font-size: 0.9em;
    line-height: 1.3em;
    margin: 4px 0 20px 0;
    padding: 0 4px;
}


/* FOOTER */
footer {
  margin: 0 auto;
  padding: 24px 48px;
  position: relative;
}

footer p {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}



/* RESPONSIVE */

@media (max-width: 900px) {

    nav {
        display: flex;
        position: fixed;
        z-index: 99;
    }

    #hamburger-menu {
        display: none;
    }

    .hamburger-icon{
        width: 30px;
        height: 30px;
        top: 22px;
        right: 20px;
        cursor: pointer;
        display: none;
        position: relative;
    }

    .hamburger-icon span{
        display: block;
        height: 2px;
        margin: 7px 0;
        background: var(--text);
        border-radius: 2px;
        transition: 0.4s;
    }

	.hamburger-icon{
		display: block;
		z-index: 100;
	}

    .menu{
		margin: 0;
		padding: 0;
		width: 50%;
		height: 100%;
        display: block;
		position: fixed;
		top: 0;
		right: -50%;
		background: var(--accent);
		transition: 0.3s;
		opacity: 0.9;
	}

    .nav-links {
        display: block;
        padding: 100px 40px;
    }

    .menu ul li {
        list-style: none;
        padding: 4px 0;
    }


    .menu ul li a {
        color: #fff;
        font-size: 1.3em;
        font-family: 'Cormorant Garamond', serif;
        text-decoration: none;
        font-weight: 400;
    }

	/* アイコンがクリックされたらメニューを表示 */
	#hamburger-menu:checked ~ .menu {
  	    right: 0;/* メニューを画面に入れる */
        transition: 0.6s;
	}

	#hamburger-menu:checked ~ .hamburger-icon span{
		background: #fff;
	}

	label[for="hamburger-menu"]{
		display: block;
		position: fixed;
		top: 20px;
		right: 20px;
		cursor: pointer;
		z-index: 99;
	}

  /*ホバー状態でフォントの色を変更*/
    .nav-links a:hover{
        color: var(--text-muted);
        transition: 0.3s;
    }

    .main-height {
        height: auto;
    }

    .main-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 30px 60px;
    }

    .main-pic {
        height: 40vh;
        width: auto;
    }

    .work-detail {
        width: 80%;
        font-size: 1em;
        margin: 20px auto;
        text-align: left;
    }

   .work-title {
        font-size: 1.5em;
        margin: 30px auto 0;
    }

    .work-title-cont {
        margin-bottom: 10px;
    }

    .work-detail {
        font-size: 1em;
        text-align: left;
        margin: 0 auto;
        width: 100%;
        font-size: 0.9em;

    }

    .work-period {
        font-size: 0.9em;
        margin-top: 10px;
    }

    .work-element {
        font-size: 0.8em;
    }

    .point-container {
        flex-direction: column;
        gap: 10px;
    }

    .point {
        padding: 10vh;
    }

    .point-pic {
        height: 40vh;
        max-width: 60%;
        margin: 6vh auto;
    }

    .point-item {
        font-size: 1.2em;
        text-align: center;
        margin-bottom: 4vh;
    }

    .point-small-item {
        font-size: 1em;
        padding-top: 10px;
    }

    .point-content {
        font-size: 0.9em;
        line-height: 1.4em;
        padding: 4px auto;
        margin-bottom: 4vh;
    }

}

@media (max-width: 560px) {

    .menu{
        width: 100%;
        right: -100%;
    }

    .main-container {
        padding-top: 50px;
    }

    .scroll-button {
        display: none;
    }

    .back-button {
        margin-left: 20px;
    }

    .back-button-top {
        margin: 0;
        top: 20px;
        left: 20px;
    }

    footer {
        padding-left: 20px;
    }

}