body {
    background-color:#fff;
    font-family: "Cormorant Garamond", serif;
}

a {
    color: #000;
}

* {
    margin: 0;
    padding: 0;
}

.box-design {
    margin: 0px auto;
    background-color: #fff;
    background: repeating-linear-gradient(-45deg, #eaf3f8, #eaf3f8 5px, #fff 5px, #fff 13px);
    text-align: center;
    padding: 20%;
}

.title {
    font-family: "Cormorant Garamond", serif;
    font-size: 6.2vw;
    text-align: center;
}

.h1 br {
    text-align: center;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 50px;
    list-style: none;
    font-size: 4vw;
}

.menu-item {
    font-family: "Cormorant Garamond", serif;
    text-decoration: none;
    color: #000;
    padding: 10px 20px;
    padding-bottom: 3px;
    background-image: linear-gradient(#000, #000);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 1px;
    transition: background-size 0.3s;
}

.menu-item:hover {
    background-position: bottom left;
    background-size: 100% 1px;
}

.main {
    text-align: center;
}

.menu-design1 {
    display: inline-block;
    padding-left: 30%;
    padding-right: 30%;
    margin-top: 20%;
    margin-bottom: 10%;
    background-color: #eaf3f8;
    color: #ffffff;
    border-radius: 50px;
}

.menu-title {
    padding: 10px;
    bottom: 10px;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    text-decoration: none;
    color: #000;
    font-size: 4vw;
}

.menu-title2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2vw;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    margin-top: 50px;
    margin-bottom: 50px;
}

.menu-title2::before,
.menu-title2::after {
    content: '';
    width: 70px;
    height: 3px;
    background-color: #eaf3f8;
}

.menu-title2::before {
    margin-right: 20px;
}

.menu-title2::after {
    margin-left: 20px;
}

p.about {
    font-size: 1.5vw;
    font-family: "Cormorant Garamond", serif;
    text-align: justify;
    text-justify: auto;
    padding-left: 15%;
    padding-right: 15%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.container {
    display: flex;
    text-align: center;
    justify-content: space-between;
    margin-bottom: 2em;
    margin-left: 1em;
    margin-right: 1em;
    flex-wrap: wrap;
    row-gap: 2em;
    padding-left: 10%;
    padding-right: 10%;
}

.box {
    width: 50%;
    height: auto;
    text-align: center;
}

section.box figure img {
    border-radius: 10%;
    width: 350px;
    height:350px;
    object-fit: cover;
    border: solid 1px #777777;
}

figcaption {
    text-align: justify;
    font-family: "Cormorant Garamond", serif;
    text-align: center;
    font-size: 15px;
}





.footer-box-design {
    background-color: #eaf3f8;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 10%;
}

p.footer-text {
    color: #000;
    text-align: center;
    font-family: "Cormorant Garamond", serif;

}

/*ワークページデザイン*/

.page-margin{
    margin-bottom: 40px;
}

.works-image{
    max-width: 90%;
    margin: auto;
    display: block;
    margin-top: 10px;
}

/*テーブルデザイン*/
table{
    max-width: 70%;
    margin: auto;
    display: block;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}
.table_design {
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
    font-size: 18px;
  }
  .table_design th, .table_design td {
    padding: 1em;
  }
  .table_design th {
    border-right: 1px solid #eaf3f8;
    font-weight: bold;
    text-align: left;
    width: 30%;
    min-width: 3em;
  }

/*戻るボタンスタイル*/
.back-button-design{
        display: block;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        width: 60px;
        font-size: 15px;
        margin: auto;
        padding: 1rem 4rem;
        font-weight: bold;
        border:none;
        margin-bottom: 10px;
        background: #eaf3f8;
        color: #fff;
        border-radius: 100vh;
        margin-top: 30px;
        margin-bottom: 30px;
    }
.back-button-design:hover{
        color: #27acd9;
        background: #708090;
        border: none;
    }

/* リンクの下線を打ち消したいときのクラス */
.underline-none{
    text-decoration: none;
}


/* トップへ戻るボタンの基本スタイル */
.back-to-top {
    position: fixed;/* 追従する設定 */
    bottom: 20px;
    right: 10px;
    background-color: #191970;
    color: #fff;
    padding: 9px;
    text-decoration: none;
    border-radius: 50%;
    font-size: 25px;
    width: 40px;
    height: 40px;
    text-align: center;
    display: none;/* スクロールするまでは非表示 */
}

/* ホバー時の効果 */
.back-to-top:hover {
    background-color: #708090;
}

.back-to-top.show {
    display: block;
    opacity: 1;
}

/* レスポンシブ　*/
@media screen and (max-width: 959px) {
    .container{
        display: flex;
        align-items: center;
        flex-direction:column;
        justify-content: center;
    }
    .box{
    width:fit-content;
    text-align: center;
    }
  .title{
    font-size: 50px;
  }
  p.about{
    font-size:20px;
  }
  .menu{
    font-size:30px;
  }
  .menu-title{
  font-size:20px;
  }
  .menu-title2{
    font-size: 20px;
  }

@media screen and (max-width: 450px) {
    .container{
        display: flex;
        align-items: center;
        flex-direction:column;
        justify-content: center;
    }
    .box{
    width:fit-content;
    text-align: center;
    }
    section.box figure img{
        width: 250px;
        height:250px;
    }
    .table_design th, .table_design td {
        padding: 1em;
        font-size: 14px;
    }
    .works-image{
    max-width: 90%;
    margin: auto;
    display: block;
    margin-top: 10px;
    }
    .table_design {
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
    font-size: 18px;
      }
}
}