/* -------------------------------------------- commons */

body {
    background-image: url(../img/001-Basik-Paper.png);
    font-family: "Arial", "Meiryo", sans-serif;
    color: #3d3d3d;  
    line-height: 1.5;
}

.site-title {
    font-size: 28px;
    font-family:"Yuji Syuku", serif;
    font-weight: 400;
    font-style: normal;
    padding-top: 30px;
    padding-bottom: 20px;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1500px;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.text-container {
    text-align: center;
    margin-top: 100px;
    margin-left: 10%;
    margin-right: 10%;
}

.text-start-container {
    text-align: left;
    margin-top: 100px;
    margin-left: 10%;
    margin-right: 10%;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

.serif-title {
    font-family: "Yuji Syuku", serif;
    font-size: 32px;
    margin-bottom: 30px;
}

.example {
    border: solid 1px;
    border-radius: 20px;
    background-color: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 40%;
}

.example p {
    font-family:"ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

.example-item {
    margin-top: 20px;
    margin-left: 10%;
    margin-right: 10%;
}

.budda {
    width: 150px;
    height: 115px;
    margin-bottom: 20px;
}

.order-text {
    margin-top: 20px;
}


.button {
    background-color: #9a2f2f;
    color: #ffffff;
    border: solid 1px#9a2f2f;
    border-radius: 30px;
    width: 200px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    margin: auto;
    margin-top: 20px;
    transition-property: all;
    transition-timing-function: ease;
    transition-duration: 300ms;
}

.animations {
    animation-name: animations;
    animation-duration: 2000ms;
    animation-timing-function: ease;
    animation-delay: 500ms;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes animations {
   0% {
       opacity: 0;
   }

   100% {
       opacity: 1;
   }
}

.syuri-detail h4::before {
    content: '◎';
}

.adress::before {
    content: url(../img/location_pin.svg); 
}


/* -------------------------------------------- お問い合わせ */

.onayami-example::before {
    content: '◎';
}

.contact > form > div {
    padding-bottom: 30px;
}
.form {
    margin-top: 30px;
}

.contact-heading {
    width: 240px;
}

.contact-span {
    color: #ce2222;
    margin-left: 20px;
    font-weight: bold;
}

.contact-textbox {
    background-color: #ffffff;
    height: 56px;
    width: 500px;
    margin-top: 10px;
    padding-left: 10px;
}

.contact-textarea {
    background-color: #ffffff;
    width: 500px;
    height: 200px;
    margin-top: 10px;
    padding-left: 10px;
    padding-top: 10px;
}

.submit {
    border-radius: 50px;
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: ease;
    position: relative;
    left: 300px;  
}

.submit:hover {
    opacity: 0.5;
}

header {
    position: sticky;
    top: 0;
    z-index: 99;
}
/*============================================================
  pc用のスタイル
  ============================================================*/
  @media screen and (min-width: 768px) {
  
  
/* -------------------------------------------- ヘッダー */



header .site-title {
    display: none;
}

header nav {
    display: inline-block;
    width: 100%;
}

.navi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background-color: #b7aab5dd;
    padding-top: 15px;
    padding-bottom: 15px;
}

.menu {
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: ease;
    font-family:"ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

.menu:hover {
    color: #ffffff;
}

.header-contact-box {
    border: solid 1px #9a2f2f;
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    background-color: #9a2f2f;
    color: #ffffff;
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: ease;
}

.header-contact-box:hover {
    background-color: #ffffff;
    color: #000000;
}

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

.hamburger, .burger-menu {
    display: none;
 }

/* -------------------------------------------- メインビジュアル　*/

.mainvisual {
    position: relative;
}

.circle {
    background-color: #ffffff;
    border: solid 10px #b7aab5dd;
    border-radius: 50%;
    width: 250px;
    height: 250px;
    position: absolute;
    bottom: 2vh;
    left: 8vw;
    z-index: 98;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 1.2;
}

.circle span {
    font-size: 100px;
    font-family:"Yuji Syuku", serif;
}

.circle p {
    font-size: 30px;
    font-family:"Yuji Syuku", serif;
    line-height: 1;
}



/* -------------------------------------------- カルーセル */

.carousel {
    margin: auto;
    background-color: #b7aab5dd;
}

.carouselImg {
    height: 90vh;
    margin: auto;
    /* border-radius: 71% 100% 80% 68% / 97% 100% 69% 71% ; */
}


/* -------------------------------------------- 工房について */

.about-sp {
    display: none;
}

/* -------------------------------------------- 文化財の修復を承ります */

.example-item {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.example {
    width: 40%;
}


.button:hover {
    background-color: #ffffff;
    color: #3d3d3d;
}

/* -------------------------------------------- 私たちが考える文化財修復について */

.our-thinking-sp {
    display: none;
}

/* -------------------------------------------- フッター */
footer {
    margin-top: 200px;
    background-color: #b7aab5dd;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-left: 100px;
    margin-right: 100px;
}


.footer-right {
    padding-top: 50px;
    text-align: start;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.footer-nav li {
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: ease;
}

.footer-nav li:hover {
    color: #ffffff;
}

.footer-contact {
    background-color: #ffffff;
    border-radius: 20px;
    display: flex;
    gap: 50px;
    padding-top: 20px;
    padding-left: 30px;
    padding-bottom: 20px;
    padding-left: 30px;
    margin-top: 30px;
}

.footer-contact-box {
    height: fit-content;
    border: solid 1px #9a2f2f;
    background-color: #9a2f2f;
    color: #ffffff;
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 10px;
    margin-top: 10px;
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: ease;
}

.footer-contact-box:hover {
    opacity: 0.5;
    border: solid 1px #9a2f2f;
}

.copyright {
    margin-top: 50px;
    padding: 30px;
    text-align: center;
}

/* -------------------------------------------- 代表紹介 */
/* -------------------------------------------- ファーストビュー */

.visual {
    background-color: #b7aab5dd;
    text-align: center;
    /* height: 90vh; */
    position: relative;
}


.main-photo {
    border-bottom: solid 10px #b7aab5dd;
    height: 90vh; 
    text-align: center;
}

.left-circle {
    background-color: #ffffff;
    border: solid 10px #b7aab5dd;
    border-radius: 50%;
    width: 240px;
    height: 240px;
    position: absolute;
    bottom: 0;
    left: 10%;
    z-index: 99;
}

.left-circle p {
    font-family: "Yuji Syuku", serif;
    font-size: 40px;
    text-align: center;
    line-height: 200px;
}

/* -------------------------------------------- 小林先生経歴 */

.daihyo {
    margin-top: 100px;
    margin-left: 10%;
    margin-right: 10%;
}

.career {
    background-color: #ffffff;
    margin-left: 10%;
    margin-right: 10%;
    border-radius: 20px;
    padding-top: 50px;
    padding-bottom: 30px;
}

.career > .serif-title {
    text-align: center;
}

.history {
    display: flex;
    flex-wrap: wrap;
}
 
.year {
    text-align: right;
    width: 25%; 
    /* padding: 0.5em 1.0em 0.5em 0.5em; */
    padding-top: 0.5em;
    padding-right: 1.0em;
    padding-bottom: 1.0em;
    position: relative; 
}

.content {
    text-align-last: left;
    width: 75%;
    /* padding: 0.5em 2.0em 2.0em; */
    padding-top: 0.5em;
    padding-right: 2.0em;
    padding-bottom: 1.0em;
} 


/* -------------------------------------------- 代表修復実績 */

.works p {
    margin-bottom: 30px;
}

.works-item {
    display: flex;
    gap: 50px;
    line-height: 2.0;
}

.left-works {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.right-works {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.prefecture {
    text-align: left;
    width: 25%;
}

.works-content {
    text-align: left;
    width: 75%;
    padding-left: 2em;
}

/* -------------------------------------------- 復元技法について */
 
.youtube p {
    margin-bottom: 30px;
}

/* -------------------------------------------- 会社概要 */

.company {
    background-color: #ffffff;
    border-radius: 20px;
    margin-left: 20%;
    margin-right: 20%;
    padding-top: 50px;
    padding-bottom: 30px;
}

.summary {
    padding-right: 2.0em;
}

/* -------------------------------------------- 修理実績 */

.syuri-ex {
    display: flex;
    gap: 50px;
}

.syuri-ex p {
    text-align: center;
    padding-top: 16px;
}

/* -------------------------------------------- 修理事例（毘沙門、観音、、、） */

.before-after {
    display: flex;
    gap: 50px;
}

.caption {
    padding-bottom: 8px;
    margin-top: 36px;
    font-size: 16px;
    font-weight: bold;
}

.syuri-caption {
    margin-top: 48px;
}

.syuri-caption h3 {
    font-family: "Yuji Syuku", serif;
    font-size: 28px;
    margin-bottom: 20px;
}

/* -------------------------------------------- 修理の流れ */

.kaigyo-serif {
    display: block;
    font-family: "Yuji Syuku", serif;
    font-size: 40px;
    text-align: center;
    line-height: 1.2;
    margin-top: 25%;
}

.serif-sp {
    display: none;
}

.syuri-flow {
    margin-bottom: 50px;
}

.syuri-number {
    display: flex;
    align-items: center;
    gap: 20px;
}

.number {
    font-size: 20px;
    width: 40px;
    height: 40px;
    background-color: #b7aab5dd;
    text-align: center;
    line-height: 40px;
}

.syuri-head {
    font-weight: bold;
    font-size: 24px;
}

.syuri-images {
    margin-top: 16px;
    margin-bottom: 12px;
    max-width: 40%;
}

.syuri-detail {
    padding-top: 10px;
    padding-left: 20px;
}

.syuri-detail h4 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: bold;
}



/* -----------------------------------------助成金について */

.zaidan h3 {
    font-family: "Yuji Syuku", serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.zaidan-gr {
    margin-bottom: 48px;
}

.zaidan-link {
    margin-bottom: 20px;
    padding-bottom: 20px;
    color: #006aff;
}

.zaidan-link:hover {
    
    text-decoration: underline;

}

.zaidan-title {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 4px;
}

.zaidan-ex {
    margin-bottom: 12px;
}

}

/*====================
  タブレット用のスタイル
  =====================*/
@media screen and (max-width: 940px) {

    .footer-container {
        display: block;
    }

    .footer-nav {
        justify-content: flex-start;
    }


  /* -------------------------------------------- メインビジュアル丸 */
  
    .circle {
        background-color: #ffffff;
        border: solid 8px #b7aab5dd;
        border-radius: 50%;
        width: 200px;
        height: 200px;
        position: absolute;
        bottom: 3%;
        left: 3%;
        z-index: 99;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        line-height: 1.1;
    }

    .circle span {
        font-size: 80px;
        font-family:"Yuji Syuku", serif;
    }
    
    .circle p {
        font-size: 28px;
        font-family:"Yuji Syuku", serif;
        line-height: 1;
    }


}


/*================================================================================
  スマートフォン用のスタイル
  ================================================================================*/
@media screen and (max-width: 767px) {


    body {
        min-width: 375px;
    }

    .serif-title {
        text-align: center;
        font-size: 24px;
    }
    .text {
        display: inline-block;
    }

    .serif-sp {
        font-size: 40px;
        text-shadow:  1px 1px rgb(14, 14, 14);
    }

    .text-container {
        text-align: center;
        margin-top: 100px;
        margin-left: 7%;
        margin-right: 7%;
    }
    
    .text-start-container {
        text-align: left;
        margin-top: 100px;
        margin-left: 7%;
        margin-right: 7%;
    }
    
  /* -------------------------------------------- ヘッダー */

  /* -------------------------------------------- ナビ */

    .container {
        background-color: #b7aab5dd;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    header nav {
        display: none;
        width: 100%;
        height: 100vh;
        font-size: 16px;
        padding-top: 50px;
        padding-left: 50px;
    }

    .global-nav {
        background-color: #ffffff;
    }

    .menu {
        padding-bottom: 16px;
        font-family:"ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    }

    .header-contact-box {
        color: #ffffff;
        background-color: #9a2f2f;
        padding-top: 5px;
        padding-right: 10px;
        padding-bottom: 5px;
        padding-left: 10px;
        width: fit-content;
        margin-top: 10px;
    }


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

    .hamburger {
        position: absolute;
        top: 20px;
        right: 0;
        margin-right: 20px;
        width: 40px;
        height: 40px;
        border: solid 1px #ffffff;
        background-image: url(../img/menu.svg);
        background-size: 24px;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 2;
    }

    .hamburger.open {
        background-image: url(../img/close.svg);
        background-size: 24px;
        background-position: center;
        background-repeat: no-repeat;
    }

    .burger-menu {
        display: none;
    } 

 /* -------------------------------------------- メインビジュアル */
    
    .circle {
        display: none;
    }

    /* -------------------------------------------- 工房について */

    .about-pc {
        display: none;
    }

    .about-sp p {
        text-align: start;
    }

    /* -------------------------------------------- 文化財の修復を承ります */

    .example-item {
        margin-left: 15%;
        margin-right: 15%;
    }

    .example {
        width: 100%;
        margin-bottom: 20px;
    }

    .budda {
        width: 50%;
        height: 50%;
    }

    /* -------------------------------------------- 私たちが考える文化財修復について */

    .our-thinking-pc {
        display: none;
    }

    .our-thinking-sp > p {
        text-align: start;
    }

    /* -------------------------------------------- フッター */

    footer {
        margin-top: 200px;
        background-color: #b7aab5dd;
    }
    
    .footer-container {
        margin-left: 30px;
        margin-right: 30px;
    }
    
    
    .footer-right {
        padding-top: 50px;
        text-align: start;
    }
    
    .footer-nav li {
        padding-bottom: 20px;
    }
    
    .footer-contact {
        background-color: #ffffff;
        border-radius: 20px;
        padding-top: 20px;
        padding-left: 30px;
        padding-bottom: 20px;
        padding-left: 30px;
        margin-top: 30px;
    }
    
    .footer-contact-box {
        height: fit-content;
        width: fit-content;
        border: solid 1px #9a2f2f;
        background-color: #9a2f2f;
        color: #ffffff;
        padding-top: 5px;
        padding-left: 10px;
        padding-bottom: 5px;
        padding-right: 10px;
        margin-top: 10px;
        transition-property: all;
        transition-duration: 300ms;
        transition-timing-function: ease;
    }
    
    .copyright {
        margin-top: 50px;
        padding: 30px;
        text-align: center;
    }

    /* -------------------------------------------- ファーストビュー*/

    .visual {
        /* background-color: #c4a3bf; */
        margin: auto;
        position: relative;
    }

    .main-photo {
        /* border-radius: 100% 81% 100% 88% / 100% 99% 64% 100%  ; */
        position: relative;
    }

    .left-circle p {
        font-family: "Yuji Syuku", serif;
        color: #ffffff;
        font-size: 7vw;
        position: absolute;
        left: 3%;
        bottom: 2%;
        z-index: 99;
    }

    /* -------------------------------------------- 代表紹介*/

    /* ---------------------------------- 小林先生経歴 */

    .daihyo {
        margin-top: 100px;
        margin-left: 30px;
        margin-right: 30px;
    }

    .works p {
        margin-bottom: 30px;
    }

    .career {
        background-color: #ffffff;
        /* margin-left: 10%;
        margin-right: 10%; */
        border-radius: 20px;
        padding-top: 50px;
        padding-bottom: 30px;
    }

    .history {
        display: flex;
        flex-wrap: wrap;
    }
    
    .year {
        text-align: right;
        width: 25%; 
        /* padding: 0.5em 1.0em 0.5em 0.5em; */
        padding-top: 0.5em;
        padding-right: 1.0em;
        padding-bottom: 0.5em;
        position: relative; 
    }

    .content {
        text-align-last: left;
        width: 75%;
        /* padding: 0.5em 2.0em 2.0em; */
        padding-top: 0.5em;
        padding-right: 2.0em;
        padding-bottom: 0.5em;
    } 

    /* ---------------------------------- 修復実績 */

    .works-item {
        line-height: 2.0;
    }

    .left-works {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .right-works {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .prefecture {
        text-align: left;
        width: 20%;
    }

    .works-content {
        text-align: left;
        width: 80%;
        padding-left: 2em;
    }


    /* ---------------------------------- 復元技法について */

    .youtube {
        aspect-ratio: 16/9;
    }

    .youtube p {
        margin-bottom: 30px;
    }

    .youtube iframe {
        width: 100%;
        height: 100%;
    }

    /* -------------------------------------------- 会社概要 */

    .company {
        background-color: #ffffff;
        border-radius: 20px;
        padding-top: 50px;
        padding-bottom: 30px;
    }

    .outline {
        display: block;
        padding-left: 5%;
        padding-right: 5%;
    }

    .summary {
        padding-right: 2.0em;
        text-align: left;
        width: 100%;
    }

    .company-content {
        padding-bottom: 0.5em;
        width: 100%;
        padding-top: 0;
        line-height: 1.5;
        text-align: left;
    }

    /* -------------------------------------------- 修理実績 */

    /* .syuri-detail p {
        text-align: center;
        padding-top: 12px;
    }

    .detail {
        margin-bottom: 24px;
    } */

 
    
/* -------------------------------------------- 修理事例（毘沙門、観音、、、） */
     
    .before-after {
        text-align: center;
    }

    .caption {
        padding-bottom: 8px;
        margin-top: 36px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
    }
    .syuri-before {
        margin-bottom: 50px;
    }

    .syuri-caption {
        margin-top: 36px;
    }

    .syuri-caption h3 {
        font-family: "Yuji Syuku", serif;
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }



    /* -------------------------------------------- 修理の流れ */

    .kaigyo-serif {
        display: none;
    }

    .syuri-flow {
        padding-left: 10px;
        margin-bottom: 20px;
    }

    .syuri-number {
        display: flex;
        align-items: center;
        gap: 16px;
        width: 100%;
    }

   .number {
        font-size: 16px;
        font-weight: bold;
        width: 32px;
        height: 32px;
        background-color: #b7aab5dd;
        text-align: center;
        line-height: 32px;
    } 

    .syuri-head {
        font-weight: bold;
        font-size: 16px;
        width: 85%;
    }

    .syuri-detail {
        padding-top: 10px;
    }


    .syuri-detail h4 {
        margin-top: 8px;
        font-size: 16px;
    }

    .syuri-detail p {
        text-align: left;
    }

    .syuri-images {
        margin-top: 16px;
        margin-bottom: 12px;
    }
    

    /* -------------------------------------------- 助成金について*/

    .zaidan-gr {
        margin-top: 100px;
    }

    .zaidan-title {
        font-weight:bold ;
        margin-top: 24px;
        font-size: 16px;
        padding-bottom: 0.3em;
    }

    .zaidan-link {
        color: #006aff;
        text-decoration: underline;
        display: block;
    }

    /* -------------------------------------------- お問い合わせ*/

    .onayami-example::before {
        content: '◎';
    }

    .contact > form > div {
        padding-bottom: 30px;
    }
    .form {
        margin-top: 30px;
    }

    .contact-heading {
        width: 240px;
    }

    .contact-span {
        color: #ce2222;
        margin-left: 20px;
        font-weight: bold;
    }

    .contact-textbox {
        background-color: #ffffff;
        height: 56px;
        width: 100%;
        margin-top: 10px;
    }

    .contact-textarea {
        background-color: #ffffff;
        width: 100%;
        height: 200px;
        margin-top: 10px;
    }

    .submit {
        border-radius: 50px;
        transition-property: all;
        transition-duration: 300ms;
        transition-timing-function: ease;
        position: relative;
        left: 0;
    }

}