
/* 共通 */

html {
    scroll-behavior: smooth;
}

.hLogo p {
    width: 250px;
}

.hLogo p img {
    width: 100%;
}

.nav_menu {
    display: flex;
    margin-top: auto;
    font-family: fantasy;
    max-width: 100%;
}

.nav_menu p {
    font-size: 24px;
    margin:auto 0 0 auto;
}

.nav_menu p:not(:last-child) {
    margin-right: 1em;
}

.nav_menu p:hover {
    opacity: 0.7;
}

.nav_menu p a {
    text-decoration: none;
    color: #000;
}

.top-photobox {
    position: relative;
}

.my-msg01 {
    position: absolute;
    left: 20px;
    bottom: 46px;
    font-size: 24px;
    font-weight: bold;
    z-index: 99;
    margin-right: 60px;
    padding: 10px 20px;
    background-color: rgb(255 255 255 / 60%);
}

.my-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-photo img {
    width: 100%;
}

.my-msg02 {
    position: absolute;
    bottom: 74px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    z-index: 99;
    margin-left: 60px;
    background-color: rgb(255 255 255 / 60%);
    border-radius: 50%;
    width: 230px;
    height: 230px;
    padding: 55px;
}

.sec-title {
    font-family: fantasy;
    font-size: 40px;
    text-align: center;
    margin-bottom: 8px;
    padding-top: 120px;
    margin-top: -60px;
}

.padding-box {
    padding: 0 80px;
}

.title-jp {
    text-align: center;
    font-size: 24px;
    margin-top: 0; 
}

.my-photo-sp {
    display: none;
}

@media screen and (max-width:768px) {
    .nav_menu {
        display: none;
    }
    .hLogo p {
        width: 150px;
    }
    .my-photo {
        display: none;
    }
    .my-photo-sp {
        display: block;
    }
    .my-photo-sp img {
        max-width: 100%;
    }
    .padding-box {
        padding: 0 16px;
    }
    .my-msg01 {
        width: 80%;
        font-size: 16px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        margin:0 ;
    }
    .sec-title {
        font-size: 32px;
    }
    .title-jp {
        font-size: 16px;
    }
}

/* ヘッダー */

header {
    margin: 18px 0 16px 0;
}


.hbar {
    width: 100%;
    z-index: 9999;
    background:#fff;
}

.hbar .nav_menu {
    width: 40vw;
    margin-right: 0;
    margin-left: auto;
}

.hbar.fixed {
    position: fixed;
    right: 8px;
    top: 0;
    animation: slide 0.5s ease-in-out;
    padding-top: 16px;
    padding-bottom: 16px;
}

@media screen and (max-width: 1220px) {
    .hbar .nav_menu {
        width: 50vw;
    }
}

@media screen and (max-width: 960px) {
    .hbar .nav_menu {
        width: 70vw;
    }
}

@media screen and (max-width: 768px) {
    header {
        margin: 0;
    }
    .hbar {
        display: none;
    }
}

@keyframes slide {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0%);
    }
}

/* スマホ版ナビゲーションメニュー */

.nav_sp {
    display: none;
}

.bar-transparent {
    background-color: rgba(255,255,255,0.7);
}

@media screen and (max-width: 768px) {
    .nav_sp {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        width: 100%;
    }
    /* .nav_sp div {
        right: 0;
        position: absolute;
    } */
    .nav {
        display: none;
    }
}

.logo {
    font-size: 24px;
}

/* ハンバーガーメニューを非表示にする */
.drawer_hidden {
    display: none;
}

.drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position :relative;
    z-index: 100;
    cursor: pointer;
}

.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
}

.drawer_open span:before {
    bottom: 8px;
}

.drawer_open span:after {
    top: 8px;
}

#drawer_input:checked ~ .drawer_open span {
    background: rgba(255,255,255,0);
}

#drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav_content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 99;
    background: #fff;
    transition: .5s;
}

.nav_list {
    list-style: none;
    font-family: fantasy;
}

.nav_item {
    font-size: 20px;
    margin-bottom: 8px;
}

.nav_item a {
    color: #000;
    text-decoration: none;
  }

#drawer_input:checked ~ .nav_content {
    left: 0;/* メニューを画面に入れる */
}

@media screen and (max-width:768px) {
    .drawer_open {
        margin-left: auto;
        margin-right: 16px;
    }
}

/* フッター */
.fbar {
    display: flex;
    width: 40vw;
    font-family: fantasy;
    margin-top: 80px;
    margin-bottom: 40px;
    padding-left: 0;
}

.fbar li {
    list-style: none;
    font-size: 24px;
}

.fbar li:hover {
    opacity: 0.7;
}

.fbar li a {
    text-decoration: none;
    color: #000;
}

.fbar li:not(:last-child) {
    margin-right: 1em;
}


.copyright {
    text-align: center;
}

@media screen and (max-width:768px) {
    .fbar {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        width: 100%;
    }
    .fbar li {
        margin-right: 0!important;
        border: solid 1px #eceaeb;
        padding: 8px;
        text-align: center;
    }
}


/* ABOUT */

.about-box {
    display: flex;
    padding: 24px;
    background: #eceaeb;
    align-items: center;
}

.about-box-name {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.about-box-img {
    width: 300px;
    height: 300px;
    max-width: 100%;
    border-radius: 50%;
    background-image: url(img/prof2.jpg);
    flex-shrink: 0;
}

.about-box-txt {
    margin-left: 16px;
}

@media screen and (max-width: 768px){
    .about-box {
        display: block;
    }
    .about-box-img {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    .about-box-txt {
        margin-left: 0;
    }
}


/* WORK */
.work-box {
    width: 100%;
    display: grid;
    grid-template-columns:repeat(3,1fr) ;
    gap: 16px;
}

.work-box {
    width: auto;
}

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

.work-box p img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: top;
}

.work-box_item p {
    text-align: center;
}

.work-box_item p a {
    text-decoration: none;
    color: #000;
}

@media screen and (max-width:768px) {
    .work-box {
        display: block;
    }
    .work-box p img {
        width: 300px;
        height: 300px;
    }
}

/* FLOW */

.step {
    background: #eceaeb;
    padding: 0 32px 24px;
    min-height: 300px;
}

.step h5 {
    text-align: center;
    padding-top: 24px;
    font-size: 18px;
    margin-bottom: 16px;
    margin-top: 0;
}

.flow-element {
    /* display: flex; */
}

.flow-element-img {
    float: left;
    width: 20vw;
    padding-right: 16px;
}

.flow-element-img img {
    max-width: 100%;
}

.flow-element-anno {
    display: inline-block;
}

.flow-element-anno a {
    font-size: 18px;
    font-weight: bold;
}

.triangle {
    width: 0px;
    margin: 16px auto;
    border-top: 50px solid #000;
    border-right: 50px solid transparent;
    border-left: 50px solid transparent;
}

@media screen and (max-width:768px) {
    .flow-element-img {
        float: none;
        width: 100%;
        padding-right: 0;
    }
    .step {
        padding: 0 8px;
    }
    .flow-element-txt p {
        display: inline-block;
    }
}

/* COLUMN */
.column-box {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.column-element {
    background: #eceaeb;
    padding: 16px;
    transition: 0.6s;
    display: flex;
    flex-direction: column;
}

.column-element-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
}

.column-element img {
    max-width: 100%;
}

.column-element-txt {
    margin-top: 16px;
    margin-bottom: 16px;
}

.column-element-button {
    background: #000;
    margin: auto auto 0;
    padding: 8px 16px;
    transition: 0.6s;
    text-align: center;
    border-radius: 30px;
}

.column-element-button a {
    color: #fff;
    text-decoration: none;
}

.column-element-button:hover {
    transform:scale(1.05,1.05);
}

@media screen and (max-width:768px) {
    .column-box {
        display: block;
    }
    .column-element {
        margin-bottom: 16px;
        padding: 24px 8px;
    }
}

/* columnページ */

#page-column {
    line-height: 2;
    max-width: 960px;
    margin: 0 auto;
}

#page-column > h3 {
    font-size: 32px;
    margin-top: 80px;
}

.page-column-mv {
    width: 960px;
    margin: 0 auto;
    text-align: center;
}

.page-column-mv > img {
    max-width: 100%;
}

.page-column-txt {
    margin-bottom: 80px;
}

.page-column-img {
    width: 768px;
    margin: 0 auto 40px;
}

.page-column-img-flex-response {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.page-column-img-flex-response figure.pcView {
    width: 60%;
}

.page-column-img-flex-response figure.spView {
    width: 30%;
}

.page-column-img > img {
    width: 100%;
}

.page-column-sec h4 {
    font-size: 24px;
    margin-top:80px;
    margin-bottom: 0;
    padding-top: 80px;
}

.highlight {
    text-decoration: underline;
    text-decoration-thickness: 0.5em;
    text-decoration-color: rgb(224 58 86 / 40%);
    text-underline-offset: -0.2em;
    text-decoration-skip-ink: none;
}

.toc-001 {
    margin-bottom: 30px;
    padding: 1em 1em 1em 2em;
    border: 1px solid #999;
    background-color: #f7f7f7;
    color: #333333;
}

.toc-001 div {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 5px 0;
}

.toc-001 ol {
    list-style-type: decimal;
    margin: 0;
    padding: 0 1.2em;
    overflow: hidden;
}

.toc-001 ol ol {
    margin-top: 5px;
}

.toc-001 li {
    padding: 5px 0;
}

.toc-001 a {
    color: #166c9d;
    text-decoration: none;
}

.txt-bold20-block {
    font-weight: bold;
    font-size: 20px;
    display: block;
}

.kakomi1 {
    border: solid 2px #166c9d;
    padding: 16px;
    display: block;
}

.pageNation {
    display: flex;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
}

.pageNation a {
    text-decoration: none;
    color: #000;
}

@media screen and (max-width:960px) {
    .page-column-mv {
        width: 100%;
    }
    .padding-box-column {
        padding: 0 5em;
    }
}

@media screen and (max-width:768px) {
    #page-column > h3 {
        font-size: 24px;
        margin-top: 40px;
    }
    #page-column {
        padding: 0 2%;
    }
    .padding-box-column {
        padding: 0 1em;
    }
    .page-column-img {
        width: 100%;
    }
    .page-column-txt {
        margin-bottom: 40px;
    }
    .page-column-img {
        margin-bottom: 24px;
    }
    .page-column-sec h4 {
        font-size: 20px;
        margin-top: 40px;
        padding-top: 40px;
    }
}


/* CONTACT */

#name,#email {
    height: 30px;
    width: 350px;    
    font-size: 16px;
    box-sizing: border-box;
}

#message {
    height: 300px;
    width: 500px;    
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form label {
    display: inline-block;
    margin-top: 24px;
}

.submit-button {
    display: block;
    width: 200px;
    height: 60px;
    font-size: 18px;
}

@media screen and (max-width:768px) {
    #name,#email {
        width: 100%;
    }
    #message {
        width: 100%;
    }
}

/* confirm */

.back-btn {
    width: 100px;
    height: 60px;
    font-size: 18px;
}

.send-btn {
    width: 200px;
    height: 60px;
    font-size: 18px;
}

.contact-form tr {
    margin-bottom: 18px;
    display: block;
}

.contact-form td {
    display: block;
}

.contact-form h1 {
    text-align: center;
    font-size: 40px;
}

.confirm-button {
    margin-top: 18px;
}