@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

body {
    background: #efefef;
}
/* ==========================
header
========================== */
.header{
    padding:40px 0;
    text-align:center;
    background-color: #fff;
}

.header__logo img{
    width:263px;
}

.header__nav ul{
    display:flex;
    justify-content:center;
    gap:120px;
    margin-top:10px;
    list-style:none;
    padding:0;
}

.header__nav a{
    text-decoration:none;
    color:#333;
    font-size:16px;
}

.fv img{
    width: 100%;
    display: block;
}

.header__nav span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #999;
}

/* ==========================
トップページ 共通
========================== */

.home-news,
.home-product {
    max-width: 1000px;
    margin: 100px auto 0;
    padding: 0 20px;
}

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

/* ==========================
トップページ ニュース
========================== */

.news-list {
    margin-bottom: 60px;
}

.news-item {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #999;
    color: #333;
    text-decoration: none;
    transition: opacity .3s;
}

.news-item:hover {
    opacity: 0.6;
}

/* ==========================
トップページ ボタン
========================== */

.more-btn {
    max-width: 300px;
    height: 50px;
    margin: 0 auto;
}
.more-btn a {
    display: block;
    height: 100%;
    width: 100%;
    border: 1px solid #1f1f1f;
    text-align: center;
    line-height: 50px;
    color: #1f1f1f;
    text-decoration: none;
}

.more-btn:hover {
    opacity: 0.6;
}

/* ==========================
トップページ 商品一覧
========================== */

.top-product-list {
    display: flex;
    gap: 40px;
    margin: 60px 0;
}

.product-card {
    width: calc((100% - 80px) / 3);
    text-decoration: none;
    color: #333;
    transition: opacity .3s;
}

.product-card:hover {
    opacity: 0.6;
}

.product-card__image img {
    width: 100%;
    display: block;
}

.product-card__title {
    margin-top: 20px;
    font-size: 32px;
    font-weight: normal;
}

.product-card__model {
    margin-top: 10px;
    font-size: 20px;
}
/* ==========================
商品一覧ページ
========================== */
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.product-card {
    width: 300px;
    text-decoration: none;
    color: #333;
}

.product-card__image img {
    width: 100%;
    display: block;
}

.product-card__title,.product-card__model {
    font-size: 18px;
}

.product-card {
    display: block;
    width: 300px;
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s;
}

.product-card:hover {
    opacity: 0.7;
}

.product-card:hover .product-card__title,
.product-card:hover .product-card__model {
    color: #333;
}
/* ==========================
商品詳細ページ
========================== */
.product {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.product__box {
    background: #fff;
    padding: 40px;
}

.product__title {
    font-size: 18px;
    font-weight: 400;
}

.product__inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.product__image {
    width: 55%;
}

.product__image img {
    width: 100%;
    height: auto;
    display: block;
}

.product__info {
    width: 45%;
}

.product__item {
    margin-bottom:  20px;
}

.product__label {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.product__value {
    font-size: 18px;
}

.product__content {
    line-height: 2;
    font-size: 18px;
}

.product__btn {
    text-align: center;
    margin-top: 50px;
}

.product__btn a {
    display: inline-block;
    width: 300px;
    border: 1px solid #333;
    color: #333;
    line-height: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.product__btn a:hover {
    background: #333;
    color: #fff;
}
/* ==========================
ニュース一覧ページ
========================== */
.news-archive {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
}

.news-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 80px;
}

.news-card {
    display: flex;
    align-items: center;
    gap: 50px;
    text-decoration: none;
    color: #333;
    margin-bottom: 100px;
    transition: opacity .3s;
}

.news-card:hover {
    opacity: 0.7;
}

.news-card__image {
    width: 300px;
    flex-shrink: 0;
}

.news-card__image img {
    width: 100%;
    display: block;
}

.news-card__content {
    flex: 1;
}

.news-card__date {
    font-size: 18px;
    margin-bottom: 20px;
}

.news-card__title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 400;
}

.news-card__text {
    font-size: 18px;
    line-height: 1.8;
}
/* ==========================
お問い合わせページ
========================== */

.contact-item {
    margin-bottom: 30px;
}

.contact-item label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.required {
    background: #d33;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    margin-left: 10px;
}

.contact-item input,
.contact-item textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.contact-item textarea {
    height: 200px;
}

.contact-submit {
    text-align: center;
}

.contact-submit input {
    width: 250px;
    padding: 18px 0;
    border: none;
    background: #333;
    color: #fff;
    cursor: pointer;
    transition: opacity .3s;
}

.contact-submit input:hover {
    opacity: .7;
}
.content-in{
    justify-content: center;
}
/* ==========================
footer 
========================== */
.footer {
    margin-top: 40px;
    background: #fff;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__logo img {
    width: 170px;
    display: block;
}

.footer__copy {
    font-size: 18px;
    color: #333;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

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

    /* 商品一覧ページ */
    .product__inner {
        flex-direction: column;
    }

    .product__image,
    .product__info {
        width: 100%;
    }

    .product__value {
        font-size: 28px;
    }

    .product__btn a {
        width: 100%;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/*特定ページのシェア・フォローボタン非表示*/
.page-id-01 .sns-share,
.page-id-01 .sns-follow {
    display: none;
}