/* すべての要素に。レイアウトが崩れにくくなる */
* {
    box-sizing: border-box;
}

/* フォントや幅 */
body {
    max-width: 1080px;
    margin: 0 auto 0 auto;
    font-family: "Source Sans Pro", "Hiragino Kaku Gothic ProN", Meiryo, Arial,
        sans-serif;
    font-size: 15px;
}

/* ヘッダー */
/* 　ロゴを左、ナビゲーションを右に配置 */
header {
    display: flex;
    justify-content: space-between;
}

#nav-pc {
    font-size: 14px;
    padding-top: 15px;
    text-align: right;
}
/* #nav-pc直下aタグに対してのスタイルを追加 */
#nav-pc > a {
    text-decoration: none;
    margin-left: 20px;
}

/* リンクがホバー状態の時に下線を表示 */
#nav-pc > a:hover {
    color: #0d0d0d;
    text-decoration: underline;
}

/* 未訪問 */
#nav-pc > a:link {
    color: #04414a;
}

/* 訪問済 */
#nav-pc > a:visited {
    color: #04414a;
}

/* メインビジュアル*/
#main-visual {
    position: relative;
    height: 400px;
}

#main-message {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #04414a;
    color: #ffffff;
    border-radius: 0 0 150px 0;
    max-width: 620px;
    height: 100%;
    width: 100%;
    z-index: 11;
}

#main-message > h1 {
    font-size: 60px;
    font-weight: bold;
    margin: 100px 0 0 50px;
}

#main-message > p {
    font-size: 28px;
    margin: 0 0 0 50px;
}

#main-visual > img {
    max-width: 600px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

/* 見出しCONSEPT */
h2 {
    margin: 40px 0 0 0;
}

h2::after {
    content: url("images/line.png");
    margin-left: 10px;
}

/* フェアトレード等 */
h3 {
    font-size: 27px;
}

/* コンセプト全体のsection*/
#concept {
    margin: 80px auto 80px auto;
    width: 100%;
}

#concept-flex {
    display: flex;
    text-align: center;
}

/* concept-flex配下のdivを半分に */
#concept-flex > div {
    width: 50%;
    margin: 20px;
}

.concept-photo {
    width: 80%;
}

/* プロダクト */
#product {
    background-color: #fafafa;
    margin: 20px 0 80px 0;
    padding: 10px 40px 0px 40px;
}

/* 外枠 */
#product > div {
    margin-top: 40px;
    display: flex;
}

/* 左の要素 */
#product-left {
    width: 50%;
    /* 要素の右側に余白 */
    margin-right: 20px;
}

/* 右の要素 */
#product-right {
    width: 50%;
    /* 要素の左側に余白 */
    margin-left: 20px;
    margin-top: 80px;
}

/* 左の要素 */
#product-left > div {
    position: relative;
    height: 480px;
    margin-right: 20px;
}

/* 右の要素 */
#product-right > div {
    position: relative;
    height: 480px;
    margin-left: 20px;
}

/* 画像 */
.product-photo {
    width: 100%;
}

/* 説明文の枠 */
.product-explain {
    background-color: #ffffff;
    position: absolute;
    left: 0;
    bottom: 50px;
    margin: 0 40px 0 40px;
    padding: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
}

/* 英語の見出し */
.product-explain > span {
    color: #04414a;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

/* 日本語の見出し */
.product-explain > h3 {
    margin: 5px 0 5px 0;
}

/* 説明文 */
.product-explain > p {
    margin: 0;
}

/* 会社概要 */
#company {
    margin: 80px auto 80px auto;
}

#company-table {
    width: 100%;
}

.tableheader {
    text-align: left;
    padding: 20px;
    border-bottom-color: #04414a;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    width: 100px;
}

.tableheader-first {
    border-top-color: #04414a;
    border-top-width: 1px;
    border-top-style: solid;
    width: 100px;
}

.cell {
    padding: 30px;
    border-bottom-color: #ececec;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.cell-first {
    border-top-color: #ececec;
    border-top-width: 1px;
    border-top-style: solid;
}

/* フッター */
footer {
    background-color: #04414a;
    text-align: center;
    padding: 80px 80px 30px 80px;
}

#footer-logo {
    margin-bottom: 30px;
}

#footer-link {
    margin-bottom: 50px;
}

#footer-link > a {
    text-decoration: none;
    margin: 10px;
    color: #ffffff;
}

footer-link > a:hover {
    color: #ffffff;
    text-decoration: underline;
}

#sns-footer {
    text-align: left;
    width: 100%;
}

#sns-footer > a {
    margin-right: 30px;
}

#copyright {
    color: #ffffff;
    float: right;
}
