
/*　---------------------------------------------
すべてのページに適用される設定　
------------------------------------------------*/
html {
    font-size: 20px;
    font-family: serif;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0 0 0 0;
}
p, li, td {
    line-height: 1.7;
}
a:link{
    color: #f07d34;
    text-decoration: none;
}
a:visited {
    color: #f07d34;
    text-decoration: none;
}
a:hover {
    color: #f07d34;
    text-decoration: underline;
}
a:active {
    color: #f07d34;
    text-decoration: underline;
}
img {
    max-width: 100%;
}

/*  -----------------------------------------------
全てのページに適応　ヘッダー　
---------------------------------------------------*/
.header{
    padding-top: 40px;
    background-image: url(../nakayamaya/images/floral.svg);
    background-repeat: repeat-x;
}
.logo {
    text-align: center;

}
.nav ul {
    margin: 30px 0 0 0;
    padding: 0;
    list-style-type: none;

    display: flex;
    justify-content: center;
    gap: 40px;
}




/*  ---------------------------------------------
全てのページに適応　ヒーロー　
-----------------------------------------------------*/
.hero {
    padding: 137px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
}
.hero.index {
    padding: 287px 0;
    background-image: url(../nakayamaya/images/main_hands_1280_854.jpg);
    color: #ffffff;
    text-shadow: 3px 3px #000000;
}
.hero.past_record{
    padding: 200px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    background-image: url(../nakayamaya/images/past_record_main.jpeg);
}
.hero.fees{
    padding: 200px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    background-image: url(../nakayamaya/images/fees_main.jpeg);
}
.hero.greeting{
    padding: 200px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    background-image: url(../nakayamaya/images/greeting_main.jpg);
}
.hero.contact{
    padding: 200px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    background-image: url(../nakayamaya/images/contact_main.jpeg
    
    );
}



/*  -----------------------------------------------
全てのページに適用　メイン
------------------------------------------------　*/
main {
    margin: 90px auto 90px auto;
    max-width: 1000px;

}
main h2 {
    margin: 60px 0 20px 0;
    border-bottom: 2px solid #000080;
    padding: 0 0 5px 0;
    color: #000080;
    font-size: 1.3rem;
}

/*  --------------------------------------
全てのページに適用　フッター
-----------------------------------------------　*/
.gotop {
    text-align: center;
}

/*  ---------------------------------
個別のスタイル
--------------------------------------------  */
/*  -----------------------------------------
index.html
---------------------------------------------  */
.copylight {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 75px;
    padding-bottom: 75px;
    background-color: #253958;
    color: #FFFFFF;
    text-align: center;
}
.shop-info {
    border-collapse: collapse;
}
.shop-info th, .shop-info td {
    border: 1px solid #DBDBDB;
    padding: 20px;
}
.shop-info th {
    width: 250px;
    text-align: left;
    vertical-align: top;
}
/* ------------------------------------------
contact.html
-------------------------------------------- */
form {
    margin: 0 auto;
    max-width: 640px;
}
input[type="text"], textarea {
    padding: 6px;
    width: 100%;
    font-size: 1rem;
}      
textarea {
    height: 140px;
}
.submit {
    text-align: center;
}
input[type="submit"] {
    border: none;
    padding: 20px;
    width: 200px;
    background-color: #253958;
    color: #FFFFFF;
    font-size: 1rem;
}
/* -------------------------------------
fees.html
------------------------------------- */
.hero.fees {
    color: #000000;
    text-shadow: 3px 3px #ffffff;
}
/*-----------------------------------
 greeting.html
 ------------------------------------- */
.hero.greeting {
    color: #000000;
    text-shadow: 3px 3px #dcdcdc;
}
.greeting-selfee {
    margin: 0 auto;
    text-align: center;
    width: 130px;
    height: 130px;   
}        


/* -----------------------------------
past_record.html
------------------------------------- */
.hero.past_record {
    color: #FFFFFF
}

.achivements {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.kusakari.kitchinseisou.kaimonodaiko {
    width: 110%;
    height: 110%;
}


/*------------------------------------
 モバイル対応
 -------------------------------------  */
 @media(max-width: 767px) {
    .nav ul {
        flex-wrap: wrap;
        gap: 20px;
    }
}
    main {
        padding: 0 4%;
    }
