@charset "UTF-8";
:root {
  --main-color: #e4e4e4;
  --font-color: #000;
  --accent-color-01: #f5ce7b;
  --accent-color-02: #eba100;
}

/*----------------------------------------------------------------------------******************************************************************************PC******************************************************************************----------------------------------------------------------------------------*/
@media screen and (min-width: 769px) {
  /*----------------------------------------------------------------------------
  ******************************************************************************
  Layout
  ******************************************************************************
  ----------------------------------------------------------------------------*/
  /* ==== Base === */
  .layout {
    max-width: 960px;
    margin: 0 auto;
  }
  /* ==== Backgraund === */
  #wrap {
    background: #fff;
    border-top: 3px solid var(--accent-color-02);
  }
  /* ==== Header === */
  #hd {
    height: 80px;
    position: relative;
    margin-top: 20px;
  }
  .hd_logo {
    position: absolute;
    top: 15px;
    left: 0px;
    line-height: 1em;
  }
  .hd_logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #222 !important;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
  }
  .hd_logo span {
    display: block;
    font-size: 0.65em;
  }
  /* ==== Navigation === */
  #nav ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  #nav ul:after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ddd;
  }
  #nav ul li {
    position: relative;
    width: calc((100% - 20px) / 2);
  }
  #nav ul li a {
    position: relative;
    display: grid;
    place-self: center;
    width: 100%;
    padding: 0.5em 0;
    background: #f9f9f9;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    letter-spacing: 0.05em;
    overflow: hidden;
    transition: All 0.5s ease;
  }
  #nav ul li a:hover {
    color: var(--accent-color-02);
  }
  #nav ul li.current {
    z-index: 10;
  }
  #nav ul li.current::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px 5px 0 0;
    z-index: -1;
    box-shadow: 0px -2px 12px 0px rgba(0, 0, 0, 0.0784313725);
  }
  #nav ul li.current a {
    background-color: var(--accent-color-02);
    color: #fff;
  }
  #menu {
    display: none;
  }
  /* ==== Content === */
  #con {
    position: relative;
    z-index: 10;
    padding-top: 20px;
    background: #fff;
  }
  #con_bg > #con {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  #sidenav {
    position: sticky;
    top: 20px;
    flex: 220 1 0;
    max-width: 220px;
    height: 100%;
    border: 1px solid var(--main-color);
  }
  #sidenav ul {
    padding: 0px;
  }
  #sidenav li a {
    width: 100%;
    box-sizing: border-box;
    height: auto;
    padding: 12px 5px 12px 23px;
    display: block;
    text-decoration: none;
    background: url(../images/common/sidenav_icon.png) no-repeat 8px 20px;
    font-size: 14px;
    color: #222333;
    border-bottom: dotted 1px #CCC;
  }
  #sidenav li:last-of-type a {
    border-bottom: none;
  }
  #main {
    flex: 720 1 0;
    max-width: 720px;
  }
  /* ol,ul */
  #main ol, #main ul {
    padding: 5px 0px 5px 25px;
  }
  #main ul {
    list-style-type: disc;
  }
  #main ol li, #main ul li {
    padding: 5px 0px;
  }
  /* table */
  #main table {
    margin: 10px 0px;
  }
  #main table th, #main table td {
    padding: 5px;
  }
  /* img */
  #main img {
    max-width: 100%;
  }
  #main a img {
    display: inline-block;
    transition-duration: 0.3s;
    transition-property: transform;
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  #main a img:hover, .shrink:focus, .shrink:active {
    transform: scale(0.9);
  }
  /* ==== Footer === */
  #ft {
    margin-top: 20px;
    padding-top: 35px;
    padding-bottom: 35px;
    color: #fff;
    text-align: center;
    background: var(--accent-color-02);
  }
  /*----------------------------------------------------------------------------
  ******************************************************************************
  Head
  ******************************************************************************
  ----------------------------------------------------------------------------*/
  #main h1 {
    color: #333;
    border-bottom: 4px double var(--main-color);
    border-top: 4px double var(--main-color);
    font-size: 34px;
    font-weight: normal;
    text-align: center;
    min-height: 80px;
    padding: 0.5em;
    line-height: 1.5;
  }
  #i_main h2#index {
    position: relative;
    margin-bottom: 30px;
    padding: 30px 0;
    color: #333;
    font-size: 16px;
    text-align: center;
    border: none;
    line-height: 1.5;
  }
  #i_main h2#index span {
    display: block;
    font-size: 24px;
    font-weight: 700;
  }
  #i_main h2#index::before {
    position: absolute;
    top: 0;
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #231816 25%, #d90c2b 25% 50%, #fab04d 50% 75%, #ffff01 75%);
  }
  #i_main h2#index::after {
    position: absolute;
    bottom: 0;
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #231816 25%, #d90c2b 25% 50%, #fab04d 50% 75%, #ffff01 75%);
  }
  #main h2, #i_main h2 {
    position: relative;
    margin: 1em 0;
    font-size: 1.4em;
    font-weight: normal;
    padding: 0.8em 0 0;
    color: var(--font-color);
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
  }
  #main h2::before, #i_main h2::before {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    inset: 1;
    content: "";
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, #231816 25%, #d90c2b 25% 50%, #fab04d 50% 75%, #ffff01 75%);
  }
  #sidenav h2 {
    color: var(--font-color);
    border: 1px solid var(--main-color);
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    background: var(--main-color);
    height: initial;
    min-height: -moz-max-content;
    min-height: max-content;
  }
  #i_main h3 {
    position: relative;
    margin: 0.8em 0;
    padding: 0.6em 0.8em 0.6em 1.6em;
    background: #ffff01;
    color: #000;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.4;
  }
  #i_main h3::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    content: "";
    display: block;
    width: 20px;
    height: 100%;
    background: linear-gradient(to right, #231816 25%, #d90c2b 25% 50%, #fab04d 50% 75%, #ffff01 75%);
  }
  #i_main h4, #main h3 {
    font-size: 1.2em;
    font-weight: normal;
    padding: 0em 0 0em 0.4em;
    border-left: 5px double var(--main-color);
    margin: 0.6em 0 0.4em 0;
  }
  h1.img, h2.img, h3.img, h4.img, h5.img, h6.img {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
  }
  /*----------------------------------------------------------------------------
  ******************************************************************************
  Original
  ******************************************************************************
  ----------------------------------------------------------------------------*/
  /* ==== Index === */
  #i_img img {
    width: 100%;
  }
  #i_img.slider {
    position: relative;
    overflow: hidden;
  }
  .slider-wrapper {
    position: relative;
  }
  .slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
  }
  .slide.active {
    opacity: 1;
    position: relative;
    z-index: 1;
  }
  .slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #fff;
    text-align: center;
    font-size: clamp(12px, 2.5vw, 28px);
    font-weight: bold;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    width: 90%;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
  }
  /*======================================
  画像4カラム
  ======================================*/
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 10px 0;
  }
  .gallery-item img {
    width: 100%;
    height: 250px;
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
    border-radius: 6px;
  }
  /*======================================
  理念セクション
  ======================================*/
  .philosophy-area {
    margin-top: 20px;
  }
  .philosophy-top-images {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
  }
  .philosophy-card {
    width: 50%;
    box-sizing: border-box;
  }
  .philosophy-card img {
    width: 100%;
    display: block;
  }
  .philosophy-bottom-image img {
    width: 100%;
    display: block;
  }
  /*======================================
  追加セクション
  ======================================*/
  .technology-section {
    margin-top: 40px;
  }
  .technology-flex {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .technology-text {
    width: 40%;
  }
  .technology-text h4 {
    margin-top: 0;
  }
  .technology-text p {
    line-height: 1.9;
    margin-bottom: 15px;
  }
  .technology-image {
    width: 60%;
  }
  .technology-image img {
    width: 100%;
    display: block;
  }
  .flow-section {
    margin-top: 50px;
  }
  .flow-title {
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
  }
  .flow-image img {
    width: 100%;
    display: block;
  }
  /*======================================
  最後に
  ======================================*/
  .last-message-box {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
  }
  .last-message-text {
    flex: 1;
  }
  .last-message-text p {
    line-height: 2;
  }
  .last-message-image {
    width: 320px;
  }
  .last-message-image img {
    width: 100%;
    display: block;
  }
  .access-box {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
  }
  .access-map-image,
  .access-google-map {
    width: 50%;
  }
  .access-map-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .access-google-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
  }
  .access-text {
    flex: 1;
    margin: 0;
    line-height: 1.8;
  }
  .profile-box {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .profile-box img {
    width: 240px;
    height: auto;
    border-radius: 6px;
  }
  .profile-box p {
    flex: 1;
    margin: 0;
    line-height: 1.8;
  }
  .main_container {
    display: flex;
    justify-content: space-between;
  }
  #i_main {
    width: 75%;
    max-width: 720px;
    margin-top: 20px;
  }
  #i_news {
    height: 300px;
    overflow: auto;
    border: none;
  }
  #i_news table td {
    vertical-align: top;
    font-size: 0.8em;
    padding: 10px;
  }
  #i_news table tr {
    border-bottom: 1px dotted #CCC;
  }
  #i_news table td.date {
    width: 125px;
    background: url(../images/common/news_icon.gif) 4px 14px no-repeat;
    padding-left: 20px;
  }
  #i_bnr {
    margin-top: 20px;
    width: 23%;
    max-width: 220px;
    /* ===== CTA ===== */
  }
  #i_bnr .cta-box {
    border: 2px solid #d90c2b;
    padding: 15px;
    text-align: center;
    background: #fff;
    border-radius: 6px;
    position: sticky;
    top: 50px;
  }
  #i_bnr .cta-box::after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 2px solid #ffff01;
    border-radius: 4px;
    z-index: -1;
  }
  #i_bnr .cta-title {
    font-weight: bold;
    margin-bottom: 8px;
  }
  #i_bnr .cta-sub {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
  }
  #i_bnr .cta-tel {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
  }
  #i_bnr .cta-tel span {
    font-size: 12px;
    margin-right: 5px;
    color: #666;
  }
  #i_bnr .cta-address {
    font-size: 12px;
    color: #333;
    margin-bottom: 15px;
  }
  #i_bnr .cta-btn:hover {
    filter: opacity(0.7);
  }
  #i_bnr li {
    float: left;
    margin-bottom: 4px;
    width: 100%;
  }
  #i_bnr li a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: var(--main-color);
    padding: 15px 0 15px 30px;
    border-bottom: 1px solid var(--main-color);
    background: url(../images/common/bnr_bg.png) 8px center no-repeat;
    transition: All 0.5s ease;
  }
  #i_bnr li a:hover {
    color: #fff;
    background: url(../images/common/bnr_bg_hover.png) 8px center no-repeat var(--main-color);
    border-radius: 6px;
  }
  .cta-btn {
    display: block;
    background: var(--accent-color-02);
    color: #fff !important;
    margin: auto;
    padding: 10px 17px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
    max-width: -moz-max-content;
    max-width: max-content;
  }
  /*======================================
  お問い合わせフォーム
  ======================================*/
  .contact-area {
    margin-top: 50px;
  }
  .contact-area .contact-text {
    margin: 15px 0 25px;
    line-height: 1.8;
  }
  .contact-area .contact-form {
    width: 100%;
  }
  .contact-area .contact-table {
    width: 100%;
    border-collapse: collapse;
  }
  .contact-area .contact-table th, .contact-area .contact-table td {
    border: 1px solid #ddd;
    padding: 15px;
    vertical-align: top;
    font-size: 0.9em;
  }
  .contact-area .contact-table th {
    width: 32%;
    background: #f7f7f7;
    text-align: left;
    font-weight: bold;
  }
  .contact-area .contact-table th span {
    display: inline-block;
    width: -moz-max-content;
    width: max-content;
    color: #fff;
    background: #c00;
    font-size: 11px;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 3px;
  }
  .contact-area .contact-table input, .contact-area .contact-table textarea {
    width: 100% !important;
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 0.9em;
  }
  .contact-area .contact-table textarea {
    resize: vertical;
  }
  .contact-area .contact-btn {
    text-align: center;
    margin-top: 30px;
  }
  .contact-area .contact-btn button {
    background: #222;
    color: #fff;
    border: none;
    padding: 15px 50px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
  }
  .contact-area .contact-btn button:hover {
    opacity: 0.8;
  }
  /*----pagetop----*/
  #page-top {
    position: fixed;
    bottom: 10px;
    right: 20px;
    font-size: 77%;
  }
  #page-top a {
    background: var(--accent-color-02);
    border: #fff 1px solid;
    text-decoration: none;
    color: #fff;
    width: 120px;
    padding: 20px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
  }
  #page-top a:hover {
    text-decoration: none;
  }
  /* ==== representative's career === */
  .name {
    display: block;
    text-align: right;
    font-weight: bold;
    margin-top: 10px;
  }
  .float_R {
    float: right;
    margin: 0 0 10px 20px;
    border-radius: 6px;
  }
}
/*----------------------------------------------------------------------------******************************************************************************スマートフォン******************************************************************************----------------------------------------------------------------------------*/
@media screen and (max-width: 769px) {
  /*----------------------------------------------------------------------------
  ******************************************************************************
  Layout
  ******************************************************************************
  ----------------------------------------------------------------------------*/
  /* ==== Base === */
  body {
    background: url(../images/body_bg.jpg);
    width: 99%;
    margin: 0 0.5%;
  }
  .layout {
    width: 100%;
    overflow: hidden;
  }
  /* ==== Backgraund === */
  #wrap {
    background: #fff;
    border-top: 3px solid var(--main-color);
  }
  /* ==== Header === */
  #hd {
    height: 100px;
    position: relative;
    background: url(../images/hd_bg.jpg) no-repeat;
  }
  .hd_logo {
    position: absolute;
    top: 30px;
    left: 20px;
    line-height: 1em;
  }
  .hd_logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #222 !important;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
  }
  .hd_logo span {
    display: block;
    font-size: 0.65em;
  }
  /* ==== Navigation === */
  #nav {
    position: fixed;
    top: 0px;
    right: -200px;
    height: 100%;
    z-index: 100;
    width: 200px;
    overflow-x: none;
    overflow-y: auto;
    font-size: 16px;
    background: var(--accent-color-02);
  }
  #nav ul {
    display: block;
    margin: 0 0 15px;
    padding: 0;
  }
  #nav ul li {
    display: block;
    margin: 0;
    line-height: 48px;
    border-bottom: 1px solid var(--font-color);
  }
  #nav ul li img {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 0;
  }
  #nav ul li:hover {
    border-top: none;
    line-height: 49px;
  }
  #nav ul li:hover > a {
    box-shadow: inset 0 0 15px 3px var(--main-color);
  }
  #nav ul ul li a {
    padding: 0 15px;
    display: block;
    text-decoration: none;
    color: var(--font-color);
  }
  #nav ul ul li ul {
    border-bottom: none;
    margin: 0;
  }
  #nav ul ul li ul li {
    line-height: 40px;
    font-size: 13px;
  }
  #nav ul ul li ul li:last-child {
    border-bottom: none;
  }
  #menu {
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
  }
  /* ==== Content === */
  #con {
    padding: 0 15px;
  }
  #sidenav {
    display: none;
  }
  #main {
    width: 100%;
  }
  /* ol,ul */
  #main ol, #main ul {
    padding: 5px 0px 5px 25px;
  }
  #main ul {
    list-style-type: disc;
  }
  #main ol li, #main ul li {
    padding: 5px 0px;
  }
  /* table */
  #main table {
    margin: 10px 0px;
  }
  #main table th, #main table td {
    padding: 5px;
  }
  /* img */
  #main img {
    max-width: 100%;
    display: block;
    margin: 5px auto;
    float: none;
  }
  #main a img {
    display: inline-block;
    transition-duration: 0.3s;
    transition-property: transform;
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  }
  #main a img:hover, .shrink:focus, .shrink:active {
    transform: scale(0.9);
  }
  /* ==== Footer === */
  #ft {
    margin-top: 0px;
    padding-top: 35px;
    padding-bottom: 35px;
    color: #fff;
    text-align: center;
    background: var(--accent-color-02);
  }
  /*----------------------------------------------------------------------------
  ******************************************************************************
  Head
  ******************************************************************************
  ----------------------------------------------------------------------------*/
  #main h1 {
    color: #333;
    border-bottom: 4px double var(--main-color);
    border-top: 4px double var(--main-color);
    font-size: 30px;
    font-weight: normal;
    text-align: center;
    min-height: 80px;
    padding: 0.5em;
  }
  #i_main h2#index {
    position: relative;
    margin-bottom: 30px;
    padding: 30px 0;
    border: none;
    font-size: 14px;
    text-align: center;
  }
  #i_main h2#index span {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.08em;
  }
  #i_main h2#index::before {
    position: absolute;
    top: 0;
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #ffff01 25%, #fab04d 25% 50%, #d90c2b 50% 75%, #231816 75%);
  }
  #i_main h2#index::after {
    position: absolute;
    bottom: 0;
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #ffff01 25%, #fab04d 25% 50%, #d90c2b 50% 75%, #231816 75%);
  }
  #main h2, #i_main h2 {
    position: relative;
    margin: 1em 0;
    font-size: 1.4em;
    font-weight: normal;
    padding: 0.8em 0 0;
    color: var(--font-color);
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
  }
  #main h2::before, #i_main h2::before {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    inset: 1;
    content: "";
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(to right, #ffff01 25%, #fab04d 25% 50%, #d90c2b 50% 75%, #231816 75%);
  }
  #sidenav h2 {
    color: var(--font-color);
    border: 1px solid var(--main-color);
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    background: var(--main-color);
    height: initial;
  }
  #i_main h3 {
    position: relative;
    margin-block: 0.8em 0.4em;
    padding: 0.6em 0.8em 0.6em 1.6em;
    background: #ffff01;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.4;
  }
  #i_main h3::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    content: "";
    display: block;
    width: 20px;
    height: 100%;
    background: linear-gradient(to right, #231816 25%, #d90c2b 25% 50%, #fab04d 50% 75%, #ffff01 75%);
  }
  #i_main h4, #main h3 {
    font-size: 1.2em;
    font-weight: normal;
    padding: 0em 0 0em 0.4em;
    border-left: 5px double var(--main-color);
    margin: 0.6em 0 0.4em 0;
  }
  h1.img, h2.img, h3.img, h4.img, h5.img, h6.img {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
  }
  /*----------------------------------------------------------------------------
  ******************************************************************************
  Original
  ******************************************************************************
  ----------------------------------------------------------------------------*/
  /* ==== Index === */
  #i_img img {
    width: 100%;
  }
  #i_img.slider {
    position: relative;
  }
  .slider-wrapper {
    position: relative;
    height: 150px;
  }
  .slide {
    width: 100%;
    height: 150px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
  }
  .slide.active {
    height: 150px;
    opacity: 1;
    position: relative;
    z-index: 1;
  }
  .slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #fff;
    text-align: center;
    font-size: clamp(13px, 2.5vw, 28px);
    padding: 0 10px;
    font-weight: bold;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    width: 90%;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 10px 0;
  }
}
@media screen and (max-width: 769px) and (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 769px) {
  .gallery-item {
    width: 100%;
  }
  .gallery-item img {
    width: 100%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    border-radius: 6px;
  }
}
@media screen and (max-width: 769px) {
  /*======================================
  理念セクション
  ======================================*/
  .philosophy-top-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
  }
  .philosophy-card {
    width: 100%;
    box-sizing: border-box;
  }
  .philosophy-card img {
    width: 100%;
    display: block;
  }
  .philosophy-bottom-image img {
    width: 100%;
    display: block;
  }
  .technology-section {
    margin-top: 30px;
  }
  .technology-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .technology-text {
    width: 100%;
  }
  .technology-text h4 {
    margin-top: 0;
  }
  .technology-text p {
    line-height: 1.8;
    margin-bottom: 15px;
  }
  .technology-image {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }
  .technology-image img {
    width: 100%;
    display: block;
  }
  .flow-section {
    margin-top: 40px;
  }
  .flow-title {
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
  }
  .flow-image img {
    width: 100%;
    display: block;
  }
  /*======================================
  最後に（スマホ）
  ======================================*/
  .last-message-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .last-message-image {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }
  .last-message-image img {
    width: 100%;
    display: block;
  }
  .access-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  .access-map-image,
  .access-google-map {
    width: 100%;
  }
  .access-map-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .access-google-map iframe {
    width: 100%;
    min-height: 300px;
  }
  .access-text {
    margin-top: 20px;
    line-height: 1.8;
  }
  .profile-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }
  .profile-box img {
    width: 240px;
    height: auto;
    border-radius: 6px;
    margin: 0 auto;
  }
  .profile-box p {
    flex: 1;
    margin: 0;
    line-height: 1.8;
  }
  #i_main {
    width: 100%;
    margin-top: 20px;
  }
  #i_news {
    height: 300px;
    overflow: auto;
    border: none;
  }
  #i_news table td {
    vertical-align: top;
    font-size: 0.9em;
    padding: 10px;
    display: block;
  }
  #i_news table tr {
    border-bottom: 1px dotted #CCC;
  }
  #i_news table td.date {
    background: url(../images/common/news_icon.gif) 4px 14px no-repeat;
    padding-left: 20px;
  }
  #i_bnr {
    margin-top: 20px;
    width: 100%;
    /* ===== CTA ===== */
  }
  #i_bnr .cta-box {
    position: relative;
    border: 2px solid #d90c2b;
    padding: 15px;
    text-align: center;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 30px;
  }
  #i_bnr .cta-box::after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 2px solid #ffff01;
    border-radius: 4px;
  }
  #i_bnr .cta-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
  }
  #i_bnr .cta-sub {
    font-size: 12px;
    color: #333;
    margin-bottom: 10px;
  }
  #i_bnr .cta-tel {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
  }
  #i_bnr .cta-tel span {
    font-size: 12px;
    margin-right: 5px;
    color: #666;
  }
  #i_bnr .cta-address {
    font-size: 12px;
    color: #333;
    margin-bottom: 15px;
  }
  #i_bnr .cta-btn {
    display: block;
    background: var(--accent-color-02);
    color: #fff !important;
    margin: auto;
    padding: 10px 17px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
    max-width: -moz-max-content;
    max-width: max-content;
  }
  #i_bnr li {
    width: 100%;
    margin-bottom: 4px;
  }
  #i_bnr li a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: var(--main-color);
    padding: 15px 0 15px 30px;
    border: 1px solid var(--main-color);
    border-radius: 0px;
    background: url(../images/common/bnr_bg.png) 8px center no-repeat;
    transition: All 0.5s ease;
  }
  #i_bnr li a:hover {
    color: #fff;
    background: url(../images/common/bnr_bg_hover.png) 8px center no-repeat var(--main-color);
  }
  /*======================================
  お問い合わせフォーム
  ======================================*/
  .contact-area {
    margin-top: 50px;
  }
  .contact-area .contact-text {
    margin: 15px 0 25px;
    line-height: 1.8;
  }
  .contact-area .contact-form {
    width: 100%;
  }
  .contact-area .contact-table {
    width: 100%;
    border-collapse: collapse;
  }
  .contact-area .contact-table th, .contact-area .contact-table td {
    border: 1px solid #ddd;
    padding: 15px;
    vertical-align: top;
    font-size: 0.9em;
  }
  .contact-area .contact-table th {
    min-width: 120px;
    background: #f7f7f7;
    font-size: 14px;
    text-align: left;
    font-weight: bold;
  }
  .contact-area .contact-table th span {
    display: inline-block;
    width: -moz-max-content;
    width: max-content;
    color: #fff;
    background: #c00;
    font-size: 11px;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 3px;
  }
  .contact-area .contact-table input, .contact-area .contact-table textarea {
    width: 100% !important;
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 0.9em;
  }
  .contact-area .contact-table textarea {
    resize: vertical;
  }
}
@media screen and (max-width: 769px) and (max-width: 520px) {
  .contact-area .contact-table {
    border-bottom: 1px solid #ddd;
  }
  .contact-area .contact-table th, .contact-area .contact-table td {
    display: block;
    width: 100% !important;
    border-bottom: none;
  }
}
@media screen and (max-width: 769px) {
  .contact-area .contact-btn {
    text-align: center;
    margin: 30px 0;
  }
  .contact-area .contact-btn button {
    background: #222;
    color: #fff;
    border: none;
    padding: 15px 50px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
  }
  .contact-area .contact-btn button:hover {
    opacity: 0.8;
  }
}
@media screen and (max-width: 769px) {
  /*----pagetop----*/
  #page-top {
    width: 100%;
  }
  #page-top a {
    background: #666;
    border: none;
    text-decoration: none;
    color: #fff;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    display: block;
  }
  #page-top a:hover {
    text-decoration: none;
  }
  /* ==== representative's career === */
  .name {
    display: block;
    text-align: right;
    font-weight: bold;
    margin-top: 10px;
  }
  .float_R {
    float: right;
    margin: 0 0 10px 20px;
    border-radius: 6px;
  }
}/*# sourceMappingURL=style.css.map */