@charset "UTF-8";
#message .inner:first-child {
  text-align: right; }
#message .inner h3 {
  font-size: 1.8rem;
  margin: 0;
  line-height: 1.2;
  color: #1e50a2; }
#message .inner h4 {
  margin-top: 0;
  line-height: 1.4;
  font-weight: 400;
  border-bottom: 1px solid #666;
  padding: 5px 0 15px 0;
  font-size: 1rem; }
#message .inner p {
  line-height: 1.5; }

#profile .profile-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5em;
  border-left: 5px solid #333;
  padding-left: 12px; }
#profile .profile-list div {
  padding: 14px 0;
  border-bottom: 1px solid #ddd; }
#profile dt {
  font-weight: 600;
  margin-bottom: 4px;
  color: #333; }
#profile dd {
  color: #444;
  line-height: 1.8; }

/* 外枠のスタイル（そのまま活かす） */
@media screen and (min-width: 768px) {
  #profile {
    display: flex;
    gap: 3%; }
    #profile .innerleft {
      width: 49%; }
    #profile .innerright {
      width: 49%; } }
#profile .innerleft,
#profile .innerright {
  border: 1px solid #777;
  padding: 20px;
  margin-bottom: 2%; }

#kodawari {
  /* ----- スマホ対応 ----- */ }
  #kodawari .profile-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px; }
  #kodawari .profile-block {
    border: 1px solid #ccc;
    padding: 24px;
    background: #fff; }
  #kodawari .block-title {
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 20px 0;
    /* ← 正しく修正 */
    padding-left: 10px;
    border-left: 6px solid; }
  #kodawari .color-a {
    border-color: #4b9cd3; }
  #kodawari .color-b {
    border-color: #d38b4b; }
  #kodawari .color-c {
    border-color: #7aa859; }
  #kodawari .color-d {
    border-color: #a57bd3; }
  #kodawari .color-e {
    border-color: #b22222; }
  #kodawari .color-f {
    border-color: #808080; }
  #kodawari .block-content {
    display: flex;
    gap: 20px; }
  #kodawari .block-img {
    max-width: 180px;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0; }
  #kodawari .block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; }
  #kodawari .block-text ul {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8; }
  @media (max-width: 768px) {
    #kodawari .profile-blocks {
      grid-template-columns: 1fr;
      gap: 30px; }
    #kodawari .block-content {
      display: block; }
    #kodawari .block-img {
      width: 100%;
      max-width: none;
      height: auto;
      /* ← 自動伸縮 */
      margin-bottom: 12px; }
    #kodawari .block-img img {
      width: 100%;
      /* ← 85% → 100% に変更 */
      height: auto;
      /* ← 画像比率維持 */
      object-fit: cover; } }

@media screen and (min-width: 768px) {
  .messagewrap {
    display: flex;
    gap: 3%; } }
@media screen and (max-width: 768px) {
  #mainimg img {
    height: 100vh;
    object-fit: cover; } }
.valuation-steps-wrapper {
  background-color: #f9f9f9;
  padding: 60px 0; }

.valuation-steps {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px; }
  .valuation-steps h2 {
    text-align: center;
    margin-bottom: 40px; }
  .valuation-steps .step {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    align-items: center; }
    .valuation-steps .step .step-number {
      min-width: 110px;
      height: 110px;
      background-color: #005bac;
      color: #fff;
      font-weight: bold;
      font-size: 1.2rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0; }
    .valuation-steps .step .step-content h3 {
      margin: 0;
      font-size: 1.7rem;
      color: #333; }
    .valuation-steps .step .step-content p {
      margin: 0;
      color: #666;
      font-size: 1.1rem;
      line-height: 1.6; }
  @media screen and (max-width: 768px) {
    .valuation-steps .step {
      flex-direction: column; }
      .valuation-steps .step .step-number {
        margin-bottom: 10px; } }

#about {
  padding: 100px 20px; }
  #about h3 {
    font-size: 1.6rem;
    text-align: center;
    font-weight: 400;
    color: #3B5CAE; }
  #about p {
    margin: 0 auto 40px;
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
    text-align: center; }
  #about .intro-message {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 60px; }
    #about .intro-message h2 {
      font-size: 1.6rem;
      margin-bottom: 15px;
      color: #222; }
  #about .appraisal-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto; }
  #about .appraisal-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease; }
    #about .appraisal-item:hover {
      transform: translateY(-4px); }
    #about .appraisal-item img {
      max-width: 100%;
      height: auto;
      border-radius: 6px;
      margin-bottom: 15px; }
    #about .appraisal-item h3 {
      font-size: 1.2rem;
      margin-bottom: 20px;
      color: #333;
      position: relative;
      display: inline-block; }
      #about .appraisal-item h3:after {
        content: "";
        display: block;
        width: 60px;
        height: 1px;
        background-color: #444;
        margin: 8px auto 0; }
    #about .appraisal-item p {
      font-size: 0.95rem;
      color: #666;
      line-height: 1.6; }
  @media screen and (max-width: 480px) {
    #about .c .fade-in-text {
      font-size: 1.4rem; }
    #about .intro-message h2 {
      font-size: 1.3rem; }
    #about .intro-message p {
      font-size: 0.95rem; } }

/*問い合わせフォーム*/
.contactform {
  max-width: 1000px;
  margin: 0 auto 100px auto;
  padding: 32px;
  background: #fff;
  border: 1px solid #d7d7d7;
  /* ラジオ（縦） */
  /* その他テキストが付くラベル用 */
  /* reCAPTCHA の下に余白 */ }
  .contactform .form-error {
    background: #fff7f7;
    border-left: 4px solid #d9534f;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #333; }
  @media (max-width: 767px) {
    .contactform .form-error {
      padding: 10px 14px;
      font-size: 13px; } }
  .contactform .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px; }
    .contactform .radio-group label {
      display: flex;
      align-items: center;
      cursor: pointer;
      margin: 0; }
      .contactform .radio-group label input[type="radio"] {
        margin-right: 6px; }
  .contactform h3 {
    margin-top: 40px;
    font-size: 18px;
    border-left: 4px solid #1d3d74;
    padding-left: 8px;
    color: #1d3d74;
    font-weight: 600; }
  .contactform p {
    margin: 16px 0; }
    .contactform p .requid {
      color: #E60003;
      padding-left: 5px;
      font-size: 12px; }
  .contactform input[type="text"],
  .contactform input[type="email"],
  .contactform textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s; }
    .contactform input[type="text"]:focus,
    .contactform input[type="email"]:focus,
    .contactform textarea:focus {
      border-color: #1d3d74; }
  .contactform textarea {
    min-height: 140px;
    resize: vertical; }
  .contactform label {
    display: block;
    margin: 6px 0;
    font-size: 15px;
    cursor: pointer; }
    .contactform label input[type="radio"] {
      margin-right: 6px; }
  .contactform .has-other {
    display: flex;
    align-items: center;
    gap: 8px; }
    .contactform .has-other input[type="text"] {
      width: auto;
      flex: 1; }
  .contactform button[type="submit"] {
    display: inline-block;
    padding: 12px 40px;
    background: #1d3d74;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 24px;
    transition: background .2s; }
    .contactform button[type="submit"]:hover {
      background: #152b54; }
  .contactform .g-recaptcha {
    margin-top: 20px; }
  .contactform h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #1d3d74;
    font-weight: 600;
    text-align: left; }
  .contactform .note {
    margin-bottom: 32px;
    color: #555;
    line-height: 1.6; }
  .contactform .confirm-list > div {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0; }
    .contactform .confirm-list > div span {
      width: 180px;
      font-weight: 600;
      color: #1d3d74; }
    .contactform .confirm-list > div p {
      margin: 0;
      flex: 1;
      line-height: 1.6; }
  .contactform .form-buttons {
    margin-top: 32px;
    display: flex;
    gap: 16px; }
    .contactform .form-buttons button {
      padding: 12px 36px;
      font-size: 15px;
      cursor: pointer;
      border-radius: 2px; }
    .contactform .form-buttons button[type="submit"] {
      background: #1d3d74;
      color: #fff;
      border: none; }
      .contactform .form-buttons button[type="submit"]:hover {
        background: #152b54; }
    .contactform .form-buttons button[type="button"] {
      background: #ddd;
      border: none;
      color: #333; }
      .contactform .form-buttons button[type="button"]:hover {
        background: #ccc; }
  .contactform .form-buttons {
    margin-top: 32px;
    display: flex;
    justify-content: center; }
  .contactform .form-buttons button {
    padding: 12px 36px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 2px;
    border: none;
    background: #1d3d74;
    color: #fff;
    transition: background .2s; }
    .contactform .form-buttons button:hover {
      background: #152b54; }

.cyosaku a {
  color: #fff !important;
  text-align: center !important;
  margin: 0 !important;
  font-size: 9px !important; }

#newsWrap ul li {
  list-style: none; }
