@media(min-width:751px){
    .sp{
        display: none !important;
    }
}
@media(max-width:750px){
    .pc{
        display: none !important;
    }
}
/* ベース設定 */
:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 142.1 76.2% 36.3%;
  --primary-foreground: 355.7 100% 97.3%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 142.1 76.2% 36.3%;
  --radius: 0.5rem;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
}

/* ユーティリティクラス */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {

  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.hidden {
  display: none;
}

.w-full {
  width: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

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

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-primary {
  color: hsl(var(--primary));
}

.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.bg-primary {
  background-color: hsl(var(--primary));
}

.bg-background {
  background-color: hsl(var(--background));
}

.border {
  border: 1px solid hsl(var(--border));
}

.border-t {
  border-top: 1px solid hsl(var(--border));
}

.border-b {
  border-bottom: 1px solid hsl(var(--border));
}

.rounded-lg {
  border-radius: var(--radius);
}

.rounded-xl {
  border-radius: calc(var(--radius) + 0.25rem);
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.max-w-[600px] {
  max-width: 600px;
}

.max-w-[900px] {
  max-width: 900px;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-full {
  height: 100%;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.z-50 {
  z-index: 50;
}

.sticky {
  position: sticky;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.top-0 {
  top: 0;
}

.top-16 {
  top: 4rem;
}

.bottom-6 {
  bottom: 1.5rem;
}

.right-6 {
  right: 1.5rem;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-2 {
  gap: 0.5rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-12 {
  gap: 3rem;
}

.overflow-hidden {
  overflow: hidden;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.backdrop-blur {
  backdrop-filter: blur(8px);
}

/* コンポーネントスタイル */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-decoration: none;
}

.button:hover {
  opacity: 0.9;
}

.button.outline {
  background-color: transparent;
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.button.outline:hover {
  background-color: hsl(var(--primary) / 0.1);
}

.button.size-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.button.size-icon {
  padding: 0.5rem;
}

.button.w-full {
  width: 100%;
}

.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  padding-top: 10px;
}

.card-description {
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.card-content {
  padding: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--input));
  background-color: transparent;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.3);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

/* パララックス背景 */
.parallax-background {
  position: relative;
  overflow: hidden;
}

.parallax-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.parallax-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: -1;
}

/* アニメーション */
.animated-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animated-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.animated-section[data-direction="left"] {
  transform: translateX(-20px);
}

.animated-section[data-direction="right"] {
  transform: translateX(20px);
}

.animated-section[data-direction="up"] {
  transform: translateY(20px);
}

.animated-section[data-direction="down"] {
  transform: translateY(-20px);
}

.animated-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.animated-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-color: hsl(var(--primary) / 0.5);
}

.animated-button {
  transition: transform 0.3s ease;
}

.animated-button:hover {
  transform: scale(1.05);
}

.animated-button:active {
  transform: scale(0.98);
}

.logo {
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* スクロールトップボタン */
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: scale(1);
}






.hero-section,
#company{
  background-size: cover;
  opacity: 1;
}

header{
  background-color: #fff;
}

.mobile-menu a,
header a{
  color: #000;
  text-decoration: none;
}



.hero-section{
  background-position: center center;
}

.inline{
  display: inline;
}
.pattern{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../images/dot.png);
  background-repeat: repeat;
  z-index: 0;
}
.z-index,
.hero-text{
  position: relative;
  z-index: 1;
}
.sub-text,
h1.text-3xl{
  color: white;
}

#top{
  background-color: #fff;
}


/* レスポンシブ設定 */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-\[200px_1fr\] {
    grid-template-columns: 200px 1fr;
  }
}

@media (min-width: 1024px) {
  .lg\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

  /* prefers-reduced-motion対応 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animated-section,
  .animated-card,
  .animated-button,
  .logo,
  .scroll-to-top,
  .parallax-background::before {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* 
  特定のセクションコンテンツ（事業内容、会社概要、お問い合わせ）の中央揃えを強化します。
  これらの要素はTailwind CSSの mx-auto クラスによって中央揃えされることが期待されますが、
  このCSSルールで明示的にスタイルを適用し、確実に中央揃えされるようにします。
*/

/* 事業内容のカードグリッド */
#services-grid {
  margin-left: auto;
  margin-right: auto;
}

/* 会社概要の主要コンテンツブロック */
/* HTML内の該当要素: <div class="animated-section mx-auto max-w-3xl py-12" ...> */
#company .animated-section.mx-auto.max-w-3xl.py-12 {
  margin-left: auto;
  margin-right: auto;
}

/* お問い合わせフォームの主要コンテンツブロック */
/* HTML内の該当要素: <div class="animated-section mx-auto max-w-3xl py-12" ...> */
#contact .animated-section.mx-auto.max-w-3xl.py-12 {
  margin-left: auto;
  margin-right: auto;

  .lg\:grid-cols-\[1fr_400px\] {
    grid-template-columns: 1fr 400px;
  }

  .lg\:text-base\/relaxed {
    font-size: 1rem;
    line-height: 1.625;
  }
}

@media (min-width: 1280px) {
  .xl\:text-6xl\/none {
    font-size: 3.75rem;
    line-height: 1;
  }

  .xl\:grid-cols-\[1fr_600px\] {
    grid-template-columns: 1fr 600px;
  }

  .xl\:text-xl\/relaxed {
    font-size: 1.25rem;
    line-height: 1.625;
  }
}

@media (min-width: 400px) {
  .min-\[400px\]\:flex-row {
    flex-direction: row;
  }
}

/* prefers-reduced-motion対応 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animated-section,
  .animated-card,
  .animated-button,
  .logo,
  .scroll-to-top,
  .parallax-background::before {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
body .is-layout-flex {
    display: flex;
}
.wp-container-core-group-is-layout-4 {
    flex-wrap: nowrap;
    justify-content: space-between;
}
.vk_block-margin-0--margin-top {
    margin-top: 0 !important
}

.vk_block-margin-0--margin-top>table {
    margin-top: 0
}

.vk_block-margin-0--margin-bottom {
    margin-bottom: 0 !important
}

.vk_block-margin-0--margin-bottom>table {
    margin-bottom: 0
}

.vk_block-margin-xs {
    margin-top: var(--vk-margin-xs)
}

.vk_block-margin-xs--margin-top {
    margin-top: var(--vk-margin-xs) !important
}

.vk_block-margin-xs--margin-bottom {
    margin-bottom: var(--vk-margin-xs) !important
}

.vk_block-margin-xs--height {
    height: var(--vk-margin-xs)
}

.vk_block-margin-sm {
    margin-top: var(--vk-margin-sm)
}

.vk_block-margin-sm--margin-top {
    margin-top: var(--vk-margin-sm) !important
}

.vk_block-margin-sm--margin-bottom {
    margin-bottom: var(--vk-margin-sm) !important
}

.vk_block-margin-sm--height {
    height: var(--vk-margin-sm)
}

.vk_block-margin-md {
    margin-top: var(--vk-margin-md)
}

.vk_block-margin-md--margin-top {
    margin-top: var(--vk-margin-md) !important
}

.vk_block-margin-md--margin-bottom {
    margin-bottom: var(--vk-margin-md) !important
}

.vk_block-margin-md--height {
    height: var(--vk-margin-md)
}

.vk_block-margin-lg {
    margin-top: var(--vk-margin-lg)
}

.vk_block-margin-lg--margin-top {
    margin-top: var(--vk-margin-lg) !important
}

.vk_block-margin-lg--margin-bottom {
    margin-bottom: var(--vk-margin-lg) !important
}

.vk_block-margin-lg--height {
    height: var(--vk-margin-lg)
}

.vk_block-margin-xl {
    margin-top: var(--vk-margin-xl)
}

.vk_block-margin-xl--margin-top {
    margin-top: var(--vk-margin-xl) !important
}

.vk_block-margin-xl--margin-bottom {
    margin-bottom: var(--vk-margin-xl) !important
}

.vk_block-margin-xl--height {
    height: var(--vk-margin-xl)
}
.is-layout-flex {
    flex-wrap: wrap;
    align-items: center;
}
:root .has-vk-color-primary-background-color,:root .has-undefined-background-color,:root .editor-styles-wrapper .has-vk-color-primary-background-color,:root .editor-styles-wrapper .has-undefined-background-color {
    background-color: var(--wp--preset--color--vk-color-primary, #337ab7)
}


:root {
    --vk-heading-has-background-padding: 0.6em 0.7em 0.5em
}
.wp-block-group h3:first-child,.wp-block-group h4:first-child {
    margin-top: 0
}

.wp-block-group p:last-child,.wp-block-group ul:last-child,.wp-block-group ol:last-child,.wp-block-group dl:last-child,.wp-block-group table:last-child,.wp-block-group .wp-block-columns:last-child {
    margin-bottom: 0
}
.is-style-vk-heading h3.is-style-vk-heading:after,.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading h3.is-style-vk-heading:after {
    border-bottom: none !important
}

.is-style-vk-heading-plain:not(.has-text-align-center,.has-text-align-right),.is-style-vk-heading-background_fill_lightgray:not(.has-text-align-center,.has-text-align-right),.is-style-vk-heading-double_black:not(.has-text-align-center,.has-text-align-right),.is-style-vk-heading-double_bottomborder_black:not(.has-text-align-center,.has-text-align-right),.is-style-vk-heading-solid_black:not(.has-text-align-center,.has-text-align-right),.is-style-vk-heading-solid_bottomborder_black:not(.has-text-align-center,.has-text-align-right),.is-style-vk-heading-dotted_bottomborder_black:not(.has-text-align-center,.has-text-align-right),.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-plain:not(.has-text-align-center,.has-text-align-right),.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-background_fill_lightgray:not(.has-text-align-center,.has-text-align-right),.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-double_black:not(.has-text-align-center,.has-text-align-right),.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-double_bottomborder_black:not(.has-text-align-center,.has-text-align-right),.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-solid_black:not(.has-text-align-center,.has-text-align-right),.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-solid_bottomborder_black:not(.has-text-align-center,.has-text-align-right),.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-dotted_bottomborder_black:not(.has-text-align-center,.has-text-align-right) {
    text-align: left
}

.is-style-vk-heading-plain,.editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-plain {
    position: relative;
    outline: unset;
    outline-offset: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    border-radius: unset;
    overflow: unset;
    color: inherit;
    background-color: transparent;
    border: none;
    padding: unset;
    display: block
}
@media screen and (max-width: 991.98px) {
    .vk_icon {
        margin-bottom:1.5em
    }
}

.wp-block-vk-blocks-icon .vk_icon_frame {
    line-height: 1;
}

.wp-block-vk-blocks-icon .vk_icon_border {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%
}

.wp-block-vk-blocks-icon .vk_icon_link {
    display: inline-block
}

.wp-block-vk-blocks-icon .vk_icon_link:hover {
    opacity: .85
}

.wp-block-vk-blocks-icon .vk_icon_font {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    font-size: 36px
}

.wp-block-vk-blocks-icon .is-style-outline .vk_icon_border {
    background-color: transparent;
    border: 1px solid currentColor
}

.wp-block-vk-blocks-icon .vk_icon_frame:not(.is-style-outline):not(.is-style-noline) .vk_icon_font {
    color: #fff
}

.wp-block-vk-blocks-icon .vk_icon_align_center {
    text-align: center
}

.wp-block-vk-blocks-icon .vk_icon_align_right {
    text-align: right
}

.wp-block-vk-blocks-icon .vk_icon_border_frame {
    background-color: transparent;
    border-width: 1px;
    border-style: solid
}

.wp-block-vk-blocks-icon div:not(.is-style-outline):not(.is-style-noline) .vk_icon_border:not(.vk_icon_border_frame):not(.vk_icon_border_none) .vk_icon_font {
    color: #fff
}

.wp-block-vk-blocks-icon .vk_icon_frame:not(.is-style-outline):not(.is-style-noline) .vk_icon_border:not(.has-background) {
    background-color: #337ab7
}

.wp-block-vk-blocks-icon .is-style-noline .vk_icon_border:not(.has-text-color) {
    color: #337ab7
}

.wp-block-vk-blocks-icon .is-style-outline .vk_icon_border:not(.has-text-color) {
    color: #337ab7
}

@media screen and (max-width: 992px) {
    .vk_icons {
        margin-bottom:1.5em
    }
}

.vk_icons_col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    clear: both;
    margin-left: -8px
}

.vk_icons_col .vk_icon {
    margin: 4px 0 4px 8px
}

.vk_icons_col .vk_icon_frame {
    line-height: 1
}

.vk_icons_col-justify-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.vk_icons_col-justify-right {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end
}

.vk_icons_col-justify-space-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.vk_prBlocks .vk_prBlocks_item a {
    text-decoration: none
}
/******************************/
/** コンタクトフォームの装飾 **/
/******************************/
.center {margin-left:auto;margin-right:auto;text-align: center;margin-bottom:15px;}
/* 送信ボタンのスタイル */
.wpcf7-submit {
    margin-top: 30px; /* ボタンの上の余白 */
    background-color: #16a34a; /* ボタンの背景色 */
    color: #fff; /* ボタンの文字色 */
    padding: 15px; /* ボタンの内側の余白 */
    width: 40%; /* ボタンの幅 */
    display: block; /* ブロック要素として配置 */
    margin-left: auto; /* 左右中央寄せ */
    margin-right: auto;
}

/* フォーム全体のスタイル */
.wpcf7 {
background-color: #f0f0f0; /* ライトグレー */
padding: 20px;
border-radius: 10px;
max-width: 700px;
margin: auto;
margin-top:20px;
margin-bottom:100px;
}
/* ラベルのスタイル */
.wpcf7-form label {
display: block;
margin-bottom: 10px;
font-size: 16px;
color: #16a34a; /* ダークグレー */
}
/* 必須フィールドのラベルスタイル */
.wpcf7-form .required {
background-color: #ff0000; /* レッド */
color: white;
padding: 2px 5px;
border-radius: 3px;
margin-left: 10px;
font-size: 12px;
}
/* インプットフィールドのスタイル */
.wpcf7-form textarea {
width: 100%;
padding: 10px;
border: 1px solid #cccccc; /* ライトグレー */
border-radius: 3px;
margin-bottom: 20px;
font-size: 16px;
background-color: #ffffff; /* 白 */
}
/* テキストエリアのスタイル */
.wpcf7-form textarea {
height: 150px;
resize: vertical;
}
/* エラーメッセージと成功メッセージのスタイル */
.wpcf7-form .wpcf7-not-valid-tip {
color: red;
font-size: 14px;
}
.wpcf7-form .wpcf7-mail-sent-ok {
color: green;
font-size: 16px;
margin-bottom: 20px;
}
.form-table p{margin-bottom:15px;}
/*　フォーム全体　*/
#cf7-area {
width:100%;
margin: 0 auto;
font-family: “遊ゴシック","ヒラギノ角ゴ","メイリオ","MS Pゴシック",sans-serif;
}

.cf7-item {
display: flex;
align-items: flex-start;
justify-content: flex-start;
margin: 0 0 1.75em;
}

.cf7-q {
width: 30%;
margin: 0 0 0 10px;
}

.cf7-a {
width: 60%;
}

/*　見出し　*/
.form-heading
{
width: 100%;
background-color: #191970;
border-left: 1em solid #6495ED;
border-radius: 2px;
color: #ffffff;
font-weight: bold;
padding: 1em .8em;
margin: 0 0 2em;
}

.form-heading p {
margin: 0;
}

/* 各項目共通 */
#cf7-area label{
font-weight:bold;
}

#cf7-area input[type="text"],#cf7-area input[type="email"],#cf7-area input[type="tel"],#cf7-area textarea {
background: #F0F8FF;
width:100%;
margin-left:10px;
}

#cf7-area input[type="text"]:focus,#cf7-area input[type="email"]:focus,#cf7-area input[type="tel"]:focus,#cf7-area textarea:focus {
background: #FFE4E1;
border: 2px solid #FF1493;
outline: 0;
}

#cf7-area input[type="checkbox"], #cf7-area input[type="radio"]{
appearance: auto;
}

#cf7-area .wpcf7-list-item {
display: block;
}

#cf7-area textarea{
height:200px;
padding: 0.625em 0.4375em;
}

.cf7-accept-check{
text-align: center;
margin: 50px auto;
}

.cf7-submit {
width: 40%;
margin: 0 auto;
text-align: center;
}

#cf7-area input[type="submit"]
{
width: 100%;
background-color: #191970;
color: #ffffff;
border-radius: 5px;
font-size: 1.2em;
padding: 1em 10px;
}

#cf7-area input[type="submit"]:hover
{
background-color:#ffffff;
border: 2px solid #191970;
color:#191970;
}

.cf7-btn{
width: 40%;
margin: 0 auto;
text-align: center;
}

/*　必須ラベル　*/
.cf7-req{
font-size:.8em;
padding: 4px 6px;
background: #eb2a2a;
color: #ffffff;
margin-left: 10px;
display:inline-block;
}

@media screen and (max-width:768px){
.cf7-item {
display: block;
}

#cf7-area label{
display: block;
margin-bottom: 10px;
}

.cf7-q {
width: 100%;
margin: 0;
}

.cf7-a {
width: 100%;
}

#cf7-area input[type="text"], #cf7-area input[type="email"], #cf7-area input[type="tel"], #cf7-area textarea{
margin-left: 0;
}

.cf7-submit{
width: 90%;
}
}