/* フォントをサイト全体に適用 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400; /* デフォルトのフォントウェイトを設定 */
    background: linear-gradient(180deg, #fffde5 0%, #ffffff 100%);
}

/* 見出しに太めのフォントウェイトを設定 */
h1, h2, h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

/* 特定の要素で異なるフォントウェイトを設定 */
p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* デフォルトでは非表示 */
.mobile-break {
    display: none;
}

/* スマホ時に表示 */
@media screen and (max-width: 768px) {
    .mobile-break {
        display: inline;
    }
}

p img.alignleft {
float: left;
margin-right: 8px;
margin-bottom: 8px;
    }
    
p img.alignright {
float: right;
margin-left: 8px;
margin-bottom: 8px;
    }

@media screen and (max-width: 768px) {
    p img.alignleft,
    p img.alignright {
        float: none;              /* floatを解除 */
        display: block;           /* ブロック要素として表示 */
        margin: 0 auto 16px auto; /* 上下中央に配置 */
        max-width: 100%;          /* 画像の最大幅を100%に制限 */
        height: auto;             /* アスペクト比を維持 */
    }
}

.midashi0 {
font-weight: bold;
font-size: 120%;
letter-spacing: 0.05em;
    }

.wp-caption-text2 {
text-align: center;
    }

.widget-title {
font-size: 16px;
}

/* スマホ用のレイアウト */
@media screen and (max-width: 768px) {
    img.headlogo {
    max-width: 250px;
    }

}

.hero-section2 {
    width: 100%;
    background-color: #c4d2bd;
    margin-bottom: 50px;
}


.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2等分のレイアウト */
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%; /* 画像を縦横いっぱいに拡大 */
    object-fit: cover; /* アスペクト比を維持しながら埋める */
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: 300% 300%; /* 大きめに設定し、ゆったり動かす */
    padding: 0;
    box-sizing: border-box;
    min-height: 100%;
    }

.text-wrapper {
    max-width: 95%;
    text-align: left;
    font-size: 1.8em;
    line-height: 2.0;
    width: 100%;
    padding: 20px;
}

/* スマホ時のレイアウト */
@media screen and (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr; /* スマホ時は1列表示 */
    }

    .hero-image,
    .hero-content {
        justify-content: center;
        text-align: center;
    }

    .hero-image img {
        width: 90%; /* スマホ時に画像を90％に */
    }
    
.text-wrapper {
    font-size: 1.2em;
    line-height: 1.8;
    padding: 15px;
}
    
}

.container a {
    color: #333;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.container a:hover {
    color: #F7A941; /* ホバー時に少し色を変える */
}

.center {
    text-align: center;
}

.archive-header {
margin: 0 auto;
font-size: 18px;
line-height: 1.6em;
min-height: 250px;
background: linear-gradient(135deg, #7dc05c 0%, #9ad97c 50%, #5cad85 100%);
position: relative;
}

.archive-title {
  position: absolute;
  top: 10%;
  left: 10%;
  }

.archive-meta {
  position: absolute;
  top: 30%;
  left: 10%;
  }
  
.entry-header {
margin: 0 auto;
font-size: 18px;
line-height: 1.6em;
min-height: 180px;
background: linear-gradient(135deg, #7dc05c 0%, #9ad97c 50%, #5cad85 100%);
position: relative;
}

.entry-title {
  position: absolute;
  top: 5%;
  left: 3%;
  line-height: 2.2em;
  }


h1.entry-title {
}

/* スマホ用の設定 */
@media screen and (max-width: 768px) {

.entry-content h2 {
    width: 95%;
    max-width: 980px;
    margin: 40px auto 0;
}

.entry-content p {
width: 95%;
max-width: 980px;
margin: 0 auto;
font-size: 16px;
line-height: 2.0em;
}
}


.archive-header,
.entry-header {
margin: 0 auto;
font-size: 18px;
line-height: 1.6em;
min-height: 100px;
position: static;
padding: 20px 0 0;
color: #fff;
}


.archive-title {
position: static;
margin: 15px auto;
width: 95%;
  }

.archive-meta {
position: static;
margin: 15px auto;
width: 95%;
  }


.entry-title {
position: static;
margin: 15px auto;
line-height: 1.6em;
width: 95%;
text-align: center;
}

.entry-content h2 {
}

.entry-content p {
  font-size: 1em;        /* 文字サイズ */
  line-height: 1.8;      /* 行間（1.6〜1.8が読みやすい目安） */
  margin-bottom: 1.2em;  /* 段落ごとの余白 */
  letter-spacing: 0.03em;/* 字間（ほんの少し広げると見やすい） */
}
}


}


.assistive-text {
display: none;
}

.pricing-table {
    width: 95%;
    max-width: 980px;
    border-collapse: collapse;
    margin: 20px auto;
    font-size: 14px;
    text-align: left;
}

.pricing-table thead tr {
    background-color: #e8e4d1;
    color: #333;
    text-align: center;
}

.pricing-table th,
.pricing-table td {
    padding: 12px 15px;
    border: 1px solid #dddddd;
    text-align: center;
}

.pricing-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.pricing-table tbody tr:hover {
    background-color: #f1f1f1;
}


.spec-table {
    width: 95%;
    max-width: 980px;
    border-collapse: collapse;
    margin: 20px auto;
    font-size: 14px;
    text-align: left;
}

.spec-table thead tr {
    background-color: #e8e4d1;
    color: #333;
    text-align: center;
    font-weight: bold;
}

.spec-table th,
.spec-table td {
    padding: 12px 15px;
    border: 1px solid #dddddd;
}

.spec-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.spec-table tbody tr:hover {
    background-color: #f1f1f1;
}

h2.wp-block-heading {
    font-size: 14px;
}

#ichiran ul {
text-align: center;
  }

#ichiran ul li {
  display: inline-block;
  text-align: left;
  max-width: 350px;
  height: auto;
  margin: 0 auto 55px;
  vertical-align: top;
  padding: 10px;
  }

#ichiran ul li a:visited{
color: #000;
}

.image-container {
    position: relative;
    margin: 0 auto;
}

.overlay-box {
    position: absolute;
    bottom: -55px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background-color:  rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 10px;
}

.categolylist-tittle{
text-align: center;
font-size: 18px;
}

.categolylist-tittle a{
text-decoration: none;
color: #000;
font-size: 18px;
}


.categolylist-tittle2{
font-size: 18px;
}

.categolylist-tittle2 a{
text-decoration: none;
color: #000;
font-size: 18px;
}



/* スマホ用のレイアウト */
@media screen and (max-width: 768px) {
#ichiran ul {
padding: 0;
  }
}


#ichiran-samrl ul {
text-align: center;
  }

#ichiran-samrl ul li {
  display: inline-block;
  text-align: left;
  height: auto;
  margin: 0 auto;
  vertical-align: top;
  padding: 10px;
  }

#ichiran-samrl ul li img{
    width: 100%;       /* 親要素の幅に合わせる */
    max-width: 100%;   /* 画像の最大幅を100%に設定 */
    height: auto;      /* 縦横比を保つ */
    display: block;    /* 画像周りの余白をなくす */
    box-sizing: border-box; /* パディングやボーダーを含めて計算 */
}

.wp-caption {
    width: 100% !important;   /* コンテナの幅を100%に */
    max-width: 100%;          /* 親要素の幅を超えないように制限 */
    box-sizing: border-box;   /* パディングやボーダーを含めた幅計算 */
}

.wp-caption img {
    width: 100%;              /* 画像もコンテナ幅に合わせる */
    height: auto;             /* 縦横比を保ちながら調整 */
    display: block;           /* 余白を排除 */
}

#ichiran-samrl ul li a:visited{
color: #000;
}

/* スマホ用のレイアウト */
@media screen and (max-width: 768px) {
#ichiran-samrl ul {
padding: 0;
  }
}


.category-design {
}

.category-design .wp-caption {
    display: inline-block; /* 横並びで中央に配置 */
    vertical-align: top;
    float: left;
    margin: 0 10px; /* 必要に応じて間隔を調整 */
}

/* スマホ用のスタイル */
@media (max-width: 768px) { /* 768px以下で縦並び */
    .category-design .wp-caption {
        display: block; /* 縦並びに変更 */
        margin: 10px auto; /* 中央揃えで上下の間隔 */
    }
}



#ichiran-temp ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
    unicode-bidi: isolate;
}

#ichiran-temp ul li {
  display: inline-block;
  text-align: left;
  max-width: 350px;
  height: auto;
  margin: 0 auto;
  vertical-align: top;
  padding: 10px;
  }

#ichiran-temp ul li img {
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
  }




.pager {
    display: flex;
    margin: 0 auto 50px;
    gap: 8px;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

.pager .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.pager .page-numbers:hover {
    background-color: #333;
    color: #fff;
}

.pager .current {
    font-weight: bold;
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
}

.pager .dots {
    padding: 6px;
    color: #666;
}

.pager .next {
    font-weight: bold;
}

.pager .next:hover {
    color: #fff;
    background-color: #333;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 4px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s, transform 0.3s;
}

.button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #999,
        #999 10px,
        #fff 10px,
        #fff 20px
    );
    opacity: 0.1;
    animation: diagonal-stripes 5s linear infinite;
}

.button:hover {
    color: #fff;
    background-color: #333;
    transform: scale(1.05); /* ホバー時に少し拡大 */
}

@keyframes diagonal-stripes {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}


.form-table {
    width: 95%;
    max-width: 980px;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 20px;
}

.form-table th,
.form-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.form-table th {
    background-color: #f9f9f9;
    color: #333;
    font-weight: bold;
    text-align: left;
}

.form-table td {
    background-color: #fff;
}

.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="tel"],
.form-table input[type="checkbox"],
.form-table select,
.form-table textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.form-table input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.form-table textarea {
    resize: vertical;
}

.form-table .wpcf7-submit {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: auto;
}

.form-table .wpcf7-submit:hover {
    background-color: #555;
}

.form-table p {
    margin: 0;
}

.form-table .wpcf7-list-item-label {
    font-weight: normal;
}

.form-table .form-note {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.wpcf7-list-item {
    display: block;
    margin-bottom: 8px; /* 各項目の間に余白を追加 */
}

.required-label {
    background-color: #8B0000; /* クラシックな上品な赤 */
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
    margin-left: 6px;
}

.ashirai {
  font-family: 'Satisfy', cursive; /* Satisfyフォント */
  color: #999; /* 黒文字 */
  font-size: 32px;
  position: absolute;
  top: -20px; /* 上にはみ出す */
  left: -20px; /* 左にはみ出す */
  transform: rotate(-5deg); /* 少し斜めにする */
  white-space: nowrap;
}

.ashirai2 {
    font-family: 'Satisfy', cursive;
    color: #999;
    font-size: 32px;
    white-space: nowrap;
}

.alert {
  position: relative; /* .ashirai を絶対配置するための基準 */
  width: 90%;
  max-width: 550px;
  margin: 50px auto;
  padding: 20px 0;
  background-color: #B0E03B;
  border-radius: 10px;
}

.alert p {
  width: 95%;
  max-width: 800px;
  margin: 10px auto;
  padding: 0 10px;
  color: #000;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

/* スマホ用のスタイル */
@media (max-width: 768px) { /* 768px以下で縦並び */

.alert p {
  width: 95%;
  max-width: 530px;
  margin: 10px auto;
  padding: 0 10px;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}


}

.kakoi1 {
    width: 95%;
    max-width: 980px;
margin: 20px auto;
background-color: #fff;
border: 4px dotted #333;
border-radius: 10px;
}

.kakoi1 p{
  width: 95%;
  margin: 20px auto;
  padding: 0 10px;
  color: #000;
  font-size: 18px;
}

.kakoi2 {
width: 90%;
margin: 20px;
background-color: #fff;
border: 4px dotted #333;
border-radius: 10px;
}

.kakoi2 p{
  width: 95%;
  margin: 20px auto;
  padding: 0 10px;
  color: #000;
  font-size: 18px;
}



    .container-step {
      max-width: 800px;
      margin: 50px auto;
      padding: 20px;
      background-color: #fff;
    }
    .step {
      margin-bottom: 15px;
      padding: 10px;
      border-left: 4px solid #d2cebe;
      background-color: #e8e6d8;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    .step:hover {
      background-color: #dcd9c8;
    }
    .step h2 {
      font-size: 18px;
      margin: 0;
      color: #5a5747;
      text-align: left;
    }
    .step p {
      font-size: 14px;
      margin: 5px 0 0;
      color: #5a5747;
      display: none;
    }
    /* Toggle display */
    .step.active p {
      display: block;
    }

    .message {
      border-left: 4px solid #d2cebe;
      background-color: #e8e6d8;
      padding: 15px;
      margin-bottom: 15px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    .message:hover {
      background-color: #dcd9c8;
    }
    .message h2 {
      font-size: 18px;
      color: #5a5747;
      margin: 0;
      text-align: left;
    }
    .message p {
      font-size: 14px;
      color: #5a5747;
      display: none;
      margin-top: 5px;
    }
    /* トグル表示 */
    .message.active p {
      display: block;
    }

    .contact-section {
      max-width: 800px;
      margin: 50px auto;
      padding: 20px;
      background-color: #ffffff;
      text-align: center;
    }
    .contact-heading {
      font-size: 18px;
      margin-bottom: 15px;
      color: #5a5747;
      font-weight: bold;
      letter-spacing: 1px;
      text-transform: uppercase;
      border-bottom: 2px solid #d2cebe;
      display: inline-block;
      padding-bottom: 5px;
    }

    .contact-phone {
      font-size: 28px;
      font-weight: bold;
      color: #333;
    }

.container-n {
      max-width: 950px;
      margin: 50px auto;
      padding: 20px;
      background-color: #ffffff;
    }

.container-n p{
      font-size: 16px;
      color: #333;
      line-height: 1.8em;
      margin: 0 auto 50px;
    }

.container-n ul{
      font-size: 16px;
      color: #333;
      line-height: 1.8em;
      margin: 0 auto 50px;
    }


.container-policy {
      max-width: 800px;
      margin: 50px auto;
      padding: 20px;
      background-color: #ffffff;
    }

.container-policy h2 {
      font-size: 18px;
      text-align: left;
      color: #333;
    }

.container-policy h3 {
      font-size: 18px;
      text-align: left;
      color: #333;
    }

.container-policy p {
      font-size: 14px;
      color: #333;
      line-height: 1.6em;
    }

/* 検索フォーム全体のスタイル */
#searchform {
    max-width: 100%; /* サイドバーに合わせて幅を調整 */
    display: flex;
    align-items: center;
    margin: 0;
    padding: 10px;
    border-radius: 5px;
}

/* 入力フィールドのスタイル */
#searchform input[type="text"] {
    width: 100%; /* フル幅で伸びる */
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #d2cebe; /* ステップ枠の色 */
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #5a5747; /* 文字色 */
    transition: background-color 0.3s ease;
    box-sizing: border-box; /* パディングを含めて幅調整 */
}

#searchform input[type="text"]:focus {
    background-color: #f4f3ef; /* フォーカス時の背景色 */
}

/* 検索ボタンのスタイル */
#searchform input[type="submit"] {
    padding: 8px 12px;
    font-size: 14px;
    background-color: #f4f3ef; /* ボタンの背景色 */
    color: #5a5747; /* ボタンの文字色 */
    border: 1px solid #d2cebe;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#searchform input[type="submit"]:hover {
    background-color: #fff; /* ホバー時の背景色 */
}

#searchform div {
    display: flex;
    width: 100%;
    max-width: 100%;
}

.wp-block-search__label {
color: #fff;
}

.wp-block-search__label {
display: none;
}

.midashi01 {
      font-size: 40px;
      color: #333;
      font-weight: bold;
    }

.midashi02 {
      font-size: 22px;
      color: #333;
      font-weight: bold;
    }

/* スマホ用のスタイル */
@media (max-width: 768px) { /* 768px以下で縦並び */

.midashi01 {
      font-size: 24px;
      color: #333;
      font-weight: bold;
    }
}

/* スライダーのスタイル */

#ichiran-slide ul {
    padding-inline-start: 0;
}

#ichiran-slide ul li {
    height: auto;
    margin: 0 auto 5px;
    vertical-align: top;
    padding: 10px;
}


element.style {
    display: block;
}
.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    color: #000;
    outline: none;
    background: #000;
}
.slick-next {
    right: 25px;
}
    
.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    color: #000;
    outline: none;
    background: #000;
}
.slick-next {
    right: 5px;
}

.slick-prev {
    left: 5px;
}

.bijon ol li {
font-size: 1.3em;
margin-bottom: 15px;
}