@charset "utf-8";
/* CSS Document */

/*全体設定------------------------------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;700;900&family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    display: -webkit-flex;
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-width: 300px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 62.5%;
    font-weight: 400;
    color: #333;
    background-color: #FEFEFE;
}
body {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: stretch;
    justify-content: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    -webkit-flex-basis: auto;
    flex-basis: auto;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    font-size: 1.6rem;
    -webkit-text-size-adjust: 100%;
    text-align: justify;
}
img {
    margin: 0;
    padding: 0;
    max-width: 100%;
    height: auto;
    border: none;
    vertical-align: bottom;
}
*:link {
    color: #00F;
    overflow: hidden;
    outline: none;
    text-decoration: underline;
}
*:visited {
    color: #00F;
}
/*低解像度ディスプレイでのwebfont対策*/
.antialiasing {
    transform:  rotate(0.05deg);
}

/*コンテンツ幅*/
div.container {
    margin: 0 auto;
    padding: 0;
    width: 95%;
    max-width: 1000px;
}
/*Box背景・色*/
section.pinkBox {
    color: #333;
    background-color: #FFEDEC;
}
section.whiteBox {
    color: #333;
    background-color: #FEFEFE;
}


/*ヘッダー---------------------------*/
div#header {
    flex-shrink: 0; /*IE1対策*/
    margin: 0;
    padding: 0;
    width: 100%;
    color: #333;
    background-image: url(../images/background-image.jpg);
    background-repeat: repeat;
}
div#mainTitle {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.9);
}

/*タイトルとヘッダー画像*/
header {
    margin: 0 auto;
    padding: 20px 0px 30px 0px;
    width: 100%;
    text-align: center;
}
/*タイトル文字*/
header h1 {
    margin: 0 auto;
    padding: 0;
    width: 80%;
    max-width: 500px;
}
/*豚肉イメージ画像*/
header div#titleImage {
    margin: 5px auto;
    padding: 0;
    width: 50%;
    max-width: 300px;
}
/*会社ロゴ*/
header div#corporateLogo {
    margin: 20px auto;
    padding: 0;
    width: 70%;
    max-width: 350px;
}
header img {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: auto;
}

/*メインナビゲーション*/
nav#mainMenu {
    margin: 0 auto;
    padding: 0px 0px 40px 0px;
    width: 100%;
}
nav#mainMenu ul {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
nav#mainMenu ul li {
    margin: 5px auto;
    padding: 0;
    width: 80%;
}
nav#mainMenu ul li a {
    margin: 0;
    padding: 0;
    width: 100%;
    font-weight: 700;
}

/*ボタンアニメーション*/
.menuButton {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 40px;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    outline: none;
    z-index: 2;
    color: #BC5253;
    background-color: #fff;
    border: 2px solid #BC5253;
    overflow: hidden;
}
.menuButton::before,
.menuButton::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
}
.menuButton,
.menuButton::before,
.menuButton::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.menuButton:hover {
    color: #fff;
}
.menuButton::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: scale(.5);
    transform: scale(.5);
}
.menuButton:hover::after {
    background: #BC5253;
    -webkit-transform: scale(1);
    transform: scale(1);
}


/*メイン部---------------------------*/
div#main {
    flex: 1 0 auto;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 0%; /*IE11対策*/
}

article {
    margin: 0;
    padding: 30px 0px;
    width: 100%;
}
article h2 {
    margin: 10px 0px;
    padding: 10px 10px 10px 55px;
    width: 100%;
    background-image: url(../images/pigface-icon.svg);
    background-repeat: no-repeat;
    background-size: 35px auto;
    background-position: 10px center;
    border-radius: 5px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.2;
}
article h3 {
    margin: 20px 0px;
    padding: 10px 10px 10px 55px;
    width: 100%;
    border-radius: 5px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

/*紀州岩清水豚*/
article.buta h2 {
    color: #333;
    background-color: #FFF;
}
article.buta h3 {
    color: #007;
    background-color: #FFF;
    background-image: url(../images/pig-icon.svg);
    background-repeat: no-repeat;
    background-size: 35px auto;
    background-position: 10px center;
}
article.buta div.contentsBox {
    display: block;
    margin: 20px auto;
    padding: 0;
    width: 90%;
}
article.buta div.contentsBox div.textBox {
    margin: 0;
    padding: 0;
    width: 100%;
}
article.buta div.contentsBox p {
    margin: 0;
    padding: 0;
    width: 100%;
    color: #000;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4;
}
article.buta div.contentsBox div.imageBox {
    margin: 0;
    padding: 0;
    width: 100%;
}
article.buta div.contentsBox div.imageBox img {
    display: block;
    margin: 10px auto 20px auto;
    padding: 0;
    width: 80%;
    border-radius: 10px;
}

/*ご注文*/
article.order h2 {
    color: #FFF;
    background-color: #BC5253;
}
article.order h3 {
    color: #FFF;
    background-color: #BC5253;
    background-image: url(../images/pig-icon.svg);
    background-repeat: no-repeat;
    background-size: 35px auto;
    background-position: 10px center;
}
article.order div.orderBox {
    margin: 0;
    padding: 0;
    width: 100%;
}
article.order div.methodBox {
    margin: 0px 0px 50px 0px;
    padding: 0;
    width: 100%;
}
article.order div.methodBox p {
    margin: 10px 0px;
    padding: 0;
    width: 100%;
    line-height: 1.4;
}
article.order div.orderForm {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-basis: auto;
    flex-basis: auto;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
article.order div.orderForm div#lineOrder {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}
article.order div.orderForm div#butaniku,
article.order div.orderForm div#nenkanset
{
    margin: 0 auto;
    padding: 0;
    width: auto;
    text-align: center;
}
/*LINE QRコード*/
article.order div.orderForm div#lineOrder img {
    display: block;
    margin: 0 auto;
    padding: 0;
}
article.order div.orderForm div#lineOrder img.lineLogo {
    width: 80px;
}
article.order div.orderForm div#lineOrder img.lineQR {
    width: 180px;
}

/*オーダーボタン*/
div.orderForm a {
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 15px 10px;
    width: 130px;
    height: 130px;
    text-align: center;
}
div.orderForm a img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    margin: auto;
    padding: 0;
    width: 80px;
}
div.orderForm div#nenkanset a img {
    width: 65px;
}
.orderButton {
    border: 2px solid #333;
    border-radius: 10px;
    background: #fff0f0;
    box-shadow:  8px 8px 16px #c7bbbb, 
                -8px -8px 16px #ffffff;
}
.orderButton:hover {
    border: 2px solid #333;
    border-radius: 10px;
    background: #fff0f0;
    box-shadow: inset 8px 8px 16px #c7bbbb, 
                inset -8px -8px 16px #ffffff;
}


/*生産者について*/
article.aboutus h2 {
    color: #333;
    background-color: #FFF;
}
article.aboutus h3 {
    color: #007;
    background-color: #FFF;
    background-image: url(../images/pigface2-icon.svg);
    background-repeat: no-repeat;
    background-size: 35px auto;
    background-position: 10px center;
}
article.aboutus div.contentsBox {
    margin: 10px auto 40px auto;
    padding: 0;
    width: 100%;
    max-width: 700px;
}
article.aboutus p {
    margin: 10px auto;
    padding: 0;
    width: 95%;
    line-height: 1.4;
}
/*ボタンアニメーション*/
article.aboutus a.linkButton {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 40px;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    outline: none;
    z-index: 2;
    color: #BC5253;
    background-color: #fff;
    border: 2px solid #BC5253;
    overflow: hidden;
}
article.aboutus a.linkButton::before,
article.aboutus a.linkButton::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
}
article.aboutus a.linkButton,
article.aboutus a.linkButton::before,
article.aboutus a.linkButton::after {
    -webkit-transition: all .3s;
    transition: all .3s;
}
article.aboutus a.linkButton:hover {
    color: #fff;
}
article.aboutus a.linkButton::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: scale(.5);
    transform: scale(.5);
}
article.aboutus a.linkButton:hover::after {
    background: #BC5253;
    -webkit-transform: scale(1);
    transform: scale(1);
}
/*リスト*/
article.aboutus ul {
    margin: 0;
    padding: 0;
    width: 100%;
}
article.aboutus ul li {
    margin: 0px 0px 15px auto;
    padding: 0;
    width: 92%;
    list-style-type: disc;
    line-height: 1.2;
}
/*特定商取引法の表*/
dl#shopInfo {
    margin: 0;
    padding: 0;
    width: 100%;
    border: 2px solid #ccc;
}
dl#shopInfo div.tableLine {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}
dl#shopInfo dt,
dl#shopInfo dd
{
    margin: 0;
    padding: 5px 4px;
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
    border-bottom: 1px solid #ccc;
}
dl#shopInfo dt {
    font-weight: 700;
}
dl#shopInfo dd {
    font-weight: 300;
}
div.tableLine:nth-child(even) dt,
div.tableLine:nth-child(even) dd
{
    background-color: #fdf3f3;
}

/*トップに戻る*/
section#backToTop div.backToTopBox {
    margin: 0;
    padding: 10px 0px 50px 0px;
    width: 100%;
    text-align: right;
}
section#backToTop div.backToTopBox a {
    display: block;
    margin: 0 0 0 auto;
    padding: 0;
    width: 80px;
}
section#backToTop div.backToTopBox a img {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

/*フッター---------------------------*/
div#footer {
    flex-shrink: 0; /*IE1対策*/
    margin: 0;
    padding: 30px 0px;
    width: 100%;
    color: #FFF;
    background-color: #BC5253;
}
footer {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
}
div#illustration {
    margin: 20px auto;
    padding: 0;
    width: 40%;
    max-width: 200px;
}
div#illustration img {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
address {
    margin: 0px auto 40px auto;
    padding: 0;
    width: 100%;
    text-align: right;
}
address a:link {
    color: #fff;
    text-decoration: none;
}
address a:visited {
    color: #fff;
}
div#copyright {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    text-align: center;
    font-weight: 700;
}