@charset "utf-8";

body {
    background-image: url(https://sadajiro.tokyo/pictures/mainPic.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 90% 30%;
    background-attachment: fixed;
    background-color: rgb(95,158,160,0.3);
    margin: 0 auto;
}

/* about service contact position and   */
section>h1 {
    color: white;
    font-size: 35px;
    text-align: left;
    padding: 20px 0px 0px 70px;
}

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

body::before {
        background: url(https://sadajiro.tokyo/pictures/mainPic.jpg) no-repeat center;
        background-size: cover;
        content: "";
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100vh;
      }

    section>h1 {
        text-align: center;
        font-size: 25px;
        padding: 0;
    }
}

.underline {
    background: linear-gradient(transparent 70%, orange 70%);
}

/* header content*/
header {
    height: 100vh;
    width: 100vw;
}

/* configure top appearance */
header a {
    color: white;
    text-decoration: none;
    margin: 0 20px 0 20px;
    font-size: 15px;
    font-weight: bold;
    position: relative;
    text-align: center;
    display: inline-block;
}

/* configure "top about contact" position */
header ul {
    display: flex;
    padding-left: 0;
    justify-content: center;
}

header li {
    list-style: none;
}

header a:hover {
    color: orange;
    transition: 1s;
}

header a::after,
header a::before {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: orange;
    position: absolute;
    bottom: 0;
    transition: .3s;
}

header a::after {
    left: 50%;
}

header a::before {
    right: 50%;
}

header a:hover::before,
header a:hover::after {
    width: 50%;
}

/* title */
#title {
    color: white;
    font-family: 'ヒラギノ角ゴシック Pro W3', 'Times New Roman', Times, serif;
    font-size: 70px;
    direction: rtl;
    display: inline-block;
    text-align: center;
    align-items: center;
    width: 100%;
    min-height: 500px;
    margin-top: 300px;
    unicode-bidi: bidi-override !important;
}

/* subtitle */
.fadeIn>p {
    color: white;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    width: 100%;
    margin-top: 0px;
}

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

    header ul {
        padding-left: 0;
        display: block;
    }

    #title {
        font-size: 50px;
        margin-top:180px;
    }
}

/* about sadajiro */

figure.about {
    display: flex;
    margin-top: 10px;
    margin-left: 15%;
    margin-right: 15%;
    text-align: center;
    flex-direction: row-reverse;
}

.profile-image {
    margin: 70px 0px 0px 20px;
    width: 400px;
    height: 600px;
}

.about-headline {
    margin-top: 0px;
    margin-left: 20px;
    font-size: 30px;
    text-align: left;
    color: white;
}

.about-caption {
    padding-left: 15px;
    font-family: 'ヒラギノ角ゴシック Pro W3', 'Times New Roman', Times, serif;
    text-align: left;
    color: white;
    font-size: 20px;
    width: 50%;
}

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

    figure.about {
        display: block;
        margin: 0 auto;
        ;
    }

    .profile-image {
        width: 300px;
        height: auto;
        margin: 0 auto;
    }

    .about-caption {
        padding: 0;
        font-size: 17px;
        text-align: left;
        margin-left: 20px;
        margin-right: 20px;
        width: auto;
    }

    .about-headline {
        margin: 20px 0 0 0;
        font-size: 25px;
        text-align: center;
        color: white;
    }
}

.about ul {
    font-size: 13px;
    font-family: initial;
    margin-left: 20px;
    padding-left: 0px;
}

/* service */
.service-about {
    display: flex;
    margin-left: 25%;
}

.service-headline {
    color: white;
    margin-left: 30px;
    margin-bottom: 0;
    font-family: 'Monaco', 'Times New Roman', Times, serif;
}

.service-subheadline {
    color: white;
    font-weight: initial;
    font-size: 13px;
    margin: 0 40px;
}

.service-description {
    color: white;
    margin-left: 20px;
    font-size: 17px;
    margin-right: 30%;
    font-family: 'ヒラギノ角ゴシック Pro W3', 'Times New Roman', Times, serif;
}

.iPhone-image {
    /* width: 375px;
    height: 812px; */
    width: 360px;
    height: 780px;
    border-radius: 40px;
}

.service-about ul {
    color: white;
    font-size: 13px;
    font-family: initial;
    margin-top: 100px;
    margin-left: 20px;
    list-style: none;
    padding-left: 0px;
}

.terms {
    text-decoration: none;
    font-weight: bold;
    color: orange;
    margin: 30px 0px 0px 20px;
}

.privacypolicy {
    text-decoration: none;
    font-weight: bold;
    color: orange;
    margin: 30px 0px 0px 20px;
}

.commercial-transaction {
    text-decoration: none;
    font-weight: bold;
    color: orange;
    margin: 30px 0px 0px 20px;
}

@media screen and (max-width: 500px) {
    .service-about {
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    .service-headline {
        color: white;
        text-align: center;
        margin: 5px 0 0 0;
    }

    .service-subheadline {
        margin-bottom: 0;
    }

    .service-caption {
        width: auto;
    }

    .service-description {
        color: white;
        text-align: left;
        margin-top: 0px;
        margin-left: 20px;
        margin-right: 20px;
        font-size: 17px;
    }

    .iPhone-image {
        width: 46%;
        height: 100%;
        border-radius: 20px;
    }

    .service-about ul {
        text-align: left;
        margin-top: 0px;
    }

    .terms {
        display: block;
        text-align: left;
        margin-top: 0;
    }

    .privacypolicy {
        display: block;
        text-align: left;
        margin-top: 0;
    }

    .commercial-transaction {
        display: block;
        text-align: left;
        margin-top: 0;
    }
}

/* form table */
.form-table {
    margin: 0 auto;
}

.form-table th {
    color: white;
    font-family: 'ヒラギノ角ゴシック Pro W3', 'Times New Roman', Times, serif;
    text-align: right;
    font-size: 17px;
    padding: 0 10px 20px 0;
}

.form-table td {
    text-align: center;
    padding: 0px 10px 27px 0px;
}

.rule {
    color: white;
    text-align: center;
}


.require,
.requireA,
.requireB,
.requireC {
    color: white;
    font-weight: bold;
    font-size: 11px;
    background-color: orange;
    padding: 5px;
    border-radius: 4px;
}

.requireA {
    margin-left: 0px;
}

input {
    font-size: 20px;
    background-color: rgb(255,255,255,0.8);
    border-radius: 2px;
    border-width: 0px;
    min-height: 40px;
    width: 500px;
}

textarea {
    background-color: rgb(255,255,255,0.8);
    font-size: 20px;
    border-radius: 2px;
    border-width: 0px;
    width: 500px;
    height: 400px;
}

button {
    color: white;
    font-weight: bold;
    background: orange;
    padding: 10px 150px;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 3px 3px 0 #ebc887;
    transition: box-shadow .25s;
    border-width: 0px;
}


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

    .rule {
        text-align: center;
        margin: 0 10px;
        font-size: 12px;
    }

    .require {
        margin-left: 15px;
    }

    .requireA {
        margin-left: 18px;
    }

    .requireB {
        margin-left: 5px;
    }

    .requireC {
        margin-left: 20px;
    }

    .form-table {
        margin: 0 auto;
        width: 100%;
    }

    .form-table th {
        text-align: right;
        font-size: 15px;
        margin-left: 20px;
        padding: 5px 0 0 0;
        /* background-color: red; */
        display: inline-block;
    }

    .form-table td {
        display: inline;
    }

    input {
        display: block;
        width: 90%;
        margin: 5px 20px 0px 20px;
    }

    textarea {
        font-size: 17px;
        min-width: auto;
        width: 90%;
        margin: 5px 20px 0px 20px;
        height: 250px;
    }
}

button:hover {
    box-shadow: 0 0 0 white;
}

.form-button {
    margin-top: 30px;
    text-align: center;
}

/* footer */
#footer {
    border-radius: 2px;
    margin: 0px 20px 0 20px;
    background-color: rgba(246, 246, 246, 0.8);
}

.footer-line {
    border-color: orange;
}

.company-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.company-title {
    text-align: center;
    color: rgb(40, 41, 40);
    font-size: 20px;
    font-family: 'ヒラギノ角ゴシック Pro W3', 'Times New Roman', Times, serif;
}

/* company info table */
.company-table {
    color: white;
    margin: 0 20px 0 0;
}

.company-table th {
    color: rgb(0, 0, 0);
    font-weight: normal;
    font-size: 17px;
    text-align: right;
    padding: 0 20px;
}

.company-table td {
    color: rgb(66, 65, 65);
    font-size: 17px;
    padding: 2.5px 0px 2.5px 0px;
}

.footer-map {
    margin: 100px 0 0 0;
    padding: 60px;
    border-width: 1px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: row-reverse;
    height: 100%;
}

.footer-map>iframe {
    width: 35vw;
    height: 35vh;
}

.instagramIcon img {
    width: 15px;
    height: 15px;
    margin: 0px 0px 3px 10px;
}

.instagramIcon{
    color: orange;
    font-size: 12px;
    text-decoration: none;
}

small {
    color: white;
    font-size: 13px;
    position: fixed;
    top: 40%;
    left: 3%;
    right: 97%;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

.pic-author {
    color: orange;
    font-size: 12px;
    text-decoration: none;
    margin-left: 25px;
    padding: 0 0 10px 0;
}

@media screen and (max-width: 500px) {
    .footer-map {
        display: block;
        padding: 5px;
    }

    .footer-map>iframe {
        padding: 0;
        width: 100%;
        margin: 0 auto;
    }

    .company-title {
        font-size: 17px;
    }

    .company-table {
        margin: 0 auto;
        width: 100%;
    }

    .company-table th {
        font-size: 13px;
        padding-left: 0;
        padding-right: 10px;
    }

    .company-table td {
        font-size: 13px;
    }

  .instagramIcon{
        font-size:10px;
        }

   .pic-author {
      font-size:10px;
     }

    small {
        font-size: 10px;
        left: 5%;
        right: 95%;
    }
}



.scroll-top {
    /*表示位置*/
    position: fixed;
    right: 20px;
    bottom: 10px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
    /*それぞれに0.5秒の変化のアニメーション*/
    /*縦書き*/
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    /*改行禁止*/
    white-space: nowrap;
    /*矢印の動き*/
    animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove {
    0% {
        bottom: 20px;
    }

    50% {
        bottom: 25px;
    }

    100% {
        bottom: 20px;
    }
}


/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
    opacity: 1;
    visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
    text-decoration: none;
    color: orange;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
}

/*スクロールリンクの形状*/

.js-scroll a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 50px;
    background: orange;
}

.js-scroll a::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -6px;
    width: 1px;
    height: 20px;
    background: orange;
    transform: skewX(-31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-scroll a::before {
    right: -11px;
}

/*ページトップリンクの形状*/

.js-pagetop a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 50px;
    background: orange;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: orange;
    transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-pagetop a::before {
    right: 0;
}


/* show the title label floated */
.fadeIn {
    animation-name: fadeInAnime;
    animation-duration: 10s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeInAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}