@charset "utf-8";

/*------------------------------------------------------------------------------

  TIS - Tsuge Insurance Service

------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------

  common

------------------------------------------------------------------------------*/
html,
body {
  color: #333;
}

html {
  min-height: 100%;
  position: relative;
  box-sizing: border-box;
  padding-bottom: 240px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.container {
  margin: 0 auto;
}

@media (min-width: 1280px) {
  html {
    padding-bottom: 0;
  }
}


/* ---- link ---------------------------------------- */
a {
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.5;
}

html {
  scroll-behavior: smooth;
}

/* ---- web font-setting ---------------------------------------- */
/* font */
.zen500 {
  font-family: 'Zen Antique Soft', 'Zen Maru Gothic', serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/*------------------------------------------------------------------------------

  header

------------------------------------------------------------------------------*/
header {
  position: relative;
  max-width: 1280px;
  height: 96px;
  margin: 0 auto;
}

header h1 {
  position: absolute;
  top: 16px;
  left: 16px;
}

header h1 img {
  height: 64px;
}





/*------------------------------------------------------------------------------

  Swiper

------------------------------------------------------------------------------*/
.slide-wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto 2rem;
}

.catch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 100%;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px #000;
}

@media (min-width: 768px) {
  .catch {
    top: 50%;
    right: 1rem;
    left: auto;
    transform: translateY(-50%);
    width: auto;
    text-align: left;
    font-size: 2rem;
  }
}

@media (min-width: 1280px) {
  .catch {
    font-size: 3rem;
  }
}





/*------------------------------------------------------------------------------

  nav

------------------------------------------------------------------------------*/
#menu-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  z-index: 20;
}
 
#menu-conts {
  display: none;
  background: rgba(0, 88, 52, .8);
  position: fixed;
  top: 0x;
  width: 100%;
  height: 100vh;
  z-index: 15;
}

.menu-list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  list-style: none;
  padding: 0;
}

.menu-list li {
  padding: 1rem;
}

.menu-list a {
  display: block;
  color: #fff;
  font-weight: bold;
}

@media (min-width: 1280px) {
  #menu-btn {
    display: none;
  }

  #menu-conts {
    display: block !important;
    background: none;
    position: static;
    width: auto;
    height: auto;
  }

  .menu-list {
    position: static;
    transform: none;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1.5rem;
  }

  .menu-list li {
    padding: 1rem 2rem;
    white-space: nowrap;
  }

  .menu-list a {
    color: #333;
  }
}  





/*------------------------------------------------------------------------------

  footer - CTA （モバイル時のみ画面下部固定）

------------------------------------------------------------------------------*/
.footer-cta {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

@media (min-width: 1280px) {
  .footer-cta {
    position: static;
  }
}





/*------------------------------------------------------------------------------

  footer

------------------------------------------------------------------------------*/
footer {
  background-color: #eff7f0;
}

.footer-nav {
  display: none;
}

footer h1 {
  text-align: center;
}

footer h1 img {
  width: 80px;
}

.copyright {
  text-align: center;
  padding: 0.5rem;
}

@media (min-width: 1280px) {
  footer {
    padding: 2rem;
  }

  .footer-menu {
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
  }

  .footer-nav {
    display: block;
  }

  .footer-nav li {
    display: inline-block;
  }

  .footer-nav li:not(:last-child) {
    margin-right: 2rem;
  }

  .footer-nav li a {
    display: block;
    color: #333;
    font-weight: bold;
  }
}







/*------------------------------------------------------------------------------

  object - project

------------------------------------------------------------------------------*/
/* ---- common ---------------------------------------- */
.contents-wrap {
  max-width: 1280px;
  padding: 1.5rem 1rem;
  margin: 0 auto 2rem;
}

.heading {
  position: relative;
  font-size: 1.125rem;
  color: #005834;
  text-align: center;
  padding: 0 10%;
  margin-bottom: 2rem;
}

.heading:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: #005834;
}

.heading span {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 0.25rem 0.5rem;
  border: solid 2px #005834;
  border-radius: 100px;
}

.white {
  background: #fff;
}

.green {
  background: #eff7f0;
}

.gray {
  background: #f1f1f1;
}

.subheading {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .heading {
    padding: 0 20%;
  }
}

@media (min-width: 1280px) {
  .heading {
    padding: 0 30%;
  }
}




/* Management Policy */
@media (min-width: 768px) {
  .management-policy p {
    text-align: center;
  }
}

@media (min-width: 1280px) {
  .management-policy .subheading {
    font-size: 1.5rem;
  }
}



/* Profile */
.company-data dt {
  float: left;
  width: 5rem;
}

.company-data dd {
  margin: 0;
  padding: 0 0 1rem 5rem;
}

@media (min-width: 768px) {
  .company-data {
    width: max-content;
    margin: 0 auto;
  }

  .profile-wrap img {
    display: block;
    width: 480px;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .profile-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
  }
  
  .company-data {
    margin: 0;
  }
}





/* Insurance Companies */
@media (min-width: 768px) {
  .insurance-companies {
    width: 640px;
    margin: 0 auto;
  }
}



/* Contact */
.contact-btn {
  position: relative;
}

.contact-btn:not(:last-child) {
  margin-bottom: 1rem;
}

.contact-btn a {
  display: block;
  text-align: center;
  color: #005834;
  background-color: #fff;
  border: solid 2px #005834;
  padding: 3rem 1rem;
  border-radius: 16px;
}

.contact-btn span {
  font-weight: bold;
}

.contact-btn span::after {
  position: absolute;
  top: 75px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 160px;
  height: 1px;
  content: '';
  border-radius: 3px;
  background: #005834;
}

@media (min-width: 768px) {
  .contact-wrap {
    display: flex;
    justify-content: center;
    gap: 48px
  }

  .contact-btn {
    width: 320px;
  }

  .contact-btn:not(:last-child) {
    margin-bottom: 0;
  }
}



/* Access */
.map-wrap {
  margin-bottom: 1rem;
  border: solid 4px #83c693;
  border-radius: 8px;
}

address {
  text-align: center;
  font-style: normal;
}

.station {
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  margin-bottom: 1rem;
  border: solid 2px #000;
}

@media (min-width: 768px) {
  .map-wrap {
    width: 640px;
    margin: 0 auto 2rem;
  }

  address {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .station {
    margin: 0 1rem 0 0;
  }
}




/* CTA */
.cta-wrap {
  display: flex;
  justify-content: space-evenly;
}

.cta-btn {
  width: 45%;
  text-align: center;
}

.cta-btn a,
.cta-btn button {
  display: block;
  color: #fff;
  font-weight: bold;
  padding: 0.25rem 1rem;
  border-radius: 8px 8px 0 0;
}

.btn-tel {
  background-color: #00a44d;
}

.btn-email {
  background-color: #005834;
}

@media (min-width: 768px) {
  .cta-btn a {
    padding: 1rem;
  }
}

@media (min-width: 1280px) {
  .cta-wrap {
    position: fixed;
    top: 120px;
    right: 0;
    z-index: 12;
    writing-mode: vertical-rl;
    gap: 24px;
  }

  .cta-btn a,
  .cta-btn button {
    padding: 2rem 1rem;
    border-radius: 8px 0 0 8px;
  }
}

/* 「電話で相談する」ボタン button装飾 */
button { /* リセット */
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}




/* プライバシーポリシー / 勧誘方針 / 販売法令遵守 */
.document {
  max-width: 960px;
  padding: 1rem;
  margin: 0 auto;
}

.document a {
  color: #005834;
}

.document section,
.document h2,
.document h3,
.document h4,
.document p {
  margin-bottom: 1rem;
}

.document section {
  padding-bottom: 1rem;
}

.document h2 {
  border-bottom: double 4px #333;
}

.document h3 {
  border-bottom: dotted 1px #333;
}

.document ul,
.document ol {
  padding-left: 1rem;
}

.document ul li:not(:last-child),
.document ol li:not(:last-child) {
  margin-bottom: 1rem;
}

.document ol > li > ol,
.document ul > li > ol,
.document ul > li > ul,
.document ol > li > ul {
  padding-top: 1rem;
}

.document ol > li > ol,
.document ul > li > ol {
  list-style-type: lower-roman ;
}

.document dl {
  background-color: #f1f1f1;
  padding: 1rem;
  margin-bottom: 1rem;
}

.document dt {
  float: left;
  width: 10rem;
  font-weight: bold;
}

.document dd {
  padding-left: 10rem;
  margin: 0;
  border-bottom: solid 1px #cfcfcf;
}

.document dd:not(:last-child) {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .document {
    padding: 2rem;
  }
}




/*------------------------------------------------------------------------------

  object - utility

------------------------------------------------------------------------------*/
/* ---- modal ---------------------------------------- */
.modalArea {
  visibility: hidden; /* displayではなくvisibility */
  opacity : 0;
  position: fixed;
  z-index: 100; /* サイトによってここの数値は調整 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: .4s;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 90%;
  max-width: 500px;
  padding: 1.5rem 2rem;
  background-color: #fff;
  border-radius: 8px;
}

.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}

.is-show { /* モーダル表示用クラス */
  visibility: visible;
  opacity : 1;
}

.modalContents h4,
.modalContents p {
  text-align: center;
}

.modalContents p {
  font-size: 1.5rem;
  color: #00a44d
}


/* ---- margin ---------------------------------------- */
.mb16 {
  margin-bottom: 16px;
}

.mb24 {
  margin-bottom: 24px;
}

.mb32 {
  margin-bottom: 32px;
}

.mb48 {
  margin-bottom: 48px;
}

.mb64 {
  margin-bottom: 64px;
}

.mb80 {
  margin-bottom: 80px;
}

.mr16 {
  margin-right: 16px;
}

.margin-auto {
  margin: 0 auto;
}

.ml-auto {
  margin-left: auto;
}

/* ---- padding ---------------------------------------- */
.pd08 {
  padding: 8px;
}

.pd16 {
  padding: 16px;
}

.pd24 {
  padding: 24px;
}

.pd32 {
  padding: 32px;
}


/* ---- on / off ---------------------------------------- */
.br-on {
  display: none;
}

.br-off {
  display: block;
}

@media (min-width: 768px) {

  .br-on {
    display: block;
  }

  .br-off {
    display: none;
  }

}



/* ---- text ---------------------------------------- */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}



/* ---- border ---------------------------------------- */
.bb {
  border-bottom: solid 1px #cfcfcf;
}



/* ---- page top ---------------------------------------- */
#pagetop {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  z-index: 20;
}


/* ---- google map responsive ---------------------------------------- */
.g-map {
  position: relative;
  padding-top: 56.25%;
  /* or 75%;(4:3) */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.g-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ---- youtube responsive ---------------------------------------- */
.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}





/*------------------------------------------------------------------------------

  layout

------------------------------------------------------------------------------*/
/* ---- grid ---------------------------------------- */
.grid-1col {
  display: grid;
  grid-template-rows: 560px;
  grid-template-columns: 1fr;
}

.grid-2col {
  display: grid;
  grid-template-rows: 560px;
  grid-template-columns: 1fr 240px;
}


/* ---- flex ---------------------------------------- */
.flex {
  display: flex;
}

.flex-between {
  display: flex;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}
