/*!
Theme Name: yashiro-mg
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: yashiro-mg
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

yashiro-mg is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


.mv-contents{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(./assets/images/pc.jpg);
    background-size: cover;
    background-position: center;
}
.p-about__bottom{
    padding-top: 0;
}
.p-about__slider{
    margin: 8rem auto;
}
.company-info-table {
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
/*  border-collapse: collapse;*/
/*  border-radius: 8px;*/
  overflow: hidden;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

.company-info-table th, 
.company-info-table td {
  padding: 12px 15px;
  text-align: left;
}

.company-info-table th {
  font-weight: normal;
    border-bottom: 1px dashed #bebebe;
  width: 30%;
}

.company-info-table td {
/*  background-color: #f4f4f4;*/
border-bottom: 1px dashed #bebebe;
}

.company-info-table tr:nth-child(even) td {
/*  background-color: #e9e9e9;*/
}
.company-info-table tr:last-child th,
.company-info-table tr:last-child td{
    border-bottom: none;
}
.company-info-table tr:first-child th,
.company-info-table tr:first-child td {
  border-top: none;
}
.p-fv__wrapper:after{
    content: none;
}
.p-info.top{
    padding: 17.4rem 0;
}
.l-footer__list{
    display: flex;
}
.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.pagination a,
.pagination span {
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #222;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s;
}

.pagination a:hover {
  background-color: #f3f3f3;
}

.pagination .current {
  background-color: #999;
  color: #fff;
  font-weight: bold;
}

.pagination .dots {
  color: #333;
  padding: 8px 12px;
}
.p-about__bottom-desc{
        margin: 7.9rem auto 0;
}
.p-about-company{
    margin-bottom: 7.9rem;
}
/* 全体のスタイル */
/* 全体のスタイル */
.wpcf7-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Arial', sans-serif;
}

/* ラベルのスタイル */
.wpcf7-form label {
  display: block;
  margin-bottom: 4px; /* ラベルと入力フィールド間のスペース */
  font-weight: bold;
  color: #333;
  position: relative; /* 必須・任意を絶対配置するために相対位置を設定 */
}

/* 必須・任意のスタイル */
.wpcf7-form .required,
.wpcf7-form .optional {
  font-size: 12px;
  font-weight: normal;
  color: #fff;
  background-color: #0073e6;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 8px;
  position: absolute; /* ラベル内の適切な位置に表示 */
  top: 0;
}

.wpcf7-form .optional {
  background-color: #888; /* 任意の項目の背景色を変更 */
}

/* 各フィールドのスタイルを調整 */
.wpcf7-form p {
  margin-bottom: 15px; /* 各フィールド間のスペース */
  font-size: 1.6rem;
}

/* 入力フィールドのスタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
}

.wpcf7-form input[type="radio"] {
  margin-right: 8px;
}

/* テキストエリアのスタイル */
.wpcf7-form textarea {
  height: 100px;
  resize: vertical;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 12px 20px;
  background-color: #0073e6;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #005bb5;
}
.wpcf7-form-control-wrap{
    width: 100%;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea{
    padding: 14px;
    box-sizing: border-box;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
    font-size: 1.6rem;
}
.wpcf7-not-valid-tip{
    padding: 16px 0 0;
}
.p-slider__item img {
    cursor: grab;
    height: min(37.3rem, 30.08vw);
    width: auto;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .wpcf7-form {
    padding: 15px;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    font-size: 16px;
  }

  .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 15px;
  }
  .p-slider__item img {
        cursor: grab;
        height: min(70.3rem, 49.08vw);
        width: auto;
    }
    .p-info__list{
        padding: 0 5%;
    }
}

.pickup{
    background: #fafafa;
    padding: 2.5% 5%;
    margin-top: 2.5%;
}
.pickup img{
    width: 80%;
    max-width: 480px;
    margin: 0 auto;
    display: block;
    height: auto;
}
.pickup .c-section-head{
    font-size: 2rem;
}
.pickup .p-gallery__product-img{
    margin-top: 2.5%;
}

@media screen and (max-width: 600px){
    .mv-contents{
    background: url(./assets/images/sp.jpg);
    background-size: cover;
    background-position: center;
    height: 90vh;
}
.l-footer__list{
    display: grid;
}
}