/****************************
** File：style.css
****************************/
/*
  Name:子テーマパーツスキン
  Priority: 2.0
  Author: yhira
  Author URI: http://nelog.jp/
*/
/*このstyle.cssファイルと同じフォルダにパーツとなるCSSファイルを放り込んでください*/
/*以下にスタイルシートを記入してください*/
#header-in,
#navi-in,
#body-in,
#footer-in {
  width: 900px;
}

#sidebar {
  clear: both;
  float: none;
  padding: 15px;
  position: static;
  width: auto;
}

.home #header-in,
.home #navi-in,
.home #body-in,
.home #footer-in,
.single-post #header-in,
.single-post #navi-in,
.single-post #body-in,
.single-post #footer-in {
  width: 1230px;
}

.home #body-in,
.single-post #body-in {
  display: grid;
  grid-template-columns: 900px 300px;
  gap: 30px;
}

@media screen and (max-width: 740px) {
  .home #body-in,
  .single-post #body-in {
    grid-template-columns: 1fr;
  }
}

.home #sidebar,
.single-post #sidebar {
  float: right;
  width: 300px;
  margin-bottom: 30px;
  clear: none;
  padding: 0;
  position: none;
}

@media screen and (max-width: 740px) {
  .home #sidebar,
  .single-post #sidebar {
    padding: 15px;
    width: calc(100% - 30px);
  }
}

#main {
  width: 100%;
  max-width: 1000px;
  float: none;
  margin-inline: auto;
}

/* lucky color */

.lucky_main_visual {
  margin: 0 0 20px 0;
}
.lucky_main_visual img {
  width: 100%;
}

.your_color_area span {
  font-weight: 600;
}

.cll {
  margin: 0 0 0 20px;
}

.clr {
  margin: 0 0 0 30px;
}

.clr h3 {
  font-weight: 600;
}
select#year,
select#month,
select#day,
select.category_select {
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.3em;
  border-radius: 5px;
  height: 2.4em;
  margin: 0.4em;
}

input.more_view {
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.3em;
  margin: 0.4em;
  border-radius: 5px;
  height: 2.4em;
}

.lucky_color .color_box {
  margin: 0 0 30px 0;
  display: flex;
}

.lucky_color .color_box .color {
  width: 100px;
  height: 100px;
  border: 1px solid #eee;
}

.lucky_color h2 {
  font-size: 20px;
  border-left: 10px solid #f3f3f3;
  background: #ececec;
  color: #3e3e3e;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 40px 0 30px 0;
  padding: 10px;
}

.lucky_color .color_box p {
  width: 100px;
  text-align: center;
  font-size: 0.8rem;
  margin: 10px 0 0 0;
  font-weight: 800;
}

.lcs_list li {
  margin: 5px 0;
}

.lcs_list li a {
  text-decoration: underline;
}

.lcs_list li span {
  margin: 0 0 0 10px;
  font-size: 0.8rem;
}

.lcs_imi {
  width: 100% !important;
  text-align: left !important;
  margin: 0 0 15px 0 !important;
  font-weight: normal !important;
}

.relation-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.relation-items li {
  display: block;
}
.relation-items li a {
  display: block;
  text-decoration: none;
}
.relation-items li img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
}
.relation-item-title {
  margin: 10px 0 0;
}
.relation-item-price {
  font-weight: bold;
  margin: 5px 0 0;
}

@media screen and (max-width: 740px) {
  .relation-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* フォーム */
.wpcf7 textarea {
  width: 100%;
  height: auto;
}
.wpcf7 th {
  width: 250px;
  text-align: left;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="password"],
.wpcf7 input[type="email"],
.wpcf7 input[type="search"],
.wpcf7input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  border-radius: 2px;
  margin-top: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="password"],
.wpcf7 input[type="email"],
.wpcf7 input[type="search"],
.wpcf7input[type="tel"] {
  max-width: 360px;
  width: 100%;
}

.wpcf7 textarea,
.wpcf7 select {
  padding: 10px 10px;
}
.wpcf7 td p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 0;
}
.wpcf7 th p {
  margin: 0;
  padding: 10px;
}
.wpcf7-form-control-wrap:has(textarea) {
  width: 100%;
}
.required-contactform7 {
  color: #fff;
  background-color: red;
  font-size: 0.75em;
  padding: 2px 10px;
  border-radius: 2px;
  margin-right: 10px;
  width: fit-content;
}
input[type="submit"].wpcf7-submit {
  max-width: 300px;
  width: 100%;
  margin-inline: 0;
}
.wpcf7-form.invalid :is(input:not([type="submit"]), textarea, select).wpcf7-not-valid {
  border-color: #dc3232;
}

@media screen and (max-width: 1110px) {
  .wpcf7 th,
  .wpcf7 td {
    width: 100%;
    display: block;
  }
  input[type="submit"].wpcf7-submit {
    margin-inline: 10px;
  }
}

.wpcf7-form.hide_error_message:not(.invalid) .wpcf7-not-valid-tip {
  display: none;
}

/****************************
** File：/mobile.css
****************************/
/*スキンのモバイル用のスタイルの記入してください*/

#navi{
  background-color:transparent;
}

#navi ul li {
  display:block;
}


