/*
Theme Name: FC B Series
Theme URI: https://fc-bseries.com
Author: Mab Inc.
Author URI: https://mab-inc.com
Description: Custom WordPress theme for FC B Series high-class yakitori franchise landing page. Built with Tailwind CSS.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fc-bseries
*/

/* CSS Variables and Base Styles */
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html,
body {
  margin: 0px;
  height: 100%;
  font-family: "hiragino-mincho-pron", "Hiragino Mincho Pro", sans-serif;
  font-weight: 300;
  font-style: normal;
}

button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

a {
  text-decoration: none;
}

:root {
  --gold: rgba(202, 164, 104, 1);
  --brown: rgba(52, 29, 18, 1);
  --black: rgba(34, 34, 34, 1);
  --white: rgba(253, 253, 253, 1);
  --beige: rgba(237, 233, 226, 1);
  --madekara-red: rgba(239, 27, 27, 1);
  --PC-ja-h2-font-family: "hiragino-mincho-pron", sans-serif;
  --PC-ja-h2-font-weight: 400;
  --PC-ja-h2-font-size: 40px;
  --PC-ja-h2-letter-spacing: 0px;
  --PC-ja-h2-line-height: normal;
  --PC-ja-h2-font-style: normal;
  --PC-ja-h3-font-family: "hiragino-mincho-pron", sans-serif;
  --PC-ja-h3-font-weight: 400;
  --PC-ja-h3-font-size: 32px;
  --PC-ja-h3-letter-spacing: 0px;
  --PC-ja-h3-line-height: normal;
  --PC-ja-h3-font-style: normal;
  --PC-ja-l-font-family: "hiragino-mincho-pron", sans-serif;
  --PC-ja-l-font-weight: 400;
  --PC-ja-l-font-size: 28px;
  --PC-ja-l-letter-spacing: 0px;
  --PC-ja-l-line-height: normal;
  --PC-ja-l-font-style: normal;
  --PC-SP-ja-l-font-family: "hiragino-mincho-pron", sans-serif;
  --PC-SP-ja-l-font-weight: 400;
  --PC-SP-ja-l-font-size: 16px;
  --PC-SP-ja-l-letter-spacing: 0px;
  --PC-SP-ja-l-line-height: 180%;
  --PC-SP-ja-l-font-style: normal;
  --PC-SP-ja-font-family: "hiragino-mincho-pron", sans-serif;
  --PC-SP-ja-font-weight: 400;
  --PC-SP-ja-font-size: 13px;
  --PC-SP-ja-letter-spacing: 0px;
  --PC-SP-ja-line-height: 180%;
  --PC-SP-ja-font-style: normal;
  --btn: 0px 3px 6px 0px rgba(0, 0, 0, 0.25);

  /* Mobile Typography Variables (SP = Smartphone) */
  --SP-ja-h2-font-family: "hiragino-mincho-pron", sans-serif;
  --SP-ja-h2-font-weight: 400;
  --SP-ja-h2-font-size: 26px;
  --SP-ja-h2-letter-spacing: 0px;
  --SP-ja-h2-line-height: 140%;
  --SP-ja-h2-font-style: normal;
  --SP-ja-h3-font-family: "hiragino-mincho-pron", sans-serif;
  --SP-ja-h3-font-weight: 400;
  --SP-ja-h3-font-size: 20px;
  --SP-ja-h3-letter-spacing: 0px;
  --SP-ja-h3-line-height: 140%;
  --SP-ja-h3-font-style: normal;
  --SP-ja-l-font-family: "hiragino-mincho-pron", sans-serif;
  --SP-ja-l-font-weight: 400;
  --SP-ja-l-font-size: 18px;
  --SP-ja-l-letter-spacing: 0px;
  --SP-ja-l-line-height: normal;
  --SP-ja-l-font-style: normal;
}

/* Custom styles beyond Tailwind */

/* Contact Form 7 Styling */
#contact .form-group label + br {
  display: none;
}
.wpcf7 {
  margin: 0 !important;
}

.wpcf7 .form-group {
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .wpcf7 .form-group {
    margin-bottom: 1rem;
  }
}

.wpcf7 label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 400;
  color: #302d2d;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d4d4d4;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  background-color: #ffffff;
  color: #302d2d;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #C9A461;
  box-shadow: 0 0 0 1px #C9A461;
}

.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  margin-right: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #302d2d;
}

.wpcf7 .wpcf7-list-item {
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
}

.wpcf7 .wpcf7-list-item label {
  margin-bottom: 0;
  font-weight: normal;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.wpcf7 .space-y-2 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wpcf7 input[type="submit"] {
  width: 100%;
  background-color: #341d12;
  color: white;
  padding: 1.25rem;
  border-radius: 0.5rem;
  font-weight: 400;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.wpcf7 input[type="submit"]:hover {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .wpcf7 input[type="submit"] {
    width: auto;
    min-width: 200px;
    padding-left: 3rem;
    padding-right: 3rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.wpcf7 .flex.items-start label,
.wpcf7 .wpcf7-list-item.first.last label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 0 !important;
}

.wpcf7 .flex.items-start input[type="checkbox"],
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 0;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.wpcf7 a.underline {
  text-decoration: underline;
  color: #302d2d;
}

.wpcf7 a.underline:hover {
  opacity: 0.7;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.wpcf7 .wpcf7-response-output {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 2px solid;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background-color: #f0fdf4;
  border-color: #22c55e;
  color: #166534;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng {
  background-color: #fef2f2;
  border-color: #ef4444;
  color: #991b1b;
}

.wpcf7 .wpcf7-spinner {
  display: inline-block;
  margin-left: 0.5rem;
}

.wpcf7 fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.wpcf7 legend {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
