/* =============================================
   IBCA Test Site - TCD044 Unique Theme Recreation
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body, input, textarea {
  font-family: Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
}

.rich_font {
  font-family: Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  font-weight: normal;
}

a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover {
  color: #F5BEF7;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: normal;
}

p {
  margin: 0 0 1em;
}

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

/* --- Site Loader --- */
#site_loader_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#site_loader_spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(59,59,59,0.2);
  border-top-color: #3B3B3B;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#site_wrap {
  display: none;
}

/* --- Header --- */
#header {
  background-color: #3B3B3B;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: background-color 0.3s ease;
}

.header_fix #header {
  background-color: rgba(59,59,59,0.7);
}

#header a {
  color: #FFFFFF;
}

#header_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

#logo_image {
  flex-shrink: 0;
}

#logo_image .logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}

#logo_image .logo a {
  color: #fff;
  text-decoration: none;
}

#logo_image .logo a:hover {
  color: #F5BEF7;
}

/* --- Global Menu --- */
#global_menu {
  flex-grow: 1;
  text-align: right;
}

#global_menu > ul {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

#global_menu > ul > li {
  position: relative;
}

#global_menu > ul > li > a {
  display: block;
  padding: 0 20px;
  line-height: 60px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

#global_menu > ul > li > a:hover,
#global_menu > ul > li.current-menu-item > a,
#global_menu > ul > li.active > a {
  color: #F5BEF7;
}

/* Sub Menu */
#global_menu ul ul {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  min-width: 250px;
  z-index: 10000;
  background: #3B3B3B;
}

#global_menu ul li:hover > ul {
  display: block;
}

#global_menu ul ul a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background-color: #3B3B3B;
  transition: background-color 0.3s ease;
}

#global_menu ul ul a:hover {
  background-color: #F5BEF7;
  color: #fff;
}

#global_menu ul ul li.menu-item-has-children > a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-color: transparent transparent transparent #FFFFFF;
  border-style: solid;
  border-width: 5px;
  margin-right: 5px;
}

/* Mobile Menu Button */
.menu_button {
  display: none;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  padding: 10px;
}

.menu_button span {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
}

/* --- Slider Section --- */
#top {
  margin-top: 60px;
}

#header_slider {
  position: relative;
  overflow: hidden;
}

#header_slider .item {
  position: relative;
  height: 600px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#header_slider .item .image {
  display: none;
}

#header_slider .item .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 80%;
  max-width: 900px;
}

#header_slider .item .caption .title {
  margin: 0;
  line-height: 1.4;
}

#header_slider .item .caption .desc {
  margin-top: 15px;
}

#header_slider .item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Slick Dots */
#header_slider .slick-dots {
  bottom: 25px;
  z-index: 3;
}

#header_slider .slick-dots li button::before {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  opacity: 1;
}

#header_slider .slick-dots li.slick-active button::before,
#header_slider .slick-dots li button:hover::before {
  color: #F5BEF7;
  background: #F5BEF7;
  border-radius: 50%;
  opacity: 1;
}

/* --- Main Contents --- */
#main_contents {
  padding: 0;
}

/* --- Box List (Packery Grid) --- */
.box_list {
  max-width: 100%;
  margin: 0 auto;
}

.box_list .box-sizer,
.box_list .box {
  width: 50%;
}

.box_list .box.box2 {
  width: 100%;
}

.box_list .box .box_inner {
  padding: 60px 40px;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box_list .box .content {
  max-width: 800px;
  text-align: center;
}

.box_list .box .content h3.catch {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 2px;
  line-height: 1.4;
}

.box_list .box .content .desc {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 25px;
}

.box_list .box .content .desc p {
  margin: 0 0 0.8em;
}

.box_list .link_button {
  margin-top: 20px;
}

.box_list .link_button a {
  display: inline-block;
  padding: 10px 40px;
  color: #fff !important;
  background: #3B3B3B;
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.box_list .link_button a:hover {
  background-color: #F5BEF7;
}

/* --- Work List (Portfolio Grid) --- */
.work_list {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.work_list .box {
  width: 20%;
  position: relative;
  overflow: hidden;
}

.work_list .box .box_inner {
  position: relative;
}

.work_list .box .content {
  position: relative;
  overflow: hidden;
}

.work_list .box .content .image {
  display: block;
  overflow: hidden;
}

.work_list .box .content .image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.75s ease;
}

.work_list .box .content .image:hover img {
  transform: scale(1.2);
}

.work_list .box .content .title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.work_list .box .content .title a {
  display: block;
  padding: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  background: rgba(237, 83, 150, 0.5);
  text-decoration: none;
  line-height: 1.4;
}

/* トップページ ピンク帯テキスト センター揃え */
#index_work_list .box .content .title a {
  text-align: center;
}

.work_list .box .content .category {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}

.work_list .box .content .category a {
  display: inline-block;
  padding: 3px 10px;
  background: #3B3B3B;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
}

.work_list .box .content .category a:hover {
  background-color: #F5BEF7;
}

/* --- Return to Top --- */
#return_top {
  text-align: center;
  padding: 0;
}

#return_top a {
  display: block;
  padding: 20px;
  background: #555;
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

#return_top a:hover {
  background-color: #F5BEF7;
  color: #fff;
}

#return_top a span {
  display: block;
}

/* --- Footer --- */
#footer_top {
  background: #222;
  color: #999;
  padding: 60px 0 40px;
}

#footer_top_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#footer_top a {
  color: #ccc;
  text-decoration: none;
}

#footer_top a:hover {
  color: #F5BEF7;
}

/* Footer Menu */
#footer_menu {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

#footer_menu .headline {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 2px;
  background: none;
}

#footer_menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
}

#footer_menu ul li a {
  font-size: 13px;
}

/* Footer Widget Area */
#footer_menu_widget_area {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

#footer_menu {
  width: 100%;
}

#footer_left_widget {
  flex: 1;
  min-width: 250px;
}

#footer_right_widget {
  flex: 1;
  min-width: 250px;
}

.side_widget {
  margin-bottom: 25px;
}

.side_widget h2.wp-block-heading,
.side_widget h3.footer_headline {
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.side_headline {
  background-color: #3B3B3B;
}

.side_widget ul {
  display: block;
}

.side_widget ul li {
  margin-bottom: 5px;
}

.side_widget ul li a {
  font-size: 13px;
  line-height: 1.6;
}

/* Work List Widget (Footer) */
.work_list_widget ol {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.work_list_widget ol li {
  width: 60px;
  height: 60px;
  overflow: hidden;
}

.work_list_widget ol li a.image {
  display: block;
  overflow: hidden;
}

.work_list_widget ol li a.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease;
}

.work_list_widget ol li a.image:hover img {
  transform: scale(1.2);
}

/* Latest Posts Widget */
.wp-block-latest-posts__list li {
  margin-bottom: 8px;
}

.wp-block-latest-posts__list li a {
  font-size: 13px;
  line-height: 1.6;
}

/* Footer Address */
#footer_address {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

#footer_address .logo_area {
  flex-shrink: 0;
}

#footer_address .logo_area img {
  max-width: 120px;
  height: auto;
}

#footer_address .info {
  font-size: 13px;
  line-height: 1.8;
}

#footer_address .info p {
  margin: 0 0 10px;
}

/* Footer Bottom */
#footer_bottom {
  background-color: #3B3B3B;
  color: #FFFFFF;
  padding: 20px 0;
}

#footer_bottom a {
  color: #FFFFFF;
}

#footer_bottom a:hover {
  color: #F5BEF7;
}

#footer_bottom_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

#footer_menu_bottom {
  margin-bottom: 10px;
}

#footer_menu_bottom ul {
  display: inline-flex;
  gap: 20px;
}

#footer_menu_bottom ul li a {
  font-size: 12px;
  letter-spacing: 1px;
}

#copyright {
  font-size: 11px;
  margin: 0;
  color: #999;
}

#copyright a {
  color: #999;
}

#copyright a:hover {
  color: #F5BEF7;
}

/* --- Post Content Styles --- */
.post_content {
  font-size: 15px;
}

.post_content a,
.post_content a:hover {
  color: #C43766;
}

#post_title {
  font-size: 30px;
}

/* --- Image Hover Effects --- */
#related_post li a.image img,
.styled_post_list1 .image img,
#recent_news .image img,
.work_list_widget .image img,
#blog_list .image img {
  transition: all 0.75s ease;
  transform: scale(1);
  backface-visibility: hidden;
}

#related_post li a.image:hover img,
.styled_post_list1 .image:hover img,
#recent_news .image:hover img,
.work_list_widget .image:hover img,
#blog_list .image:hover img {
  transform: scale(1.2);
}

/* --- Pagination --- */
.page_navi .current {
  background-color: #3B3B3B !important;
  border-color: #3B3B3B !important;
}

.page_navi a:hover {
  background-color: #F5BEF7;
}

.page_navi .page-numbers:hover {
  border-color: #F5BEF7;
}

/* --- Responsive --- */
@media screen and (max-width: 1024px) {
  .work_list .box {
    width: 33.333%;
  }

  .box_list .box,
  .box_list .box-sizer {
    width: 100%;
  }

  .box_list .box.box2 {
    width: 100%;
  }

  .box_list .box .box_inner {
    padding: 40px 30px;
    min-height: 280px;
  }
}

@media screen and (max-width: 768px) {
  #header_inner {
    height: 50px;
  }

  #top {
    margin-top: 50px;
  }

  #global_menu {
    display: none;
  }

  .menu_button {
    display: block;
  }

  #header_slider .item {
    height: 400px;
  }

  #header_slider .item .caption .title {
    font-size: 28px !important;
  }

  #header_slider .item .caption .desc {
    font-size: 16px !important;
  }

  .work_list .box {
    width: 50%;
  }

  .work_list {
    padding: 0;
    margin: 20px auto;
  }

  #footer_address {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #footer_menu_widget_area {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  #header_slider .item {
    height: 300px;
  }

  #header_slider .item .caption .title {
    font-size: 22px !important;
  }

  #header_slider .item .caption .desc {
    font-size: 14px !important;
  }

  .work_list .box {
    width: 50%;
  }

  .box_list .box .content h3.catch {
    font-size: 20px;
  }

  .box_list .box .box_inner {
    padding: 30px 20px;
    min-height: 250px;
  }
}

/* --- Mobile Menu (Toggle) --- */
.mobile_menu_open #global_menu {
  display: block;
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  height: calc(100vh - 50px);
  background: #3B3B3B;
  z-index: 9998;
  overflow-y: auto;
}

.mobile_menu_open #global_menu > ul {
  display: block;
}

.mobile_menu_open #global_menu > ul > li > a {
  line-height: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0 20px;
}

.mobile_menu_open #global_menu ul ul {
  display: block;
  position: static;
  min-width: 100%;
}

.mobile_menu_open #global_menu ul ul a {
  padding-left: 40px;
}

/* --- Font Type --- */
.font_type2 {
  font-family: Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
}

/* =============================================
   LOWER PAGES - Common Styles
   ============================================= */

/* --- Breadcrumb --- */
#bread_crumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  font-size: 12px;
}

#bread_crumb ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

#bread_crumb li {
  color: #999;
}

#bread_crumb li::after {
  content: ">";
  margin: 0 8px;
  color: #ccc;
}

#bread_crumb li.last::after,
#bread_crumb li:last-child::after {
  display: none;
}

#bread_crumb li.home a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
}

#bread_crumb a {
  color: #666;
}

#bread_crumb a:hover {
  color: #F5BEF7;
}

/* --- Page Header --- */
#page_header {
  text-align: center;
  padding: 60px 20px 40px;
  background: #f8f8f8;
  margin-bottom: 0;
}

#page_header h2.headline {
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

#page_header .desc {
  color: #666;
}

#page_header .desc p {
  margin: 0;
}

/* --- Main Content Layout --- */
#main_contents.lower_page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* Full width layout (no sidebar) */
#article {
  max-width: 900px;
  margin: 40px auto 0;
}

.post_content {
  font-size: 15px;
  line-height: 1.9;
}

.post_content h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 40px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.post_content h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 30px 0 10px;
  line-height: 1.5;
}

.post_content h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 20px 0 8px;
}

.post_content ul,
.post_content ol {
  margin: 10px 0 15px 20px;
  padding: 0;
}

.post_content ul {
  list-style: disc;
}

.post_content ol {
  list-style: decimal;
}

.post_content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.post_content strong,
.post_content b {
  font-weight: bold;
}

.post_content small {
  font-size: 13px;
  color: #888;
}

/* --- Work/License Page Layout (with sidebar) --- */
#main_col {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#side_col {
  margin-bottom: 20px;
}

#work_side_content {
  padding: 20px 0;
}

#work_side_content .category a {
  display: inline-block;
  padding: 3px 12px;
  background: #3B3B3B;
  color: #fff;
  font-size: 12px;
  margin-bottom: 8px;
}

#work_title {
  font-size: 28px;
  font-weight: bold;
}

#left_col {
  max-width: 900px;
}

/* 1カラムレイアウト（サイドバーなし） */
#main_col.no-sidebar #left_col {
  max-width: 100%;
  width: 100%;
  float: none;
}

.no-sidebar #article {
  max-width: 100%;
  width: 100%;
}

.no-sidebar #left_col #article {
  max-width: 100%;
  width: 100%;
}

#left_col #article {
  margin: 0;
}

/* --- Work Navigation --- */
#work_navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

#work_navigation a {
  display: inline-block;
  padding: 8px 20px;
  font-size: 13px;
  color: #333;
  letter-spacing: 1px;
}

#work_navigation a:hover {
  color: #F5BEF7;
}

#work_navigation .archive_link {
  padding: 8px 25px;
  background: #f5f5f5;
  border-radius: 3px;
}

/* --- Content Box Styles (well, well2, well3) --- */
.well {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  margin: 15px 0;
}

.well2 {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
  margin: 10px 0;
}

.well3 {
  background: #f7f9ff;
  border: 1px solid #d8e2f3;
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
}

/* --- Post Row/Col Grid --- */
.post_row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
}

.post_col {
  flex: 1;
  min-width: 200px;
}

.post_col-2 {
  flex: 0 0 calc(50% - 8px);
}

.post_col-3 {
  flex: 0 0 calc(33.333% - 10px);
}

/* --- Heading Styles --- */
.style3a {
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 15px;
  color: #1a1a2e;
  text-align: center;
}

.style3b {
  font-size: 18px;
  font-weight: bold;
  margin: 30px 0 10px;
  padding-left: 12px;
  border-left: 4px solid #F5BEF7;
}

.style4a {
  font-size: 15px;
  font-weight: bold;
  margin: 0 0 8px;
  color: #333;
}

.style4b {
  font-size: 15px;
  font-weight: bold;
  margin: 20px 0 8px;
  color: #555;
}

/* --- CTA Buttons --- */
.q_button_wrap {
  text-align: center;
  margin: 18px 0;
}

.q_button {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  border-radius: 6px;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.q_button:hover {
  opacity: 0.8;
}

.q_button.pill {
  border-radius: 50px;
}

.q_button.rounded {
  border-radius: 10px;
}

.q_button.sz_l {
  padding: 14px 40px;
  font-size: 16px;
}

.q_button.sz_s {
  padding: 8px 20px;
  font-size: 13px;
}

.q_button.bt_red {
  background: #c0392b;
  color: #fff !important;
}

.q_button.bt_blue {
  background: #2980b9;
  color: #fff !important;
}

.q_button.bt_green {
  background: #27ae60;
  color: #fff !important;
}

/* --- News List --- */
#news_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#news_list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

#news_list li a.image {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  overflow: hidden;
  display: block;
}

#news_list li a.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#news_list li a.title {
  flex: 1;
  color: #333;
}

#news_list li a.title:hover {
  color: #F5BEF7;
}

#news_list .title-inner {
  display: block;
}

#news_list .title-inner time {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 5px;
}

#news_list .title-inner span {
  font-size: 15px;
  line-height: 1.6;
}

/* --- License Archive Grid --- */
.license_archive_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.license_archive_grid .license_card {
  flex: 0 0 calc(33.333% - 14px);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.license_archive_grid .license_card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.license_archive_grid .license_card .card_image {
  overflow: hidden;
}

.license_archive_grid .license_card .card_image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.75s ease;
}

.license_archive_grid .license_card:hover .card_image img {
  transform: scale(1.1);
}

.license_archive_grid .license_card .card_body {
  padding: 15px;
}

.license_archive_grid .license_card .card_body .category_tag {
  display: inline-block;
  padding: 2px 8px;
  background: #3B3B3B;
  color: #fff;
  font-size: 11px;
  margin-bottom: 8px;
}

.license_archive_grid .license_card .card_body h3 {
  font-size: 15px;
  font-weight: bold;
  margin: 0;
  line-height: 1.5;
}

.license_archive_grid .license_card .card_body h3 a {
  color: #333;
}

.license_archive_grid .license_card .card_body h3 a:hover {
  color: #F5BEF7;
}

/* --- Blog List --- */
.blog_list_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.blog_list_grid .blog_card {
  flex: 0 0 calc(33.333% - 14px);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.blog_list_grid .blog_card .card_image {
  height: 180px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog_list_grid .blog_card .card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog_list_grid .blog_card .card_body {
  padding: 15px;
}

.blog_list_grid .blog_card .card_body time {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 5px;
}

.blog_list_grid .blog_card .card_body h3 {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  line-height: 1.5;
}

.blog_list_grid .blog_card .card_body h3 a {
  color: #333;
}

.blog_list_grid .blog_card .card_body h3 a:hover {
  color: #F5BEF7;
}

/* --- Placeholder Page --- */
.placeholder_content {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.placeholder_content h2 {
  font-size: 20px;
  color: #666;
  margin-bottom: 10px;
  border: none;
}

.placeholder_content p {
  font-size: 14px;
}

/* --- Lower Page Responsive --- */
@media screen and (max-width: 768px) {
  #page_header {
    padding: 40px 15px 30px;
  }

  #page_header h2.headline {
    font-size: 28px !important;
  }

  .post_col-2,
  .post_col-3 {
    flex: 0 0 100%;
  }

  #news_list li {
    flex-direction: column;
    gap: 10px;
  }

  #news_list li a.image {
    width: 100%;
    height: 200px;
  }

  .license_archive_grid .license_card,
  .blog_list_grid .blog_card {
    flex: 0 0 calc(50% - 10px);
  }

  #work_navigation {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .license_archive_grid .license_card,
  .blog_list_grid .blog_card {
    flex: 0 0 100%;
  }
}

/* --- Form Styles --- */
.form-wrap { max-width: 700px; margin: 0 auto; padding: 40px 20px 60px; }
.form-wrap .lead { margin: 0 0 30px; color: #666; font-size: 14px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 6px; font-size: 15px; }
.form-group label .required { color: #c00; font-size: 12px; margin-left: 6px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #ccc; border-radius: 6px;
  font-size: 15px; font-family: inherit; box-sizing: border-box;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #C43766; outline: none; }
.form-group textarea { height: 180px; resize: vertical; }
.form-submit { text-align: center; margin-top: 30px; }
.form-submit button {
  display: inline-block; padding: 14px 50px; background: #3B3B3B; color: #fff;
  border: none; border-radius: 6px; font-size: 16px; font-weight: bold;
  cursor: pointer; transition: opacity 0.2s; font-family: inherit;
}
.form-submit button:hover { opacity: 0.8; }
.form-note { text-align: center; margin-top: 16px; font-size: 13px; color: #888; }

.form-result { max-width: 700px; margin: 0 auto; padding: 60px 20px 80px; text-align: center; }
.form-result h3 { font-size: 24px; margin: 0 0 20px; }
.form-result p { font-size: 15px; line-height: 1.8; color: #555; margin: 0 0 12px; }
.form-result .back-link,
.form-errors .back-link {
  display: inline-block; margin-top: 30px; padding: 12px 40px; background: #3B3B3B;
  color: #fff; text-decoration: none; border-radius: 6px; font-size: 15px; transition: opacity 0.2s;
}
.form-result .back-link:hover,
.form-errors .back-link:hover { opacity: 0.8; }
.form-errors { max-width: 700px; margin: 0 auto; padding: 60px 20px 80px; }
.form-errors h3 { font-size: 24px; margin: 0 0 20px; color: #c00; }
.form-errors ul { margin: 0 0 20px; padding: 0 0 0 20px; }
.form-errors li { margin: 8px 0; color: #c00; font-size: 15px; }

@media screen and (max-width: 767px) {
  .form-wrap { padding: 30px 15px 40px; }
  .form-submit button { width: 100%; padding: 14px 20px; }
}
