@charset "UTF-8";
@import url("layout.css");
@import url("blog.css");

/*
Theme Name: 株式会社大宮保険事務所 Version01
Description: 株式会社大宮保険事務所 公式ホームページ
Author: MIA RESORT
*/
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
/*box-sizingを全ブラウザに対応*/
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
html { font-size: 62.5%; }
body {
    /*font-family: 'Noto Sans JP', sans-serif;*/
    font-family: "Noto Sans JP", sans-serif;
	font-size: clamp(1.5rem, 1.475rem + 0.078vw, 1.6rem);
	line-height: 1.7;
    color: #333;
    margin: 0px;
}
#s_navi {
    display: none;
}
.top-sp-img {
    display: none;
}
/*===========================
  カスタムプロパティ(変数)
==========================*/
:root {
    --primary-color: #2C4A3E;
    --sub-color: #E7B53E;
    --accent-color: #416959;
}
/*===========================
  headerナビゲーション
==========================*/
.header-logo {
    display: flex;
    margin: 0px 60px;
}
hgroup {
    margin-right: auto;
}
hgroup h1 img {
    width: clamp(18rem, 15rem + 9.375vw, 30rem);
    height: auto;
    padding: 10px;
}
.header-con ul {
    display: flex;
}
.header-con ul li a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #FFF;
    font-size: clamp(1.5rem, 1.45rem + 0.156vw, 1.7rem);
    font-weight: 300;
    width: 180px;
    padding: 30px 15px;
}
.sns-color {
    background: linear-gradient(111.12deg, #EC8132 22.36%, #E7346B 85.57%);
}
.contact-color {
    background-color: var(--accent-color);
}
.header-con ul li.sns-color:hover a {
    background: linear-gradient(111.12deg, #E7346B 22.36%, #EC8132 85.57%);
}
.header-con ul li.contact-color:hover a {
  background: #5B947D;
}
.page-header {
    background-color: var(--primary-color);
    padding: 20px 30px;
    border-bottom: 5px solid var(--sub-color);
}
nav {
    margin-right: 20px;
}
.main-nav {
    display: flex;
    justify-content: center;
    gap: 0px 60px;
    vertical-align: middle;
    white-space: nowrap;
}
.main-nav li {
    letter-spacing: 0.1rem;
    font-size: clamp(1.4rem, 1.35rem + 0.156vw, 1.6rem);
    line-height: 1;
    font-weight: 300;
}
.main-nav li a {
    text-decoration: none;
    color: #FFF;
    transition: all 0.8s;
}
.main-nav li a:hover {
	color: var(--sub-color);
}
/*===========================
  headerイメージ
==========================*/
/* TOPコピー */
.top-pc-img h2 img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
.top-copy {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
}
.top-copy img {
    width: clamp(35rem, 26.25rem + 27.344vw, 70rem);
}
.top-copy-img {
    position: relative;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
}
/*===========================
  TOPページ PC
==========================*/
/* トップAbout */
.top-about {
    background-color: #BADACD;
    margin: 100px 60px 0px;
}
.top-about-wrap {
    width: min(94%, 1400px);
    margin: auto;
    display: flex;
    gap: 80px;
    padding: 80px 0px;
}
.top-about-wrap > div {
    width: 50%;
}
.top-about-left p {
    font-size: clamp(1.5rem, 1.47rem + 0.093vw, 1.6rem);
    line-height: 2;
    margin-top: 10px;
}
.top-about-right {
    text-align: center;
}
.top-about-right h3 {
    font-size: clamp(2rem, 1.556rem + 1.389vw, 3.5rem);
    color: var(--primary-color);
    line-height: 1.5;
}
.top-about-right img {
    width: clamp(17rem, 13.148rem + 12.037vw, 30rem);
    margin-top: 20px;
}
.top-office {
    position: relative;
    top: -50px;
    text-align: center;
    padding: 0px 80px;
}
.top-office img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}
/* 保険をお探しの方へ */
.top-hoken {
    width: min(94%, 1400px);
    margin: min(15%, 180px) auto 0px;
    display: flex;
    gap: 60px;
}
.top-hoken > div {
    width: 50%;
}
.okinawa-img {
    margin-top: min(15%, 180px);
}
.okinawa-img img {
    width: 100%;
    height: auto;
}
/* よくある質問 */
.top-qa-wrap {
    background-image: url(images/top-qa-haikei.svg);
    background-repeat: no-repeat;
    background-position: 0px -70px;
    background-size: 60%;
    padding-bottom: 10%;
}
.top-qa-box {
    width: min(94%, 1400px);
    display: flex;
    margin: auto;
    padding: min(10%, 180px) 0px 0px;
}
.qa-box-left {
    width: 65%;
}
/* お知らせ ニュース */
.top-news {
    width: min(94%, 1400px);
    margin: 80px auto 0px;
    display: flex;
    gap: 40px;
}
.news-left {
    width: 40%;
}
.news-right {
    width: min(94%, 1000px);
    display: flex;
    margin-left: auto;
}
.news-right ul {
    width: 100%;
}
.news-right ul li {
    padding-bottom: 20px;
    border-bottom: 1px solid #D2D2D2;
    padding: 0px 0px 0px;
}
.news-right ul li a {
    display: block;
    text-decoration: none;
    color: var(--primary-color);
    transition: 0.4s ease;
    padding: 30px 0px;
}
.news-right ul li span {
    color: var(--sub-color);
    margin-right: 40px;
    padding-left: 10px;
}
.news-right ul li a:hover {
    color: var(--accent-color);
    background-color: #DDF1E9;
}
/*===========================
  下層ページ PC
==========================*/
/* 下層ページ共通 */
.sub-pc-img img {
    width: 100%;
    height: auto;
}
.sub-con {
    width: min(94%, 1400px);
    margin: min(10%, 120px) auto 0px;
}
/* 個人のお客様 */
.riyu-box {
    background-color: #BADACD;
    padding: 30px 20px;
}
.riyu-box h4 {
    font-size: clamp(2rem, 1.852rem + 0.463vw, 2.5rem);
    color: var(--accent-color);
    font-weight: 500;
    padding-bottom: 15px;
}
.riyu-box p {
    font-size: clamp(1.5rem, 1.441rem + 0.185vw, 1.7rem);
    margin-bottom: 10px;
}
.hoken-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 25px;
    margin-top: 30px;
}
.hoken-box h4 {
    background-color: #BADACD;
    font-size: clamp(1.4rem, 1.311rem + 0.278vw, 1.7rem);
    text-align: center;
    padding: 5px;
    color: var(--primary-color);
    font-weight: 400;
}
.hoken-box p {
    font-size: clamp(1.4rem, 1.341rem + 0.185vw, 1.6rem);
    padding: 5px;
}
.kojin-hoken {
    background-color: #DDF5EB;
    margin: min(10%, 120px) calc(50% - 50vw) 0px;
    width: 100vw;
    padding: 40px 10px;
    text-align: center;
}
.img-logo-size {
    width: min(80%, 500px);
    display: block;
    margin: 20px auto;
}
.hoken-itiran {
    width: min(94%, 1400px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 25px;
    margin: 60px auto 0px;
}
.flow-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px 40px;
    background-color: #DDF5EB;
    padding: 40px;
    margin: 40px 0px;
}
.flow-box {
    width: min(100%, 800px);
}
.step-waku {
    background: linear-gradient(to bottom, #598F79, #80CFAF);
    display: inline-block;
    color: #FFF;
    padding: 7px 30px;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
}
.flow-box h4 {
    color: var(--primary-color);
    font-size: clamp(2rem, 1.852rem + 0.463vw, 2.5rem);
    padding: 10px 0px;
}
.flow-wrap img {
    width: min(100%, 400px);
}
/* 法人のお客様 */
.star-img {
    position: relative;
    top: 10px;
    left: 5px;
    width: 120px;
}
.reason-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px 60px;
    margin-top: 60px;
}
.reason-wrap img {
    width: min(100%, 400px);
}
.reason-text {
    font-size: clamp(1.6rem, 1.541rem + 0.185vw, 1.8rem);
    color: var(--accent-color);
}
/* 会社概要 */
.rinen-warap {
    background-color: #ECF3F0;
    background-image: url(images/logo-tate.svg);
    background-repeat: none;
    background-position: bottom 30px right 30px;
    background-size: 300px;
    padding: 50px 80px;
}
.rinen-img01 {
    width: min(90%, 700px);
    margin: auto;
}
.rinen-img02 {
    width: min(90%, 600px);
    padding: 50px 0px;
}
/* 勧誘方針 */
.kanyuu01 {
    width: min(100%, 1000px);
    margin: auto;
    background-color: #ECF3F0;
    padding: 25px 20px;
    color: var(--primary-color);
    font-size: clamp(1.5rem, 1.475rem + 0.078vw, 1.6rem);
    line-height: 1.7;
}
.kanyuu02 {
    width: min(100%, 1000px);
    margin: 15px auto;
    background-color: #D4EDE3;
    padding: 25px 20px;
    color: var(--primary-color);
    font-size: clamp(1.5rem, 1.475rem + 0.078vw, 1.6rem);
    line-height: 1.7;
}
/* お問合せ */
.toiawase-tel {
    font-size: clamp(2rem, 1.407rem + 1.852vw, 4rem);
    color: var(--accent-color);
    font-weight: 700;
}
.tel-wrap {
    border: 1px solid var(--accent-color);
    width: min(96%, 800px);
    margin: 20px auto;
    padding: 15px;
    border-radius: 15px;
}
/*===========================
  footer コンタクト
==========================*/
.foot-contact {
    text-align: center;
    margin: 15% 0px 40px;
}
/*===========================
  footer
==========================*/
footer {
    padding: 0px;
    color: #333;
    margin-top: 5%;
}
.foot-link {
    background: var(--primary-color);
    padding: 10px 10px;
}
.foot-link ul {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.foot-link ul li a {
    color: #FFF;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.8s;
}
.foot-link ul li a:hover {
    color: var(--sub-color);
}
.foot-con {
    width: min(94%, 1200px);
    margin: 20px auto;
    display: flex;
    align-items: center;
}
.foot-con img {
    width: 160px;
    height: auto;
}
.foot-address {
    margin-right: auto;
    margin-left: 30px;
    margin-top: auto;
}
.foot-copy {
    margin-top: auto;
}
footer small {
    padding: 2px 0px 0px;
    display: block;
    color: #555;
}
footer small a {
    color: #b9c4b5;
    text-decoration: none;
}
/*===========================
メールフォームのスタイル
==========================*/
input,textarea,select {
    /* ress.min.cssでリセットされているのでここで命令 */
    background-color: #f8f8f8;
    border: 1px solid #e2e2e2;
}
.wpcf7 input[type="submit"] {
    font-size: 1.8rem;
    padding: 0.2em 0.4em;
    background: #eee;
    color: #555;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 1px rgba(0,0,0,.2);
    border: 1px solid #ccc;
    text-shadow: -1px 1px 0 rgba(255,255,255,1);
}
.wpcf7 input[type="submit"]:hover {
    box-shadow: 0 0 1px rgba(0,0,0,.2) inset;
}
span.wpcf7-list-item {/*チェックボックス改行*/
display: block!important;
}
#form {
    width: min(94%, 1200px);
    margin: 15px auto 15px;
    background-color: #FFF;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}
#form dt {
    font-size: 1.5rem;
    color: #333;
    padding: 10px 10px;
    background-color: #c6e8d3;
}
#form dd {
    font-size: 1.5rem;
    background-color: #FFF;
    padding: 15px 0px 20px 0px;
    max-width: 100%;
}
#form dd p{
    line-height: 170%;
}
.hiss {
    font-size: 1.2rem;
    background-color: #ff677d;
    padding: 2px 5px;
    color: #FFF;
    margin-left: 15px;
}
.mail_box {
    margin: 5px 0px;
    font-size: 1.5rem;
}
.form-width {/* class:form-widthをcontact-form7へ テキストエリアの幅*/
    max-width: 100%;
}
#form p {
    padding: 0px 10px 10px;
}
/*===========================
  ブログページ
==========================*/

/* 記事一覧 */

/*/ _// _// _// _// _// _// _// _// _// _// _/
メディアクエリによる切り替え
/ _// _// _// _// _// _// _// _// _// _// _// _*/
@media only screen and (max-width: 1250px) {
.main-nav {
    gap: 0px 40px;
}
}
@media only screen and (max-width: 1024px) { /* 1024pxとそれ以下 */
/* topイメージ */
.top-header {
    display: none;
}
.top-pc-img {
    display: none;
}
.top-sp-img {
    display: block;
}
/* 下層ページ共通 */

/*===========================
  TOPページ スマホ
==========================*/
/* トップAbout */
.top-about {
    background-color: #BADACD;
    margin: 0px auto 0px;
}
.top-about-wrap {
    width: min(94%, 1400px);
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 60px 20px;
}
.top-about-wrap > div {
    width: 100%;
}
.top-office {
    position: relative;
    top: -30px;
    text-align: center;
    padding: 0px 10px;
}
.top-office img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}
/* 保険をお探しの方へスマホ */
.top-hoken {
    width: 92%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.top-hoken > div {
    width: 100%;
}
/* よくある質問スマホ */
.top-qa-wrap {
    background-position: 0px -30px;
    background-size: 90%;
    padding-bottom: 10%;
}
.top-qa-box {
    display: flex;
    flex-direction: column;
    flex-direction: column-reverse;
    margin: auto;
    padding: min(10%, 180px) 0px 0px;
}
.qa-box-left {
    width: 100%;
    margin-top: 15px;
}
/* お知らせスマホ */
.top-news {
    margin: 60px auto 0px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.news-left {
    width: 100%;
}
.news-right {
    width: 100%;
    display: flex;
    margin-left: auto;
}
/*===========================
  下層ページ スマホ　
==========================*/
/* 下層ページ共通 */
.hoken-wrap{
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 10px;
}
.hoken-itiran {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 25px;
    margin: 60px auto 0px;
}
/* 個人のお客様スマホ */
.flow-wrap {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 30px 40px;
    background-color: #DDF5EB;
    padding: 30px;
    margin: 40px 0px;
}
.flow-wrap img {
    width: 100%;
}
/* 法人のお客様 */
.reason-wrap {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px 40px;
    margin-top: 40px;
}
.reason-wrap img {
    width: min(100%, 400px);
}
/* 会社概要 */
.rinen-warap {
    background-position: bottom 10px right 10px;
    background-size: 80px;
    padding: 30px 20px;
}
.rinen-img02 {
    width: 80%;
    padding: 30px 0px;
}
/*===========================
  footer コンタクト スマホ
==========================*/

/*===========================
  footer スマホ
==========================*/
.foot-link ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 30px;
    text-align: center;
    padding: 20px 10px;
}
.foot-link ul li a {
    width: 50%;
}
.foot-con {
    width: min(94%, 1200px);
    margin: 20px auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.foot-address {
    margin: 20px auto;
}
/*===========================
  トップスライドインナビゲーション
==========================*/
.menu-trigger,
.menu-trigger span{
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    cursor: pointer;
    align-items: flex-start;
}
.menu-trigger {
    position: relative;
    width: 85px;
    height: 70px;
    background: var(--primary-color);
    z-index: 35;
    float: right;
}
.menu-trigger span {
    position: absolute;
    background: #FFF;
    width: 30px;
    height: 2px;
    left: 0;
    right: 0;
    margin: auto;
}
.menu-trigger span:nth-of-type(1){
    top: 25px;
}
.menu-trigger span:nth-of-type(2){
    top: 0;
    bottom: 0;
}
.menu-trigger span:nth-of-type(3){
    bottom: 25px;
}
.menu-trigger span:nth-of-type(4){
    color: #FFF;
    font-size: 1rem;
    bottom: 22px;
    min-width: 60px;
    background: none;
    text-align: center;
}
.menu-trigger.active span:nth-of-type(1){
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2){
    opacity: 0;
}
.menu-trigger.active span:nth-of-type(3){
    -webkit-transform: translateY(-9px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
}
.menu-trigger.active span:nth-of-type(4){
    opacity: 0;
}
.g-nav {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100vh; /* 高さを画面全体に調整 */
    overflow-y: auto; /* 縦スクロールを許可 */
    z-index: 25;
    padding-top: 10px;
}
.tate-scroll {/* 縦スクロールをできるように */
    overflow-y: auto; /* スクロール可能にする */
    -webkit-overflow-scrolling: touch; /* 慣性スクロールを有効に */
}
.g-nav .list .item a{
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    padding: 5px 0;
    width: 100%; /* 幅を100%に設定 */
}
.list {
	margin-top: 50px;
    width: 100%; /* 幅を100%に設定 */
}
.list li {
	width: 90%;
	margin: 5px auto;
	border-bottom: 1px solid #D5D5D5;
	font-size: 1.5rem;
    padding: 10px 0px;
    text-align: center;
}
.list li:nth-of-type(n+2) {/*ボーダー重ならないように*/
    border-left: none;
    border-top: none;
}
#s_navi:after {
	content: "";
	display: block;
	clear: both;
}
#s_navi {
    display: block;
    position: static;
    top: 0px;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    top: 0;
}
.sp-head {
    display: flex;
    align-items: center;
}
.sp-logo {
    z-index: 50;
    width: 210px;
    height: auto;
    padding: 10px 0px 5px 3%;
}
.sp-head p {
    font-size: clamp(1.3rem, 1.235rem + 0.203vw, 1.6rem);
}
/* メニュー内SNS */
.header-con-sp {
    margin-top: 50px;
}
.header-con-sp ul {
    display: flex;
}
.header-con-sp li {
    width: 100%;
}
.header-con-sp ul li a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #FFF;
    font-size: 1.6rem;
    font-weight: 300;
    padding: 30px 15px;
}
/*===========================
メールフォームのスタイル
==========================*/
#form {
    padding: 30px 15px;
}
.form-width {/* class:form-widthをcontact-form7へ テキストエリアの幅*/
    max-width: 100%;
}
textarea,input {
    max-width: 100%;
}
.w-700 {
    width: auto;
    margin: auto;
}
}

@media only screen and (max-width: 767px) {

}
